Robotics

Robot Car

A 3D-printed robot car that I drive with an Xbox controller.

  • About £55
  • About 4 weeks
  • 2 attempts
  • 1 Xbox controller
The robot car held up close: a pink 3D-printed chassis, yellow motors, black tyres, three AA batteries and a nest of jumper wires
The finished car. The yellow boxes are the motors. The wires are load-bearing.

The whole build

17 minutes, on YouTube

Watch it on YouTube ↗

Drive it

This one is pretend. Click the carpet and drive with the arrow keys or WASD, or hold the buttons below. Got a controller? Press any button on it and it drives this one too.

No controller yet. The keyboard works.

SpeedNormal

Drive: arrow keys or WASD. Speed: 1, 2, 3, or X, Y, B. Space or A: ???

How it went

  1. The grant

    My grandad gave me a £20 grant to build something. There was no oversight committee.

    For his £20 he got 1%, which values the project at £2,000. My dad paid more and got 0%.

  2. The parts

    The chassis is a two-wheel-drive design by Torsten Jäger, 3D printed in pink. Two TT motors drive it through an Adafruit DRV8833 motor driver, a Seeed XIAO ESP32-C3 is the brain, and three AA batteries power the lot.

    The pink ran out partway through the print, so some of it is blue.

    Thomas’s wiring diagram: a battery pack, a Seeed XIAO ESP32-C3 and an Adafruit DRV8833 driver wired to two TT motors
    The wiring diagram I built it from.
  3. Attempt one

    I soldered it all myself. The first board didn’t survive its first test, so I ordered a new one and started again from scratch.

    The old board is no longer allowed in the house. We don’t talk about it.

  4. Attempt two

    The second build worked after about four hours of debugging. I had wired the motors to the wrong outputs on the driver.

    In the film I ask why nobody told me. In fairness, nobody had seen it yet.

    The finished robot car on Thomas’s desk, in front of an RGB keyboard
    Attempt two, finished, on my desk.
  5. The first remote

    First I drove it from my phone. Then I planned a handheld remote with a Raspberry Pi Pico and a Waveshare screen, and cancelled it the next day.

    The phone version had one flaw. It didn’t stop when asked.

    Thomas driving the car across the carpet with a remote-control page on his phone
    Version one of the controls: my phone.
  6. The controller

    Now it drives with an Xbox controller: forwards, backwards, left, right, a slow mode and a fast mode. I’ve tested it on carpet and on a glass floor, and it spins on the spot.

    There are other buttons. I forgot what I made them do.

    The real car, the real controller, the real carpet.
  7. Next

    Next, I want to connect it to an AI model over MCP, so it can be driven by something that isn’t me.

    An AI with wheels. What could go wrong.

Parts

Brain
Seeed XIAO ESP32-C3
Motor driver
Adafruit DRV8833
Motors
Two TT motors
Power
Three AA batteries, 4.5 V
Chassis
2WD Robot Chassis by Torsten Jäger, 3D printed
Controls
An Xbox controller

Results

  • ~4 weeksShipping, crashing out and funding rounds
  • ~£55Total cost
  • £20Grandad Foundation
  • The restDad Foundation. Shout out Dad

It could have been £20, if I hadn’t messed up so badly or bought a soldering mat.

Chassis: 2WD Robot Chassis (multi-purpose) by Torsten Jäger, CC BY-NC 4.0.