Use Raspberry Pi GPIO to control higher voltage flows.


6 posts
by Pingpong1109 » Sat Mar 30, 2013 10:16 pm
I am working on a Quadcopter, and I need ~10v to run through these motors, the Raspberry Pi only does 3.3v through it's gpio. I don't want to fry my board but I wanna know how to control the flow of the 10v with a raspberry pi. Do I use a transistor or what?
Posts: 18
Joined: Sat Mar 30, 2013 3:58 pm
by mahjongg » Sat Mar 30, 2013 10:21 pm
Yes, you use a transistor.
Just like driving a relay.
There are dozens of threads here about driving motors and relays that way
If you have to drive more than one often an IC with multiple drivers is often used, like the ULN 2007 .
User avatar
Forum Moderator
Forum Moderator
Posts: 5878
Joined: Sun Mar 11, 2012 12:19 am
by joan » Sat Mar 30, 2013 10:25 pm
What sort of motors? Quadcopters can come with brushless motors which are driven by special units called ESCs.
User avatar
Posts: 6380
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK
by Pingpong1109 » Sat Mar 30, 2013 10:29 pm
These are brushless.
Posts: 18
Joined: Sat Mar 30, 2013 3:58 pm
by joan » Sat Mar 30, 2013 10:40 pm
Pingpong1109 wrote:These are brushless.

You'll need to check how the motors are driven. They may require an ESC. If they do the ESC will handle all the high voltage problems.

See http://dronesandrovs.wordpress.com/2012 ... h-arduino/

Several people have posted their experiences of building quadcopters controlled by a Pi. It sounds a pretty expensive exercise.
User avatar
Posts: 6380
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK
by Pingpong1109 » Sat Mar 30, 2013 11:33 pm
I do have a job, and I was expecting this to be expensive, I have already spent 90 bucks, besides the cost of the pi which I already owned
Posts: 18
Joined: Sat Mar 30, 2013 3:58 pm