Autonomous Driving Car

XMC1100 and BTN8982TA powered Autonomous Driving Car

This RC-car is equipped with a camera, a Raspberry Pi, a XMC1100 Boot Kit and the DC Motor Control Shield with BTN8982TA. Based on the donkeycar 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 donkeycar project. Therefore you don’t have to change the donkeycar 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.

Summary of Features:

  • RC-car controlled via Smartphone, Tablet or Laptop
  • Easy Motor control setup
  • XMC integration into the donkeycar project
  • Hands on AI-experience

How to build one:

3D print the mechanical parts (baseplate, roll cage and camera mounting). We recommend to use PVA as support material to be able to remove the support easily.

The roll cage can be printed without support structures.

This block diagram shows the setup of the electronic components. The Raspberry Pi communicates with the XMC1100 Boot Kit via I2C. The XMC is controlling the DC Motor Control Shield with BTN8982TA with two GPIOs and the steering servo via a PWM signal. The power supply for these boards is a 2s LiPo. 5V for the servo are supplied by the voltage regulator on the Boot Kit. The Raspberry is powered by a 5V USB charger.

In the following short video you can see how the electric parts are assembled.

A more detailed description can be found in the application note below.

IFX DonkeyCar Assembly
IFX DonkeyCar Assembly

Documents

3D printing

Boards

 

Image Board Family Description Status
DC Motor Control_top view_plain
 
DC-MOTORCONTR_BTN8982 Microcontroller, Motor Driver  The DC motor control shield from Infineon is one of the first high current motor control boards being compatible to Arduino as well as to Infineon’s XMC1100 Boot Kit. It is capable of driving two uni-directional DC motors (half bridge configuration) or one bi-directional DC motor (H-Bridge configuration).    active and preferred
XMC1100_Boot Kit
KIT_XMC11_BOOT_001 Microcontroller The XMC1100 CPU Card for Arduino TM has two rows of pin headers which fully compatible with Arduino TM shield . Hence, user can buy various Arduino shield boards off - the - shelf to test the capabilities of XMC1100 Microcontroller. active and preferred

 

Tools & Software