Hello Friends We are Going to Control LED and BUZZER using LDR (or you can say a project based on ldr ). in this project when all the lights off then a buzzer gives a sound and LED turns on indicate and a alert message is going to your phone number. Make a cicuit conection as shown below since the circuit may be massy beacause I used only 3 or 5 wires if you want you can do the connection seprately with the help of below Circuit
Let's Move towards Coding
make a dir using command in linux "mkdir folder_name"
in folder_name we make a file using "sudo nano conf.py"Then write the following code
then we make a another file "sudo nano ledbuzzer.py"
then write the following code
### This things is applicable to those people who have a Bolt cloud (pro)
Now it's Time To send a message on mobile
1-open the bolt Cloud and sign in using email id and password
2-after that go to Alert tab
3-then click to add new Alert then fill all the dtails
4- in alert window select Send Sms (bolt Cloud pro )
5- then add recipiants,click "on" on the upper right side button and save it
6-then add the alert to the device