Nikita Mallick
Published © MIT

Controlling LED Through Internet

With the help of the IoT, now an LED can be controlled through Internet.

IntermediateFull instructions provided2 hours723
Controlling LED Through Internet

Things used in this project

Hardware components

Bolt WiFi Module
Bolt IoT Bolt WiFi Module
×1
Breadboard (generic)
Breadboard (generic)
×1
Multiconductor Cable, FCC68 Data
Multiconductor Cable, FCC68 Data
×1
LED (generic)
LED (generic)
×1
Jumper wires (generic)
Jumper wires (generic)
×2

Software apps and online services

Bolt Cloud
Bolt IoT Bolt Cloud

Story

Read more

Schematics

Circuit Diagram

Code

To operate the LED through Internet , the code is:

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

Nikita Mallick

Nikita Mallick

1 project • 0 followers

Comments