Mr. G
Published © GPL3+

LED Control(ON/OFF)

Controlling LED light on System Using Bolt IoT.

IntermediateFull instructions provided1 hour822
LED Control(ON/OFF)

Things used in this project

Hardware components

LED (generic)
LED (generic)
×1
Bolt WiFi Module
Bolt IoT Bolt WiFi Module
×1
USB-A to Mini-USB Cable
USB-A to Mini-USB Cable
×1
Resistor 10k ohm
Resistor 10k ohm
×1

Software apps and online services

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

Story

Read more

Schematics

LED Light Controlling

Code

LED Light Controlling

HTML
<!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

Mr. G
1 project • 0 followers

Comments