Pi 5 Colour and Shape Sorter Robot
Build a Pi 5 Colour and Shape Sorter Robot with Computer Vision
Every part needed, pre-tested for compatibility, with an AI build companion trained on this exact project. Shipped from Bengaluru in 3-5 days.
Sorting objects by colour and shape is a fundamental task in industrial automation, and this kit lets you build a working miniature conveyor sorter powered by the Raspberry Pi 5. Using OpenCV on the Pi's camera, the system identifies an object’s hue and contour in real time, then triggers two SG90 servos to route it into the correct collection bin. Edge AI is transforming how machines see and decide, and this project puts that power in your hands without any cloud subscription. Whether you're preparing for the Smart India Hackathon, your B.Tech robotics elective, or an ATL Tinkering Lab challenge, this project delivers a real edge AI experience on a compact desk-sized platform.
What You'll Build
You'll assemble a complete vision-guided sorter: a camera module above a small conveyor line captures each object and sends images to the Pi 5, which runs OpenCV algorithms to detect its dominant colour and shape (circle, square, triangle). Based on the classification, servo motors physically divert the object left or right into dedicated bins. The system runs entirely on-device with no cloud dependency, demonstrating true edge AI. After the build, you can easily modify the code to add new shapes or colours, making it an extensible platform for experimentation.
What You'll Learn
- Set up a Raspberry Pi 5 with an M.2 NVMe SSD for fast boot and storage
- Capture and process images using the Pi Camera Module 3 and OpenCV
- Implement real-time colour segmentation and shape contour detection
- Control servo motors with PWM signals to build a mechanical sorting gate
Kit Contents
| Component | Quantity |
|---|---|
| Raspberry Pi 5 4GB | 1 |
| Pi Camera Module 3 | 1 |
| SG90 Servo | 2 |
| NVMe SSD 128GB | 1 |
| Pi 5 M.2 HAT+ | 1 |
| USB-C PSU | 1 |
| M-M Wires | 15 |
Why Buy This Kit Instead of Sourcing Parts Separately
| Factor | Sourcing Separately | Compoden Kit |
|---|---|---|
| Compatibility checks | You verify every part | Pre-tested as a system |
| Build support | Forums and scattered tutorials | AI companion trained on this exact project |
| Time to first working build | Days of debugging | Hours, with step-by-step guidance |
| Shipping coordination | Multiple sellers, multiple delays | One shipment from Bengaluru in 3-5 days |
Who This Kit Is For
This intermediate-level kit is ideal for engineering students (B.Tech ECE, EEE, CSE) working on computer vision or robotics lab assignments, hackathon teams tackling Smart India Hackathon automation challenges, and ATL Tinkering Lab innovators who have moved beyond basic Arduino projects. CBSE Class 12 students with prior Python experience and an interest in AI/ML will also find it a compelling capstone project. The kit assumes you can read a circuit diagram and edit Python code, but the AI companion fills any gaps.
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 start a chat with your AI companion, or message us on WhatsApp for human help within hours. We've seen every issue possible with this kit.
Does the kit include the conveyor belt and chutes?
The electronics and camera are all you need for the core sorting logic. You can fabricate a simple conveyor and bins from cardboard or 3D-print the structure; our AI companion provides templates and code to map the servo positions accordingly.
Can I use this for a university minor project?
Absolutely. With the Pi camera performing real-time classification and servos routing objects, you have a complete edge AI system that you can document with flowcharts and results. Many B.Tech students adapt this kit for their 5th/6th semester project.
What if the camera has trouble distinguishing similar colours under indoor light?
The AI companion includes calibration steps and code adjustments for HSV thresholds, so you can fine-tune detection for your lighting conditions. You'll also learn how to apply a simple white balance correction.
OpenCV detects object colour and shape from Pi camera — controls a conveyor servo to route objects to correct bin.
What's in this kit
- Raspberry Pi 5 4GB
- Pi Camera Module 3
- SG90 Servo x2
- NVMe SSD 128GB
- Pi 5 M.2 HAT+
- USB-C PSU
- M-M Wires x15
Shipping Information
- Prepaid Orders: ₹75 for orders up to ₹999, FREE shipping above ₹999
- COD Orders: ₹125 shipping + ₹50 COD fee = ₹175 total
- Delivery Timeline: Dispatch in 1-2 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