IOT Live Weather Station Monitoring using ESP8266
HTML-код
- Опубликовано: 6 сен 2024
- In this project we are gonna learn how to make live weather station using ESP8266-12E wifi module and monitor the data remotely on the internet via a web server and nodemcu IP.
So we will be interfacing Nodemcu with BMP180/280 Barometric Pressure Sensor, DHT11/DHT22 Humidity & Temperature Sensor and FC37 Rain Sensor. So the device will be capable of measuring current temperature in degree C, atmospheric pressure in bar, humidity in percentage and also rainfall in percentage. The circuit diagram, connection, and code/program can be found in the video.
The weather station can be monitored from anywhere in the world and can be used to determine the weather forecast for the next day.
Source Code/Program Link: how2electronic...
...................................................................................................................................................................................................................................
Drop a like if you liked this video.
Don't forget to subscribe to our channel for more Electronics projects and tutorials.
Website: how2electronic...
Facebook: / electronicsbyalex
I am an Electrical Engineer and involved mostly on high voltage projects but I love electronics too.
I'm getting output, everything works perfect, but rain sensor shows 260+ % everytime, what should I do?
Sir can we use MH-RD Rain sensor instead of FC-37
Yes you can
It's really a nice project how it can we add air quality index smoke and fog measure
Very good, un vrai travail .Merci pour les informations....
Daraga church
Thanks bro it works fine ❤️👍🏻 Everything perfect .👍🏻👍🏻
Great to know that. Best of luck bro.
can u please help me , my code is not working
@@HowtoElectronics how to contact u .. please tell me i need ur help...my mini project presentation is about to start
please helps me yrr
hii, can u please help me i face problem while pasting ip address in the browser please help me i would be very thankful Please its urgent
in serial monitor i'm getting the temp value but
when i open the web page instead of showing the temp values its showing nan .......any solution for that
Advance congratulations for 3k subscribers
There is an issue with the index.h Code. You are instructed to "Copy this code and paste it on text document. Then save this file by name index.h". The code is there twice one right after another... So when you see the first instance of the lines
"
)=====";
Stop and don't copy the rest as it is just duplicated code.
Obviously you do still need the Weather Station Main Code as the ".ino" file.
Otherwise a fun project and works great!
Thanks for the info. I have corrected the code now based on your info. Cheers mate.
Hey bro have you completed this project
in which software did you arranged the circuit of project
The distance between the gadget and the system where we are accessing doesn't matter right? Even if my device is few kilometres away can I still view the whether status in my pc with the IP address of the node MCU?
Hii sir, we are not getting ouput because u didn't gave link for ESP8266 wifi and server library link there
Please do reply, please bro it's urgent
Without BMP180 can it possible ?? Please help me.
its really a nice project...just love it..
but bro how can i add latitude and longitude here and how to add the correct location on google map???
Bro Have you got the output for this project
String s = MAIN_page; //Read HTML contents
it is showing the error that main_page was not declared in this scope please help me bro
Bro did u rectify the problem?
Sir I tried it I even copied index.h file to the location where my code is present but still it shows a compilation error that index.h no such or directory
Mine also same
it says MAIN_Page was not declared in this scope. How to solve this??
can you tell me that which jumper wires are used ?
In My phone I'm getting the weather report but I'm not able to get the report in laptop
Help me out
Connect to the same network
We are using Port COM8 at 115200 baud rate. The serial monitor is not showing the ip adress
Only showing .............
It means its not able to connect to the wifi network. Please check your WiFi SSID and password.
Oh yeah, we changed it to the current SSID and Password. However it seems to still show ....... And we can't determine what we did wrong.
@@HowtoElectronics we found it, turns out we were using 5G wifi, now it's working
Esp doesnt support 5g.
What about percentage of rain??
What formula u use to calculate it??
I use com 16 in port my system did not recognize and no showing of ip add
i get tgis error when i verify the code in arduino "ESP8266WiFi.h: No such file or directory
".....
pls tell what ot do
After compiling and on clicking on serial monitor its showing 'board at null is not available'
did you get output,if u get please help me in that
Thanks sir it works fine in April 2021.
did you get output
@@m.acreations473 Yes, i got it
please help me i have almost completed but when i paste ip address in web browser it didnt show any thing
How to include zip file
Rain fall reading is 1024% after sprinkling some water droplets it's decreasing to approximately 600%
Can u tell me the reason
Rainfall reading should be in between what range sir
can i get a system design on this
Bos i have problem.. no such file directory index.h
Very good project 👍
Bro have you completed the project successfully?
Arduino: 1.8.14 (Windows 7), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
In file included from C:\Users\mypc\Desktop\Weather\weather_station\weather_station.ino:6:
index1.h:7:1: error: stray '@' in program
7 | @import url(fonts.googleapis.com/css?family=Montserrat);
| ^
index1.h:8:1: error: stray '@' in program
8 | @import url(fonts.googleapis.com/css?family=Advent+Pro:400,200);
| ^
index1.h:12:14: error: stray '#' in program
12 | background:#544947;
| ^
index1.h:28:14: error: stray '#' in program
28 | background:#f5f5f5;
| ^
index1.h:38:9: error: stray '#' in program
38 | color:#c1c1c1;
| ^
index1.h:41:9: error: stray '#' in program
41 | color:#222;
| ^
index1.h:45:14: error: stray '#' in program
45 | background:#00A8A9;
| ^
index1.h:53:14: error: stray '#' in program
53 | background:#00A8A9;
| ^
index1.h:55:25: error: stray '#' in program
55 | box-shadow:0 0 0 15px #f5f5f5,0 10px 10px 5px rgba(0,0,0,0.3);
| ^
index1.h:64:14: error: stray '#' in program
64 | background:#f5f5f5;
| ^
index1.h:73:14: error: stray '#' in program
73 | background:#f5f5f5;
| ^
index1.h:92:9: error: stray '#' in program
92 | color:#fff;
| ^
index1.h:109:1: error: stray '@' in program
109 | @keyframes fade{
| ^
In file included from C:\Users\mypc\Desktop\Weather\weather_station\weather_station.ino:6:
index1.h:198:7: error: missing terminating " character
198 | )=====";
| ^~
In file included from C:\Users\mypc\Desktop\Weather\weather_station\weather_station.ino:6:
index1.h:1:1: error: expected unqualified-id before '
I'm not getting my IP address in serial monitor what should I do
when i compile then it shows error about index.h ....
i have added index.h in my weather station code but why it is showing error
Show me the log bhai
When I am clicking the serial monitor it's showing......................... Please someone help me
Applications. Of whether monitoring system will u plzz tell me sir
nice project sir.
Bro have you got the output
San pedro laguna
may I know if need arduino or only esp?
String s = MAIN_page; //Read HTML contents
it is showing the error that main_page was not declared in this scope
did u get output
Bro did u rectify the problem?
@@m.acreations473 Bro did u rectify the problem?
SSID of what Laptop ?
How to supply power to hardware ?
Or how to connect the device with pc/laptop.? Please help me out with this.
Use your micro usb data cable and adapter that you normally use for your mobile phone.
@@HowtoElectronics thanks sir
Should we include
and
Esp8266
bmp 180 init any solution?
Can i make it without resistors ?
Web browzor not open the ip address
Can a person with another laptop access the website server please for the iot project ?
Yes he can.
Good night
Can we use domain name instead of ip address
i got error (exit status 1
'const char MAIN_page [4025]' previously defined here). anyone can help me to solve it?
There was an issue with index.h file. The file code has been corrected. Try again. Thanks
The IP address is not displaying..I can see "BMP180 init fail"..Please support
Check connections. Check I2C pin.
@@HowtoElectronics I have checked the I2C and all connections but stiil having the same problem..I am Using BMP280 instead of BMP180..Could that be the problem??
May I know in which language you have written the code
C/C++
I got an error in serial monitor which said BMP180 init error please help @How To Electronics
Check BME180 Connection w.r.t Arduino SCL SDA Pins.
How did u solve your BMP180 init error bro?
@@rohanghaywat9009 Not solved yet.
@@HowtoElectronics Checked but same error.
That is basically nodemcu reset error even I'm working on it.
Will let u knw if i solve it🤘 @parag barke
its not working
it is not connecting to the wifi and not reading data
The rain parameter is incorrect and not accurate
I did not get the ip address
I am getting an unknown font in serial monitor, not getting the IP. please help..
Select the required baud rate in serail monitor.
@@HowtoElectronics thank you very much. It is now working perfectly fine.😁
Bro have you got the output successfully?
This project price
Nice projects, where can i get the source code? In the web i couldnt find it. Pls help me
Link is in description. Use computer browser to see the code. Code is disabled while using phone browser.
Thanks
Bro have completed the project
@@SaiKumar-to1uv I have the complete project rain senser ,bmp180 and dht11 but I change the library of the bmp180 sensor because it is not working and also I change the map and the code of the rain sensor because it is not accurate
@Anudsara Sabeer my code is also not working, connect is right but don't know why it is not reading data
Its not displaying the output after pasting the ip address in the browser...
And also not getting connected to my house wifi bt to any mobile hotspot
Make sure your computer and nodemcu both are connected to same network.
@@HowtoElectronics yes its connected to same hotspot network but when i paste the ip address generated on serial monitor on the web browser (google chrome) its showing that the site can't be reached.
Bro are you getting the Correct output on serial monitor
@@SaiKumar-to1uv unless n until the output is not displayed at the browser the output doesn't show on the serial monitor according to the process buddy. So bascially i am not
@@linpawslusda2880 bro r u getting the output in browser now?
hi instead of rain sensor can we connect mq135 and upload the data please help me with the regarding code
If you go for MQ135 sensor, you need modification i code.
NOT CONNECTED TO WIFI
Use phone hotspot. Sometimes the nodemcu doesn't connect to router wifi.
@@HowtoElectronics I connected to the phone hotspot, I see the ESP connected to my hotspot. But when I enter the IP adress, it won't show anything...
Sir when i paste the ip address into search bar there is error which shows "you cant reach this site" plez help me Asap thank you...
Bro have you completed the project successfully?
@@SaiKumar-to1uv not yet bro...I dnt have an idea about that error
Bro did you got the output in serial monitor
@@SaiKumar-to1uv Noo I got the ip address but when I pest that ip address in browser error occurred
@@satyawale1386 bro have you got the output?
I cannot open the source code in the chrome in pc help plsss
Check back after an hour. I am upgrading the site.
@@HowtoElectronics ok sir thank you
Bro have you completed the project successfully?
Cannot give the ip address in the serial monitor can you help me??@How To Electronics
@@isaacgabriel939 bro the code has some error so never get the correct output
giving problem bhai
Ramro xa sir.....please support me.....
Thank u sir.
I will sure
Code explain garna milxa
Website ma code xa. Code ma comment haru xa. Milxa bujhna tei coment bata code.
@@HowtoElectronics we have to use index.h or index.html ...I send you my code please check
Helo bro...pls is there some way i can contact you...im facing a huge issue in the program
I tried it and shows ip address in serial monitor but when I paste it in browser, browser says can't connect to site and then the serial monitor show some memory locations. After that it again shows the ip and if I paste the ip in browser the cycle repeats
Hey u got an output on serial monitor n on web server???
@@radhikakamble143 No. web server didnt open for me
@@radhikakamble143 yes this project works fine for me 👍🏻👍🏻👍🏻👍🏻
@@ohmypishang2454 plzz can u tell how i can solve this error.... I didn't got data on web server..
@@ohmypishang2454 can u give your contact no.??for help...