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

  Переглядів 343,579

GreatScott!

GreatScott!

5 років тому

Previous video: • What is FOC? (Field Or...
Facebook: / greatscottlab
Twitter: / greatscottlab
Support me for more videos: www.patreon.com/GreatScott?ty=h
The background pictures were made by Tom Wendlandt and you can download them for free on Instructables
More project information (schematic, parts list, code, pictures,.....) on Instructables: www.instructables.com/id/DIY-...
Parts list (incomplete, see Instructables for more, affiliate links):
Aliexpress:
3x Wemos D1 Minis: s.click.aliexpress.com/e/_dYV...
2x 1N4148 Diodes: s.click.aliexpress.com/e/_dYR...
2x Micro USB Breakout Boards: s.click.aliexpress.com/e/_dWa...
1x Nextion LCD: s.click.aliexpress.com/e/_dZb...
1x BME280 Sensor: s.click.aliexpress.com/e/_dUf...
Ebay:
3x Wemos D1 Minis: rover.ebay.com/rover/1/711-532...
2x 1N4148 Diodes: rover.ebay.com/rover/1/711-532...
2x Micro USB Breakout Boards: rover.ebay.com/rover/1/711-532...
1x Nextion LCD: rover.ebay.com/rover/1/711-532...
1x BME280 Sensor: rover.ebay.com/rover/1/711-532...
In this project I will show you how to create a weather station along with a WiFi sensor station. The sensor station measures local temperature and humidity data and sends it, through WiFi, to the weather station. The weather station then displays the data on its LCD screen. It also grabs the current temperature and humidity data in your city from the Internet and displays it as well on the LCD screen. Let's get started!
Websites which were shown/used in the video (useful):
educ8s.tv/esp8266-weather-dis...
www.itead.cc/wiki/Nextion_Edi...
www.instructables.com/id/Ardu...
www.instructables.com/id/WiFi...
www.instructables.com/id/Sola...
github.com/esp8266/Arduino
github.com/sparkfun/SparkFun_...
Music:
2011 Lookalike by Bartlebeats

КОМЕНТАРІ: 520
@Nono-hk3is
@Nono-hk3is 5 років тому
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 5 років тому
Developer's time is expensive, but esp's are cheap 😀
@tf3confirmedbuthv54
@tf3confirmedbuthv54 5 років тому
Man, I’m still surprised you can upload with such high consistency and still have high quality videos! Keep up the good work!
@sgsax
@sgsax 5 років тому
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!
@twilightknight123
@twilightknight123 5 років тому
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
@YukiElectronics
@YukiElectronics 5 років тому
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 роки тому
I think icons are better than text
@RequiemForABuckeye
@RequiemForABuckeye 4 роки тому
Would it be better to generate pics of words through an external app and upload them to the nextion instead?
@Braeden123698745
@Braeden123698745 5 років тому
There you go again, making a video about the exact thing I wanted to learn.
@MarkVegh
@MarkVegh 5 років тому
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.)
@rutaElectronics
@rutaElectronics 5 років тому
that is a very interesting project Mr.GreatScott! and it has been well implemented.
@jeffhill6769
@jeffhill6769 4 роки тому
Very well done. Your simple instructions are very helpful!
@uiopuiop3472
@uiopuiop3472 5 років тому
Esp8266s are getting more popular each day
@donaldwright2426
@donaldwright2426 4 роки тому
Nice project! Keep it going GreatScott!
@bonnome2
@bonnome2 5 років тому
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!
@Dinkleberg96
@Dinkleberg96 5 років тому
As always, a great project!
@MCsCreations
@MCsCreations 5 років тому
Beautiful work, dude! 😊
@freakyou123
@freakyou123 5 років тому
Best channel ever! Cheers from Brazil!
@chandrashekarr9527
@chandrashekarr9527 5 років тому
If you add time it's look better
@RoterFruchtZwerg
@RoterFruchtZwerg 5 років тому
he would need a third ESP for that 🙈
@qaisalmokdad9511
@qaisalmokdad9511 5 років тому
CHANDRASHEKAR R treuuu!!!
@dominiquegobeil5831
@dominiquegobeil5831 5 років тому
Gps real-time clock.
@beforth
@beforth 5 років тому
A well developed, mqtt enabled, control panel android app in an old smartphone would beat that lcd in looks and in price.
@electron-1979
@electron-1979 5 років тому
Finally, a tutorial/build of a weather station (because that's an original idea)!
@MarksGoneWicked
@MarksGoneWicked 5 років тому
Most awesome. Been needing to build something like this for awhile.
@FirechipAcademy
@FirechipAcademy 5 років тому
It's a cool weather station project You are a great GREAT SCOTT! :-)
@anycatdessai
@anycatdessai 5 років тому
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.
@RoyTecTips
@RoyTecTips 5 років тому
love GreatScott! video ❤❤❤
@JjMn1000
@JjMn1000 3 роки тому
yes hes good
@Dante1243
@Dante1243 5 років тому
love you videos great scott enjoy your day keep it up
@mellee3436
@mellee3436 2 роки тому
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!!
@JyothiSwaroopM
@JyothiSwaroopM 5 років тому
You deserve more subs, man!
@aswinbenny1118
@aswinbenny1118 5 років тому
Awesome project brother keep it up. I Love u r creations.
@Drxxx
@Drxxx 5 років тому
You are amazing dude.. keep going.. i say it again, i love sunday because your videos..i can't wait on next one..
@jonty1857
@jonty1857 5 років тому
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. :)
@spicymemeboi2646
@spicymemeboi2646 5 років тому
so glad i found this channel
@MaxintRD
@MaxintRD 5 років тому
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!
@rklauco
@rklauco 5 років тому
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 5 років тому
Perfect is the enemy of good (Voltaire)
@MaxintRD
@MaxintRD 5 років тому
So recognizable... +1
@petrosdimitriospilichos9195
@petrosdimitriospilichos9195 2 роки тому
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
@electronic7979
@electronic7979 5 років тому
Excellent project 👍 👍
@DiyEcoProjects
@DiyEcoProjects 5 років тому
Wow, thats Awesome!! ... Well done
@bobby1214
@bobby1214 5 років тому
this looks awesome man
@y2ksw1
@y2ksw1 5 років тому
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 5 місяців тому
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.
@aniketakabir1572
@aniketakabir1572 5 років тому
good work as always
@ESCcrasci
@ESCcrasci 5 років тому
Awesome Project. Like it a lot. Might make it someday
@richardwilliamjohnson8566
@richardwilliamjohnson8566 5 років тому
Thanks mate anther useful and interesting project
@junuhunuproductions
@junuhunuproductions 5 років тому
Very helpful video indeed. Great Job!!
@Andreas-gh6is
@Andreas-gh6is 5 років тому
So we finally learn you live in Berlin!
@hoxorious
@hoxorious 5 років тому
Perfect! Awesome! Brilliant! ❤✌👍
@user-fc4so8of8o
@user-fc4so8of8o 5 років тому
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!
@AThreeDogNight
@AThreeDogNight 5 років тому
Very nice build.
@hdfhhddff683
@hdfhhddff683 5 років тому
very nice project.
@MDFRESCUER
@MDFRESCUER 5 років тому
Nice project.
@jmaguilarr
@jmaguilarr 3 роки тому
very nice project
@packratswhatif.3990
@packratswhatif.3990 5 років тому
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 5 років тому
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.
@esugan
@esugan 5 років тому
Super and nice project sir..... and i tried its look working good and excellent...
@josselinmarnat
@josselinmarnat 5 років тому
Thanks a thousand times!
@robertorusso3192
@robertorusso3192 3 роки тому
Great Scott!!!!
@qps9380
@qps9380 5 років тому
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 5 років тому
Really, even professionals do it! Why "reinvent the wheel"?
@AboubakrA
@AboubakrA 5 років тому
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
@user-jx4kz5uh3u
@user-jx4kz5uh3u 5 років тому
great project!
@MArifinDobson
@MArifinDobson 5 років тому
Superb master comrade, thank you very much
@4funrc11
@4funrc11 5 років тому
Hey. :) Thx. (You make it look so easy.)
@qaisalmokdad9511
@qaisalmokdad9511 5 років тому
Nice video man
@JjMn1000
@JjMn1000 3 роки тому
thanks for the free IPs!
@airborne501
@airborne501 5 років тому
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.
@emmanuellinarescontreras7264
@emmanuellinarescontreras7264 5 років тому
Nice project :D
@eriklaken1025
@eriklaken1025 5 років тому
Thank you, I Will try to make but iT wil be difficult but so Nice with all your help.
@cottsak
@cottsak 5 років тому
Could you share a little more about the challenges that led to the 2nd ESP module?
@alexanderislas4382
@alexanderislas4382 3 роки тому
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.
@PreritSahu
@PreritSahu 5 років тому
1million soon
@ecospider5
@ecospider5 5 років тому
Great project thanks
@Kostanj42
@Kostanj42 5 років тому
cool project
@linuxgnuru
@linuxgnuru 5 років тому
If you are hardcoding ip addresses, you should also set up static reserved ips in the router
@QLTD
@QLTD 5 років тому
good project
@97Giorgos97
@97Giorgos97 5 років тому
"YesIReally" "WantToKnow" 😂
@Cheese_1337
@Cheese_1337 5 років тому
i was about to write a comment like this lol
@sandwichchef5042
@sandwichchef5042 5 років тому
i was about to write this comment. :)
@Diamonddrake
@Diamonddrake 5 років тому
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.
@Harish-xw2jt
@Harish-xw2jt 3 роки тому
The best thing about DIY is that you can add and remove anything you want. Plus it super cheap
@e1ghthree
@e1ghthree 5 років тому
Ahhh the keming 😝! Nice to follow video :)
@ManuKrishnanmagz
@ManuKrishnanmagz 5 років тому
Oh the video is done recently? Cool that you could do the editing the sound overlay and everything in a jiffy!
@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.
@defaultuser000
@defaultuser000 5 років тому
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.
@Ed19601
@Ed19601 5 років тому
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 5 років тому
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.
@Lisas4us
@Lisas4us 4 роки тому
Great video, Scott, thank you so much. I was wondering, could you make a video to messure several temperature and several umindity through several esp8266. And than have high temp and low temp switch points, send signal send back to the respective esp8266, where some relays are switched, for example a heater, a fan, a/c dehumidifyer, window-opener, sprinkler, whatever. etc. I think that would be something really usefull, we not quite so smart people could learn and program with.
@secretgenius4185
@secretgenius4185 5 років тому
I love your projects.You should be engineer of year or something
@qubitswithchris
@qubitswithchris 5 років тому
Next : 1 Million sub countdown 😎
@leantech6515
@leantech6515 5 років тому
Hey there men love your works, can you make a DIY vape mode with a temp/watt/volt control. Cheers!
@burhanuddinbhiwaniwala618
@burhanuddinbhiwaniwala618 2 роки тому
GREAT VIDEO sir.... I was thinking is it possible to use Nextion display to enter WiFi credentials without hard coding or without creating a Soft AP
@kyoudaiken
@kyoudaiken 5 років тому
Tomorrow >9000°C I see that you are also tired of this strange drought and hot weather we even STILL have in OCTOBER... :D
@BharatMohanty
@BharatMohanty 5 років тому
Now #greatscott is great again !!
@martinsindans1341
@martinsindans1341 5 років тому
Greater*
@Void-cw3vu
@Void-cw3vu 5 років тому
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.
@zephalon
@zephalon 5 років тому
You could use the MQTT protocoll and a Node RED server, it's very versatile.
@electron-1979
@electron-1979 5 років тому
Over-kill for this project, but a great solution if you want to greatly expand with more/other sensors.
@aarondcmedia9585
@aarondcmedia9585 5 років тому
Do you prefer soldering wire directly to the boards vs using headers and cable so they don't fall out if it gets bumped? Or another reason? Appreciate the videos - interesting as always.
@vaioskaliakoudas6388
@vaioskaliakoudas6388 5 років тому
Awesome project, and pretty useful but, could the Nextion LCD screen work with Arduino or other similar microcontrollers, and is it also avalaible in bigger dimensions and better quality resolutions???
@MedSou
@MedSou 5 років тому
Very useful 👍👍👍👍
@Fifury161
@Fifury161 5 років тому
Nice DIY project, however for me the BOM seems a tad high for such a simple project - that LCD is overkill - especially if you aren't going to use the touch screen function... As ever you have inspired me to make my own and implement my design changes!
@soumiknandi7
@soumiknandi7 5 років тому
Make an automatic power factor correction circuit . definitely in need for that one
@GilesBathgate
@GilesBathgate 5 років тому
+Great Scott Something wrong with the kerning. Are you using a proportional font with fixed width font display?
@anaspatel9
@anaspatel9 5 років тому
Hi @GreatScott!, Is it possible if you could make a video with tips and tricks that you use when you solder on Vero board, like the type of wires you use and when you use them for making connections in the Vero board, Please🙏🏼.
@TIGFab97
@TIGFab97 5 років тому
Nice video. Can you make a circuit that can turn on youre car lights when its getting dark?
@EndreSzasz
@EndreSzasz 5 років тому
Did you compare the bosch values to another thermometer? Were they correct or a few degrees higher?
@chadkrause6574
@chadkrause6574 5 років тому
GreatScott!, Can you do a video on the different types of wires? I know there is solid, stranded, silicon (Wet Noodle?), among others. I don't know what the difference is other than how flexible it is. Thanks! Keep up the good videos!
@mst7460
@mst7460 5 років тому
Could you make us informed in the channel when the LCBs are available for commercial purposes pls?
@cap1sup
@cap1sup 5 років тому
You should do a DIY smart home device (Like an Echo Dot or a Google Home Mini) for the next project.
@novocalchannel4131
@novocalchannel4131 5 років тому
Great, Scott... :D
@bag-stg-kft7445
@bag-stg-kft7445 3 роки тому
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)
@MitsuZer0G
@MitsuZer0G 4 роки тому
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?
@engineer0239
@engineer0239 5 років тому
Already brought one...
@aggelos_0256
@aggelos_0256 5 років тому
a nice thing to do is to remove the internet function and add a clock telling the time
@rpeetz
@rpeetz 5 років тому
My guess on the font spacing is that the editor expect you to use a monospaced font, try with a monospaced font it should work better.
@monojithalder3993
@monojithalder3993 4 роки тому
This is a great project but now day anyone likes to see all sensor value into their mobile phone or their smartwatches. Please try that. I already build this kind of project. This is a just suggestion do not take it otherwise. I like your video very much. Thank you.
Every Apartment needs this Upgrade! (WhatsApp/Telegram Notifications)
10:05
MINHA IRMÃ MALVADA CONTRA O GADGET DE TREM DE DOMINÓ 😡 #ferramenta
00:40
Ages 1 - 100 Decide Who Wins $250,000
40:02
MrBeast
Переглядів 111 млн
Військовослужбовці ЗСУ проводять оповіщення в Полтаві
00:32
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
GreatScott!
Переглядів 453 тис.
I tried finding Hidden Gems on AliExpress & got NASA Technology?!
14:41
ESP32-2432S028 aka Cheap Yellow Display - fixing the audio issues
2:45
HexeguitarDIY
Переглядів 11 тис.
Sensors - which one to use
17:06
Electronoobs
Переглядів 1,3 млн
Raspberry Pi demolished by monster 128-core ARM CPU!
20:54
Jeff Geerling
Переглядів 1,3 млн
Building a Custom Wireless Weather Station (Arduino)
17:41
NateMakes
Переглядів 12 тис.
"Salt" Batteries are FINALLY Here?! Sooo should you use them?
12:29
GreatScott!
Переглядів 512 тис.
12 Useful & Interesting ESP32 Projects for Beginners!
9:41
ToP Projects Compilation
Переглядів 563 тис.
Нужен ли робот пылесос?
0:54
Катя и Лайфхаки
Переглядів 786 тис.
Как часто вы чистите свой телефон
0:33
KINO KAIF
Переглядів 662 тис.
Photo Changing Replace And Edit Backgrounds 65mn With These 10 Tips
0:53
Irfan AN Tech
Переглядів 260 тис.