Embedded system built with ESP-IDF to monitor temperature, humidity, and light in real time. The system reads sensor data, smooths noisy inputs, displays live values on an I2C LCD, and triggers alerts when environmental conditions cross defined thresholds.
- Sensor data acquisition using DHT11 and ADC-based light sensor
- Moving average filtering to reduce noise and stabilize readings
- Hysteresis-based alerting to prevent rapid alert toggling near thresholds
- Real-time display output using I2C LCD
- GPIO-based alert output for visual indication
- Hardware/software debugging during sensor and LCD integration
- Reads temperature and humidity from the DHT11 sensor.
- Reads light level using an ADC-based sensor.
- Applies moving average filtering to stabilize sensor values.
- Uses threshold logic with hysteresis to determine alert state.
- Displays current readings and alert status on the I2C LCD.
- C
- ESP-IDF
- ESP32
- I2C communication
- GPIO
- ADC
- Handling noisy sensor input from real-world readings
- Preventing unstable alert behavior near threshold boundaries
- Debugging sensor communication and I2C LCD interfacing issues
- Separating hardware wiring issues from software logic bugs
- How to structure an embedded application using ESP-IDF
- How to process noisy sensor data in real time
- How hysteresis improves system stability
- How to debug hardware/software integration issues