Pi 5 Smart Waste Collection Routing
Open this project in the Soldr app → What is Soldr.ai → wiring, code and test steps for exactly these parts
Smart Bin Route Planner Kit: Pi 5, 6× HC-SR04, 2 ESP32s — an intermediate-level kit.
Smart Bin Route Planner Kit: Pi 5, 6× HC-SR04, 2 ESP32s
Every part needed, pre-tested for compatibility, with an AI build companion trained on this exact project. Shipped from Bengaluru in 3-7 days.
Kit at a glance
What you build: A bin-route planner: six HC-SR04 sensors measure how full six bins are, two ESP32s send the levels to a Raspberry Pi 5, and the Pi works out the shortest route that visits only the bins that need emptying. A table-top model of a smart collection round.
What's in the box
- Raspberry Pi 5 4GB
- HC-SR04 Ultrasonic × 6
- ESP32 Dev Board × 2
- NVMe SSD 128GB
- Pi 5 M.2 HAT+
- USB-C PSU
- MicroUSB Cable × 2
- M-M Wires × 30
Power: USB-C supply for the Pi included; the ESP32s need USB chargers, not included.
Skill level: Intermediate (5-6 hours).
Frequently asked questions
How does it pick the route?
It skips bins below your fill level and orders the rest by shortest total distance.
Are bins included?
No. Use any boxes or bins.
Your campus, apartment complex, or municipal ward relies on fixed collection rounds that waste fuel and time. This kit lets you deploy six ultrasonic sensors into bins, stream real-time fill levels to a Raspberry Pi 5, and run an ML optimiser that calculates the minimum-distance route for collection vehicles. You transform a guessing game into a data‑backed logistics operation.
What You'll Build
A fully functional IoT mesh: six HC-SR04 sensors in dustbins report fill percentages to two ESP32 edge nodes, which feed a Pi 5 over Wi‑Fi. The Pi 5 stores historical data on an NVMe SSD, then its machine learning model computes the most efficient collection sequence – cutting travel distance and preventing overflow incidents. You’ll have a live dashboard showing bin statuses and the optimised route.
What You'll Learn
- Building a wireless sensor network with ESP32 and HC-SR04 ultrasonic rangefinders
- Streaming IoT telemetry over Wi‑Fi to a central Raspberry Pi 5 using MQTT
- Training and deploying a route-optimisation algorithm (k‑means + nearest neighbour) on real bin‑fill data
- Visualising live collection routes and sensor data on a web dashboard
Kit Contents
| Component | Quantity |
|---|---|
| Raspberry Pi 5 4GB | 1 |
| HC-SR04 Ultrasonic | 6 |
| ESP32 Dev Board | 2 |
| NVMe SSD 128GB | 1 |
| Pi 5 M.2 HAT+ | 1 |
| USB-C PSU | 1 |
| MicroUSB Cable | 2 |
| M-M Wires | 30 |
Who This Kit Is For
This kit is built for B.Tech ECE/EEE and CSE students working on smart‑city capstone projects. It’s an ideal prototype for Smart India Hackathon teams tackling waste‑management problem statements. ATL Tinkering Labs in CBSE schools and engineering clubs at IIT, NIT, VIT, and BITS will also find the perfect blend of IoT, edge computing, and ML.
Built and Backed by Compoden
Every Compoden kit ships with an AI build companion trained on this exact project — accessible via a QR code on the box, with WhatsApp and email backup. We've spent 10 years building projects for makers, schools, and institutions across India. If a part fails because of a manufacturing defect, replace it free within 7 days.
What if I get stuck during the build?
Scan the QR code to chat with the AI companion trained on this kit’s exact setup; if you need a human, our WhatsApp support team typically responds.
Can I use this for a Smart India Hackathon prototype?
Absolutely. The kit replicates a real municipal waste network — you can demo live bin‑fill data, route maps, and fuel‑saving calculations. Many winning teams have used Compoden kits.
Do I need prior experience with machine learning?
No. The AI companion walks you through the complete route‑optimisation algorithm with ready‑to‑run code. You’ll grasp the concepts while implementing a working model on the Pi 5.
How scalable is this system beyond six bins?
The architecture is designed for extensions. You can add more ESP32‑sensor pairs by simply expanding the MQTT network, and the ML model adapts to more inputs with a one‑line configuration change.
Ultrasonic sensors in 6 bins stream fill levels to Pi 5 — ML route optimiser calculates minimum-distance collection route.
What's in this kit
- Raspberry Pi 5 4GB
- HC-SR04 Ultrasonic x6
- ESP32 Dev Board x2
- NVMe SSD 128GB
- Pi 5 M.2 HAT+
- USB-C PSU
- MicroUSB Cable x2
- M-M Wires x30
Shipping Information
- Prepaid Orders: ₹45 for orders up to ₹1,999, FREE shipping above ₹1,999
- COD Orders: ₹45 shipping for orders up to ₹1,999, FREE shipping above ₹1,999. COD available.
- Delivery Timeline: Dispatch in 3-7 days, delivery in 2-7 days depending on location
Returns & Warranty
- 7-Day Return: Manufacturing defects only (approval required)
- Warranty: 7 days from delivery
- Non-Returnable: Batteries, consumables, cut wires, clearance items