Spike Prime - Color Sorter - Jakub Vojtek

From RoboWiki
Revision as of 16:09, 22 May 2024 by Robot (talk | contribs) (Created page with "Back to: Spike up Prime Interest in Science and Technology with Raspberry Pi Build Hat|List of projects of ''Spike up Prime Interest in Science and Technology with Raspberry...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Back to: List of projects of Spike up Prime Interest in Science and Technology with Raspberry Pi Build Hat

About the project

This project is a colored objects sorter robot, designed to automatically identify and categorize objects based on their color. Using a camera and image processing algorithms, the robot detects the color of each object and then sorts them into designated bins. This project showcases the integration of computer vision, robotics, and real-time control systems, providing a practical demonstration of automated sorting processes used in various industries such as recycling, manufacturing, and quality control.

BuildHat colorsorter model.png BuildHat colorsorter fotka.jpg

Video

Build a robot

Building instructions:

Get the robot ready

  • Pick the desired color range in HSV (Hue, Saturation, Value) from color_picker script.
  • Edit wheels speed to work for your project (faster for smaller turn angles, slower for bigger turn angles).
  • Place your robot on the start of the line.

Raspberry Python Code:

Ideas for improvement

  • Make the robot speed up if the line is straight and slow down before the turn.
  • Try to make the robot make as sharp turn as you can.

Evaluate your performance

  • Think about how you approached the problem and about how else could it be solved.
  • Evaluate yourself on how you adapted when something didn't work as you hoped it would.


Teacher Resources