Go to file
coolneng b943a3f1c8
Update README
2023-06-23 11:59:32 +02:00
data Load credentials and settings from config file 2023-04-06 08:28:01 +02:00
include Allocate necessary memory for struct members 2023-04-11 07:35:27 +02:00
lib Initial commit 2023-02-25 02:43:35 +01:00
src Deallocate the configuration data structure 2023-04-30 14:17:58 +02:00
test Initial commit 2023-02-25 02:43:35 +01:00
.clangd Ignore spurrious clang arguments 2023-03-15 05:33:55 +01:00
.gitignore Update gitignore 2023-04-11 10:05:39 +02:00
LICENSE.md Initial commit 2023-02-25 02:43:35 +01:00
README.org Update README 2023-06-23 11:59:32 +02:00
flake.lock Initial commit 2023-02-25 02:43:35 +01:00
flake.nix Initial commit 2023-02-25 02:43:35 +01:00
pinout.png Update README 2023-03-15 00:00:07 +01:00
platformio.ini Load credentials and settings from config file 2023-04-06 08:28:01 +02:00
result.png Update README 2023-04-03 10:38:52 +02:00
shell.nix Add clang to dependencies 2023-03-15 01:41:23 +01:00

README.org

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/commit/b943a3f1c845589cf7874a83ef5984f21148a376/result.png

Pinout of the board

/coolneng/homeostasis/media/commit/b943a3f1c845589cf7874a83ef5984f21148a376/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