/picar

Raspberry pi controlling RC car using PS3 remote

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Connect ps3 controller to the rpi 3

Follow this guid

test with

jstest /dev/input/js0

Raspberry pi custom hat

Pinout

Usage BCM pin wiring pi pin
LED 10 12
PWMA 12 26
IN1A 19 24
IN2A 26 25
PWMB 13 23
IN1B 6 22
IN2B 5 21
STDBY 9 13

Schema

schema veroboard

Parts

App

Depend

It use a c++ joysitck library as submodule.

Compile

This application need wiring pi library. It need to be installed first using:

sudo apt-get install wiringpi

Then to compile:

./build.sh

Due to wiringPi it need to be root

sudo ./build/picar