Difference between revisions of "Spike Prime - Game Controller - 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
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
== About the project ==
 
== 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.
+
The Game Controller project involves creating an innovative game controller using motors and force sensors as the primary input mechanisms. This project aims to combine hardware components and programming skills to design a functional and interactive game controller that can be used to control various types of games.
  
[[Image:BuildHat_colorsorter_model.png|600px]]
+
[[Image:BuildHat_controller_model_top.png|600px]]
[[Image:BuildHat_colorsorter_fotka.jpg|600px]]
+
[[Image:BuildHat_controller_model_bot.png|600px]]
 +
[[Image:BuildHat_controller_fotka.jpg|600px]]
  
 
== Video ==
 
== Video ==
<youtube width="600" height="340">oQzXi0baHqM</youtube>
+
<youtube width="600" height="340">ySPgkECYbVo</youtube>
  
 
== 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.
+
* Try to make the controller as stable as possible with good cable management so the raspberry doesn't get damaged while moving around.
  
 
Building instructions:
 
Building instructions:
* [[Media:BuildHat_colorsorter.pdf| Color Sorter (pdf)]]
+
* [[Media:BuildHat_controllerTOP.pdf| Game Controller Top(pdf)]]
  
* [[Media:BuildHat_colorsorter.io| Color Sorter (stud.io)]]
+
* [[Media:BuildHat_controllerTOP.io| Game Controller Top(stud.io)]]
 +
 
 +
* [[Media:BuildHat_controllerBOT.pdf| Game Controller Bottom(pdf)]]
 +
 
 +
* [[Media:BuildHat_controllerBOT.io| Game Controller Bottom(stud.io)]]
  
 
== Get the robot ready ==
 
== Get the robot ready ==
  
* Pick the desired colors range in HSV (Hue, Saturation, Value) from color_picker script.
+
* Place your motor and ForceSensor where it suits you best.  
* Build a chamber that works for your objects.
 
  
 
Raspberry Python Code:
 
Raspberry Python Code:
  
*[[Color Sorter - Code|Color Sorter - Code]]
+
*[[Controller - Code|Controller and Game Logic - Code]]
*[[Color Picker - Code|Color Picker - Code]]
+
*[[Player Class - Code|Player Class - Code]]
  
 
== Ideas for improvement  ==
 
== Ideas for improvement  ==
* Make the robot speed up if the line is straight and slow down before the turn.
+
* Add new features to the game.
* Try to make the robot make as sharp turn as you can.
+
* Add more motors and sensors for even more functionality.
 +
* Create your own new game.
  
 
== Evaluate your performance ==
 
== Evaluate your performance ==
Line 41: Line 46:
 
== Teacher Resources ==
 
== Teacher Resources ==
  
* [[Spike Prime - Color Sorter - Teacher Resources|Color Sorter - Teacher Resources]]
+
* [[Spike Prime - Controller - Teacher Resources|Controller - Teacher Resources]]
  
 
__notoc__
 
__notoc__

Latest revision as of 12:15, 9 June 2024

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

About the project

The Game Controller project involves creating an innovative game controller using motors and force sensors as the primary input mechanisms. This project aims to combine hardware components and programming skills to design a functional and interactive game controller that can be used to control various types of games.

BuildHat controller model top.png BuildHat controller model bot.png BuildHat controller fotka.jpg

Video

Build a robot

  • Try to make the controller as stable as possible with good cable management so the raspberry doesn't get damaged while moving around.

Building instructions:

Get the robot ready

  • Place your motor and ForceSensor where it suits you best.

Raspberry Python Code:

Ideas for improvement

  • Add new features to the game.
  • Add more motors and sensors for even more functionality.
  • Create your own new game.

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