![]() ![]() ![]() ![]() ![]() Alan numitron clock Clapclap 2313/1386 SNES Pi Webserver USB Volume/USB toys Smokey amp Laser cutter WordClock ardReveil v3 SNES Arcade cabinet Game boy projects cameleon Home Presence Detector ![]() AlanFromJapan ![]() ![]() ![]() Akizukidenshi Elec-lab Rand Nerd Tut EEVblog SpritesMods AvrFreaks Gameboy Dev FLOZz' blog Switch-science Sparkfun Suzusho Datasheet Lib Reddit Elec Ermicro Carnet du maker (fr) |
Auto USB power boxLast update: Thu Jun 5 22:25:40 2025
Purpose![]() 20101208: 1h hour of job, it's done. Problem, I picked the wrong wallwart, the one I wanted to command spits 12V/3A which is too much for the 2A rated SSR. I have to go for a bigger relay. Still, this one turns on some nice ambient light thing . 20111122: OMG I just discovered it is a wellknown concept in Denmark! (not my stuff, I mean the idea) There is something great in the kingdom of Denmark ... link SchemaUSB powered, when the PC is on, 5V (max 500 mA) is sourced and turns on a little relay (maybe Solid State Relay). Stick between power and the relay command a diode (avoid short circuits). I initially wanted to put a resistor also but one I measured the current going through it was only 20mA anyway. So I let it like that with the big diode protecting the %20 pin.The 2 leds %20 resistor are here only for the bling-bling. They are not in serial with the relay command, but it forms another loop around the USB power. ![]() Version 1 schema (basically also version 2 since it's quite trivial) Edit: this schema could use a small 100 ohm resistor before the diode to command the SSD, I never thought at the time to check the current consumption... PartsVersion 1 : Solid State Relay, max 2A
Version 2 : Solid State Relay kit from Akizukidenshi , max 25A
In this version, no protection nothing before the Optocoupler, just plugged to USB. There is a 300 ohm serial resistor, around 10mA will flow to trigger it. PicturesVersion 1 : Solid State Relay, max 2A![]() In yellow, the Solid State Relay. In green, 2 green leds %20 a 100 ohm resistor in serial ![]() Everything in the box when the USB is on (yeah yeah bling bling, I know, but I have 100 leds to use so...) |
All content on this site is shared under the MIT licence (do what u want, don't sue me, hat tip appreciated) electrogeek.tokyo ~ Formerly known as Kalshagar.wikispaces.com and electrogeek.cc (AlanFromJapan [2009 - 2025]) |