while we are working deeply into the subject in system or in mobile, while we won't using notebook we won't care about the light change around us isn't it?
ya what if some one intimated us by sending message to us as " Turn on light". wow it would be awesome right..
so here we can do it with Bolt wifi module... wondering how.. well I will explain
Hardware connections for our project is as follows
Do you able to understand? if not i'm sorry, i'm poor in picturing. well I will explain
1. Take your LDR component & connect it's one end to 3v3 & the other end to A0.
2. Now place one end of your resistor at ground & the other to A0..
That's it we completed connection
login to your Twilio account.. Note your SSID, AUTH_TOKEN, & Phone.no given by them.. & Now login to your Bolt Cloud & note your API_KEY & Device-Id
so we created our hard ware connection & we have all the necessary id's which to send msg.. so lets enter into program
so im using oracle VM to write the program...
First login to your VM. now create a directory : mkdir light_request
now enter into the directory : cd light_request
now create first file : sudo nano conf.py
save your SSID, AUTH_Token, FROM_Number, To_number, API_KEY & Device_id in it..
now create another file: sudo nano light_request.py
write down the code... *my code is given below*
now run the program : sudo python3 light_request.py
ya you got message rt... you will get msg if the light intensity is more or less than the maximum & minimum value in your program
HURRY! we got the msg..
and if you have any sort of doubt about vm,& twilio comment down below i'm sure i will respond