Spike Prime - Radar - Jakub Vojtek

From RoboWiki
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

The project involves rotating a motor to simulate a radar arm, which continuously scans for objects within a specified range. The distance sensor detects objects, and their positions with shadows are visually represented in a Pygame window. The distance should scalable so we can monitor different values.

BuildHat radar model.png BuildHat radar fotka.jpg

Video

Build a robot

  • Place your Raspberry Pi on top of the radar so it's not affected by the rotations of the radar.

Building instructions:

Get the robot ready

  • Place your obstacles on the ground and run the script. See how scaling the distance works.


Raspberry Python Code:


Ideas for improvement

  • Start detecting at the start of an object and draw the obstacle after the object ended as one obstacle instead of multiple.


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