27 lines
1.0 KiB
Org Mode
27 lines
1.0 KiB
Org Mode
* 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 addons:
|
|
|
|
- DHT11 temperature and humidity
|
|
- 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.
|
|
|
|
#+ATTR_HTML: :height 50%
|
|
[[./result.png]]
|
|
|
|
** Pinout of the board
|
|
|
|
#+ATTR_HTML: :width 50%
|
|
[[./pinout.png]]
|
|
** Dependencies
|
|
- [[https://github.com/adafruit/DHT-sensor-library][Adafruit DHT sensor library]]
|
|
- [[https://github.com/adafruit/Adafruit_Sensor][Adafruit Unified Sensor Driver]]
|
|
- [[https://github.com/knolleary/pubsubclient][PubSubClient]]
|
|
- [[https://github.com/bblanchon/ArduinoJson][ArduinoJSON]]
|
|
** Deployment
|
|
|
|
The software uses the Arduino framework and the development environment of [[https://platformio.org/][PlatformIO]], which offers better tools that the Arduino IDE
|