Collision Avoidance Robot

A Cytron Maker Pi RP2040 robot with a distance sensor that stops, backs up, and turns before hitting obstacles.

Collision Avoidance Robot

Collision Avoidance Robot

Key Features

  • Lab: Assembling Your Maker Pi RP2040 Robot
  • Lab: Up Down Motor Speed Lab
  • Lab: Motor Drive Connection Test
  • Lab: Drive Square Lab
  • Lab: Maker Pi RP2040 Servo Lab
  • Lab: I2C Scanner Test

Key Benefits

  • Free, open lessons. The Learning MicroPython textbook has the kit page, wiring, and MicroPython code.
  • Ready-made curriculum. 14 additional lab pages walk students through the build step by step.
  • Try before you build. An interactive MicroSim on the kit page runs in the browser.
  • Instant feedback. Students see their code's results on lights or a display.
  • Real-world data. Students read sensors and turn measurements into decisions.
  • Budget. Under $20 (Maker Pi RP2040 board $10, SmartCar chassis $9).

Parts

Part (price)Role
Cytron Maker Pi RP2040 ($10)Controller board (built-in RP2040)
10K PotentiometerInput knob
TT DC Gear MotorsMotor / actuator
HC-SR04 Ultrasonic SensorSensor
L298N / L293D Motor DriverMotor driver
MX1508 Motor DriverMotor driver
Piezo Buzzer / SpeakerSound output
SG90 Micro ServoMotor / actuator
SSD1306 128×64 OLEDDisplay
VL53L0X Time-of-Flight SensorSensor
WS2812B NeoPixelsLEDs
830-Point Breadboard ($1.10)Breadboard
Micro-USB Data Cable ($2.50)Power and programming cable

Microcontroller listed first. Prices shown only where known; see the source book for quantities, wiring, and current prices.

About this kit: It is the robot behind the club's collision-avoidance challenge card (Chapter 18).
Source: Learning MicroPython