Advancing Research. Building The Future | Welcome To The Website Of Saswata Bag

Smart IoT Bin

Intelligent Waste-Level Monitoring, Automatic Lid Operation and GSM Alert System

Embedded Systems • Smart Waste Management • IoT

Controller: Arduino Mega Sensors: HC-SR04 Communication: SIM900 GSM Display: I2C LCD Status: Completed Funding: Internal R&D Grant Open-Source Project

The Smart IoT Bin is an open-source educational project. Its Arduino source code, circuit diagram, wiring details, component links, project images and technical documentation are available through the Open Source Section.

Introduction

Waste bins in schools, offices, campuses and public places may overflow when their condition is not checked regularly. Manual inspection can lead to delayed cleaning, unpleasant surroundings and unhygienic conditions.

The Smart IoT Bin was developed to improve this process using ultrasonic sensing, local display output and GSM-based communication. The prototype estimates the amount of waste inside the bin and informs the responsible person when the bin approaches a critical fill level.

A second ultrasonic sensor can detect the presence of a hand near the bin and initiate automatic lid operation, allowing contactless waste disposal.

Abstract

The Smart IoT Bin is an Arduino-based waste-monitoring and automation system. It uses ultrasonic sensors for fill-level measurement and nearby-object detection, an I2C LCD for local status information and a SIM900 GSM module for remote notification.

When the measured waste level reaches a predefined threshold, the system displays a warning and sends an alert for timely collection. The system is designed to reduce overflow, improve sanitation and demonstrate a practical smart-waste-management application.

Smart IoT Bin prototype and testing photographs
Smart IoT Bin prototype, internal circuitry, ultrasonic sensor arrangement and GSM communication module.

Features

Automatic waste-level monitoring using ultrasonic sensing.
Contactless detection of a hand near the bin.
Automatic lid-opening and closing provision.
Real-time bin-status display through the I2C LCD.
Nearly-full and full-level warning conditions.
GSM notification to cleaning staff or authorities.
Low-cost and compact embedded-system design.
Open-source source code, circuit and documentation.

Scientific and Working Principle

The system operates mainly on the principle of ultrasonic distance measurement. The HC-SR04 sensor emits an ultrasonic pulse and measures the time required for the reflected wave to return. The Arduino calculates distance from this travel time.

As the quantity of waste increases, the distance between the upper sensor and the waste surface decreases. The Arduino converts this distance into an approximate fill percentage and displays the result on the LCD.

A second ultrasonic sensor can detect a nearby hand. When an object enters the selected distance range, the system initiates the lid-opening process. When the bin reaches a critical fill level, the SIM900 GSM module sends an alert.

Stage 01 Ultrasonic sensor measures the distance to the waste
Stage 02 Arduino calculates the approximate fill percentage
Stage 03 I2C LCD displays the current bin condition
Stage 04 Critical threshold activates the alert condition
Stage 05 GSM module sends a cleaning notification

Interactive Smart-Bin Simulation

Move the fill-level slider to simulate waste accumulating inside the bin. Use Detect Hand to test the automatic lid response. The virtual LCD, status display and GSM notification will change automatically.

Smart IoT Bin Simulator Interactive Demo
SMART BIN
LEVEL: 30%
BIN OK

Current Status

Fill Level 30%
Bin Condition Normal
Lid Status Closed
GSM Alert No message sent

Simulation Controls

Fill levels of 75% and above activate a nearly-full warning. A level of 90% or above activates the full-bin alert.

Components Used

Components used in the Smart IoT Bin
  • Arduino Mega 2560
  • HC-SR04 Ultrasonic Fill-Level Sensor
  • HC-SR04 Hand-Detection Sensor
  • SIM900 GSM Communication Module
  • GSM Antenna
  • 16×2 I2C LCD Module
  • Jumper Wires and Connectors
  • Prototype Dustbin Body
  • Suitable Lid-Opening Actuator
  • Regulated Power Supply

Technical Description

The Arduino Mega acts as the central controller. It receives distance readings from the ultrasonic sensors, calculates the bin condition, updates the LCD and controls the notification process.

One ultrasonic sensor is positioned to observe the waste surface, while another sensor can be used for hand or proximity detection. The SIM900 module extends the system from local monitoring to remote alerting.

Part Specification Function
Main Controller Arduino Mega 2560 Processes sensor readings and controls display, lid logic and communication
Fill Sensor HC-SR04 Ultrasonic Sensor Measures the distance to the waste surface
Proximity Sensor HC-SR04 Ultrasonic Sensor Detects a nearby hand for contactless operation
Communication SIM900 GSM Module Sends a notification when the threshold is reached
Display 16×2 I2C LCD Shows fill level and operating condition

Methodology

  1. Study problems caused by overflowing and manually monitored waste bins.
  2. Select ultrasonic sensing for fill-level and proximity measurement.
  3. Integrate the sensors, Arduino Mega, LCD and GSM communication module.
  4. Program the system to calculate bin fill percentage from measured distance.
  5. Display the current bin condition on the I2C LCD.
  6. Configure threshold values for medium, nearly-full and full conditions.
  7. Implement contactless hand detection and lid-control logic.
  8. Test the system at different waste levels and proximity distances.

Experimental Results

The prototype demonstrated waste-level monitoring, ultrasonic proximity detection, local status display and GSM communication integration. The bin condition changed according to the distance measured by the ultrasonic sensor.

The project photographs show the completed external bin, internal wiring, Arduino controller, ultrasonic sensors, LCD and GSM module used during development and testing.

Smart IoT Bin experimental result photographs
Smart IoT Bin prototype and internal electronic integration during experimental testing.

Applications

Schools, classrooms and laboratories.
Offices, hostels and institutional campuses.
Public dustbins and indoor waste stations.
Smart-city and smart-campus waste monitoring.
IoT and embedded-system demonstrations.
Low-cost sanitation and cleanliness automation.

Open-Source Project Resources

Visit the Open Source Section for the Smart IoT Bin Arduino code, circuit diagram, wiring details, component-purchase links, technical documentation and project photographs.

Arduino Source Code
Circuit Diagram
Component Links
Project Pictures
Visit Open Source Section

Conclusion

The Smart IoT Bin demonstrates how embedded electronics can improve cleanliness, hygiene and waste-management efficiency. It combines ultrasonic sensing, display output, contactless operation and GSM communication in a practical low-cost prototype.

The project can be used as an educational open-source model for studying Arduino programming, ultrasonic measurement, display communication, automation and Internet-of-Things-based waste management.

Open-Source Educational Project

The Smart IoT Bin is released as an open-source educational project. Its source code, circuit diagrams, component information and supporting documentation may be studied, reused and modified in accordance with the licence and attribution requirements provided in the Open Source Section. Applicable attribution should be retained, and modified versions should be clearly identified.