Тёмный

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

Подписаться
Просмотров 347 тыс.
% 9 549

Previous video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Nhy6g9wGHow.html
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-Weather-Station-WiFi-Sensor-Station/
Parts list (incomplete, see Instructables for more, affiliate links):
Aliexpress:
3x Wemos D1 Minis: s.click.aliexpress.com/e/_dYVvf78
2x 1N4148 Diodes: s.click.aliexpress.com/e/_dYR45Bh
2x Micro USB Breakout Boards: s.click.aliexpress.com/e/_dWadkSj
1x Nextion LCD: s.click.aliexpress.com/e/_dZbiJ9u
1x BME280 Sensor: s.click.aliexpress.com/e/_dUfbPOS
Ebay:
3x Wemos D1 Minis: rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575101368&toolid=10001&campid=5337582279&customid=&icep_item=183166459914&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg
2x 1N4148 Diodes: rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575101368&toolid=10001&campid=5337582279&customid=&icep_item=201415000130&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg
2x Micro USB Breakout Boards: rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575101368&toolid=10001&campid=5337582279&customid=&icep_item=292318719339&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg
1x Nextion LCD: rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575101368&toolid=10001&campid=5337582279&customid=&icep_item=152947277092&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg
1x BME280 Sensor: rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575101368&toolid=10001&campid=5337582279&customid=&icep_item=281916017609&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg
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-display/
www.itead.cc/wiki/Nextion_Editor_Quick_Start_Guide#Flash_Project_firmware_from_SD_card
www.instructables.com/id/Arduino-Weather-Station-With-a-Nextion-Display/
www.instructables.com/id/WiFi-Communication-Between-Two-ESP8266-Based-MCU-T/
www.instructables.com/id/Solar-Powered-WiFi-Weather-Station/
github.com/esp8266/Arduino
github.com/sparkfun/SparkFun_BME280_Arduino_Library
Music:
2011 Lookalike by Bartlebeats

Наука

Опубликовано:

 

