0

Can I use my Raspberry Pi to provide the PWM controlling my ESC, but have the ESC powered by a separate battery?

The ESC I'm using is "A1S 3A Blheli 1S Super Mini Brushless ESC". It's awesome. And it works when I connect the ESC wires to the Pi's GND and 5v/3.3v supply. A Tiny ESC for a Tiny motor.

But it doesn't seem to work when I connect the ESC to a separate battery. I think the battery's GND isn't exactly the same as the Pi's GND, thus the Pi's PWM signal isn't compatible with the battery's power supply.

The battery is a 7.4V 250mAh 2S 20C LiPo regulated by a UBEC (RipaFire 5V 3A UBEC)

Maybe I can power both the Pi and the ESC from the same battery+UBEC so they share the same GND? Before I try that I'd like to see if I'm doing things wrong.

1

You need to connect the Pi ground to the ESC power supply ground. They need a common voltage reference (ground) for the Pi's signals to be correctly received by the ESC.

This is generally true for any device you wish to control via the Pi unless you are using something like an opto-coupler between the Pi and device.

  • @JungleBird You'd be best to post a link to the image in a comment instead — your answer is likely to be deleted as it doesn't answer the question. Your image link is i.stack.imgur.com/wCRiJ.jpg. – Aurora0001 Nov 21 '17 at 16:52
  • Thank you for the prompt response joan! (And thanks for the advice Aurora0001!) I will try it when I get back but I imagine it will look like this? i.stack.imgur.com/wCRiJ.jpg – JungleBird Nov 21 '17 at 16:56
  • @joan I did what you said and it worked! Thank you! – JungleBird Nov 23 '17 at 4:27

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.