Difference between revisions of "Spike Prime - Color Sorter - Jakub Vojtek"

From RoboWiki
Jump to: navigation, search
(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...")
 
m
 
(4 intermediate revisions by the same user not shown)
Line 12: Line 12:
  
 
== Build a robot ==
 
== Build a robot ==
 
+
* While building don't forget to keep a hole for the camera at the back of the chamber and to leave space for the object to come out.
*
 
  
 
Building instructions:
 
Building instructions:
* [[Media:BuildHat_linefollower.pdf| Line Follower (pdf)]]
+
* [[Media:BuildHat_colorsorter.pdf| Color Sorter (pdf)]]
  
* [[Media:BuildHat_linefollower.io| Line Follower (stud.io)]]
+
* [[Media:BuildHat_colorsorter.io| Color Sorter (stud.io)]]
  
 
== Get the robot ready ==
 
== Get the robot ready ==
  
* Pick the desired color range in HSV (Hue, Saturation, Value) from color_picker script.
+
* Pick the desired colors 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).
+
* Build a chamber that works for your objects.
* Place your robot on the start of the line.
 
  
 
Raspberry Python Code:
 
Raspberry Python Code:
  
*[[Line Following Car - Code|Line Following Car - Code]]
+
*[[Color Sorter - Code|Color Sorter - Code]]
 
*[[Color Picker - Code|Color Picker - Code]]
 
*[[Color Picker - Code|Color Picker - Code]]
  
 
== Ideas for improvement  ==
 
== Ideas for improvement  ==
* Make the robot speed up if the line is straight and slow down before the turn.
+
* Coding an interface for the sorting robot that would show real-time computer representation of the sorting or show in what order were objects placed.
* Try to make the robot make as sharp turn as you can.
+
* Adding shape detection.
  
 
== Evaluate your performance ==
 
== Evaluate your performance ==
Line 43: Line 41:
 
== Teacher Resources ==
 
== Teacher Resources ==
  
* [[Spike Prime - Line Following Car - Teacher Resources|Line Following Car - Teacher Resources]]
+
* [[Spike Prime - Color Sorter - Teacher Resources|Color Sorter - Teacher Resources]]
 +
 
 +
== Links ==
 +
 
 +
* Inspiration: https://www.youtube.com/watch?v=Ukqfc0YqERA&ab_channel=JLBrick%26Tech
  
 
__notoc__
 
__notoc__

Latest revision as of 10:06, 8 June 2024

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

  • While building don't forget to keep a hole for the camera at the back of the chamber and to leave space for the object to come out.

Building instructions:

Get the robot ready

  • Pick the desired colors range in HSV (Hue, Saturation, Value) from color_picker script.
  • Build a chamber that works for your objects.

Raspberry Python Code:

Ideas for improvement

  • Coding an interface for the sorting robot that would show real-time computer representation of the sorting or show in what order were objects placed.
  • Adding shape detection.

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

Links