Adapt the project to the SCD41 sensor

This commit is contained in:
2025-11-23 16:35:45 +01:00
parent 2ebfe2466c
commit 03131b65f1
3 changed files with 50 additions and 30 deletions

View File

@@ -1,12 +1,6 @@
* Muraqib
Temperature and humidity sensor that sends its data via MQTT. The project is implemented using a Wemos D1 mini board with the following components:
- DHT22 temperature and humidity sensor
- Battery shield
- 3.7V 1000mAh Lithium battery
The sensor captures the data every 5 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. This sensor is part of a project to grow mushrooms in a controlled environment.
CO2 sensor that collects and sends its data via MQTT to a server. The board of the sensor is the Wemos D1 mini and the sensor is a SCD41.
** Pinout of the board
@@ -14,8 +8,7 @@ The sensor captures the data every 5 minutes and sends it to a MQTT broker and t
[[./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/Sensirion/arduino-i2c-scd4x][Sensirion I²C SCD4X Arduino Library]]
- [[https://github.com/knolleary/pubsubclient][PubSubClient]]
- [[https://github.com/bblanchon/ArduinoJson][ArduinoJSON]]
** Configuration