I am trying to control the ESC (Electronic Speed Control) of my Traxxas RC car with my raspberry pi (rev.2). I have been looking through the internet and while I can find some projects that seem to have done it, none seem to be explaining: pin connections, init sequence on the PWM and how to program the control software.
The XL-5 has a 3-wire connection going into the micro receiver unit: a black one (ground), red one (power, assuming 5V), and a white (control).. this is as much as the Traxxas documentation provides.
I found that the ESC can get its power from the car battery connection so I am not sure whether the red/black is actually required.
I plugged the white wire into GPIO-18 and put it in PWM mode using the GPIO utility. I understand that an ESC expects an initialization sequence to start but I can't seem to figure it out. Any idea?