how to connect motors for a drone to a battery on a breadboard

March 8, 2024, 23:07

pprost

Im pretty rusty with raspberry pis as i have been focused on react.js lately. But I have just started a project where I make a drone run on a raspberry pi. I have took out the motors from an old drone I had and stripped the wires so I can just plug them into a breadboard. Can anyone help me be able to control the motor by using a gpio input but powering it with a battery? I can send pictures and elaborate, just ask! Thank you!

pprost

I am trying to power the motor with a gpio but it wont move yet it moves when connected to 1.5v battery. The gpio powers my led when running and i thought the voltage was 3.3. Idk y my motor isnt getting powered

k9t33n

1 probably not enough amps, 2 you probably need a [ESC](https://en.m.wikipedia.org/wiki/Electronic_speed_control )

oops.se

If you power a motor directly from the GPIO you could damage the Raspberry Pi. Max current from a GPIO is 12 - 16 mA and the motor consumes a lot more, so in worst case you have chorten the GPI and possibly damage it. And the motor type used in drones is probably of the brushless type and need a ESC (Motor Controller).