Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

Autonomous Driving Car

lock attach
Attachments are accessible only for community members.
Infineon_Team
Employee
Employee
50 replies posted 25 likes received 25 replies posted

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

coverimage 5.png

Components

Hardware

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

Software

Name Quantity
donkey car 1

Other

Name Quantity
3D printer (generic) 1
Soldering iron (generic) 1
Multitool Screwdriver 1
Crimp Tool Heavy-Duty 1

Description

 
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.

 

Custom parts and enclosures

20180706_Basisplatte_1
Baseplate

20180323_Magnet_roll_Cage_IFX
roll cage - also a good handle to pick it up

20180323_Cameramount_M2
camera mount

 

Schematics

 

System block diagram

System block diagram.JPG

 

Code


XMC1100 code C/C++ - Attached file

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).
 

Attachments

Other

881 Views
1 Comment
Project Analytics
  • Views: 881
  • Comments: 1
  • Likes: 1