A collection of Python scripts for the Pi-Top robot, including line-following navigation and miniscreen animations.
Autonomous line-following program using the Pi-Top camera and drive controller. The rover detects an orange line via HSV color filtering and follows it across user-defined cycles, supporting both forward and backward directions.
Displays an animated rainbow stripe pattern on the Pi-Top miniscreen for 10 seconds.
Renders an animated fractal tree with a wind-swaying effect on the miniscreen for 15 seconds.
Draws a smiley face on the miniscreen for 10 seconds. Useful for verifying the display is working.
- Pi-Top device with miniscreen
- Python 3
- pi-top SDK (
pitop) - OpenCV (
opencv-python) - NumPy
- Pillow
- Transfer a script to the Pi-Top:
scp <filename> pi@<pi-top-ip>:~/
- SSH into the Pi-Top:
ssh pi@<pi-top-ip>
- Run the script:
python3 <filename>