Wiring a servo and ESC to same battery

I want to control my VESC for an electric skateboard using an arduino, I connected my phone to the arduino usb, and the PWM to signal wire.

It works ok, but when I add the servo motor as shown to control the steering, the VESC powers on even when the power switch is off, when I take out the wires connecting the servo to the arduino, it powers off so somehow the servo current turns ESC on? There is a switch in the ESC and I thought it should turn on only when the switch is turned on

I'm a total noob and asking for help to correct the wiring.

the ESC is flipsky FSESC using vesctool How to control FSESC(base on VESC) with Arduino ? | Flipsky.net – FLIPSKY (I'm using PPM to control the ESC)
10s2p battery 36v I stepped down to 5v for the MG996R servo motor I am using

Remocve the stepdown and power the servo from the +5V of the ESC.

Just to confirm, this is what you meant? I read the red wire from ESC should not be used, as it could spoil the arduino, I tried the following arduino seems to overheat

That's as it should be. If the arduino gets hot your wiring is wrong.

is it correct to say that the phone is powering the arduino board? and the battery is powering the ESC then the servo through the ESC red wire?

thanks anyway, I'll try with another arduino

Yes, correct. You can add "panicresistors" in the signal lines on D9 and D6, 100-200 Ohm would do. It might be that the Servo or ESC are faulty aand you have Vbat on the %V or Signal lines, so check with your multimeter.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.