Automatic waste segregator for dry, wet and metal
Indian cities ask households to separate waste, but most mixed waste still reaches landfills. A bin that sorts each item into dry, wet or metal at the point of disposal makes segregation automatic.
- Parts
- ₹3,278
- Build
- 13 weeks
- Board
- Arduino Uno
- Objectives
- 6
Block diagram
- IR sensorDetects an item on the plate
- Inductive proximity sensorDetects metal
- Moisture plateDetects wet waste
- CameraCaptures a photo when the event happens+
- Arduino UnoDecides the bin
- Edge ML modelClassifies readings on the device+
- Two servosTilt the plate and turn the chute
- LCDShows the class
Objectives
- To detect an item placed on the tray.
- To classify it as metal, wet or dry from sensor readings.
- To drop it into the correct bin within 5 s.
- To measure accuracy on 60 everyday items (20 of each class).
- To capture and store an image automatically when an event is detected.
- To classify sensor patterns on the microcontroller with a trained model and report its accuracy.
Parts and specifications
- Arduino Uno R3 (CH340 clone)ATmega328P 16 MHz, 32 KB flash, 2 KB SRAM, 5 V logic, 6 analog inputs (10-bit), 6 PWM pins₹450Buy
- IR obstacle sensor moduleReflective IR pair with LM393, 2 to 30 cm set by trimmer, digital out, sunlight can false-trigger₹40Buy
- LJ12A3-4-Z/BX inductive proximity sensor (NPN)₹250
- Capacitive moisture plate (on the tray)Analog output about 1.2 V (wet) to 2.5 V (dry), no exposed copper so it does not corrode₹120Buy
- MG996R metal gear servo9.4 kg·cm at 4.8 V, 0 to 180°, stall up to 2.5 A so give it its own 5 to 6 V supply₹700Buy
- 16×2 LCD with I²C backpackHD44780, PCF8574 at 0x27 or 0x3F, 5 V, contrast trimmer on the back₹220Buy
- LM2596 buck (servo 6 V)4 to 40 V in, 1.25 to 37 V out, up to 2 A continuous (3 A peak), about 85% efficient₹90Buy
- Three bins, tray and frame₹500
- ESP32-CAM with OV2640ESP32 + 4 MB PSRAM + 2 MP OV2640 camera, microSD slot, needs 5 V 500 mA for stable Wi-Fi₹550Buy
Total about ₹3,278 at typical online prices. Tap a part for its pinout and datasheet notes.
Design calculations
LJ12A3-4 senses steel at 4 mm; aluminium only at about 40% of that, so mount it right under the tray.
Calibrate the moisture plate: dry paper about 2800, banana peel about 1600 (ADC). Wet if below the midpoint 2200, read after 1 s contact.
A 100 g item 8 cm from the pivot needs 0.8 kg·cm plus tray weight; the MG996R's 9 kg·cm is ample.
The sensor output switches 12 V. PC817 LED with 1.5 kΩ: (12 − 1.2) / 1.5k ≈ 7 mA, enough to pull the Arduino input low.
Pin map
| Signal | Pin or connection |
|---|---|
| IR item sensor | D2 |
| Inductive sensor (12 V NPN) via PC817 | D3 |
| Moisture plate | A0 |
| Tray servo / chute servo | D9 / D10 (6 V buck) |
| LCD SDA / SCL | A4 / A5 |
Firmware outline
- Wait for the IR sensor to see an item; wait 1 s to settle.
- If the inductive sensor fires → metal; else if the moisture reading is below threshold → wet; else dry.
- Turn the chute servo to the bin angle (0°, 90°, 180°), tilt the tray, return.
- Show the class and running counts on the LCD.
Test plan
| Test | Expected result |
|---|---|
| 20 metal items (cans, caps, keys) | Accuracy |
| 20 wet items (peels, food) | Accuracy |
| 20 dry items (paper, plastic) | Accuracy |
| Wet paper | Note where it goes and why |
These rows start your results table when you plan the project.
Viva practice
Say your answer out loud first, then check. The first 2 answers are free; Maker opens all 5.
Make it yours
One or two upgrades for a mini project, two to four for a major one.
Build these first
Datasheets and sources to cite
- Solid Waste Management Rules 2016
- LJ12A3 inductive sensor datasheet
- Swachh Bharat Mission (Urban) 2.0 guidelines
About this project
How much does the automatic waste segregator for dry, wet and metal project cost?
About ₹2,578 for the parts in the base list: Arduino Uno R3 (CH340 clone), IR obstacle sensor module, LJ12A3-4-Z/BX inductive proximity sensor (NPN), Capacitive moisture plate (on the tray), MG996R metal gear servo × 2, 16×2 LCD with I²C backpack, 12 V 2 A DC adapter, LM2596 buck (servo 6 V), PC817 optocoupler, Three bins, tray and frame.
How long does it take?
About 8 weeks for the base project, built on an Arduino Uno. Each upgrade adds time.
Which branches is it suitable for?
Electronics and Communication, Mechanical / Mechatronics, Electrical and Electronics, Diploma (any electronics branch), as a mini or major project.
Which pins and design calculations does it use?
IR item sensor on D2; Inductive sensor (12 V NPN) via PC817 on D3; Moisture plate on A0. Worked calculations on this page: metal sensing range, wet threshold, servo torque, optocoupler interface.
How do I test it?
20 metal items (cans, caps, keys): Accuracy. 20 wet items (peels, food): Accuracy. 20 dry items (paper, plastic): Accuracy. Wet paper: Note where it goes and why.
What are the objectives?
To detect an item placed on the tray. To classify it as metal, wet or dry from sensor readings. To drop it into the correct bin within 5 s. To measure accuracy on 60 everyday items (20 of each class).
