KevsRobots Learning Platform
48% Percent Complete
By Kevin McAleer, 3 Minutes
Page last updated May 10, 2025
Now that you’ve mastered motor and sensor control, it’s time to build your robot! In this lesson, we’ll assemble a two-wheel drive robot chassis that will act as the base for the remaining lessons.
Attach Motors to the Chassis
Secure each DC motor to the motor mounts on your chassis. Make sure both motor shafts face the same direction.
Connect the Wheels
Push the wheels onto the motor shafts. Add a caster wheel or similar support at the back or front for balance.
Mount the L298N and Pico
Use double-sided tape or standoffs to fix the L298N and Raspberry Pi Pico to the chassis.
Wire the Motors
Connect both motors to the L298N outputs (OUT1–OUT4), then wire the control pins to the Pico as described in previous lessons.
⚠️ Double-check polarity before powering on!
Run the motor control and sensor code from previous lessons to verify:
Make adjustments to wheel orientation or wiring as needed.
You now have a complete robot chassis ready for autonomous or remote-controlled behavior!
Next up: Servo Scanning with Ultrasonic Sensors
You can use the arrows ← →
on your keyboard to navigate between lessons.