Author Topic: Additional Power Control  (Read 3637 times)

ken.neiser@gmail.com

  • NewMember
  • *
  • Posts: 5
Additional Power Control
« on: November 09, 2015, 12:46:07 PM »
I just implemented an ATXRasPi (5V buck converter supplied power to ATXRasPi) on my new RPi2, works great! I have one challenge though. For various reasons I have to implement a separate USB hub (powered by a separate 5V buck converter) which is connected to a laptop HDD. I want to be able to control turning the power off to the USB hub when the ATXRasPi is shutting down the RPi2. Do you have any thoughts on this?

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6867
  • Country: us
    • LowPowerLab
Re: Additional Power Control
« Reply #1 on: November 09, 2015, 01:04:22 PM »
Ken, thanks for your question.
Do you have any idea how much current that hub+HDD need, or would you be able to measure?

ken.neiser@gmail.com

  • NewMember
  • *
  • Posts: 5
Re: Additional Power Control
« Reply #2 on: November 09, 2015, 01:15:34 PM »
At the moment no I don't. I know it's a D-link hub with a max current output on it's 5V adapter of 2A.

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6867
  • Country: us
    • LowPowerLab
Re: Additional Power Control
« Reply #3 on: November 09, 2015, 04:18:07 PM »
You might just be able to squeeze that through the ATXRaspi along with your Pi2.
The Pi2 is pretty efficient. So assuming it uses around 0.5A and another 2A for your hub, that might be possible through ATXRaspi, although it was not really designed to handle more than just a Pi so if you don't want to do this at your own risk then I will suggest something else:

- you can implement another circuit with a power mosfet to feed your hub/HDD. That will be activated by the output of the ATXRaspi. Since your HUB should only be powered ON as long as your Pi is ON, then your circuit can be driven by the 5V output of ATXRaspi (assume P mosfet driven through a NPN transistor).



Here the "12V" would be your 5V/2A permanent power. Then the gate of the transistor that drives the mosfet would come from the 5V output of ATXRaspi. When ATXRaspi cuts the 5V output off, then this circuit would turn off the LOAD (hub/hdd) as well. I think that should work.

ken.neiser@gmail.com

  • NewMember
  • *
  • Posts: 5
Re: Additional Power Control
« Reply #4 on: November 10, 2015, 11:35:29 AM »
Thanx for the response!
A couple of questions:
1. Logic Input - where would this connect on the ATXRasPi?
2. GNDA - please elaborate.
3. 12V Supply - How would component values change if the supply was 19V?

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6867
  • Country: us
    • LowPowerLab
Re: Additional Power Control
« Reply #5 on: November 10, 2015, 11:59:36 AM »
1. Logic Input - where would this connect on the ATXRasPi?
    This connects to ATXRaspi's 5v output. As long as your Pi is ON this circuit will also be turned ON.

2. GNDA - please elaborate.
    This is the same as ATXRaspi's GND

3. 12V Supply - How would component values change if the supply was 19V?
    If your hub/hdd need 19V then 12V would become that. Just make sure whatever mosfet you choose will support switching 19V (actually give it a good margin above that).

When you have the parts and circuit built test it by turning on/off a small light bulb or something like that. Applying 5V to the "Logic Input" will turn the "Load" on (ie open the path from your 19V to it).

ken.neiser@gmail.com

  • NewMember
  • *
  • Posts: 5
Re: Additional Power Control
« Reply #6 on: November 10, 2015, 01:55:07 PM »
The 19V supply is actually from an old power adapter that I have. The hub requires the 5V @ 2A max.. That is why I asked if there was much change in component values.

Thanx again!

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6867
  • Country: us
    • LowPowerLab
Re: Additional Power Control
« Reply #7 on: November 10, 2015, 04:34:47 PM »
Ok so then where and why would you use 19v?

ken.neiser@gmail.com

  • NewMember
  • *
  • Posts: 5
Re: Additional Power Control
« Reply #8 on: December 03, 2015, 09:58:53 AM »
After some thinking, shopping, and tinkering I put together this, it was fairly easy to implement. I have attached a diagram.

The "+/- Contact" will be the ATXRaspi's 5v output connections.

Thanks for your help!
« Last Edit: December 04, 2015, 10:45:08 PM by ken.neiser@gmail.com »

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6867
  • Country: us
    • LowPowerLab
Re: Additional Power Control
« Reply #9 on: December 22, 2015, 08:49:04 AM »
Nice work.
This could have also been implemented with a single power mosfet to allow a higher output power or even a higher voltage, without the need for relays and the resistors.