Close

Network switch with 5-12V input and a 5V/2A USB out

A project log for Tool hacks

Improving/repurposing existing tools and making new ones - my take on this

aryaArya 02/26/2016 at 23:520 Comments

Sometimes I need to set up a little network infrastructure to connect a multitude of devices to a network. I also can't be picky about PSUs, as I can get either a barrel jack one or a simple USB socket from my computer. Also, I need something to power all those Raspberry Pi boards I sometimes need to experiment on, and given all the environmental constraints (that is, in some places where I work there aren't enough wall sockets) one USB port with enough power makes all the difference. With that in mind, I've took a 8-port network switch I've been using for ages and repurposed it a little.

Network switch in question needs 5V. In its first revision, I used a LM7805. However, this proved to be unviable because the thing would heat up a lot from 12V, even with a heatsink.
So, I turned to one of those fake-LM2596 DC-DC modules eBay is offering, and they're pretty decent compared to linear regulators in terms of efficiency. That worked, and worked pretty well, but these regulators are capable of more and I wasn't tapping into that capability. So I added a USB port which could provide 5V at enough amps to charge/power things. The switch both has a USB cord tapped into the 5V line and a 5.5/2.5 barrel jack connection which is connected to the DC-DC Vin.

Misc features:

Things to add:


Discussions