Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
Hackster is hosting Impact Spotlights: Industrial Automation. Watch the stream live on Thursday!Hackster is hosting Impact Spotlights: Industrial Automation. Stream on Thursday!
gowthamkishoreindukuri
Published © GPL3+

LED Controlling

This project deals about controlling an led using an HMTL web page.

BeginnerProtip1 hour1,050
LED Controlling

Things used in this project

Hardware components

Bolt WiFi Module
Bolt IoT Bolt WiFi Module
×1
Jumper wires (generic)
Jumper wires (generic)
×1
LED (generic)
LED (generic)
×1
USB-A to Micro-USB Cable
USB-A to Micro-USB Cable
×1

Software apps and online services

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

Story

Read more

Schematics

uploads2ftmp2fc452e550-57d1-4aa7-a926-8037802ee4aa2fledcontrol_zWJ8x60RVH.png

uploads2ftmp2f46e77524-0e1a-4602-8a66-7c930e9a7f8d2fm2_t6_s2_i3_517bftvBB1.jpg

Code

complete code

HTML
this is the complete code to be executed in the bolt cl.oud
<!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

gowthamkishoreindukuri
16 projects • 19 followers
Contact

Comments

Please log in or sign up to comment.