Hello Everyone. My wife thinks i have gone crazy after finding out about arduino about 2 weeks ago.
Since then i have been tinkering with my rc car and its tx/rx. Sleepless days, sleepless nights...dreams of -255 + 255..pulsein..yada yada.This is what i intend to do:
1. A cheapo RC Car .... get rid of its front steering motor and stick a servo into it
. The rear motor which drives forward/backward stays in the car.
2. The car is to be controlled by a Futaba RX and TX ( images attached )
I know that many have done it the other way by using the existing RC car's onboard chip , soldering some wires , and getting to control the car using the arduino but i would like to do up a clean system.
Futaba TX --- > Futaba RX ------> arduino + motor shield -------> RC CARWhat i have done so far
1. I have managed to understand a little on pulsein values. I wired the rx to the motorshield, turned on my TX and moved the steering and accelarator and here is what i got.
Steering on Channel 1
Left Centre Right
1128 1481 1868
Accelerator on Channel 2
Forward Centre Reverse
1115 1590 1965
Armed with these values, i have gone on a hunt for a arduino code that i can use and modify. One good code that i have been cracking my head on is athttp://www.sparkfun.com/tutorials/348
The code makes use of 2 motors and not any servo. This is where i am stuck with. Since i have no background on any C++ i have no idea how to rewrite the code with a servo plugged in. I hope someone here is able to assist me in this or point me to a similiar code that i could be looking for.
Another burning question is regarding the motorshield that i am using. Its a 1A DFrobot shield. In its specs, it only mentions that it is able to run 2 motors. I dont see any servos in its specs. Does that mean that i will need to get another motorshield that comes with a servo connector? Please advice.
I will be back with more pictures when i progress on. Thank you all for all your support.