Electronic – Using a DE-SW050 5volt regulator and a USB breakout board to charge an iPod in a car

ipodvoltage-regulator

I need a clean install of an iPod charger in my car. That means not a wire running from a 12 volt socket. I've looked at the Belkin flush chargers and they are beautiful, but require a socket.

I'm considering wiring one to a panel mount USB adaptor using a DE-SW050 voltage regulator. It'll take up to 30 volts (so 12 is trivial) and outputs 5 volts at 1amp max (iPad compatible). The wiring seems trivial: An in, and out, and a common ground. With a breakout board and the Cables to Go panel mount, (and a fuse in line with the 12 volts) this seems like a trivial solution.

Is it viable and device-safe? It seems like such a clean design that there must be a catch.

The other question I had was if it was possible to then add an LED to indicate that the 5 volts was being used. (Putting it in-line perhaps? But what about voltage drop?)

Help would be much appreciated.

Best Answer

The automotive environment is electrically very noisy, with potentially large spikes on the 12 V power bus (especially during engine start). This can be mitigated through the use of large filtering capacitors, maybe an inductor inline on the supply, and perhaps a transorb or other protection device. I don't know enough about power supply filtering to tell you exactly what to do, but you might be able to Google "automotive power supply filter" or similar. Note that the regulator may require input and output bypass capacitors, too.

Then there's the issue of iPad fast charging. I'm not sure how it decides it can draw more current for charging than what is normally allowed by the USB spec. I think there are resistors of a specific value between certain pins on the supply side. If you don't care about fast charging (which I've heard the iPhone 4 also uses), then you can ignore this.

You don't want to put an LED inline in order to see that power is being drawn. An LED has a maximum forward current above which its lifespan is dramatically shortened. This forward voltage is typically 5 - 25 mA, far less than the 1000 mA your regulator is capable of delivering (and far less than the 500 mA the iPod will likely draw). An alternative would be to set up a high-side current sense resistor (inline on the +5V side) and high-side current sense amplifier, use the output of that to drive a MOSFET or other transistor to turn on an LED. There are probably other ways to do that, but that's what comes to mind.

It really is easier to buy an off-the-shelf USB charger with a suitable input voltage, and cut off the supply connector to wire it in (with a fuse!) to your car supply. As another commenter mentions later, it may still lack appropriate filtering. You should be able to buy an automotive power filter to put inline with the USB charger. Then plug the Cables to Go panel mount into the charger.