Seema Sheik
Published © MPL-2.0

Automated SolarPanel Cleaner by Bolt WI-FI using Servo motor

Controlling the turning ON and OFF of the Servo Motor using Bolt Wi-Fi Module.

IntermediateFull instructions provided1 hour446
Automated SolarPanel Cleaner by Bolt WI-FI using Servo motor

Things used in this project

Hardware components

Bolt WiFi Module
Bolt IoT Bolt WiFi Module
×1
SG90 Micro-servo motor
SG90 Micro-servo motor
×1
Jumper wires (generic)
Jumper wires (generic)
×1
USB-A to Mini-USB Cable
USB-A to Mini-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

Schematics

circuit connection with Bolt WI-FI module

Code

turning ON/OFF of the servo-motor

HTML
this code is used to control the device
<!DOCTYPE html>

<html>

    <head>

        <title>Automated Solar Panel Controller</title>

        <script type="text/javascript" src="https://cloud.boltiot.com/static/js/boltCommands.js"></script>

        <script>

        setKey('{{ApiKey}}','{{Name}}');

        </script>

    </head>

    <body>

        <center>

	<div class="ON">

        <button class="button button1" onclick="digitalWrite(0, 'HIGH');">ON </button>
	
	</div>
	
	<div class="OFF">

        <button class="button button2" onclick="digitalWrite(0, 'LOW');">OFF</button>

	</div>

        </center>

    </body>

</html>

<style type="text/css">

   body {
       margin:0;
       padding:0;
   }
   div {
       height: 40.9vh;
       width: 60.5vh;
       align-content: center;
   }
   .button {
       border: none;
       color: black;
       padding: 20px 30px;
       text-align: center;
       width:300px;
       height:100px;
       text-decoration: none;
       display: block;
       font-size: 50px;
       font-family: Arial, Helvetica, sans-serif;
       box-shadow: 1px 1px 6px 0px black;
   }
   
   .button1 {background-color: #00ddff;
       position: center;
       top: 30%;
       left:40%;
   }
   .button2 {background-color: #ff7c00;
       position: center;
       top: 30%;
       left:40%;
   }
  
</style>

Credits

Seema Sheik

Seema Sheik

1 project • 1 follower

Comments