Beginner's Guide to Building a Self-Driving Car

This guide is based on the open source Donkey Car project so first of all, a huge thank you to that community and its contributors.

What we are going to build is a self-driving car at a 1/16 scale. The overall cost of the project will be around $250 - $300, depending on where you purchase parts and how good you are at shoplifting.

The DIY Robocar will navigate itself around a track autonomously without any input from its owner, using computer vision and a neural network running on a tiny onboard computer, the Raspberry Pi.

We'll look at each of the following steps in turn:

  1. Parts
  2. Hardware
  3. Software
  4. Training
  5. Racing

1. Parts

The first thing you need to do, after reading this guide, is order the parts for your DIY Robocar. Depending on where you purchase them from, one or two parts may take several weeks to be delivered.

Part Description Link Approximate Cost
HSP KAOS 1/16 Truck $105
Wide Angle Raspberry Pi Camera $50
Raspberry Pi 3 Model B $30
Sandisk Extreme 32GB MicroSD Card $26
Xiaomi Mi Power Bank 2 5000mAh $21
Servo Driver PCA9685 $12
3D Printed Roll Cage and Top Plate

2. Hardware

This guide is a work in progress!