Still using a dht ... perhaps take a look on the bme280! Temperature, humidity and pressure - from Bosch. Best environment sensor i know for 3€ on an breakout board.
@bitluni7 жыл бұрын
Thanks for the hint.. ordered them and will try next time
@christianmeinert88067 жыл бұрын
And for light measurements I have good experience with an BH1750 connected to the i2c bus. With low power consumption and excellent precision on human eye wavelengths. So you can free the analog pin for battery measurement. It is available for less than 1€ or 3€ with a nice white plastic dome.
@boonkerz7 жыл бұрын
do you know for if an rain and wind sensor exists?
@saschatrumm28527 жыл бұрын
The BME280 is great, I use the sensor also.
@MaxSMoke7777 жыл бұрын
Yah, why wouldn't they use the superior BME280? Less parts, less power, and MORE accuracy. It's not made for a shield, but you can use a Proto shield, or just string it in on wires. I would actually suggest stringing it in, as you can get it away from the warmth of the ESP.
@orientowitz17 жыл бұрын
I recommend protecting the PCBs from water damage (there will be condensation inside the open tube) with either conformal coating or something like CorrosionX which I used successfully in the past to protect boards exposed to elements. One thing to keep in mind though is the barometric sensor, you will damage it if something gets inside metal housing. Otherwise you will inevitably have burnt boards when condensation inside the tube causes a short circuit.
@bitluni7 жыл бұрын
agree, that's why I suggested giving it a hot glue cover. actually, condensation should only happen when it's foggy since there is no temperature difference inside.... I'm really curious how long it will last. I sacrifice it for the team ;)
@SteampunkSammy4 жыл бұрын
@@bitluni How did it last?
@TheLtGo3 жыл бұрын
@@bitluni Do you have an update on the durability of the setup?
@StaxxxInMyJeans5 жыл бұрын
If you want to slightly reduce connection time of esp to wifi and save some energy you can use a static ip instead of dynamic. BTW, a project is awesome! :-)
@Dav41227 жыл бұрын
Being able to see your formula in that spreadsheet was great! Love this project
@TheDefpom7 жыл бұрын
Nice project, you also edit your videos very well, I had a laugh when you dumped the brick on the table!
@ohh99797 жыл бұрын
from where can i get the *brick* ?
@iceberg7896 жыл бұрын
order online from middle east.
@lucasimark79925 жыл бұрын
Supreme brick...
@bollie97525 жыл бұрын
Best order some clay, build an oven and bake your own brick.
@iceberg7895 жыл бұрын
@@bollie9752 will microwave oven do ?
@MrBobWareham5 жыл бұрын
@@iceberg789 Would that be a red one or a white one I threw the last one I had at the PM
@H2Orst5 жыл бұрын
Hallo Maker, toll gemacht, sehr gut erklärt und umgesetzt. Es hat richtig Spaß gemacht dieses Video anzuschauen. Ich wollte mir schon lange eine Wetterstation bauen, bin aber trotz gleiche Komponenten nicht sehr weit gekommen. Jetzt wo Du eine gute Vorlage geboten hast werde ich Dein Projekt nachbauen. Der einzige das mir fehlt, ist die Wind Messung mit Amplitude und Richtung. Vielen Dank das Du dieses Projekt mit uns teilst. Danke
@paulorobalo72166 жыл бұрын
Your video puts many TV shows to shame! Congratulations!
@ParthBhat7 жыл бұрын
You can use a small sugarcube relay, to switch between ldr and battery voltage.. Just keep a default mode like ldr needs to be monitored always.. And whenever you need battery, just power up the relay and your done.. Take a reading and power off!. That's just a suggestion And as always superb videos.. Thumbs up. Thanks for sharing
@antonmilosevic7 жыл бұрын
agree.. it would be very nice to know the battery voltage and that solution sounds quite good :)
@ParthBhat7 жыл бұрын
Anton Milošević thank you
@antonmilosevic7 жыл бұрын
It also could check the battery voltage once every few hours and if it reaches a critical level alert the user :)
@ParthBhat7 жыл бұрын
Anton Milošević I didn't suggest that as every time it would have to trigger the relay which may pull a lot of power.. So we can keep a threshold of like 40% , so when the battery is low at 40% it won't trigger the relay for the next wakeup cycle.. And just report the user , after like 2 or 3 wakeup cycle it will trigger the relay so we can check if it's working or not.
@bitluni7 жыл бұрын
the internal voltage measurement of the esp is currently a compile time feature in the arduino library. don't know if there is a way to change this.
@unbekannternutzer85065 жыл бұрын
The battery lifetime will be reduced when keeping the cell voltage at maximum all the time. Recommendations for lithium manganese cells (max 4.2V) is to charge them to only 4.1V to increase lifetime. The capacity however might only be at around 80% then. You can lower the floating voltage of your lifepo4 too.
@sojueray59295 жыл бұрын
You have to implement a current limiter, I would like to know how to do it.
@unbekannternutzer85065 жыл бұрын
@@sojueray5929 if you use a small solar cell like this a current limiter is not required. if the solar cell maximum current is lower than the maximum charge current there is no problem. If however the current can be higher you can use 2 LM 317. One for current limiting and one for voltage limiting. Both in series
@zukjeff7 жыл бұрын
another well described project. With PV panels of less than 5 watts i just shunt across the panels with a zenner.
@rsolovye5 жыл бұрын
Really like your channel. Me and my dad were watching your videos and he betted a bottle of "Tokai" that you are from Hungry.
@StefanoZamprogno3 жыл бұрын
so how is going this project? The battery still alive? thanks !
@wilfredswinkels7 жыл бұрын
If you snip off some hot melt glue and put it in the shrinksleeve before shrinking, you make a water tight sleeve. now water is getting in trough capillary action. ... just a hint. Nice work!
@bitluni7 жыл бұрын
good tip... can't wait to check how everything looks when it stopped working. It's still doing fine.
@cipiripper6 жыл бұрын
What's the part number of that brick? Can I use any 100MHz brick? This is the best tutorial by the way... I watched them all.
@3dmixer5525 жыл бұрын
I have just started this project. I already have the brick. LOL
@mmajstruk3986 жыл бұрын
Well done, very good video. I`ll research your project page as I`m sure I`ll get lots of ideas for myself.
@igorybema5 жыл бұрын
I am testing the solar + lifepo4 + solar of this setup on low battery levels. I discovered that, when on low battery, the wemos wouldn't start up properly resulting in constant high current draw (no deep sleep) which in turn results in emptying the battery even faster. Adding a 1000uF capacitor resolves this issue extending the setup to run on battery longer. That could just save that one day extra without solar power. I also added a connection to the analog input of the wemos (not using the analog light sensor) from the battery positive terminal (with a 100k ohm resistor as voltage divider) to measure the battery voltage. This could be used to lower the update frequency when the voltage is dropping.
@MrBobWareham5 жыл бұрын
Silicone conformal coating on the boards would work well and you can work on the board again loved the project
@vivekchauhan74684 жыл бұрын
How this project works now?
@istvanzilizi61947 жыл бұрын
Hello, this is a good video. I suggest to use a TP-5000 Module, which is capable to charge LiFePO4 cells as well. No needs to be build an additional circuit. Nice job. Oh I just forget to mention you can lowered the power if you use an ATTiny13A. I had a project where the sensor wakes up 4min and 56 secs for 8 secs. the deep sleep period it takes 5.4 [uA]. I use P-Channel and N-Channel MOSFETs to cut of differetn parts....
@bitluni7 жыл бұрын
+Istvan Zilizi thanks for the suggestions. How good does the tp-5000 handle currents about 1mA ? I had to switch from these small buck converters during production when realized I tested it with like 100mA but the solar didn't work. Keeping the circuit simple is a decision to make this video accessible to beginners in electronics. Shaving off the last 280uA is worth diving in an another project. I think it shold be even possible using just some passive components
@istvanzilizi61947 жыл бұрын
Undertand your point, the backward current 2-6 [uA], I used my own TP5000 to charge LiPo batteries around 3000 mAh capacity with two 6V cells. I have to start an investigation, unfortunatelly LiPo do not like the low temperature.
@RistoNovik5 жыл бұрын
Hello is the project still running would be great to hear how it has survived over two years :). Any damages to sensors?
@SimpleElectronics3 жыл бұрын
Do you have an affiliate link for the brick? It's the last part I need for this project :)
@olegmda56235 жыл бұрын
Hey. interesting project. I'm interested in. How did you make phone applications to see these sensors?
@mohanndalahmadi7 жыл бұрын
great video. I would like to suggest using TP4056 Module to charge a li-ion battery. You can plug it into the 5v input without any problems, then you can connect the + side to A0 using 100k resistor. I tried this and its still working for the last 4 months.
@bitluni7 жыл бұрын
Sure, it would be an option. But I'm not sure if it can handle the winter here. I liked to try the LiFePo battery. Also, it's a nice way to introduce a classical lm317 circuit... 😍
@Ed196017 жыл бұрын
The TP4056 module will easily survive the winter :-) But yes... That battery may have problems
@LTF-uj1yc4 жыл бұрын
Could you connect a 5v solar cell to the tp4056 to charge the battery and simultaneously use the battery?
@LTF-uj1yc4 жыл бұрын
I am asking because the tp4056 wants 4.8-5v which may not always be given when the sun is not shining
@zaidhussain52066 жыл бұрын
Thank you for sharing this project
@TheRecipeRemix5 жыл бұрын
I think its best tutorial i found, but actually i am looking with a BH1750 module for LUX readings for the light sensor. all the best!
@chrisw14625 жыл бұрын
I know that insert keeps the inside a little isolated, but any sun on that PVC pipe will heat the whole thing up. The open bottom helps, but without any wind there would be a lot of heat build up, and even a decent breeze wouldn't remove all of it. Any extra heat is going to throw all the sensors off. Better to have holes in the top, shielded by an overhang to let air flow through. A 2" or 3" (50 or 75 mm) PVC pipe cap could provide the overhang - just glue it to the cap you have, then drill a bunch of holes in the pipe where the PVC cap will hang past them. You'd probably want to attach a piece of window screen on both ends to keep out dirt and bugs.
@o0julek0o6 жыл бұрын
I always have a brick laying around, I can finally use it!
@СергейС-н2ю7 жыл бұрын
а мужик молодец, завидую я ему, что у него есть свободное время, на эти увлечения
@ashajjar6 жыл бұрын
How is this project going? is it still deployed outside? and how is the solar panels doing? is it enough to charge ?
@fouzaialaa79625 ай бұрын
to get even less power consumption from the esp D1 mini ,desolder the Ch340 driver after your finished programming it , you can just de-solder the vcc pin for the ch340 and save around 15 ma some people prefer to cut the track to the ch340 and leave the copper on the track exposed ,that way if you need to re-program the device you just have to put a blob of solder on the track and you can program it again
@Ed196017 жыл бұрын
Be careful with skottky diodes. They can have a relatively large reverse current, which kinda defeats their use in Backvoltage protection
@rgmtb5 жыл бұрын
Thank you for this! I've been trying to make my weather logger and failed. I'll take a look at yours closely for advice! Great help my friend 👍
@graysonsmith70314 жыл бұрын
You could also put in some code so that when the battery is near fill and has been receiving good sunlight for the last 2 days or is charging faster than it's losing power than it will update faster.
@jcresgate4 жыл бұрын
Nice project man! I like your channel
@ChrisChromeYT5 жыл бұрын
Why doesnt the part list have a link for the brick XD
@FennecTECH5 жыл бұрын
as long as you arent continualy trickling it full. i recomend letting it use a small percentage between charging. That will lengthen the charge the most.
@ubersham5 жыл бұрын
That would happen when it’s dark out, I would think.
@enkyCSGOMore5 жыл бұрын
will the code work with the d1 mini pro ?
@miteshdhanani4 жыл бұрын
As u have done this it’s nice but my friend the solar panel which u have used can it be higher
@Dgtdggff4 жыл бұрын
i can also recomment such solar lipo charger boards as a powersource for example the "DFRobot Solar Lipo Charger". I connected it directly to the wemos d1 mini 5v and ground pins and it works just fine
@Igor-pw7nd3 жыл бұрын
would it be possible to buy a cloud ray sensor in this system ??
@aliavestan7 жыл бұрын
Very useful and nice work 🤗 ... waiting for your new video
@WalidIssa7 жыл бұрын
Brilliant ... Keep it up for this great work ... Could you please tell me what Camera you use ?
@bitluni7 жыл бұрын
GH5 stunning specs and features but worst autofocus for video.
@agustinarturoreynososantos15146 жыл бұрын
Thanks for sharing! What software do you use for your 3D designs? Regards!
@hallolo25 жыл бұрын
A bit unconventional, but it is Blender
@hubertmargreiter35086 жыл бұрын
An interesting contribution, thanks for your effort to publish. Which 3-D-printer do you use?
@irishwristwatch75446 жыл бұрын
Hey, ich habe deinen Kanal grad gefunden, sehr schöner Kanal :). Was hältst du davon einen CubeSat/ArduSat zu bauen? Vg
@rabinshaltiel89506 жыл бұрын
Great work Is this station connected to the internet by wifi to a router? Thank you
@antonis4767 жыл бұрын
an excellent channel! keep up the good work!
@viniciusnoyoutube6 жыл бұрын
Another excellent video! Thanks!
@ANANTHASANKAR_UA4 жыл бұрын
Great sir ....I'm also planning for that which is inspired from u😀 by using node mcu, what is the function of shotokey diode ?
@sojueray59295 жыл бұрын
How to control the battery charger so as not to ruin the battery?
@stevem31637 жыл бұрын
What's the difference between the Wemos 8525 and esp8266?
@ukassio853 жыл бұрын
Hi thanks for this video. I'm wondering how to ensure the wifi range, when my weather station will be setup ca. 50m away from the house. As I'm a rookie in the arduino and esp, I would only ask if there is any possibility to develop some kind of wifi repeater with esp/nodemcu/wemos parts?
@silverbullPSE5 жыл бұрын
what are tehe specs of the schottky diode you use?
@hanssprungfeld41105 жыл бұрын
Du kannst nochmal mehr strom sparen wenn du ein ESP 12 oder 7 Modul benutzt ohne CH340 und die kontroll leds noch weg lässt. Was nochmal strom spart ist einer größere Antenne wenn man keinen so guten empfang hat wird das durch die antenne kompensiert ohne das der Chip die treiberstufe zu sehr hoch fährt.
@didiersee6 жыл бұрын
Congratulations very good, how to do the same thing but only for the wind speed?
@SzDavidHUN6 жыл бұрын
Could we use mosfet for diode purposes? It would have less voltage drop, but I'm not sure about the power consumption of the neccesary circuit.
@josedejesusescalantechavez71886 жыл бұрын
Hello , awesome videos I’m wondering if is possible to get a notification if some values exceed a value settled ? Thank you for you help ....
@mibrahim42455 жыл бұрын
Great job bro !!
@DaDrummerthe1st7 жыл бұрын
As a newbie I woud like to know if theres anything to take in consideration when buying the zenerdiodes as you havent presented a link to aliexpress?
@h0len5 жыл бұрын
What are the stats on that brick there?
@ThatsAllStuff7 жыл бұрын
But the Batterie and the esp zögertet with the Temperatur Sensor is a good idea? Doesn‘t it make to much Temperatur so the accurancy suffers from it.
5 жыл бұрын
Use BMP280, humidity, temperature and pressure all in 1.
@Ziplock90006 жыл бұрын
Does the sensor data get published to a cloud service or are you running a web server on the board and just connecting to that with your phone?
@Trailtraveller5 жыл бұрын
bmp180 can also measure temperature
@robertas2206 жыл бұрын
Hi guys, and sensei bitluni. I have one issue with this project. Scetch works like a charm, I get readings from DHT22 sensor to serial monitor, but readings are not sent to my server... Inside server runs NodeRed, and I have other ESP8266 with different sketch in it and it forks just fine. Any suggestions for this trouble? Thanks in advance. :)
@Dele06155 жыл бұрын
Greetings from Darmstadt ;)
@richardlighthouse53284 жыл бұрын
7:15 the number 4 is subscript not superscript.
@ronobrien59676 жыл бұрын
Great solution for a WiFi access product. What and how wold you suggest using cell phone in the unit to upload the data?
@lightdark007 жыл бұрын
But there's no rain gauge 😮 How can we know how much it rained? Hope you keep thinking about the power via solar panels! Loved this one. Thank you!
@nickpelov5 жыл бұрын
Technically topping off the battery all the time would be bad. I'm not sure how lifepo4 will handle it. However you are solar charging which means that most of the 24 hours you will be drawing current instead of charging. Then you will be charging and you might get 4-5 hours of topping off, but it won't be every day - especially in the cold seasons. The worst that could happen is that you'll reduce the life of the battery by a bit. But it's not that big deal if you replace it every 3 instead of every 5 years. My biggest concern is if it survived the winters without the voltage dropping too low. Is there a follow up video? I'm curious to see what happened
@Buy-n-large3 жыл бұрын
will this work with homeassistant?
@ArjenSunflower6 жыл бұрын
Do you also sell a ready version?
@jotaefearango4 жыл бұрын
Excelent. Good job. Thanks
@akash12aug6 жыл бұрын
The charging module you made, was it able to charge 18650 li ion battery....?
@Talaxianer3 жыл бұрын
I just wonder if the weather station still works 4 years later?
@lukasw.76144 жыл бұрын
where can i buy the brick ;)
@putinvladimirovic55885 жыл бұрын
Nice project, i am trying to make one mysefl, this will be great guide video. But add battery level in measurements.
@claytonsulivan7 жыл бұрын
How to make Socket Server communication between two ESP32?
@quangminhle51135 жыл бұрын
how can you build a mobile app? i mean which platform
@jantrisko5 жыл бұрын
Very nice, as always :) Often in your videos I see a nice crimping tool for crimping dupont connectors. Can you write what type it is. They seem to work perfectly. Thanks.
@user21XXL7 жыл бұрын
could you skip the photoresistor and read the voltage from solar cells to get a light measurement?
@bitluni7 жыл бұрын
+user21XXL would be a bit more complicated. Since we would need to measure voltage and current. When the battery is low there is a higher load on the solar so the voltage drops.
@user21XXL7 жыл бұрын
you could try to measure cell voltage when charging circuit is disconected. Relay or mosfet could disconect sollar panel from rest of the device, and you could check open cell voltage
@f1rhk7 жыл бұрын
BME280 for sure ... and sigfox to remove wifi consuming and be able to put it nearly where you want
@Nobbi_TheRock7 жыл бұрын
This is a very good and awesome Video i Like it verry much .. Thanks
@pietgdgc7 жыл бұрын
Nice.. like the topic :D. still on my wishlist to make. one question though,. you say you are using a BMP180 for air pressure and precize tempreature. what do you mean by that as all the explenations i found for the BMP180 are about barometric pressure and no reference to temprature.
@bitluni7 жыл бұрын
it provides temperature with 0.1°C precision. check it out
@pietgdgc7 жыл бұрын
bitluni's lab thanks. I will take that in mind. I am currently working on the mqtt ;)
Жыл бұрын
How about making a code directly for esphome ? esphome api is a bit more stable then mqtt ( in my Home Assistant installation 😅 ) Great tutorial ! Thanks
@joshwyse17617 жыл бұрын
I'm interested to know why you chose Arduino IDE instead of Mongoose OS for this project? I've been trying out Mongoose OS since finding your videos, and love/hate it so far.
@bitluni7 жыл бұрын
That's actually an unfortunate story. I tried to do it using Mongoose BUT there was no image that supported I²C and DHT at once. Only the IoT image hast DHT support but no I2C library... I asked for help but it takes some time and I didn't want to delay the video even longer. I always try to use JS and the default images since it's easier to set up. You could compile your own image using their cloud service. V2 of the weather station will not use DHT sensors anymore... I hate them from project to project more and people suggested good alternatives in the comments here.
@695renzo7 жыл бұрын
I try to compile the sketch Solar weather station but i get this error: deepSleep' was not declared in this scope in line 84. What to do? Thanks
@bitluni7 жыл бұрын
do you have an esp8266 board selected in the menu?
@695renzo7 жыл бұрын
Yes, I have
@jonshouse17 жыл бұрын
Nice project, the potentiometer is drawn wrong on the schematic - unless you intend to use it as a 10k fixed resistor ?
@bitluni7 жыл бұрын
what would be the correct symbol?
@jonshouse17 жыл бұрын
The symbol is fine, but one of the connections should be to the wiper rather than the resistor end. The middle pin on the POT is the wiper.
@jonshouse17 жыл бұрын
Looking more carefully you seem to have got it slightly wrong as well, try a google images search for "lm317 variable", most examples are using all 3 POT connections.
@jonshouse17 жыл бұрын
PS also just noticed that 3.3k is way outside the safe value for R1 for the 317, it should be more like 220R or 330R max for your application, the 317 is not really regulating at all the way you wired it up.
@bitluni7 жыл бұрын
that's true, thanks for the hint
@Unfinished_Projects7 жыл бұрын
AFAIK at least Li Ion batteries don't like to get trickle charged all the time. Nimh cells would be a better choice here... Nice video nonetheless ;)
@bitluni7 жыл бұрын
ok, let's see how long it will last
@MrJanulis7 жыл бұрын
It's LiFePo4, not a regular Li Ion - it's a BIG difference
@shancarphone98777 жыл бұрын
Excellent videos, thanks for sharing, I keep getting "load 0x4010f000, len 1384, room 16 error" is my board fried?,, cheers
@ronny-andrebendiksen41377 жыл бұрын
Can I use a Zener diode instead of Schottky diode?
@bitluni7 жыл бұрын
You can check the voltage drop, if it's low it should do
@ronny-andrebendiksen41377 жыл бұрын
Batteries range from 2v to 4.2v.
@fazuelle7 жыл бұрын
Hello, have you used another language to program esp8266 such as lua or native espressif rtos SDK? I'm wondering which one is the best for doing this stuff, what do you think? Arduino seems so newbie rs and sometimes buggy
@bitluni7 жыл бұрын
I am currently starting with esp32 idf. have the only experience with arduino and mongoose os. I only take arduino if mongoose does not have the functionality easily accessible that I need for the projects. I hate Arduino. Intendation using spaces.. srsly?! ...but it comes with the comfort of the libraries. A am still looking for the best IDE... I hope Mongoose will get more libraries and simpler way to compile c++ projects. I'll also try to contribute
@MrJanulis7 жыл бұрын
Try lua! But be informed - it's assinhronous and event based - that means different aproach programming. But it's a lot of fun learning it! :)
@SteveGameDE7 жыл бұрын
How about using a 4 Channel Analog I2C IC like the ads1115? You could get a higher precision on reading the light level and you could add a batterievoltage reading. Also a Rain/Water-Sensor and a moisturesensor for your Garden would be interesting...
@bitluni7 жыл бұрын
nice IC.. just ordered it and will try it in an upcoming project
@raymondpenn1304 Жыл бұрын
Why not use the solar panel as a light sensor as it provides power.
@forestbird72577 жыл бұрын
What's the name of those yellow connectors?
@luislabmo7667 жыл бұрын
Those look very similar to XT60 connectors.
@bitluni7 жыл бұрын
It's XT30 I have them from here s.click.aliexpress.com/e/JybIeYN Thanks for the hint.. added them to the part list on my page
@JackZimmermann7 жыл бұрын
If you remove the serial to USB chip and voltage regulator, you should have a current draw of about 60-70 µA. I have a BME280 and it runs for a month and a half connecting every 5 minutes to my MQTT server with one 18650 battery.
@bitluni7 жыл бұрын
This sounds like a good idea. Did you measure the difference before and after?
@JackZimmermann7 жыл бұрын
Yes, but it was a while ago. But the AMS1117 has a quiescent current draw between 5-10 milliamp. I think the serial converter draws a couple of hundred µA.
@JackZimmermann7 жыл бұрын
And I just have a regular 400x rectifier diode to lower the voltage by 0.6 volts of the 4.2 volts (when fully charged). The esp8266 is quite happy running a bit over 3.3 volts.
@saschatrumm28527 жыл бұрын
Where I can find the find the Excel sheet, this is that what I`m looking for. Viele Grüße Sascha
@bitluni7 жыл бұрын
that's google sheets. I didn't share to keep my google account private. BUT you can see the simple formulas in the upper left corner when the field is selected. Not much happening there
@saschatrumm28527 жыл бұрын
Thank you. found it as I see the viedo some times. I hope the formular for avg. harversting is right :) BR Sascha