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!
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.
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. :)
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
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.
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.
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 ;)
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
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.
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?
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.
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.
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.
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!
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!
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!!
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.
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.
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
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?
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
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
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.
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.
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!
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.)
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 :-)
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
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...
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)
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
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.
@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.
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
If you add time it's look better
he would need a third ESP for that 🙈
CHANDRASHEKAR R treuuu!!!
Gps real-time clock.
A well developed, mqtt enabled, control panel android app in an old smartphone would beat that lcd in looks and in price.
Regarding the Nextion Editor, it was probably expecting a monospace font, which would explain the weird text spacing.
Yes to the monospaced font. I ran into the same problem.
I think icons are better than text
Would it be better to generate pics of words through an external app and upload them to the nextion instead?
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!
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!
Developer's time is expensive, but esp's are cheap 😀
Man, I’m still surprised you can upload with such high consistency and still have high quality videos! Keep up the good work!
There you go again, making a video about the exact thing I wanted to learn.
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.
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. :)
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
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.
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.
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 ;)
Perfect is the enemy of good (Voltaire)
So recognizable... +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
Finally, a tutorial/build of a weather station (because that's an original idea)!
love GreatScott!
video ❤❤❤
yes hes good
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.
Really, even professionals do it!
Why "reinvent the wheel"?
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?
Excellent project 👍 👍
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.
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.
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.
Beautiful work, dude! 😊
Best channel ever! Cheers from Brazil!
Esp8266s are getting more popular each day
that is a very interesting project Mr.GreatScott! and it has been well implemented.
Nice project! Keep it going GreatScott!
As always, a great project!
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!
so glad i found this channel
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!
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!!
Very well done. Your simple instructions are very helpful!
Most awesome. Been needing to build something like this for awhile.
Awesome project brother keep it up. I Love u r creations.
It's a cool weather station project
You are a great GREAT SCOTT! :-)
Could you share a little more about the challenges that led to the 2nd ESP module?
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.
So we finally learn you live in Berlin!
If you are hardcoding ip addresses, you should also set up static reserved ips in the router
"YesIReally"
"WantToKnow" 😂
i was about to write a comment like this lol
i was about to write this comment. :)
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.
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
love you videos great scott enjoy your day keep it up
You are amazing dude.. keep going.. i say it again, i love sunday because your videos..i can't wait on next one..
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?
I don't think so. I think you have to use the editor.
@@greatscottlab Hi i just want ask that: are you going to do a video about your new skateboard ???
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
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
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.
Did you compare the bosch values to another thermometer? Were they correct or a few degrees higher?
You deserve more subs, man!
Super and nice project sir..... and i tried its look working good and excellent...
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.
could you try V-USB for arduino?
I would like to see that too!
Just researched a little bit about this topic with an ATtiny recently
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!
Hy great scott please give me link of music you use in your videos
Very helpful video indeed. Great Job!!
Wow, thats Awesome!! ... Well done
Thanks mate anther useful and interesting project
Thank you for the high quality video. It was funny when you said "fraidy cat" . We used to say "scairdy cat".
thanks for the free IPs!
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.
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.)
Tomorrow
>9000°C
I see that you are also tired of this strange drought and hot weather we even STILL have in OCTOBER... :D
good work as always
this looks awesome man
Awesome Project. Like it a lot. Might make it someday
Now #greatscott is great again !!
Greater*
Nice project.
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 :-)
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.
Very nice build.
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.
very nice project.
The best thing about DIY is that you can add and remove anything you want. Plus it super cheap
Aren't those diodes on 9:42 drawn backwards?
Actually, RX is normally high and TX pulls it low.
@@electron-1979 oh, i was thinking it's the other way
@@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.
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
+Great Scott Something wrong with the kerning. Are you using a proportional font with fixed width font display?
Superb master comrade, thank you very much
Ahhh the keming 😝! Nice to follow video :)
Nice video man
Hey. :) Thx. (You make it look so easy.)
Great Scott!!!!
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.
Well, if that's tomorrow's weather, then I might as well party tonight, because no way I'm surviving that. 😂
Ebay: where is your all microcontrollers
Greatscott: oops
You could use the MQTT protocoll and a Node RED server, it's very versatile.
Over-kill for this project, but a great solution if you want to greatly expand with more/other sensors.
10:55
Next day temperature: >9000 °C
HAHAHAHAHAHAHAHAHAHAHAHA
He lives on Mercury
Perfect! Awesome! Brilliant! ❤✌👍
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...
1million soon
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)
Oh the video is done recently? Cool that you could do the editing the sound overlay and everything in a jiffy!
a nice thing to do is to remove the internet function and add a clock telling the time
@GreatScott What is the name of the 3D modeling software you used?
Hey great scott youv should build a synthesizer of some tipe, but dont use the 555 timer for it. Thanks
He could try doing a analog synth with analog filter, but that can get quite complicated still.
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
david rubio I would like to see a synth that is analog and does not use an arduino.
ok, thanks Anne Marie Miguel
I love your projects.You should be engineer of year or something
Thanks a thousand times!
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.
please enable the subtitles, I'm from Brazil and I really like your videos
@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.
Is there a linux solution for the nextion editor?
Actually there's 3 solutions: dual boot, wine and VBox.
lol
you should use the MSQTT Protocoll or something similar.
Macht das ganze für das komplette Netzwerk nutzbar.
great project!
Make an automatic power factor correction circuit .
definitely in need for that one
Could you make us informed in the channel when the LCBs are available for commercial purposes pls?
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
Can you make a detailed video on gsm module and AT commands
also can you have multiple screens reading from the same sensor right? since it can read the info from the server.
Please make another Video about this station by adding more stations and maybe a data logger for temperature and humidity.
Nice project :D