So for this electrical engineering class we need to do computer interfacing. My plan is to make an RC car controlled by an Arduino (i know its been done a million times) but, specifically, here’s what I wanna do:
- I have a “competition style” kit RC car called the Frog, which has a electric motor, a speed control, radio input, and servo for steering. The speed control is controlled by a servo as well.
My part of the project is to do the wireless interfacing and I was thinking of using the Xbee type wireless. Using the RC car controller (the box with the transmitter and the joysticks), I want to yank out the radio and convert the signals that the joysticks makes to go to an arduino, then to an Xbee. The Xbee will transmit to the Xbee on the arduino inside the car that is controlling the servos/motor.
My question is: Is there any interfacing required to set the signals from the joysticks up to be used by the arduino on the controller side? Like converting the analog signals to digital or vice verse?
Also, how difficult is the Xbee wireless interface?
On the car side, the Ard will use PWM to control the servo for steering and PWM for driving the motor. Am I right in assuming this?
Basically, my design is similar to the design where people figured out how to use the iphone connected to the computer over USB to send signals over Xbee to the car, but I will be eliminating the computer and iphone and gutting the stock controller and popping in an Ard+Xbee. I basically need to do hardware interfacing for the class, as my prof rejected the idea of interfacing a PS3 controller since it just entailed off the shelf parts. Would I have to modify the stock controller enough for it to be considered “computer interfacing?”
Another idea I was thinking of was adding a speed/distance display on the controller if the above isnt sufficient. I would sent a byte to the RC and it would send one back. Depending on the time it takes for it to travel, I can get a distance or speed.
Thanks guys!