Suraj Prakash
Published © GPL3+

Led control using bolt wifi module and bolt cloud

We will control led using bolt cloud and bolt wifi module. we will first connect the led to bolt module and then on and off it.

BeginnerProtip1 hour733
Led control using bolt wifi module and bolt cloud

Things used in this project

Hardware components

Bolt WiFi Module
Bolt IoT Bolt WiFi Module
×1
Resistor 330 ohm
Resistor 330 ohm
×1
5 mm LED: Yellow
5 mm LED: Yellow
×1

Software apps and online services

Bolt Cloud
Bolt IoT Bolt Cloud
Bolt IoT Android App
Bolt IoT Android App

Story

Read more

Custom parts and enclosures

customs parts

components for making the project like- LED,resistor(330 ohm),bolt wifi module.

Schematics

circuit diagram for the project

this the the circuit diagram which shows how the components are connected to the device.

Code

code to control LED

HTML
it is a html code in which are controlling LED by using button tag and further tags.
<!DOCTYPE html>
<html>
    <head>
        <title>Bolt IoT Platform</title>
        <script type="text/javascript" src="https://cloud.boltiot.com/static/js/boltCommands.js"></script>
        <script>
        setKey('{{ApiKey}}','{{Name}}');
        </script>
    </head>
    <body>
        <center>
        <button onclick="digitalWrite(0, 'HIGH');">ON</button>
        <button onclick="digitalWrite(0, 'LOW');">OFF</button>
        </center>
    </body>
</html>

Credits

Suraj Prakash
1 project • 0 followers

Comments