7 окт 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 521   
@Nono-hk3is
@Nono-hk3is 6 лет назад
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 лет назад
Developer's time is expensive, but esp's are cheap 😀
@sgsax
@sgsax 6 лет назад
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!
@jonty1857
@jonty1857 6 лет назад
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
@chandrashekarr9527
@chandrashekarr9527 6 лет назад
If you add time it's look better
@RoterFruchtZwerg
@RoterFruchtZwerg 6 лет назад
he would need a third ESP for that 🙈
@qaisalmokdad9511
@qaisalmokdad9511 6 лет назад
CHANDRASHEKAR R treuuu!!!
@dominiquegobeil5831
@dominiquegobeil5831 6 лет назад
Gps real-time clock.
@beforth
@beforth 6 лет назад
A well developed, mqtt enabled, control panel android app in an old smartphone would beat that lcd in looks and in price.
@rklauco
@rklauco 6 лет назад
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 лет назад
Perfect is the enemy of good (Voltaire)
@MaxintRD
@MaxintRD 6 лет назад
So recognizable... +1
@petrosdimitriospilichos9195
@petrosdimitriospilichos9195 3 года назад
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
@YukiElectronics
@YukiElectronics 6 лет назад
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 6 лет назад
There you go again, making a video about the exact thing I wanted to learn.
@electron-1979
@electron-1979 6 лет назад
Finally, a tutorial/build of a weather station (because that's an original idea)!
@y2ksw1
@y2ksw1 6 лет назад
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 11 месяцев назад
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.
@tf3confirmedbuthv54
@tf3confirmedbuthv54 6 лет назад
Man, I’m still surprised you can upload with such high consistency and still have high quality videos! Keep up the good work!
@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!
@RoyTecTips
@RoyTecTips 6 лет назад
love GreatScott! video ❤❤❤
@JjMn1000
@JjMn1000 3 года назад
yes hes good
@user-fc4so8of8o
@user-fc4so8of8o 6 лет назад
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!
@packratswhatif.3990
@packratswhatif.3990 6 лет назад
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.
@uiopuiop3472
@uiopuiop3472 6 лет назад
Esp8266s are getting more popular each day
@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"?
@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!!
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.)
@Harish-xw2jt
@Harish-xw2jt 4 года назад
The best thing about DIY is that you can add and remove anything you want. Plus it super cheap
@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 лет назад
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.
@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.
@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.
@Andreas-gh6is
@Andreas-gh6is 6 лет назад
So we finally learn you live in Berlin!
@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.
@MarksGoneWicked
@MarksGoneWicked 6 лет назад
Most awesome. Been needing to build something like this for awhile.
@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.
@electronic7979
@electronic7979 6 лет назад
Excellent project 👍 👍
@rutaElectronics
@rutaElectronics 6 лет назад
that is a very interesting project Mr.GreatScott! and it has been well implemented.
@freakyou123
@freakyou123 5 лет назад
Best channel ever! Cheers from Brazil!
@MCsCreations
@MCsCreations 6 лет назад
Beautiful work, dude! 😊
@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
@noweare1
@noweare1 6 лет назад
Thank you for the high quality video. It was funny when you said "fraidy cat" . We used to say "scairdy cat".
@jeffhill6769
@jeffhill6769 5 лет назад
Very well done. Your simple instructions are very helpful!
@Dinkleberg96
@Dinkleberg96 6 лет назад
As always, a great project!
@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
@linuxgnuru
@linuxgnuru 6 лет назад
If you are hardcoding ip addresses, you should also set up static reserved ips in the router
@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!
@donaldwright2426
@donaldwright2426 4 года назад
Nice project! Keep it going GreatScott!
@shraiwi
@shraiwi 6 лет назад
That's pretty cool how the esp8266 has enough memory to completely buffer the display. Nice video!! 👍
@scootscoot2k
@scootscoot2k 6 лет назад
dont think the screen drawing is on the esp's side its that fancy screen doing the heavy lifting.
@shraiwi
@shraiwi 6 лет назад
@@scootscoot2k but you need to somehow buffer the display in order to draw the text, unless the display has integrated readable RAM.
@OldCurmudgeon3DP
@OldCurmudgeon3DP 6 лет назад
The Nextion does all the work. The ESP only sends the actual values via serial. In this case it's text, but could be numerical or commands. The enhanced models have 16MB of onboard storage, a battery backed RTC, and a few GPIO. If their core code was more polished you could almost get by w/o the ESP other than missing wifi.
@pfeerick
@pfeerick 6 лет назад
The nextion display has its own onboard processor that is doing all the work. You could connect a attiny85 to it and get the same result. You just send the sensor values to it and it does all the heavy lifting. The software is clunky, but they are a nice screen for that onboard processing feature.
@97Giorgos97
@97Giorgos97 6 лет назад
"YesIReally" "WantToKnow" 😂
@Cheese_1337
@Cheese_1337 6 лет назад
i was about to write a comment like this lol
@sandwichchef5042
@sandwichchef5042 6 лет назад
i was about to write this comment. :)
@dinithaw
@dinithaw 2 года назад
you are so lucky! theres lots of best in class electronics manufacturers in your country like bosch and siemens!!! here in my country there no such a company even a single one! it's hard to find components here. self studying or experimenting is impossible here. I'm self studying about electronics since 2010 I haven't even seen a oscilloscope or a lcr meter yet! if we want to find scope here what we could find is cheap & simple pocket oscilloscopes only and funniest part is they inly exists in large mobile-phone repairing shops... we can't even import such electronic equipment from ebay or amazon because lack of foreign currency sanctuaries... sad of my country & and our poor economy😭😭😭
@FirechipAcademy
@FirechipAcademy 6 лет назад
It's a cool weather station project You are a great GREAT SCOTT! :-)
@erickjoseph895
@erickjoseph895 2 года назад
please enable the subtitles, I'm from Brazil and I really like your videos
@JjMn1000
@JjMn1000 3 года назад
thanks for the free IPs!
@defaultuser000
@defaultuser000 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.
@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..
@PreritSahu
@PreritSahu 6 лет назад
1million soon
@Dante1243
@Dante1243 6 лет назад
love you videos great scott enjoy your day keep it up
@aswinbenny1118
@aswinbenny1118 6 лет назад
Awesome project brother keep it up. I Love u r creations.
@Richie_
@Richie_ 3 года назад
I'd like to try this but I'm an absolute beginner with arduino and electronics. I have an engineering background so find schematics no problem. I will save the video for later.
@drr0b0tnik
@drr0b0tnik 6 лет назад
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.
@esugan
@esugan 6 лет назад
Super and nice project sir..... and i tried its look working good and excellent...
@BharatMohanty
@BharatMohanty 6 лет назад
Now #greatscott is great again !!
@martinsindans1341
@martinsindans1341 6 лет назад
Greater*
@ESCcrasci
@ESCcrasci 6 лет назад
Awesome Project. Like it a lot. Might make it someday
@DiyEcoProjects
@DiyEcoProjects 6 лет назад
Wow, thats Awesome!! ... Well done
@___OmerAJ___
@___OmerAJ___ 6 лет назад
very nice project.
@robertorusso3192
@robertorusso3192 4 года назад
Great Scott!!!!
@junuhunuproductions
@junuhunuproductions 6 лет назад
Very helpful video indeed. Great Job!!
@arifindobson
@arifindobson 6 лет назад
Superb master comrade, thank you very much
@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.
@garytalman3973
@garytalman3973 5 лет назад
The reason you are getting weird looking text is that the font data is compiled and transferred to the Nextion screen as part of the programming. This method frees up memory that would otherwise be cluttered with unused font data. The best way of correcting your issues is to stick to using monospace fonts that occupy the same spacing. Those recommended are the following (Recommended Fonts by InterlinkKnight): BatangChe Consolas CourierNew DFKai-SB DotumChe FangSong GulimChe GungsuhChe Incubus KaiTi LucidaSansTypewriter MingLiU MiriamFixed MSGothic MSMincho NSimSun OCRAExtended Quartz Rod SDViewerFont SimHei SimplifiedArabicFixed SimSun SimSun-ExtB Hope this helps, look forward to "seeing you next time!!!"
@AThreeDogNight
@AThreeDogNight 6 лет назад
Very nice build.
@bobby1214
@bobby1214 6 лет назад
this looks awesome man
@aggelos_0256
@aggelos_0256 6 лет назад
a nice thing to do is to remove the internet function and add a clock telling the time
@aniketakabir1572
@aniketakabir1572 6 лет назад
good work as always
@richardwilliamjohnson8566
@richardwilliamjohnson8566 6 лет назад
Thanks mate anther useful and interesting project
@qiskitchris
@qiskitchris 6 лет назад
Next : 1 Million sub countdown 😎
@JyothiSwaroopM
@JyothiSwaroopM 5 лет назад
You deserve more subs, man!
@maxzet368
@maxzet368 6 лет назад
you should use the MSQTT Protocoll or something similar. Macht das ganze für das komplette Netzwerk nutzbar.
@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.
@eriklaken1025
@eriklaken1025 6 лет назад
Thank you, I Will try to make but iT wil be difficult but so Nice with all your help.
@hoxorious
@hoxorious 6 лет назад
Perfect! Awesome! Brilliant! ❤✌👍
@Mika_3c33
@Mika_3c33 6 лет назад
Nice! I tried something like this a bit ago, but i kept running into problems, so i gave up.. one of those was that i couldn't get an API key for free from the site mentioned in the tutorial, but now you gave me another site! thanks!
@cottsak
@cottsak 6 лет назад
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.
@josselinmarnat
@josselinmarnat 6 лет назад
Thanks a thousand times!
@MDFRESCUER
@MDFRESCUER 6 лет назад
Nice project.
@robinc.5077
@robinc.5077 6 лет назад
The BME280 is very sensitive to electromagnetic heating. Putting it this close to the ESP8266 antenna can easily skew the temperature by 3 degrees Celsius or more. Use a fan or put a lot more distance between it and the Wifi antenna.
@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...
@RDCST
@RDCST 4 года назад
Most Arduino RU-vidrs - Hey! Let's make a PCB on Chinese company.... GreatScott! - Hold my breadboard!
@QLTD
@QLTD 6 лет назад
good project
@secretgenius4185
@secretgenius4185 6 лет назад
I love your projects.You should be engineer of year or something
@jftechdrones
@jftechdrones 6 лет назад
It'd be cool to add some more features to the screen, it looks kind of bare at the moment. Adding time would be a start, and maybe add some scrolling news headlines at the bottom.
@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!
@黄博宏-f8l
@黄博宏-f8l 6 лет назад
great project!
@ManuKrishnanmagz
@ManuKrishnanmagz 6 лет назад
Oh the video is done recently? Cool that you could do the editing the sound overlay and everything in a jiffy!
@MrQuanticox
@MrQuanticox 6 лет назад
Nice but I would use a simple LCD panel for only few data lines.
@Will256
@Will256 6 лет назад
“Since I’m not that big of a programmer, I used different code bits I found around the internet” Haha that’s what us “programmer” types do as well! There’s no shame in building on existing code (as long as you understand what it’s doing)
@MaxintRD
@MaxintRD 6 лет назад
Not that big? Only BIG programmers use one MCU for each and every little code bit they use. Think big, use all the MCUs you have! ;-)
@mattikurki903
@mattikurki903 5 лет назад
Ebay: where is your all microcontrollers Greatscott: oops
@sdqf
@sdqf 6 лет назад
Nice! Thanks! Hello with Russia Vladivostok 🇷🇺
@qaisalmokdad9511
@qaisalmokdad9511 6 лет назад
Nice video man
@Kostanj42
@Kostanj42 6 лет назад
cool project
@e1ghthree
@e1ghthree 6 лет назад
Ahhh the keming 😝! Nice to follow video :)
@hafizuddinmohdlowhim8426
@hafizuddinmohdlowhim8426 6 лет назад
For the enclosure, make the bolt and nut does not protrude from the surface. Its much better to have seamless enclosure
@rdxdt
@rdxdt 6 лет назад
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.
@4funrc11
@4funrc11 6 лет назад
Hey. :) Thx. (You make it look so easy.)
@annemariemiguel2541
@annemariemiguel2541 6 лет назад
Hey great scott youv should build a synthesizer of some tipe, but dont use the 555 timer for it. Thanks
@Loundre3
@Loundre3 6 лет назад
He could try doing a analog synth with analog filter, but that can get quite complicated still.
@davidrubio8673
@davidrubio8673 6 лет назад
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 лет назад
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
@ceneblock
@ceneblock 6 лет назад
Well, if that's tomorrow's weather, then I might as well party tonight, because no way I'm surviving that. 😂
@cap1sup
@cap1sup 6 лет назад
You should do a DIY smart home device (Like an Echo Dot or a Google Home Mini) for the next project.
@serhii710
@serhii710 6 лет назад
Two ESPs for a single unit? Seriously? And for the future: take a look into SSDP and Avahi dynamic discovery protocols. Both of them allow devices to discover each other in a local network and communicate without a need to hardcore IP addresses And also such protocols as MQTT are very handy for transmission of data messages from sensors So, I'm waiting for the next project where the sensor unit will be battery-powered and will use deepSleep heavily to increase the battery life
@felixwurm1467
@felixwurm1467 6 лет назад
Also you have 2 cors.....
@thomasgerhard1702
@thomasgerhard1702 6 лет назад
just a question then, what else would you've used instead of another ESP (i guess you mean for the outdoor sensor) And what is the actual advantage of them discovering each other? Edit, sorry just saw now they were 2 in the station and 1 in the sensor
@Jones12ax7
@Jones12ax7 6 лет назад
He's is using two ESP only for the display unit because he couldn't merge the code that receives data from remote sensor with code that draws on screen. I'll not judge here, but I guess it was not necessary if the code were more elaborated.
@noahorr3480
@noahorr3480 6 лет назад
I actually have the same issue with the ILI9340 screen and the ESP32. The drivers for the screen were written by someone who decided to write their own SPI protocol code, instead of using the existing Espressif libraries. This allowed them to update the screen faster, but it interfered with any other code that wanted to talk to an SPI device. So I either have to re-write all the screen libraries myself or split the functionality between two units.
@oscargr_
@oscargr_ 6 лет назад
Sergey, can't wait to see your demo code for the SDDP and Avahi protocols. 😁