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

Комментарии • 226

  • @erickmanangan4803
    @erickmanangan4803 11 месяцев назад

    I am an Electrical Engineer and involved mostly on high voltage projects but I love electronics too.

  • @ATTECHO
    @ATTECHO 2 года назад +2

    I'm getting output, everything works perfect, but rain sensor shows 260+ % everytime, what should I do?

  • @supriyakhorvi154
    @supriyakhorvi154 Год назад +1

    Sir can we use MH-RD Rain sensor instead of FC-37

  • @ajaysaini9725
    @ajaysaini9725 4 года назад +3

    It's really a nice project how it can we add air quality index smoke and fog measure

  • @attariazeddine6603
    @attariazeddine6603 2 года назад +1

    Very good, un vrai travail .Merci pour les informations....

  • @ohmypishang2454
    @ohmypishang2454 3 года назад +4

    Thanks bro it works fine ❤️👍🏻 Everything perfect .👍🏻👍🏻

    • @HowtoElectronics
      @HowtoElectronics  3 года назад +3

      Great to know that. Best of luck bro.

    • @pujasharma6805
      @pujasharma6805 3 года назад +2

      can u please help me , my code is not working

    • @pujasharma6805
      @pujasharma6805 3 года назад +1

      @@HowtoElectronics how to contact u .. please tell me i need ur help...my mini project presentation is about to start

    • @pujasharma6805
      @pujasharma6805 3 года назад

      please helps me yrr

    • @pujasharma6805
      @pujasharma6805 3 года назад

      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

  • @neo_gamerz
    @neo_gamerz 4 года назад +1

    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

  • @anirbanmandal3123
    @anirbanmandal3123 5 лет назад

    Advance congratulations for 3k subscribers

  • @brianjohnson6094
    @brianjohnson6094 5 лет назад +3

    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!

    • @HowtoElectronics
      @HowtoElectronics  4 года назад +1

      Thanks for the info. I have corrected the code now based on your info. Cheers mate.

    • @adithya109
      @adithya109 3 года назад

      Hey bro have you completed this project

  • @meetpasad1099
    @meetpasad1099 Месяц назад

    in which software did you arranged the circuit of project

  • @shraz8094
    @shraz8094 3 года назад

    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?

  • @laxmik7618
    @laxmik7618 Месяц назад

    Hii sir, we are not getting ouput because u didn't gave link for ESP8266 wifi and server library link there

    • @laxmik7618
      @laxmik7618 Месяц назад

      Please do reply, please bro it's urgent

  • @pradyotmanna9878
    @pradyotmanna9878 2 года назад +1

    Without BMP180 can it possible ?? Please help me.

  • @nasiruzzamannasir187
    @nasiruzzamannasir187 4 года назад +1

    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???

    • @SaiKumar-to1uv
      @SaiKumar-to1uv 4 года назад

      Bro Have you got the output for this project

  • @adityaraju8107
    @adityaraju8107 3 года назад +1

    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

  • @rohannaidu5802
    @rohannaidu5802 4 года назад +1

    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

  • @10subsonlychallenge66
    @10subsonlychallenge66 2 года назад

    it says MAIN_Page was not declared in this scope. How to solve this??

  • @shubhammayekar2352
    @shubhammayekar2352 3 года назад

    can you tell me that which jumper wires are used ?

  • @supriyakhorvi154
    @supriyakhorvi154 Год назад

    In My phone I'm getting the weather report but I'm not able to get the report in laptop
    Help me out

  • @yuilhan4275
    @yuilhan4275 8 месяцев назад

    We are using Port COM8 at 115200 baud rate. The serial monitor is not showing the ip adress

    • @yuilhan4275
      @yuilhan4275 8 месяцев назад

      Only showing .............

    • @HowtoElectronics
      @HowtoElectronics  8 месяцев назад +1

      It means its not able to connect to the wifi network. Please check your WiFi SSID and password.

    • @yuilhan4275
      @yuilhan4275 8 месяцев назад

      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.

    • @yuilhan4275
      @yuilhan4275 8 месяцев назад

      @@HowtoElectronics we found it, turns out we were using 5G wifi, now it's working

    • @HowtoElectronics
      @HowtoElectronics  8 месяцев назад

      Esp doesnt support 5g.

  • @justfun6409
    @justfun6409 2 года назад

    What about percentage of rain??
    What formula u use to calculate it??

  • @isipmaliwat7416
    @isipmaliwat7416 4 года назад

    I use com 16 in port my system did not recognize and no showing of ip add

  • @anikethjoshi1415
    @anikethjoshi1415 3 года назад

    i get tgis error when i verify the code in arduino "ESP8266WiFi.h: No such file or directory
    ".....
    pls tell what ot do

  • @akshatahipparkar2176
    @akshatahipparkar2176 3 года назад

    After compiling and on clicking on serial monitor its showing 'board at null is not available'

    • @m.acreations473
      @m.acreations473 3 года назад

      did you get output,if u get please help me in that

  • @rezarinaldi1248
    @rezarinaldi1248 3 года назад

    Thanks sir it works fine in April 2021.

    • @m.acreations473
      @m.acreations473 3 года назад

      did you get output

    • @rezarinaldi1248
      @rezarinaldi1248 3 года назад

      @@m.acreations473 Yes, i got it

    • @PiyushKumar-ku5xr
      @PiyushKumar-ku5xr 3 года назад

      please help me i have almost completed but when i paste ip address in web browser it didnt show any thing

  • @aravindajay996
    @aravindajay996 5 месяцев назад +1

    How to include zip file

  • @supriyakhorvi154
    @supriyakhorvi154 Год назад

    Rain fall reading is 1024% after sprinkling some water droplets it's decreasing to approximately 600%
    Can u tell me the reason

    • @supriyakhorvi154
      @supriyakhorvi154 Год назад

      Rainfall reading should be in between what range sir

  • @idrisjimoh4172
    @idrisjimoh4172 2 месяца назад

    can i get a system design on this

  • @nasirlerek5156
    @nasirlerek5156 3 года назад

    Bos i have problem.. no such file directory index.h

  • @electronic7979
    @electronic7979 5 лет назад +1

    Very good project 👍

    • @SaiKumar-to1uv
      @SaiKumar-to1uv 4 года назад

      Bro have you completed the project successfully?

  • @nicolies_25
    @nicolies_25 3 года назад +5

    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 '

  • @vrundajadhav9173
    @vrundajadhav9173 2 года назад

    I'm not getting my IP address in serial monitor what should I do

  • @abinashkarn170
    @abinashkarn170 5 лет назад

    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

  • @prachikatalkar3887
    @prachikatalkar3887 2 года назад

    When I am clicking the serial monitor it's showing......................... Please someone help me

  • @sudeepkumar9570
    @sudeepkumar9570 4 года назад

    Applications. Of whether monitoring system will u plzz tell me sir

  • @EforEngineer
    @EforEngineer 5 лет назад

    nice project sir.

  • @nicolies_25
    @nicolies_25 3 года назад

    may I know if need arduino or only esp?

  • @kushaghrasharma2981
    @kushaghrasharma2981 3 года назад

    String s = MAIN_page; //Read HTML contents
    it is showing the error that main_page was not declared in this scope

  • @issandas8405
    @issandas8405 9 месяцев назад

    SSID of what Laptop ?

  • @ShubhamMishra-ly7lx
    @ShubhamMishra-ly7lx 4 года назад

    How to supply power to hardware ?
    Or how to connect the device with pc/laptop.? Please help me out with this.

    • @HowtoElectronics
      @HowtoElectronics  4 года назад +1

      Use your micro usb data cable and adapter that you normally use for your mobile phone.

    • @ShubhamMishra-ly7lx
      @ShubhamMishra-ly7lx 4 года назад

      @@HowtoElectronics thanks sir

    • @SaiKumar-to1uv
      @SaiKumar-to1uv 4 года назад

      Should we include
      and
      Esp8266

  • @akshaydeore9897
    @akshaydeore9897 2 года назад

    bmp 180 init any solution?

  • @sohaibshah6690
    @sohaibshah6690 Год назад

    Can i make it without resistors ?

  • @zeeshansaeed111
    @zeeshansaeed111 4 года назад

    Web browzor not open the ip address

  • @similoluwaokunowo5127
    @similoluwaokunowo5127 4 года назад

    Can a person with another laptop access the website server please for the iot project ?

  • @m.r.dhanrajkumarsuman5860
    @m.r.dhanrajkumarsuman5860 2 года назад

    Good night

  • @saurabhpathak6177
    @saurabhpathak6177 3 года назад

    Can we use domain name instead of ip address

  • @azhanfikry2524
    @azhanfikry2524 4 года назад

    i got error (exit status 1
    'const char MAIN_page [4025]' previously defined here). anyone can help me to solve it?

    • @HowtoElectronics
      @HowtoElectronics  4 года назад

      There was an issue with index.h file. The file code has been corrected. Try again. Thanks

  • @charlesajiboye4421
    @charlesajiboye4421 4 года назад

    The IP address is not displaying..I can see "BMP180 init fail"..Please support

    • @HowtoElectronics
      @HowtoElectronics  4 года назад

      Check connections. Check I2C pin.

    • @charlesajiboye4421
      @charlesajiboye4421 4 года назад

      @@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??

  • @jenishadsouza8087
    @jenishadsouza8087 2 года назад

    May I know in which language you have written the code

  • @paragbarke9482
    @paragbarke9482 4 года назад +1

    I got an error in serial monitor which said BMP180 init error please help @How To Electronics

    • @HowtoElectronics
      @HowtoElectronics  4 года назад

      Check BME180 Connection w.r.t Arduino SCL SDA Pins.

    • @rohanghaywat9009
      @rohanghaywat9009 4 года назад

      How did u solve your BMP180 init error bro?

    • @paragbarke9482
      @paragbarke9482 4 года назад

      @@rohanghaywat9009 Not solved yet.

    • @paragbarke9482
      @paragbarke9482 4 года назад

      @@HowtoElectronics Checked but same error.

    • @rohanghaywat9009
      @rohanghaywat9009 4 года назад

      That is basically nodemcu reset error even I'm working on it.
      Will let u knw if i solve it🤘 @parag barke

  • @saikumar-rn8hm
    @saikumar-rn8hm 5 лет назад

    its not working
    it is not connecting to the wifi and not reading data

  • @shubhdeep1814
    @shubhdeep1814 2 года назад

    The rain parameter is incorrect and not accurate

  • @abhiabhishek481
    @abhiabhishek481 Год назад

    I did not get the ip address

  • @rishitpallav5470
    @rishitpallav5470 5 лет назад

    I am getting an unknown font in serial monitor, not getting the IP. please help..

    • @HowtoElectronics
      @HowtoElectronics  5 лет назад

      Select the required baud rate in serail monitor.

    • @rishitpallav5470
      @rishitpallav5470 5 лет назад

      @@HowtoElectronics thank you very much. It is now working perfectly fine.😁

    • @SaiKumar-to1uv
      @SaiKumar-to1uv 4 года назад

      Bro have you got the output successfully?

  • @pardeshiankit1613
    @pardeshiankit1613 4 года назад

    This project price

  • @mangtri9680
    @mangtri9680 4 года назад

    Nice projects, where can i get the source code? In the web i couldnt find it. Pls help me

    • @HowtoElectronics
      @HowtoElectronics  4 года назад

      Link is in description. Use computer browser to see the code. Code is disabled while using phone browser.

    • @mangtri9680
      @mangtri9680 4 года назад

      Thanks

    • @SaiKumar-to1uv
      @SaiKumar-to1uv 4 года назад

      Bro have completed the project

    • @anasrissa65
      @anasrissa65 3 года назад

      @@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

    • @pujasharma6805
      @pujasharma6805 3 года назад

      @Anudsara Sabeer my code is also not working, connect is right but don't know why it is not reading data

  • @linpawslusda2880
    @linpawslusda2880 4 года назад

    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

    • @HowtoElectronics
      @HowtoElectronics  4 года назад

      Make sure your computer and nodemcu both are connected to same network.

    • @linpawslusda2880
      @linpawslusda2880 4 года назад +1

      @@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.

    • @SaiKumar-to1uv
      @SaiKumar-to1uv 4 года назад

      Bro are you getting the Correct output on serial monitor

    • @linpawslusda2880
      @linpawslusda2880 4 года назад

      @@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

    • @SaiKumar-to1uv
      @SaiKumar-to1uv 4 года назад

      @@linpawslusda2880 bro r u getting the output in browser now?

  • @mayurvijaymalik6626
    @mayurvijaymalik6626 4 года назад

    hi instead of rain sensor can we connect mq135 and upload the data please help me with the regarding code

    • @HowtoElectronics
      @HowtoElectronics  4 года назад

      If you go for MQ135 sensor, you need modification i code.

  • @marimbanation4118
    @marimbanation4118 4 года назад

    NOT CONNECTED TO WIFI

    • @HowtoElectronics
      @HowtoElectronics  4 года назад

      Use phone hotspot. Sometimes the nodemcu doesn't connect to router wifi.

    • @sorin-valentinmocanu4040
      @sorin-valentinmocanu4040 4 года назад

      ​@@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...

  • @satyawale1386
    @satyawale1386 4 года назад

    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...

    • @SaiKumar-to1uv
      @SaiKumar-to1uv 4 года назад

      Bro have you completed the project successfully?

    • @satyawale1386
      @satyawale1386 4 года назад

      @@SaiKumar-to1uv not yet bro...I dnt have an idea about that error

    • @SaiKumar-to1uv
      @SaiKumar-to1uv 4 года назад

      Bro did you got the output in serial monitor

    • @satyawale1386
      @satyawale1386 4 года назад

      @@SaiKumar-to1uv Noo I got the ip address but when I pest that ip address in browser error occurred

    • @SaiKumar-to1uv
      @SaiKumar-to1uv 4 года назад

      @@satyawale1386 bro have you got the output?

  • @isaacgabriel939
    @isaacgabriel939 4 года назад

    I cannot open the source code in the chrome in pc help plsss

    • @HowtoElectronics
      @HowtoElectronics  4 года назад

      Check back after an hour. I am upgrading the site.

    • @isaacgabriel939
      @isaacgabriel939 4 года назад

      @@HowtoElectronics ok sir thank you

    • @SaiKumar-to1uv
      @SaiKumar-to1uv 4 года назад

      Bro have you completed the project successfully?

    • @isaacgabriel939
      @isaacgabriel939 4 года назад

      Cannot give the ip address in the serial monitor can you help me??@How To Electronics

    • @SaiKumar-to1uv
      @SaiKumar-to1uv 4 года назад

      @@isaacgabriel939 bro the code has some error so never get the correct output

  • @pemanorbu8712
    @pemanorbu8712 3 года назад

    giving problem bhai

  • @CrMake
    @CrMake 5 лет назад

    Ramro xa sir.....please support me.....

    • @HowtoElectronics
      @HowtoElectronics  5 лет назад

      Thank u sir.
      I will sure

    • @techzone2009
      @techzone2009 4 года назад

      Code explain garna milxa

    • @HowtoElectronics
      @HowtoElectronics  4 года назад

      Website ma code xa. Code ma comment haru xa. Milxa bujhna tei coment bata code.

    • @techzone2009
      @techzone2009 4 года назад

      @@HowtoElectronics we have to use index.h or index.html ...I send you my code please check

  • @sui_gacha_69
    @sui_gacha_69 Год назад

    Helo bro...pls is there some way i can contact you...im facing a huge issue in the program

  • @sumanzia9874
    @sumanzia9874 4 года назад

    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

    • @radhikakamble143
      @radhikakamble143 3 года назад +1

      Hey u got an output on serial monitor n on web server???

    • @sumanzia9874
      @sumanzia9874 3 года назад +1

      @@radhikakamble143 No. web server didnt open for me

    • @ohmypishang2454
      @ohmypishang2454 3 года назад

      @@radhikakamble143 yes this project works fine for me 👍🏻👍🏻👍🏻👍🏻

    • @radhikakamble143
      @radhikakamble143 3 года назад +1

      @@ohmypishang2454 plzz can u tell how i can solve this error.... I didn't got data on web server..

    • @radhikakamble143
      @radhikakamble143 3 года назад +1

      @@ohmypishang2454 can u give your contact no.??for help...