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.
>DC Motor Control Shield with BTN9970LV
(*DC Motor Control Shield with BTN8982TA is discontinued and replaced with DC Motor Control Shield with BTN9970LV)
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.
Documents
-
IFX Donkeycar Application Note
Share 01_00 | Sep 24, 2018 | PDF | 1.9 mb
3D printing
-
3D printing IFX roll Cage
Share 01_00 | Sep 24, 2018 | ZIP | 23 kb
-
3D printing Cameramount
Share 01_00 | Sep 24, 2018 | ZIP | 65 kb
-
3D printing Baseplate
Share 01_00 | Sep 24, 2018 | ZIP | 48 kb
Boards
Image | Board | Family | Description | Status |
|
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). | Not for New Design (*It is discontinued and replaced with DC Motor Control Shield with BTN9970LV below.) |
DC Motor Control Shield with BTN9970LV | Motor Driver | The board includes two MOTIX™ half bridges with integrated driver: BTN9970LV and BTN9990LV. | active and prefererd | |
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
-
Firmware I2C_donkeySlave_2_watchdog
Share 01_00 | Sep 24, 2018 | ZIP | 2 kb