DIY Weather Station & WiFi Sensor Station || ESP8266, Nextion LCD

Поделиться
HTML-код
  • Опубликовано: 24 янв 2025

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

  • @chandrashekarr9527
    @chandrashekarr9527 6 лет назад +161

    If you add time it's look better

    • @RoterFruchtZwerg
      @RoterFruchtZwerg 6 лет назад +10

      he would need a third ESP for that 🙈

    • @qaisalmokdad9511
      @qaisalmokdad9511 6 лет назад

      CHANDRASHEKAR R treuuu!!!

    • @dominiquegobeil5831
      @dominiquegobeil5831 6 лет назад +1

      Gps real-time clock.

    • @beforth
      @beforth 6 лет назад +2

      A well developed, mqtt enabled, control panel android app in an old smartphone would beat that lcd in looks and in price.

  • @YukiElectronics
    @YukiElectronics 6 лет назад +59

    Regarding the Nextion Editor, it was probably expecting a monospace font, which would explain the weird text spacing.

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

      Yes to the monospaced font. I ran into the same problem.

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

      I think icons are better than text

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

      Would it be better to generate pics of words through an external app and upload them to the nextion instead?

  • @sgsax
    @sgsax 6 лет назад +3

    ESP2866 is a game changer. Way easier to use and cheaper than Xbee for local communication. Integrated arduino-compatible microcontroller is a bonus. Really want to build a weather station to put on top of my house. Got some good ideas here. Thanks for sharing!

  • @Nono-hk3is
    @Nono-hk3is 6 лет назад +110

    Oh I see. Normally the hardware guys says, "ehh, fix it in software." Until he has to write the software, then suddenly more hardware shows up!

    • @beforth
      @beforth 6 лет назад +12

      Developer's time is expensive, but esp's are cheap 😀

  • @tf3confirmedbuthv54
    @tf3confirmedbuthv54 6 лет назад +2

    Man, I’m still surprised you can upload with such high consistency and still have high quality videos! Keep up the good work!

  • @Braeden123698745
    @Braeden123698745 6 лет назад +4

    There you go again, making a video about the exact thing I wanted to learn.

  • @jonty1857
    @jonty1857 6 лет назад +3

    I had a play around with the BME280 and needed 2 of them connected to the same processor. After looking through huge amounts to datasheets, I found that you can indeed change the address on these boards; you have a choice of 2! If you look carefully at the 3 gold pads on the pcb, you will see that 2 are connected (middle and 1 side). You break this connection and join the middle to the other pad. One address is 0x76 and the other 0x77.
    This saved my project, hope it helps someone else too.

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

      You can also use them as SPI devices and have as many as you want. Provided you can supply a 'chip select' signal for each. Also, the BME280 datasheet is only 55 pages long. That's tiny. :)

  • @twilightknight123
    @twilightknight123 6 лет назад

    This is perfect timing, actually. I'm waiting on a bme280 to be delivered to set up an automated climate system in a vivarium. Always glad when there's a greatscott video to help back up my work so I don't get too lost

  • @y2ksw1
    @y2ksw1 6 лет назад +12

    Regarding the temperature sensor, you should keep it separate from everything else, since the boards develop some heat too, and could so influence the result.

    • @moeburn
      @moeburn Год назад +2

      Yes but at 35C he must have put it right on top of the wifi chip lol. I have some that are 5-10cm from the wifi chip and they only read 1.5C over ambient.

  • @rklauco
    @rklauco 6 лет назад +29

    Those 2 Wemoses made my day :) Seems like a bit of overkill to me. First of all, ESP is pretty fast, so any LCD will be capable to display the graphics directly from ESP - you can even utilize the SPIFS for storage of the data and, potentially, upload a new background using web interface. But I admire your - let's just hack it together - attitude, really. I usually spend LOTS of time on my projects just because I don't want to do it this way and go with something like "this has to be possible - how hard can it be?". 3 months later I am left with lots of unfinished or half-done projects ;)

    • @beforth
      @beforth 6 лет назад +5

      Perfect is the enemy of good (Voltaire)

    • @MaxintRD
      @MaxintRD 6 лет назад

      So recognizable... +1

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

      Dude, I feel you soo bad on this one. I have an extreme do this is the nice way or do it in a way so that it looks like it was bought. most of the time they end up like yours. PS: sorry for the reply 2 years later xD

  • @electron-1979
    @electron-1979 6 лет назад

    Finally, a tutorial/build of a weather station (because that's an original idea)!

  • @RoyTecTips
    @RoyTecTips 6 лет назад +5

    love GreatScott!
    video ❤❤❤

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

      yes hes good

  • @qps9380
    @qps9380 6 лет назад

    Haha, I thought I was the only one that went around the internet using pieces of other people's code when I couldn't get my own stuff to work. If a pro like GreatScott does it, I guess it's not that bad! Great video btw.

    • @electron-1979
      @electron-1979 6 лет назад

      Really, even professionals do it!
      Why "reinvent the wheel"?

  • @MitsuZer0G
    @MitsuZer0G 5 лет назад +2

    9:42
    Are you sure that the diodes should be connected in this way?
    In this configuration you block the signal from TX to RX, so it can't go through the diode?

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

    Excellent project 👍 👍

  • @packratswhatif.3990
    @packratswhatif.3990 6 лет назад +2

    SWEET !!!! After all the failed purchased weather stations I have tried, I wish you could design a complete all-out enhanced station with wind, direction, uv, temp, humidity, rain amount and pressure. This idea of going thru the wifi sounds absolutely grand compared to the expensive crap I have purchased that failed which operates over their own RF signal. My problem is that I an Not a programmer (mental block) and I get too frustrated trying. With having all the basic sensors already up and installed, just communication setup would needed to get all info back to the head unit.

    • @noweare1
      @noweare1 6 лет назад

      Yup, agreed. Using wi-fi to get to the internet is the way to go. An outside station is not needed. I bought a bunch of RF2401 to build weaterstations and I guess I will use them for something else.

  • @defaultuser000
    @defaultuser000 6 лет назад +6

    Why not put the little wires through the holes in the boards when you solder them on? It does make them harder to remove if you take the project all apart, but you don't have to worry about the wires ripping the pads off the boards when moving them around.

  • @MCsCreations
    @MCsCreations 6 лет назад +1

    Beautiful work, dude! 😊

  • @freakyou123
    @freakyou123 6 лет назад

    Best channel ever! Cheers from Brazil!

  • @uiopuiop3472
    @uiopuiop3472 6 лет назад

    Esp8266s are getting more popular each day

  • @rutaElectronics
    @rutaElectronics 6 лет назад

    that is a very interesting project Mr.GreatScott! and it has been well implemented.

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

    Nice project! Keep it going GreatScott!

  • @Dinkleberg96
    @Dinkleberg96 6 лет назад

    As always, a great project!

  • @user-fc4so8of8o
    @user-fc4so8of8o 6 лет назад +4

    I'd use an OLED display and make it simple white text on black(off) background, replace "Internet" with "Outside" and "Sensor" with "Inside", and maybe add a little cloud/sun icon indicating the current weather.
    Anyway, cool project!

  • @spicymemeboi2646
    @spicymemeboi2646 6 лет назад

    so glad i found this channel

    • @MaxintRD
      @MaxintRD 6 лет назад

      if you only just found his channel, then you need to take some time off. There are many more, very interesting videos you will like. Have fun watching them!

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

    Because of the relatively high cost of the Nextion display (in Aus) I think a remote sensor station could incorporate a web server that can connect via wifi to a tablet.Good project and magnificent handwriting!!

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

    Very well done. Your simple instructions are very helpful!

  • @MarksGoneWicked
    @MarksGoneWicked 6 лет назад

    Most awesome. Been needing to build something like this for awhile.

  • @aswinbenny1118
    @aswinbenny1118 6 лет назад

    Awesome project brother keep it up. I Love u r creations.

  • @FirechipAcademy
    @FirechipAcademy 6 лет назад

    It's a cool weather station project
    You are a great GREAT SCOTT! :-)

  • @cottsak
    @cottsak 6 лет назад +5

    Could you share a little more about the challenges that led to the 2nd ESP module?

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

      I would guess it is because you could have the sensor in one room and the screen in another. Honestly, I would have settled for having the sensor and the lcd together.

  • @Andreas-gh6is
    @Andreas-gh6is 6 лет назад +1

    So we finally learn you live in Berlin!

  • @linuxgnuru
    @linuxgnuru 6 лет назад +1

    If you are hardcoding ip addresses, you should also set up static reserved ips in the router

  • @97Giorgos97
    @97Giorgos97 6 лет назад +42

    "YesIReally"
    "WantToKnow" 😂

    • @Cheese_1337
      @Cheese_1337 6 лет назад +4

      i was about to write a comment like this lol

    • @sandwichchef5042
      @sandwichchef5042 6 лет назад +2

      i was about to write this comment. :)

  • @airborne501
    @airborne501 6 лет назад

    You are the first left hander that has very ledgiable penmanship. I am left handed and my writing is terrible. My son is left handed and his is worse than mine. All my coworkers I have come across in my career that were lefties, also had bad penmanship. I am curious what your secret is, or how they taught you this in school. And it isnt fun when I have to design software on a white board going left to right. BTW, excellent videos.

  • @AboubakrA
    @AboubakrA 6 лет назад

    you can also collect data from the sensor and plot them over a large period of time (say a month, or a year) to get the weather trends in your apartment

  • @Dante1243
    @Dante1243 6 лет назад

    love you videos great scott enjoy your day keep it up

  • @Drxxx
    @Drxxx 6 лет назад

    You are amazing dude.. keep going.. i say it again, i love sunday because your videos..i can't wait on next one..

  • @northshorepx
    @northshorepx 6 лет назад +13

    It seems like the Nextion is not very simple to use. Do you know if it's possible to program the screen directly from the mcu? e.g. use the screen as a general purpose screen?

    • @greatscottlab
      @greatscottlab  6 лет назад +4

      I don't think so. I think you have to use the editor.

    • @anhvuthi8532
      @anhvuthi8532 6 лет назад +1

      @@greatscottlab Hi i just want ask that: are you going to do a video about your new skateboard ???

    • @Clockpie5436
      @Clockpie5436 6 лет назад

      Im sure you can use a USB-TTL converter and the editor will automatically bring it up, but I'm sure you cant use it as a secondary screen to my knowledge

    • @Nicksperiments
      @Nicksperiments 6 лет назад

      I think it’s still more simple than guessing where to define the 4 corners of a rectangle (which is usually guess and check since there’s no computer editor to see what you did before you upload to arduino), fill the rectangle with a solid color, then guess where the center of the button is to center your text which is especially hard since the coordinates are the left bottom coordinates of the text (no centering function), then make if then statements to check if the screen was touched in the area of the button, then redraw the button a different color to simulate being pressed, and finally run the code you wanted the button to do. And if you want to load any images, it takes 10 seconds to draw a background image. Then if you want to change pages, you have to put all your code for drawin everything in a method and use a variable to tell the arduino what screen you’re on or else it’ll respond to touch in the wrong areas. My point is, the regular way is a huge pain in the ass and is hours of guess and check. It’s so much nicer and faster to see what your GUI looks like as you’re making it, even if the editor isn’t super simple. It may be hard to learn, but once you master nextion, nothing else compares to how professional the GUI looks as far as arduino goes. Raspberry pi is a whole other story but you can’t beat nextion for arduino

    • @OldCurmudgeon3DP
      @OldCurmudgeon3DP 6 лет назад +2

      There are commands available in the help section to program from code in, or passed thru, the MCU. There's a steep learning curve, but I haven't looked back to blue LCDs since I found the Nextion.

  • @EndreSzasz
    @EndreSzasz 6 лет назад +2

    Did you compare the bosch values to another thermometer? Were they correct or a few degrees higher?

  • @JyothiSwaroopM
    @JyothiSwaroopM 6 лет назад

    You deserve more subs, man!

  • @esugan
    @esugan 6 лет назад

    Super and nice project sir..... and i tried its look working good and excellent...

  • @anycatdessai
    @anycatdessai 6 лет назад

    Another great project. ESP8266 is quite a marvelous creation for electronic hobbyists. Please do videos on MQTT and other such concepts in the future as part of electronics basics series.

  • @davidrubio8673
    @davidrubio8673 6 лет назад +14

    could you try V-USB for arduino?

    • @FisheyLP
      @FisheyLP 6 лет назад +3

      I would like to see that too!
      Just researched a little bit about this topic with an ATtiny recently

  • @bonnome2
    @bonnome2 6 лет назад

    I also have a couple temperature sensors with an esp8266. I just bought one of those electric cable boxes from orico to put all my stuff in.
    Works great!

  • @djoudigpl8625
    @djoudigpl8625 6 лет назад

    Hy great scott please give me link of music you use in your videos

  • @junuhunuproductions
    @junuhunuproductions 6 лет назад

    Very helpful video indeed. Great Job!!

  • @DiyEcoProjects
    @DiyEcoProjects 6 лет назад

    Wow, thats Awesome!! ... Well done

  • @richardwilliamjohnson8566
    @richardwilliamjohnson8566 6 лет назад

    Thanks mate anther useful and interesting project

  • @noweare1
    @noweare1 6 лет назад +1

    Thank you for the high quality video. It was funny when you said "fraidy cat" . We used to say "scairdy cat".

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

    thanks for the free IPs!

  • @Void-cw3vu
    @Void-cw3vu 6 лет назад

    I get that this thing is already worth it, because it's great fun to make something like this yourself etc. and I'm not trying to be negative, but I don't know why it would have any practical value over smartphone weather tbh. Still a great video, like always.

  •  6 лет назад

    One of my favourite projects yet! 😊
    (If I'll have some time I'll definitely make it and also add clock to it and inside temp+humidity instead of the internet one.)

  • @kyoudaiken
    @kyoudaiken 6 лет назад

    Tomorrow
    >9000°C
    I see that you are also tired of this strange drought and hot weather we even STILL have in OCTOBER... :D

  • @aniketakabir1572
    @aniketakabir1572 6 лет назад

    good work as always

  • @bobby1214
    @bobby1214 6 лет назад

    this looks awesome man

  • @ESCcrasci
    @ESCcrasci 6 лет назад

    Awesome Project. Like it a lot. Might make it someday

  • @BharatMohanty
    @BharatMohanty 6 лет назад +9

    Now #greatscott is great again !!

  • @MDFRESCUER
    @MDFRESCUER 6 лет назад

    Nice project.

  • @Ed19601
    @Ed19601 6 лет назад

    Looks great. I didn't go in detail through your code but just want to leave some info on the BME280 for those who might work with it the first time: by default it usually is in continuous mode, taking g reading after reading and that way heating up itself. Best use it in 'forced mode'.
    I infact had problems with a Bosch sensor once. A BMP180 stopped working, so I have slight reservations :-)

    • @OldCurmudgeon3DP
      @OldCurmudgeon3DP 6 лет назад +1

      I have 2 of these on different projects. I need to look into setting forced mode I think. I only poll in 15sec (minimum) intervals.

  • @AThreeDogNight
    @AThreeDogNight 6 лет назад

    Very nice build.

  • @Diamonddrake
    @Diamonddrake 6 лет назад

    The esp has a mdns library that you could easily use for your sensors to auto discover the server with maybe 10 lines of code.

  • @___OmerAJ___
    @___OmerAJ___ 6 лет назад +1

    very nice project.

  • @Harish-xw2jt
    @Harish-xw2jt 4 года назад

    The best thing about DIY is that you can add and remove anything you want. Plus it super cheap

  • @cekpi7
    @cekpi7 6 лет назад

    Aren't those diodes on 9:42 drawn backwards?

    • @electron-1979
      @electron-1979 6 лет назад

      Actually, RX is normally high and TX pulls it low.

    • @cekpi7
      @cekpi7 6 лет назад

      @@electron-1979 oh, i was thinking it's the other way

    • @electron-1979
      @electron-1979 6 лет назад

      @@cekpi7
      No, I haven't double-checked, but it does work and make sense (to me).
      TX does the work, RX just "sits there" and waits for TX.

  • @TheRolemodel1337
    @TheRolemodel1337 6 лет назад

    You can find out his where he presumably lives with the data provided at 0:23
    german or austrian town with that combinations of parameters on Oct 5
    find the website hes using and use google to find the specific combination of parameters

  • @GilesBathgate
    @GilesBathgate 6 лет назад

    +Great Scott Something wrong with the kerning. Are you using a proportional font with fixed width font display?

  • @arifindobson
    @arifindobson 6 лет назад

    Superb master comrade, thank you very much

  • @e1ghthree
    @e1ghthree 6 лет назад

    Ahhh the keming 😝! Nice to follow video :)

  • @qaisalmokdad9511
    @qaisalmokdad9511 6 лет назад

    Nice video man

  • @4funrc11
    @4funrc11 6 лет назад

    Hey. :) Thx. (You make it look so easy.)

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

    Great Scott!!!!

  • @drr0b0tnik
    @drr0b0tnik 6 лет назад +1

    The random spacing in the font might be because the GUI has no concept of kerning. If you use a mono space font you will get better results.

  • @ceneblock
    @ceneblock 6 лет назад

    Well, if that's tomorrow's weather, then I might as well party tonight, because no way I'm surviving that. 😂

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

    Ebay: where is your all microcontrollers
    Greatscott: oops

  • @zephalon
    @zephalon 6 лет назад

    You could use the MQTT protocoll and a Node RED server, it's very versatile.

    • @electron-1979
      @electron-1979 6 лет назад

      Over-kill for this project, but a great solution if you want to greatly expand with more/other sensors.

  • @fikrinoh1135
    @fikrinoh1135 6 лет назад +33

    10:55
    Next day temperature: >9000 °C
    HAHAHAHAHAHAHAHAHAHAHAHA

  • @hoxorious
    @hoxorious 6 лет назад

    Perfect! Awesome! Brilliant! ❤✌👍

  • @0815DST
    @0815DST 6 лет назад

    I'm always getting a heart attack when he rubs over the paper so many times with his text marker xD
    Cooles Video nebenbei bemerkt! :) Ich brauch auch dringend ein neues Projekt...

  • @PreritSahu
    @PreritSahu 6 лет назад

    1million soon

  • @bag-stg-kft7445
    @bag-stg-kft7445 4 года назад

    Great explanation.
    But I have questions:
    I have three stations (ESP8266 with BME280) and Openweather on Nextion. These also send the data (all, not just Temp and Hum) to Thingspeak.
    How should I send this data on another Nextion?
    Reading Thingspeak doesn't work, although that would be the simplest solution, because in this way many stations could be created and all data would be shown on a display (that would then be a real "station" and could also be used for thermal heating)

  • @ManuKrishnanmagz
    @ManuKrishnanmagz 6 лет назад

    Oh the video is done recently? Cool that you could do the editing the sound overlay and everything in a jiffy!

  • @aggelos_0256
    @aggelos_0256 6 лет назад +1

    a nice thing to do is to remove the internet function and add a clock telling the time

  • @yahiaelattar
    @yahiaelattar 6 лет назад

    @GreatScott What is the name of the 3D modeling software you used?

  • @annemariemiguel2541
    @annemariemiguel2541 6 лет назад +10

    Hey great scott youv should build a synthesizer of some tipe, but dont use the 555 timer for it. Thanks

    • @Loundre3
      @Loundre3 6 лет назад +2

      He could try doing a analog synth with analog filter, but that can get quite complicated still.

    • @davidrubio8673
      @davidrubio8673 6 лет назад +3

      hi i have done one of those using an arduino with 4 voices of polyphony, here is my post mitxela.com/forum/topic/arduino-midi-synth-now-with-5-different-wave-forms

    • @annemariemiguel2541
      @annemariemiguel2541 6 лет назад +2

      david rubio I would like to see a synth that is analog and does not use an arduino.

    • @davidrubio8673
      @davidrubio8673 6 лет назад

      ok, thanks Anne Marie Miguel

  • @secretgenius4185
    @secretgenius4185 6 лет назад

    I love your projects.You should be engineer of year or something

  • @josselinmarnat
    @josselinmarnat 6 лет назад

    Thanks a thousand times!

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

    Hi I have always enjoyed your you tube channel. Have you ever considered making an anemometer? I have printed the casing but have not figured out the sensor and also a directional wind sensor. Thank you.

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

    please enable the subtitles, I'm from Brazil and I really like your videos

  • @piratapan
    @piratapan 6 лет назад

    @4:48 I work at an ISP in Sweden and a german transfer student brought her DSL Fritz!Box and I told her I knew it from a meme but that her particular model would not work.

  • @linuxgnuru
    @linuxgnuru 6 лет назад +2

    Is there a linux solution for the nextion editor?

  • @maxzet368
    @maxzet368 6 лет назад +1

    you should use the MSQTT Protocoll or something similar.
    Macht das ganze für das komplette Netzwerk nutzbar.

  • @黄博宏-f8l
    @黄博宏-f8l 6 лет назад

    great project!

  • @soumiknandi7
    @soumiknandi7 6 лет назад

    Make an automatic power factor correction circuit .
    definitely in need for that one

  • @mst7460
    @mst7460 6 лет назад

    Could you make us informed in the channel when the LCBs are available for commercial purposes pls?

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

    The question of the day: do you believe the bme280 is accurate? I have constructed already several of those devices and I always had a problem with temperature readings, which in some extreme cases were like 6.5 degrees off. I I'm aware of self heating issue but that thing does not seem to be the 'large scale' issue. I did not do any tests yes, but is seems that this sensor has some dependency of temperature vs power supply

  • @LittleBruze
    @LittleBruze 6 лет назад

    Can you make a detailed video on gsm module and AT commands

  • @tow96
    @tow96 6 лет назад

    also can you have multiple screens reading from the same sensor right? since it can read the info from the server.

  • @Alone-kd3bc
    @Alone-kd3bc 6 лет назад

    Please make another Video about this station by adding more stations and maybe a data logger for temperature and humidity.

  • @emmanuellinarescontreras7264
    @emmanuellinarescontreras7264 6 лет назад

    Nice project :D