TemperatureLogger is an IoT project designed to measure and log temperature and humidity data. Utilizing the ESP-12E module and DHT-11 sensor, it sends this data to ThingSpeak for monitoring and analysis, then enters a power-saving deep sleep mode.
- ESP-12E Module
- DHT-11 Temperature and Humidity Sensor
- ESP8266WiFi
- ThingSpeak
- Adafruit_Sensor
- DHT Sensor Library
-
Hardware Setup:
- Connect the DHT-11 sensor's data pin to D4 on the ESP-12E.
-
WiFi Configuration:
- Rename
secrets_example.h
tosecrets.h
. - Update with your WiFi network details.
- Rename
-
ThingSpeak Channel:
- Set up a ThingSpeak account and create a channel.
- Add your Channel ID and Write API Key to
secrets.h
.
-
Code Upload:
- Flash the provided sketch to your ESP-12E module.
- Connects to WiFi.
- Reads temperature and humidity.
- Sends data to ThingSpeak.
- Enters deep sleep for 10 minutes for efficiency.
The device conserves energy by sleeping for 10-minute intervals between data transmissions, making it suitable for long-term deployment.