Priyanka Jacob
Published

No more hide and seek with keys

Finding keys under the pressure of being late to work is almost impossible, but what if your keys helped you find them. Just follow the sound

BeginnerFull instructions provided278
No more hide and seek with keys

Things used in this project

Hardware components

Bolt WiFi Module
Bolt IoT Bolt WiFi Module
×1
USB-A to B Cable
USB-A to B Cable
×1
Resistor 330 ohm
Resistor 330 ohm
×2
LDR, 5 Mohm
LDR, 5 Mohm
×4
Buzzer
Buzzer
×1
Male/Female Jumper Wires
Male/Female Jumper Wires
×2
Male/Male Jumper Wires
×4
Breadboard (generic)
Breadboard (generic)
×1

Software apps and online services

IFTTT-platform
Bolt Cloud
Bolt IoT Bolt Cloud
Bolt IoT Android App
Bolt IoT Android App
Assistant SDK
Google Assistant SDK

Story

Read more

Schematics

Hand drawn circuit diagram

Code

Untitled file

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>
        <button onclick="start_timer()">Start Timer</button>
        <br>
        <div id="counter"></div>
        </center>
        <script>
            function start_timer()
                {
                    analogRead(A0,"counter");
                }
            setInterval(start_timer, 10000);
        </script>
   </body>
</html>

Credits

Priyanka Jacob
1 project • 0 followers
Contact

Comments

Please log in or sign up to comment.