From 7bdf50a34fca175eefe1f1ae1ac26cf8f721a9a1 Mon Sep 17 00:00:00 2001 From: coolneng Date: Thu, 20 Apr 2023 13:26:41 +0200 Subject: [PATCH] Replace DHT11 sensor with DHT22 --- README.org | 4 ++-- src/main.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.org b/README.org index c258556..582a412 100644 --- a/README.org +++ b/README.org @@ -1,8 +1,8 @@ * 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: +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: -- DHT11 temperature and humidity sensor +- DHT22 temperature and humidity sensor - FC-28 soil hygrometer sensor - Battery shield - 3.7V 1000mAh Lithium battery diff --git a/src/main.cpp b/src/main.cpp index 0ca8627..2981c56 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3,7 +3,7 @@ #include #include -#define DHTTYPE DHT11 +#define DHTTYPE DHT22 #define DHTPIN 4 DHT dht(DHTPIN, DHTTYPE);