In this project we will control the Led remotely. Using this technology we will turn on and turn off the Lights and also control the brightness of the Lights remotely any time any where.
Hardware connectionsAt first, we power-up the Bolt wi-fi module. If the blue and green led of the wi-fi module are glowing properly then we connect a jumper wire to the 0 GPIO port and another jumper wire to the GND port of the Bolt wi-fi module. Now take a led and place it in the Breadboard. Connect the another side of the jumper wire beside the long leg ("positive leg") of the Led which is connected to the 0 GPIO port part and another jumper wire beside the smaller leg ("Negative leg") of the led which is connected to the GND port.
Power-up the Bolt Wi-fi module and go to the bolt cloud to find the device id and the API key of the device.
go to the API and Enable the API key and click the 'GENERATE NEW API KEY' button.
If you use the ubuntu, then first run this commend in the terminal :
sudo apt install python3-tk
then save the code in the python file and run it.
Comments
Please log in or sign up to comment.