homeostasis/README.org

1.3 KiB

Homeostasis

Temperature, air humidity and soil humidity sensor that communicates via MQTT. The project is implemented using a Wemos D1 mini board with the following components:

  • DHT22 temperature and humidity sensor
  • FC-28 soil hygrometer sensor
  • Battery shield
  • 3.7V 1000mAh Lithium battery

The sensor captures the data every 15 minutes and sends it to a MQTT broker and then enters deep sleep, it is important to save power as the device runs off a battery.

/coolneng/homeostasis/media/branch/master/result.png

Pinout of the board

/coolneng/homeostasis/media/branch/master/pinout.png

Deployment

The software uses the Arduino framework and the development environment of PlatformIO, which offers better tools than the Arduino IDE.

  1. Upload the configuration file to the board:
pio run -t uploadfs
  1. Compile the project
pio run -t compile
  1. Upload firmware
pio run -t upload