✨ Use RCAPP and get 5% off 👇
Skip to content
Free Delivery on Orders Above Rs 999/- Pan-India
Cash on Delivery Available for Orders above Rs.500/- and Upto Rs 3000/-
SAVE more when you BUY more. Upto 30% Off on BULK PURCHASE
GST Invoices for Your Business
Dedicated Technical Support Team
Safely Delivering Genuine Products PAN INDIA

I Built a Smart Dustbin Using These Exact Parts (Links Inside)

I Built a Smart Dustbin Using These Exact Parts (Links Inside)
-
Written By - Robocraze -
📅 Updated on 16 Jul 2026
Summarize with AI
✅ Prompt copied

Summary

Most beginner Arduino projects either blink LEDs or display sensor values on a screen, which is useful initially but does not always feel connected to real-world applications. This smart dustbin project changes that experience by combining automation, distance sensing, and mechanical movement into a practical system that reacts automatically whenever someone approaches the bin, making it a surprisingly engaging beginner project for learning Arduino-based automation and sensor control.

I Built a Smart Dustbin Using These Exact Parts (Links Inside)-Cover Image

Components and Supplies

0.96" 6-Pin OLED Display – OLED screen for Arduino, ESP32 & Raspberry Pi.-OLED Display -Robocraze

    0.96in 6 pin OLED Display

    0.96in 6 pin OLED Display This is the 0.96 inches (2.44 cm) OLED Display Module is a precise small, This OLED module can be interfaced with any microcontroller using SPI protocol. It is having a resolution of 128x64. OLED (Organic Light-Emitting Diode) is a self-lighting...
    Rs 231/-
    Rs 231/-
    Rs 405/-
    Save Rs 174/-
    10 Bit WS2812 5050 RGB LED – High-quality addressable LED for projects - Electronic Components - Robocraze10 Bit WS2812 5050 RGB LED – High-quality addressable LED for projects - Electronic Components - Robocraze

      10 Bit WS2812 5050 RGB LED

      10 Bit WS2812 5050 RGB LED Built-in signal shaping circuit, any one pixel after receiving the signal through the waveform shaping and then output to ensure line waveform distortion will not accumulate. Trichromatic color of each pixel can realize 256 highlighted, complete 16777216 colors of...
      Rs 2,268/-
      Rs 2,268/-
      Rs 2,711/-
      Save Rs 443/-
      FIW 6F22 9V Battery with Connector-RobocrazeFIW 6F22 9V Battery with Connector-Robocraze

      FIW 6F22 9V Battery with Connector

      FIW 6F22 9V Battery with Connector Alkaline batteries are primary batteries that rely on the chemical reaction of zinc and manganese dioxide (Zn/MnO2) to produce electricity. A reusable alkaline battery with specially designed cells. Toys, electronics, radios, and other devices that require batteries of this...
      Rs 27/-
      Rs 27/-
      Rs 39/-
      Save Rs 12/-
      37 in 1 Sensors Kit for Arduino – Ultimate Arduino sensor kit with 37 modules for IoT. -DIY Sensor Kit -Robocraze37 in 1 Sensors Kit for Arduino – Ultimate Arduino sensor kit with 37 modules for IoT. -DIY Sensor Kit -Robocraze

        37 in 1 Sensors Kit Compatible with Arduino for Robotics & IoT Projects

        37 in 1 Sensors Kit Compatible with Arduino The 37 in 1 Sensors Kit Compatible with Arduino is a complete learning kit designed for students, beginners, makers, educators, and robotics enthusiasts who want hands-on experience with electronics, programming, and embedded systems. Featuring 37 commonly...
        Rs 899/-
        Rs 899/-
        Rs 1,499/-
        Save Rs 600/-
        Arduino Uno R3 CH340G – Reliable Arduino Board with CH340G & Micro USB, ideal for beginners. -Arduino Boards -RobocrazeArduino Uno R3 CH340G – Reliable Arduino Board with CH340G & Micro USB, ideal for beginners. -Arduino Boards -Robocraze

          Arduino Uno R3 CH340G Development compatible Board with Micro USB port

          Uno R3 CH340G Development Board with Micro USB port compatible with Arduino The Arduino Uno R3 CH340G ATmega328p Development Board is a low-cost and reliable version of the popular Uno R3 platform. This arduino uno ch340g variant is assembled with the CH340 Micro-USB to...
          Rs 275/-
          Rs 275/-
          Rs 349/-
          Save Rs 74/-
          1660 Tie-Point Solderless Breadboard – Large breadboard for circuit prototyping. Electronic Components - Robocraze1660 Tie-Point Solderless Breadboard – Large breadboard for circuit prototyping. Electronic Components - Robocraze

            1660 tie-point Solderless Breadboard

            1660 tie-point Solderless Breadboard The 1660 Points Solderless Breadboard is an excellent size with more than enough room for more advanced prototyping. There are two terminal strips with 1260 tie-points and 4 distribution strips with 400 tie-points.  The breadboards accept a variety of wire sizes from 20 to...
            Rs 435/-
            Rs 435/-
            Rs 699/-
            Save Rs 264/-
            SG90 Micro Servo Motor-RobocrazeSG90 Micro Servo Motor-Robocraze

              SG90 Micro Servo Motor

              SG90 9G Micro Servo Motor The TowerPro SG90 Micro Servo Motor is a small yet powerful motor that rotates 180° (90° in each direction). It features a metal gear system for fast and precise control, with a stable torque of 1.2 kg-cm, making it...
              Rs 90/-
              Rs 90/-
              Rs 149/-
              Save Rs 59/-

              Why I Built This Project 

              Most beginner Arduino projects either blink LEDs or display sensor values on a screen. Those projects are useful, but I wanted to build something that actually interacted with the real world. 

              That is where the smart dustbin idea came from. 

              The concept is simple. When someone places their hand near the bin, the lid opens automatically using a sensor and servo motor. After a few seconds, it closes again. 

              It feels surprisingly satisfying once it starts working properly. 

              For beginners exploring a smart dustbin project India setup, this project works well because it combines automation, sensors, and mechanical movement without becoming too complicated. 

              What This Project Does 

              This smart dustbin uses an ultrasonic sensor to detect nearby movement. Once the sensor notices a hand approaching, the Arduino triggers a servo motor to lift the lid automatically. 

              The project teaches multiple concepts together: 

              • Distance sensing  
              • Servo motor control  
              • Basic automation logic  
              • Real-time sensor response  

              The nice part is that the system feels practical immediately. Unlike simple demo circuits, this actually behaves like a small smart appliance. 

              Smart Dustbin

              Components Used 

              I intentionally kept the parts list beginner-friendly and easy to source. 

              Main Components 

              Part Purpose Approx. Price (₹)
              Arduino Uno Controls the entire smart dustbin system ₹500–₹1,200
              HC-SR04 Ultrasonic Sensor Detects when a hand approaches the lid ₹80–₹150
              Servo Motor (SG90/MG90S) Automatically opens and closes the dustbin lid ₹120–₹250
              Jumper Wires Connects all electronic components ₹80–₹150
              Breadboard Enables solderless prototyping and testing ₹100–₹250
              USB Cable Powers and programs the Arduino Uno ₹100–₹200
              External 5V Power Supply (Optional) Provides stable power for standalone operation ₹200–₹500
              Dustbin Body Mechanical enclosure for the project Varies

               

              Most of these parts are also reusable for future robotics and automation projects later. 

              How to Build an Arduino Smart Dustbin

              1. Gather all required components, including the Arduino Uno, ultrasonic sensor, servo motor, jumper wires, breadboard, and power supply.
              2. Connect the HC-SR04 ultrasonic sensor to the Arduino by wiring the VCC, GND, Trigger, and Echo pins according to the circuit diagram.
              3. Connect the servo motor to the Arduino, ensuring the signal wire is attached to the correct PWM pin.
              4. Upload the Arduino code using the Arduino IDE and verify that the program compiles successfully.
              5. Power on the circuit and test the ultrasonic sensor by moving your hand in front of it.
              6. Adjust the detection distance and servo angle in the code if needed to achieve smooth lid operation.
              7. Mount all components inside the dustbin, securing the sensor and servo to ensure reliable performance.
              8. Perform a final functional test to confirm the lid opens automatically when an object is detected and closes after the preset delay.

               

              Now let's look into the process in details.

              Setting Up the Hardware 

              The hardware assembly is much simpler than it looks online. The important part is mounting components securely so the lid movement stays smooth. 

              Step 1: Prepare the Workspace 

              Place the Arduino Uno board and breadboard on a flat workspace first. 

              Before mounting anything permanently, it helps to test the circuit externally. I learned this the hard way after reassembling the lid multiple times unnecessarily. 

              Mounting the Ultrasonic Sensor 

              Step 2: Fix the Sensor 

              Mount the HC-SR04 ultrasonic sensor near the front-top edge of the dustbin lid. 

              The positioning matters here. 

              The sensor should: 

              • Face outward  
              • Detect approaching hands easily  
              • Avoid obstruction from the lid movement  
              • If mounted too deep inside the bin, distance readings become inconsistent. 

              Installing the Servo Motor 

              Step 3: Attach the Servo 

              Secure the SG90 servo motor behind the lid carefully. 

              The servo horn should connect in a way that allows the lid to: 

              1. Open smoothly  
              2. Close completely  
              3. Avoid excessive resistance  

              During my first attempt, the lid kept jamming because the servo angle was slightly off. Tiny alignment changes make a huge difference here. 

              Smart Dustbin

              Wiring the Components 

              Once everything is mounted physically, the wiring becomes fairly straightforward. 

              Step 4: Connect the Ultrasonic Sensor 

              Make these connections: 

              • VCC → Arduino 5V  
              • GND → Arduino GND  
              • TRIG → Digital Pin 7  
              • ECHO → Digital Pin 8  
              • This allows the Arduino to measure object distance continuously. 
              • Step 5: Connect the Servo 
              • Wire the servo motor like this: 
              • Signal wire → Digital Pin 10 (PWM)  
              • Red wire → 5V  
              • Brown wire → GND  

              At this stage, using proper breadboard and jumper wire kits helps avoid loose connections. 

              Powering the Setup 

              Step 6: Mount the Electronics 

              You can mount the Arduino and breadboard on the side of the dustbin using velcro, screws, or adhesive strips. 

              Keeping components fixed properly improves stability a lot. 

              Step 7: Add Power 

              • Connect the 9V battery to: 
              • Arduino VIN  
              • Arduino GND  
              • You can also use USB power during testing before switching to battery mode. 
              • Uploading and Testing the Code 

              Step 8: Upload the Sketch 

              Upload the provided Arduino code and test the system. 

              Once the board powers on: 

              • Wave your hand near the sensor  
              • The ultrasonic sensor detects movement  
              • The servo rotates  
              • The lid opens automatically  
              • If needed, you can adjust: 
              • Detection distance threshold  
              • Servo opening angle  
              • Delay timings  
              • This tuning stage usually takes a few attempts before movement feels smooth. 

              Finishing the Build 

              Step 9: Organize the Wiring 

              Once everything works properly, tidy up the wires and secure the electronics properly. 

              I strongly recommend: 

              • Using cable ties  
              • Keeping jumper wires short  
              • Preventing servo wires from pulling loose  
              • The final setup looks much cleaner once the wiring is managed properly. 
              • Why This Project Works Well for Beginners 
              • One reason this project became popular among beginners is that it combines multiple concepts without requiring advanced hardware. 

              You learn: 

              • Sensor integration  
              • Servo control  
              • Mechanical movement  
              • Basic automation logic  

              More importantly, the project feels practical immediately. Watching the lid open automatically makes the build feel rewarding very quickly. 

              For students searching for a beginner-friendly smart dustbin project India tutorial, that practical interaction matters a lot. 

              If you're looking for an even more detailed tutorial on this topic, refer to this Blog on building a smart dustbin using Arduino along with Code

              What I Learned While Building It 

              The hardest part was not coding. It was calibration. 

              Even small things affected behaviour: 

              • Sensor placement  
              • Lid weight  
              • Servo angle  
              • Power stability  
              • At one point, the servo kept vibrating continuously because the detection threshold was too sensitive. Lowering the detection range fixed the issue immediately. 
              • That debugging process taught me more than the initial build itself. 

              Future Upgrades 

              Once the basic setup works, the project becomes surprisingly expandable. 

              Possible upgrades include: 

              • Voice assistant support  
              • WiFi notifications  
              • Automatic garbage level monitoring  
              • Battery optimization  
              • OLED status display  
              • Adding ESP32 WiFi modules later can turn this into a proper IoT-enabled smart bin. 

              Final Thoughts 

              Building a smart dustbin with Arduino is one of those projects that feels much more advanced than it actually is. The hardware remains beginner-friendly, but the final result still looks impressive during demonstrations. 

              For anyone exploring smart dustbin project India ideas or searching for practical Arduino automation builds, this project is a great starting point. It combines sensors, motion, automation, and mechanical interaction into one compact setup while staying approachable for beginners. 

              Excerpt

              See how I built a smart dustbin using simple electronics components, with a complete parts breakdown, working process, and links to the exact items used.
              Prev Post
              Next Post

              Leave a comment

              Please note, comments need to be approved before they are published.

              Thanks for subscribing!

              This email has been registered!

              Shop the look

              Choose Options

              Edit Option
              Back In Stock Notification
              Compare
              Product SKU Description Collection Availability Product Type Other Details

              Choose Options

              this is just a warning
              Login
              Shopping Cart
              0 items
              FREE SHIPPING!
              ₹100 OFF
              ₹200 OFF
              ₹999
              ₹2500
              ₹4900
              WhatsApp Chat Chat