USB 12v switching

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
gudenau
 
Posts: 25
Joined: Wed Jan 23, 2013 7:59 pm

USB 12v switching

Post by gudenau »

I would like to switch 12v dc when the usb gets powered (while still providing some to the device with usb), how should I do this?

User avatar
zener
 
Posts: 4567
Joined: Sat Feb 21, 2009 2:38 am

Re: USB 12v switching

Post by zener »

I think we need a little more details on what you want to do.

User avatar
gudenau
 
Posts: 25
Joined: Wed Jan 23, 2013 7:59 pm

Re: USB 12v switching

Post by gudenau »

What more do we need, like that the usb is going to the same device as the 12v dc?

User avatar
zener
 
Posts: 4567
Joined: Sat Feb 21, 2009 2:38 am

Re: USB 12v switching

Post by zener »

Maybe a sketch or drawing would help. But there are many other great minds here who might know what you need.

User avatar
gudenau
 
Posts: 25
Joined: Wed Jan 23, 2013 7:59 pm

Re: USB 12v switching

Post by gudenau »

Oaky, I will get a scetch up as soon as I can, it should be up soonish, this is from my iPod and I am about to goto bed, then school, so...

User avatar
gudenau
 
Posts: 25
Joined: Wed Jan 23, 2013 7:59 pm

Re: USB 12v switching

Post by gudenau »

Got it.
Image

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: USB 12v switching

Post by adafruit_support_mike »

How much current do you want to draw from the 12v line? If it's a little, you can use a transistor. If it's a lot, you'll want a relay.

User avatar
gudenau
 
Posts: 25
Joined: Wed Jan 23, 2013 7:59 pm

Re: USB 12v switching

Post by gudenau »

I am powering a old hard drive, from when 64gb was top of the line.

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: USB 12v switching

Post by adafruit_support_mike »

Power consumption for hard drives is usually around 10 Watts, so call it an amp of current.

You can probably use a mosfet like this one: http://www.adafruit.com/products/355

User avatar
gudenau
 
Posts: 25
Joined: Wed Jan 23, 2013 7:59 pm

Re: USB 12v switching

Post by gudenau »

Thank you, this has helped.

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”