IoT Projects / Mei 2026
Smart Trash
An IoT-based Smart Trash Can solution fully integrated with a web dashboard. Automatic lid opening via ultrasonic sensor and remote control through the https://aiot.dimasp.app/ platform for cleaning efficiency.
Devices
IoT hardware used
ESP8266
ServoSG90
Buzzer Aktif
Breadboard
Kabel Jumper
IoT Details & Implementation
This project is a real implementation of the Smart City concept focusing on smarter and more hygienic waste management. As a Full-Stack Developer, I built an automatic trash can system that not only relies on physical sensors but also connects to a web-based ecosystem. The background of this project is to reduce physical contact with public trash cans, which is crucial for maintaining environmental cleanliness and health.
This system combines IoT hardware with a responsive web application. With the integration I built on https://aiot.dimasp.app/, users or cleaning staff can monitor device status in real-time and also give manual commands. This is a blend of embedded systems and modern web development to create a functional, efficient, and easily accessible solution.
The development of this project involved integrating stable IoT communication protocols to ensure low latency between sensors, microcontrollers, and the web server. The end result is an end-to-end solution that demonstrates my ability to connect physical hardware with an interactive and user-friendly digital interface.
How the System Works
The system works through three main layers: physical detection, data processing, and web control. First, the ultrasonic sensor attached to the trash can continuously scans the distance of objects in front of it. When the sensor detects an object (e.g., a user's hand) within a certain radius, the microcontroller immediately processes the signal and activates the servo motor to open the trash can lid automatically.
Second, the system connects to the internet via a Wi-Fi module embedded in the IoT device. Device status data, including the lid position (open/closed), is sent in real-time to the backend server I built. This allows accurate data synchronization between the physical device and the web interface accessible from anywhere.
Third, through the dashboard at https://aiot.dimasp.app/, users have full manual control. When a command button is clicked on the web, the server sends a signal back to the microcontroller via the IoT communication protocol. The microcontroller then executes the command to move the servo, providing remote control flexibility that makes it easy for staff to manage trash can operations without being on site.
Key Features
- Precision Ultrasonic Sensor System: Detects objects with high accuracy to open the trash can lid automatically without physical contact, maintaining user cleanliness and hygiene.
- Web Dashboard Integration: Full control via the web application at https://aiot.dimasp.app/, enabling remote monitoring and operation from any device.
- Real-Time IoT Connectivity: Utilizes a Wi-Fi module for stable two-way data communication between hardware and server, ensuring instant command response.
- Remote Manual Override: Provides flexibility for users or staff to open/close the trash can manually via the web, giving full control beyond the automatic sensor.
- High Responsiveness: Designed with an efficient system architecture to minimize delay (latency) between sensor action and servo motor execution.