I need help for my setup: I am not sure what I am doing wrong, but I just burned the servo-motor (for steering) of my RC car.

Here is my set up: the rc car with brush motor and ESC, RPi 3, servo shield. The RPi and the servo-shield are powered from the same external USB battery (out=5V DC): I use a USB to 2X micro USB, and an adapter for the servo hat.

The 3-wire (black-red-white) cable out of the ESC is disconnected from the radio controller, and connected to the servo shield on channel 0. Note that I only connect the black (ground) and the white (signal) wires to channel0, with jumper cables. The red wire is not connected because the servo-hat is already powered by the USB battery. The servo-motor that controls the steering is connected to the channel 4 of the servo-shield. The black/white/red wires are connected to the 3 pins on channel4, with the black wire towards the outer of the servo-hat board and the white wire towards the inner.

I wrote a little program (in python) to control the car with a GameSir gamepad: the left joystick controls the throttle, and the right joystick for steering. First, I tested the code with the motor/throttle only (the cable from the steering servo-motor was disconnected off channel 4 on the servo shield)- that part worked , I could control the speed of the motor with the gamepad. Then, I connected the steering cable to channel4 (the throttle cable is still connected to channel 0). As soon as I started moving the joystick that controls the steering, the raspberry pi rebooted. Later, I reconnected the cables to the radio controller: only the throttle works. The servo-motor for steering does not move nor make any sound.

Let me know if you have any suggestion!

  • 1
    I'm going to guess that the steering motor is an ordinary DC motor, rated for a couple of volts, not a servo at all. – joan Apr 28 '17 at 15:01
  • Here is the model of the steering motor on the RC car: amazon.com/gp/product/B00CHI6ML4/…. It is a servo-motor – JMarc Apr 28 '17 at 15:08
  • Welcome to Raspberry Pi SE. Be sure to take the tour to see how this works and to earn a badge: raspberrypi.stackexchange.com/Tour – SDsolar Apr 29 '17 at 8:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.