Autonomous Driving Car

About the project

Curious about autonomous driving, AI and neural networks? Build your own autonomous driving car and get your hands on these topics!

Project info

Difficulty: Moderate

Platforms: InfineonRaspberry Pi

Estimated time: 1 hour

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

batterie connector batterie connector x 1
SanDisk Extreme 32 GB microSDHC SanDisk Extreme 32 GB microSDHC x 1
Raspberry Pi Camera Module Raspberry Pi Camera Module x 1
Raspberry Pi 3 Model B Raspberry Pi 3 Model B x 1
LiPo 7.4 V 5000 mA LiPo 7.4 V 5000 mA x 1
Savöx Standard-Servo SC-0254MG Digital-Servo Savöx Standard-Servo SC-0254MG Digital-Servo x 1
Brushed Motor Carson Modellsport Cup Brushed Motor Carson Modellsport Cup x 1
Reely 1:10 Wheels Reely 1:10 Wheels x 1
Reely Onroad-Chassis 1:10 Reely Onroad-Chassis 1:10 x 1
Infineon DC Motor Control Shield with BTN8982TA Infineon DC Motor Control Shield with BTN8982TA x 1
Infineon Boot Kit XMC1100 (Arduino shield compatible) Infineon Boot Kit XMC1100 (Arduino shield compatible) x 1

View all

Software apps and online services

Crimp Tool, Heavy-Duty Crimp Tool, Heavy-Duty
Multitool, Screwdriver Multitool, Screwdriver
donkey car donkey car

Hand tools and fabrication machines

3D Printer (generic) 3D Printer (generic) double extruder x 1
Soldering iron (generic) Soldering iron (generic) x 1

Story

This RC car is equipped with a camera, a Raspberry Pi, an XMC1100 Boot Kit and the DC Motor Control Shield with BTN8982TA. Based on the Donkey Car project, the Raspberry Pi is able to safe image-, throttle- and steering data which will be processed to train a neuronal network. The trained network will be placed on the Raspberry to drive the car autonomously.

The DC motor and steering-servo are controlled via the XMC1100 Boot Kit. The Software is developed in the Arduino IDE and can be found below. It is programmed to imitate the PWM shield used within the Donkey Car project. Therefore you don’t have to change the Donkey Car software on the Raspberry Pi. The DC Motor Control Shield with BTN8982TA makes it easy to control the DC motor. You can find the library to do so on our GitHub page and adapt the motor control to your needs.

You dare to build one? Find detailed instructions HERE.

Schematics, diagrams and documents

System block diagram

CAD, enclosures and custom parts

20180706_Basisplatte_1

Baseplate

Go to download

20180323_Magnet_roll_Cage_IFX

roll cage - also a good handle to pick it up

Go to download

20180323_Cameramount_M2

camera mount

Go to download

Code

XMC1100 code

This code runs on the XMC1100 Boot Kit.It emulates the PWM shield used in the donkey car project and is therefore a plug and play solution.The Raspberry Pi sends throttle and steering data via I2C. The XMC takes care of setting these values via PWM (servo) and motor control signals (BTN8982 Motor Shield).

Credits

Photo of Infineon Technologies

Infineon Technologies

Our semiconductor and system solutions contribute to a better future – making our world easier, safer and greener.

   

Leave your feedback...