Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Managing power delivery with a raspberry pi

Is there a way to control power delivery from a power source, through the pi and to another device using a GPIO add-on (would appreciate if i could know what it was)? I'm trying to manage power delivery to a small motor so that the different voltages will make it spin a different speeds.

Link to comment
Share on other sites

Link to post
Share on other sites

Ive done this. To switch ac power on and off

 

You probably just want a power mosfett, then use a transistor to turn it on and off. Use pvm for speed control. Don't do voltage control, thats how you cook a transistor and waste a lot of power.

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Electronics Wizardy said:

Ive done this. To switch ac power on and off

 

You probably just want a power mosfett, then use a transistor to turn it on and off. Use pvm for speed control. Don't do voltage control, thats how you cook a transistor and waste a lot of power.

 

 

I see. But are mosfets only for a certain amount of power? so example i either have x amount or 0?

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, bobbytommerson said:

I see. But are mosfets only for a certain amount of power? so example i either have x amount or 0?

You want the transistor to be fully on or off. To do speed control use pwm. That way its much more efficent and you don't need a dac.

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Electronics Wizardy said:

You want the transistor to be fully on or off. To do speed control use pwm. That way its much more efficent and you don't need a dac.

 

 

alright thanks for the help

Link to comment
Share on other sites

Link to post
Share on other sites

There are also motor driver boards. Those can be controlled with I2C or SPI.

Don't forget to add a diode if your motor does not already have one included.

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, James Evens said:

There are also motor driver boards. Those can be controlled with I2C or SPI.

Don't forget to add a diode if your motor does not already have one included.

alright thanks for the suggestion

Link to comment
Share on other sites

Link to post
Share on other sites

You could use the general audio output gpios to do pwm.

 

set the frequency to 20khz and adjust the duty cycle then feed it into a mosfet driver.

 

The IRL family of mosfets should work well being logic level.

A long time LTT viewer that signed up “7 minutes ago”.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×