USB 12v switching

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

USB 12v switching

Postby gudenau » Wed Jan 23, 2013 7:07 pm

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?
gudenau
 
Posts: 7
Joined: Wed Jan 23, 2013 6:59 pm

Re: USB 12v switching

Postby Zener » Wed Jan 23, 2013 7:40 pm

I think we need a little more details on what you want to do.
Zener
 
Posts: 1990
Joined: Sat Feb 21, 2009 1:38 am

Re: USB 12v switching

Postby gudenau » Wed Jan 23, 2013 7:42 pm

What more do we need, like that the usb is going to the same device as the 12v dc?
gudenau
 
Posts: 7
Joined: Wed Jan 23, 2013 6:59 pm

Re: USB 12v switching

Postby Zener » Wed Jan 23, 2013 7:48 pm

Maybe a sketch or drawing would help. But there are many other great minds here who might know what you need.
Zener
 
Posts: 1990
Joined: Sat Feb 21, 2009 1:38 am

Re: USB 12v switching

Postby gudenau » Wed Jan 23, 2013 11:33 pm

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...
gudenau
 
Posts: 7
Joined: Wed Jan 23, 2013 6:59 pm

Re: USB 12v switching

Postby gudenau » Thu Jan 24, 2013 6:19 pm

Got it.
Image
gudenau
 
Posts: 7
Joined: Wed Jan 23, 2013 6:59 pm

Re: USB 12v switching

Postby adafruit_support_mike » Thu Jan 24, 2013 8:06 pm

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.
When you void a product warrany, you give up your right to sue the manufacturer if something goes wrong and accept full responsibility for whatever happens next. And then you truly own the product.
User avatar
adafruit_support_mike
 
Posts: 1379
Joined: Thu Feb 11, 2010 1:51 pm

Re: USB 12v switching

Postby gudenau » Thu Jan 24, 2013 9:24 pm

I am powering a old hard drive, from when 64gb was top of the line.
gudenau
 
Posts: 7
Joined: Wed Jan 23, 2013 6:59 pm

Re: USB 12v switching

Postby adafruit_support_mike » Sat Jan 26, 2013 1:02 am

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
When you void a product warrany, you give up your right to sue the manufacturer if something goes wrong and accept full responsibility for whatever happens next. And then you truly own the product.
User avatar
adafruit_support_mike
 
Posts: 1379
Joined: Thu Feb 11, 2010 1:51 pm

Re: USB 12v switching

Postby gudenau » Sat Jan 26, 2013 1:13 pm

Thank you, this has helped.
gudenau
 
Posts: 7
Joined: Wed Jan 23, 2013 6:59 pm


Return to General Project help

Who is online

Users browsing this forum: No registered users and 7 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [103]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[61]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]