Spike Prime - Hello World - Jakub Vojtek
From RoboWiki
Back to: List of projects of Spike up Prime Interest in Science and Technology with Raspberry Pi Build Hat
About the project
The car is controlled via keyboard inputs using the pynput library, allowing it to move forward, backward, left, and right. It also includes obstacle detection using a distance sensor and color detection using a color sensor.
Video
Build a robot
- Make sure the ColorSensor is in the correct height based on your colored objects.
- Beware your wire management so they won't get stuck in the cars wheels.
Building instructions:
Get the robot ready
- Try building your own car using the needed components.
- Pick color objects that you want to scan (pick only objects of the color that can be read by the sensor) and place the on the ground.
Raspberry Python Code:
Ideas for improvement
- Add additional sensors from Arduino to make sure the car cant crash from either side.
- Try to make the robot have as smooth movement as possible.
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