📜 ⬆️ ⬇️

ESP8266 - solar-powered sensor data collection

On the Internet and on Habré, these “funny” and at the same time wonderful ESP8266 modules have been mentioned more than once. It makes no sense to describe their algorithm of work and explain what it is, I think.

Having studied them in a little more detail, I decided to build autonomous sensors for the “smart garden” system. I needed to know in fact not so many parameters: atmospheric pressure, humidity, temperature of the soil and air, and the level of illumination. Based on these parameters, I plan to make an automatic watering system and warnings about any abnormal situations. And for one thing just for yourself, suddenly it will turn out to predict the weather.
Who cares, welcome under cat.

Since I am not a programmer, but a copy-pasteur, I began to look for information where and what can be used, and how to make it all work.

There is a resource on the Internet that has completely solved all the tasks set by me. And the second resource on which a more detailed wiring diagram. Summarizing the information, I began to choose a set of sensors that was necessary for my task.
')
Here is a list that I picked up for myself:
1. DHT22
2. BMP180
3. DS18B20 (heat shrinkable, can be buried in the ground)
4. BH1750
All these sensors are on aliexpress, I don’t provide links to who should be calmly found. Prices are quite reasonable, an average of 150 rubles per sensor.

I applied the firmware from the site http://homes-smart.ru/ .

All the listed sensors are used in the firmware and the module of data transmission via the mqtt protocol is activated , and also the sleep mode is enabled.

Two finger-type batteries were chosen as the power supply unit and the DC-DC stepUp pololu U1V10F3 converter was used; it cost 250 rubles (maybe it is cheaper, did not look too hard).

I used a 0.65 watt large solar panel to charge my finger batteries.
With short circuits, they confidently gave out 0.35A in direct sunlight, the voltage was 1.7 volts. Finger batteries from them really charged. The batteries used some old ones, but drove them first on the lacrosse charger.

General picture of what came of it all:

image

All assembled mounted installation. Payment has not yet developed. I also think it makes no sense to draw the connection scheme, it is too primitive and is already there from the links above. The system itself, in principle, works, batteries from solar panels are charging quite confidently and according to calculations should have time to be charged during a sunny day. From a fully charged battery system with a sleep mode should work for at least a month, according to data on the forum, someone holds it for two months. From the usual finger-type batteries, without sleep mode, the module worked for almost two days.

Now there is a question of customizing the firmware for yourself and checking for stability.

Thanks for attention.

Source: https://habr.com/ru/post/259809/


All Articles