ESP8266 - Data acquisition from sensors powered by solar panels
On the Internet and on Habré these “funny” and at the same time wonderful ESP8266 modules have already been mentioned more than once. Describe their work algorithm and explain what it is, I think it makes no sense.
Having studied them in a little more detail, I decided to build autonomous sensors for the "smart garden" system. I actually needed to know not so many parameters: atmospheric pressure, humidity, soil and air temperature, and light level. Based on these parameters, I plan to make an automatic watering system and warnings about any emergency situations. And for one, just for yourself, it suddenly turns out to predict the weather.
Who cares, welcome to cat.
Since I am not a programmer, but a copy pasteur, I began to search for information where and what can be used, and how to make it all work.
There is a resource on the Internet that completely solved all the tasks I set. And the second resource , on which a more detailed connection diagram. Summarizing the information, I began to choose the set of sensors that was needed for my task.
Here is the list that I picked up for myself:
1. DHT22
2. BMP180
3. DS18B20 (in heat shrink, it can be buried in the ground)
4. BH1750
All these sensors are on aliexpress, I can’t provide links to anyone who needs to find it calmly. Prices are quite reasonable, an average of 150 rubles per sensor.
I applied the firmware from the sitehttp://homes-smart.ru/ .
In the firmware, all of the above sensors are used and the module for transmitting data using the mqtt protocol is activated , as well as sleep mode.
Two finger-type batteries were chosen as the power supply and the DC-DC converter stepUp pololu U1V10F3 was used. It cost 250 rubles (maybe it’s cheaper, I didn’t look too hard).
To charge the finger batteries, I used large solar panels with a power of 0.65 watts.
At short circuit they confidently gave out 0.35A in direct sunlight, the voltage was 1.7 volts. Finger batteries from them really charged. I used some old batteries, but I ran them first on the lacrosse charger.
The general picture, what came of it all:
Everything is assembled by a hinged installation. I haven’t developed a board yet. I also think it makes no sense to draw a connection diagram, it is too primitive and already has the links above. The system itself, in principle, works, batteries from solar panels charge quite confidently and, according to calculations, should have time to charge during a sunny day. From fully charged batteries, a system with sleep mode should work for at least a month, according to the forum, someone has been holding it for two months. From ordinary finger batteries, without sleep mode, the module worked for almost two days.
Now the question arises of finalizing the firmware for yourself and checking for stability.
Thanks for attention.
Having studied them in a little more detail, I decided to build autonomous sensors for the "smart garden" system. I actually needed to know not so many parameters: atmospheric pressure, humidity, soil and air temperature, and light level. Based on these parameters, I plan to make an automatic watering system and warnings about any emergency situations. And for one, just for yourself, it suddenly turns out to predict the weather.
Who cares, welcome to cat.
Since I am not a programmer, but a copy pasteur, I began to search for information where and what can be used, and how to make it all work.
There is a resource on the Internet that completely solved all the tasks I set. And the second resource , on which a more detailed connection diagram. Summarizing the information, I began to choose the set of sensors that was needed for my task.
Here is the list that I picked up for myself:
1. DHT22
2. BMP180
3. DS18B20 (in heat shrink, it can be buried in the ground)
4. BH1750
All these sensors are on aliexpress, I can’t provide links to anyone who needs to find it calmly. Prices are quite reasonable, an average of 150 rubles per sensor.
I applied the firmware from the sitehttp://homes-smart.ru/ .
In the firmware, all of the above sensors are used and the module for transmitting data using the mqtt protocol is activated , as well as sleep mode.
Two finger-type batteries were chosen as the power supply and the DC-DC converter stepUp pololu U1V10F3 was used. It cost 250 rubles (maybe it’s cheaper, I didn’t look too hard).
To charge the finger batteries, I used large solar panels with a power of 0.65 watts.
At short circuit they confidently gave out 0.35A in direct sunlight, the voltage was 1.7 volts. Finger batteries from them really charged. I used some old batteries, but I ran them first on the lacrosse charger.
The general picture, what came of it all:
Everything is assembled by a hinged installation. I haven’t developed a board yet. I also think it makes no sense to draw a connection diagram, it is too primitive and already has the links above. The system itself, in principle, works, batteries from solar panels charge quite confidently and, according to calculations, should have time to charge during a sunny day. From fully charged batteries, a system with sleep mode should work for at least a month, according to the forum, someone has been holding it for two months. From ordinary finger batteries, without sleep mode, the module worked for almost two days.
Now the question arises of finalizing the firmware for yourself and checking for stability.
Thanks for attention.