Python modules to control a robot car consisting of a 2-motors-3-wheel-platform, raspberry pi 3, motor control IC L293D, xbox controller as remote control and an ultrasonic distance sensor.
The software allows to control direction and speed of the car. Asyncronuously the distance of the objects in front of the car is measured with the ultrasonic sensor. When the distance drops below a certain threshold, the xbox controller starts to rumble. Below the critical distance the car stops.
- Raspberry Pi Modell 3B with necessary components like power supply and memory card
- Robot Car Chassis Kit with 3 wheels
- Motor controller IC L293D
- Ultra sonic distance sensor modul HC-SR04
- xbox game controller bluetooth
- IC sockets, resistor 1 and 2 kOhm, female connector strip and cable
- python3.6
- python evdev module
- python RPi.GPIO module
- python asyncio module
- xpadneo driver for the xbox controller
Installation, detailed description and use see Wiki page. Have fun!
I moved on to ai controlled robot cars with the jetson nano + camera - so this repository will not be updated any more
Rest in peace :-)