dimanche 16 avril 2017

Sensor module

This module will only report sensors value to Domoticz over wifi on a regular time interval.
The sensor module will be based on an ESP12E microcontroller.

The sensors that I have chosen (low price, I2C interface, reliability) are:

- Luminosity: BH1750
- Temperature, Humidity, Atmospheric pressure: BME280
- Soil moisture: Analog soil sensor

Powering the module:
This module has to run on battery.
ESP12 operating voltage is between 3V and 3.6V according to datasheet. (https://mintbox.in/media/esp-12e.pdf)
I2C sensors BH1750 and BME280 can run between 3V and 5V.
ESP12E has only one analog pin that can operate at maximum voltage 1V.

For this reasons, it should be easier to use a 3V battery, that could power the ESP and sensors without rectifying the voltage.
I have found that Lifepo4 battery could provide a stable voltage, so no regulator is needed.
I will use 2 x AA 3V 700 mAh Lifepo4.

ESP12E Firmware:
Easy and stable, the choice will be ESP EASY (https://sourceforge.net/projects/espeasy/)

ESP EASY is compatible with the sensors that I use, according to the specs (https://www.letscontrolit.com/wiki/index.php/ESPEasy).
It is compatible with Domoticz HTTP/MQTT, and with many other home automation solutions.

Aucun commentaire:

Enregistrer un commentaire