IoT Smart Bin: ESP32 Waste Monitoring
ESP32 firmware to monitor bin level, detect users, read gas levels, and send data to Firebase.
- Year
- 2025
- Role
- Firmware & Web Developer
- Type
- IoT
- Origin
- University
Firmware for an ESP32-based smart bin that reads ultrasonic distance, user presence, gas levels, and uploads processed sensor data to Firebase in real time.
Problem
Traditional waste bins lack automation and remote monitoring, making it hard to optimize collection routes and detect hazardous conditions without manual checks.
Solution
This firmware intelligently reads multiple sensors, identifies fill percentage and air quality, detects nearby users, and sends structured data to Firebase for dashboards and alerts.
Outcome
Delivered robust ESP32 firmware powering a smart bin with real-time data reporting, integrated with a web dashboard and collector tooling for efficient waste management.
- Reads bin fill level via ultrasonic sensor
- User presence detection using secondary ultrasonic sensor
- Gas concentration monitoring
- WiFi connectivity with automatic reconnect
- Structured Firebase data uploads
- Optimal collection routes computed from fill levels and geolocation
- ESP32
- C++
- Arduino
- Firebase
- HC-SR04
- MQ-4