RC car using Raspberry Pi and an Xbox One BT Controller
Go to file
divaldo f7cd4bea5c Add 'README.md' 2018-06-06 22:11:08 +02:00
.dep.inc Working version 2018-06-06 21:58:54 +02:00
Makefile Working version 2018-06-06 21:58:54 +02:00
README.md Add 'README.md' 2018-06-06 22:11:08 +02:00
joystick.cc Working version 2018-06-06 21:58:54 +02:00
joystick.hh Working version 2018-06-06 21:58:54 +02:00
main.cpp Working version 2018-06-06 21:58:54 +02:00
rpiPWM1.cpp Working version 2018-06-06 21:58:54 +02:00
rpiPWM1.h Working version 2018-06-06 21:58:54 +02:00
rpiServo.cpp Working version 2018-06-06 21:58:54 +02:00
rpiServo.h Working version 2018-06-06 21:58:54 +02:00

README.md

RC Car using Raspberry Pi 3 and an Xbox One Controller

Prerequisites

  • Raspberry Pi 3 with Raspbian (should work with another distro)
  • Xbox One Controller (Bluetooth version, other bluetooth/usb controller should work)
  • Installed WiringPi
  • make
  • Servoblaster installed and loaded

Building

git clone https://git.divaldo.hu/divaldo/PiCar.git
cd PiCar/
make

Running

Connect your controller:

sudo su
echo 1 > /sys/module/bluetooth/parameters/disable_ertm
exit

Execute the app (maybe need superuser privilege):

./bt_car