|
Project Information
Featured
|
PS3 Controller Controlling RC CarIntroductionIn this project I have provided the necessary code to control an RC Car using a standard Sixaxis, Dualshock 3, PS3 controller. If you haven't already make sure you see the tutorial on how to get started at http://youtu.be/KO11kluoHMs. PS3 Controller to ComputerThe PS3 controller communicates with the computer using Bluetooth. The Processing code running on the computer, hacks this Bluetooth connection using the procontroll library (http://creativecomputing.cc/p5libs/procontroll/index.htm). The data from the BT connection is then processed and the processed data is sent via a serial USB using the UART protocol to an Arduino. This Arduino is the base transmitter. Base TransmitterThe base transmitter Arduino runs the code to transmit the processed data via RF to the Arduino on the RC Car. To do this I have used the Virtual Wire library (http://www.open.com.au/mikem/arduino/VirtualWire/). RF Module SpecFor my project I have used a 433 MHz RF transmitter connected to the base transmitter and a 433 MHz RF receiver on the RC Car. RC Car RecierverThe Arduino which receives the signal is called the RC Car receiver. It runs the code to take the RF values and convert them into digital signals which will make the car move in the way I want. |