- I want something that gives information about outside of my home so that I can do what I want to do.
firstly I'm going with Bluetooth and using an app to see the data but it's not accessible for everyone.
ESP8266:- you can visit this to know more about the ESP8266WIFI library.
https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/readme.html
WEBSERVER(creation):- so we need to write some Html code for our page if you are new to Html or not good at you can also visit this
I also added some links there to play music on youtube and also for the TOI page(NEWS).
library required:- dht11 library fo out temp and humidity sensor (dht11).
- for the connection, you need this
- LDR to D1
- LED that is controlled by webserver D0
- DHT11 ON D7
- rain sensor on D2 so I don't have any rain sensor that's why I'm not using it. but if you have then connect it and also remove that // in front of the program
- Led2 that turn on in the night and turn off in day time on D0
- after connections
- please replace the SSID and pass with your SSID and pass.
- to connect to web server you need to know your boards IP if don't know then
Serial.print(WiFi.localIP());
- paste these lines in setup don't forget to begin serial.
- after getting your IP
- paste it on your web browser
- and then your able to see the webserver
- by clicking on the click here you can able to play music and also see the live NEWS.
- by writing 1 or 0 on command for LED you can turn on or turn off the led that is connected on D0.
Comments
Please log in or sign up to comment.