Author Topic: Request: schematic for simple plugpack-style USB charger for MP3 player.  (Read 7477 times)

0 Members and 1 Guest are viewing this topic.

Offline nzoTopic starter

  • Regular Contributor
  • *
  • Posts: 101
  • Country: nz
I have several 230v plugpacks (wall-warts) that are sitting idle, rated between 12v and 9v. I'd like to build a simple USB 5v charger for my MP3 player, for when a computer is not available.

Does anyone have a working schematic I could use to build something? I don't (yet) know if any kind of protective circuitry is necessary to prevent the MP3 player from getting blasted.

Huge thanks :)

John
Frogman: half man, half frog, but which half?
 

Offline Fraser

  • Super Contributor
  • ***
  • Posts: 13323
  • Country: gb
A simple solution is the LM7805 linear regulator. It's not high efficiency but will do the job well &  cheaply. The data sheet will tell you all you need to know.

Be aware that I managed to find some pretty decent smpsu type USB chargers on ebay for GBP 0.99 (yes GBP 0.99) delivered to the UK. Almost makes DIY too expensive  ;)
If I have helped you please consider a donation : https://gofund.me/c86b0a2c
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19918
  • Country: gb
  • 0999
The LM7805 is good and certainly won't let you down.

Another method is a switching regulator which is more efficient and requires no heatsinking. Fortunately it's possible to build a switching regulator from a couple of transistors, some resistors, capacitors and an inductor.
 

Offline nzoTopic starter

  • Regular Contributor
  • *
  • Posts: 101
  • Country: nz
Thanks Aurora and Hero999. I've decided to go with a switchmode PSU using an LM2576 chip.

You're quite right Aurora. I looked at PSUs on DealExtreme.com and they are very cheap, but I hate the culture of waste that seems to permeate almost every western society. Wherever possible, I try not to add to it  :-\

Frogman: half man, half frog, but which half?
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19918
  • Country: gb
  • 0999
I know you've made you decision but for future reference, here's a design which uses cheap components. I meant to post the link before but I forgot.
http://www.romanblack.com/smps/smps.htm
 

Online ejeffrey

  • Super Contributor
  • ***
  • Posts: 3888
  • Country: us
In addition to supplying +5V, your charger needs to connect D+ and D- to each other by a resistor (IIRC 100 ohm is standard) to enable USB charging.  If you don't, the devices will expect they are plugged into a computer USB port and power up in low-current mode.  With no actual host computer, they will be unable to negotiate to draw 500 milliamp and will not charge.

Probably a bit of googling will tell you the right value of the resistor to use.
 

Offline nzoTopic starter

  • Regular Contributor
  • *
  • Posts: 101
  • Country: nz
Thanks Hero999 - interesting circuits, worth exploring.

Thanks for the tip ejeffrey. That info is much appreciated.
Frogman: half man, half frog, but which half?
 

Offline vtl

  • Regular Contributor
  • *
  • Posts: 136
  • Country: au
7805 will work and its very simple to get going. But the main issue would be heat. If you're charging at 500mA (or more if your device supports fast charging from an outlet like a phone) then you'll be getting into a very hot regulator. If your device uses 500mA a 5v and you're stepping it down from 12v its a simple equation to calcuate roughly how much heat the regulator will dissipate to step down the voltage.

Power in = 12x0.5 = 6W
Power out = 5x.5 = 2.5W
Power dissipated = 6-3.5 = 3.5W

3.5W doesn't sound like much but i just built up a 7805 reg for a car phone charger and for a 7805 regulator in one of the small packages (small dpak) the thing goes into thermal shutdown within 10 seconds. Using one of the larger TO220s the thing will get up to 70 degrees quite quickly.

Clearly if you don't want to stick large heatsinks on your project then this is a bad idea. Most plug packs are switchmode power supplies which are much more efficient, maybe you could look into modifying your plugpack to output 5v? Otherwise you can buy $2 car phone chargers from ebay which contain a switchmode 12v to 5v.
 

Offline nzoTopic starter

  • Regular Contributor
  • *
  • Posts: 101
  • Country: nz
Thanks for the low down on using a 7805 vtl and for your timely reminder about heat.

I think with everything that has been said in this thread, I'll keep open for a little longer on how to proceed. I have a very heavy little plugpack that was originally used to power an Iomega ZIP drive. It outputs 5v into a barrel plug and might do the job as a front end for a PSU, or perhaps even work without doing anything else

My MP3 player is an unknown Chinese brand with unknown circuitry. I read somewhere that often protection circuitry is built into the player itself, and that all I need is to feed it 5v. I don't know if that's the case with my player. I want to be on the safe side and have it last a little longer :)
Frogman: half man, half frog, but which half?
 

Offline nzoTopic starter

  • Regular Contributor
  • *
  • Posts: 101
  • Country: nz
Hero999 pointed me to some switchmode PSUs, one of which uses an 470uH inductor. Are these usually ready-wound or DIY? What do I ask for when purchasing these?

When purchasing smaller ferrite toroids, is there a range of useful sizes to have in my parts cabinet?

Different suppliers seem to call some components by different names. For example, RS don't show any results when searching for 'binocular' inductive cores. What other names might they go by?

Thanks very much :)
Frogman: half man, half frog, but which half?
 

Online IanB

  • Super Contributor
  • ***
  • Posts: 12349
  • Country: us
Re: Request: schematic for simple plugpack-style USB charger for MP3 player.
« Reply #10 on: August 28, 2011, 03:13:07 pm »
Hero999 pointed me to some switchmode PSUs, one of which uses an 470uH inductor. Are these usually ready-wound or DIY? What do I ask for when purchasing these?

When purchasing smaller ferrite toroids, is there a range of useful sizes to have in my parts cabinet?

Different suppliers seem to call some components by different names. For example, RS don't show any results when searching for 'binocular' inductive cores. What other names might they go by?
Inductors come ready made like capacitors and resistors. You pick them mainly by their inductance value and by the maximum current they can pass before the core saturates.

I have never heard of a binocular inductor. Binocular refers to vision--"bin-ocular = two eyes"--so I'm not sure what you are looking for here?
 

Offline Fraser

  • Super Contributor
  • ***
  • Posts: 13323
  • Country: gb
Re: Request: schematic for simple plugpack-style USB charger for MP3 player.
« Reply #11 on: August 28, 2011, 03:57:23 pm »
Just for info, Binocular inductors are so called because of their similar appearance to binoculars  ;) They are also known as 'Pig Nose' cores as they have that appearance as well  :)

They are most often found in RF applications and I do not think RS stock them. You can often see them on ebay or amateur radio component suppliers usually have them. The compound from which they are made will differ depending upon the frequency of operation.

Take a look here:

http://www.jabdog.com/cores.htm


They are for sale as a set here from a known Dealer:

http://www.ebay.co.uk/itm/14PC-FAIR-RITE-BINOCULAR-CORE-SET-AMIDON-PIG-NOSE-/290597630702
 
« Last Edit: August 28, 2011, 03:59:50 pm by Aurora »
If I have helped you please consider a donation : https://gofund.me/c86b0a2c
 

Online IanB

  • Super Contributor
  • ***
  • Posts: 12349
  • Country: us
Re: Request: schematic for simple plugpack-style USB charger for MP3 player.
« Reply #12 on: August 28, 2011, 05:41:12 pm »
Just for info, Binocular inductors are so called because of their similar appearance to binoculars  ;) They are also known as 'Pig Nose' cores as they have that appearance as well  :)
Ah, I see, thanks for the explanation. I learn something new.  :)

I think that radio and RF applications are quite specialized, where people pick a core material and wind coils for a very particular duty.

But in general low frequency electronics the story is different and winding your own inductors is not worth the time. Better and more efficient inductors are purchased ready made in both through hole and SMT varieties.

For this application I would have thought a simple buck voltage regulator would do the job? Use an off the shelf buck regulator IC, add an inductor, a capacitor, a resistor or two and you're done. There's almost certainly a preset 5 V IC out there given the prevalence of 5 V and USB power these days?
 

Offline nzoTopic starter

  • Regular Contributor
  • *
  • Posts: 101
  • Country: nz
Re: Request: schematic for simple plugpack-style USB charger for MP3 player.
« Reply #13 on: August 28, 2011, 08:24:30 pm »
Thanks so much for your help IDing those inductors guys. I'm now happily awash in Ebay sources :)

The price difference between Ebay and traditional distributors like RS continue to astound me. RS is sometimes 5 to 10 times or more. A different business model I guess.
Frogman: half man, half frog, but which half?
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19918
  • Country: gb
  • 0999
Re: Request: schematic for simple plugpack-style USB charger for MP3 player.
« Reply #14 on: August 29, 2011, 02:15:58 pm »
Hero999 pointed me to some switchmode PSUs, one of which uses an 470uH inductor. Are these usually ready-wound or DIY? What do I ask for when purchasing these?
You can wind your own or buy an off the shelf inductor.

The current rating should be equal to the peak current.

How much current do you plan to draw?

If you look at the graphs the efficiency goes down at higher power levels. Using a lower value higher current inductor may help and you could also replace Q1 with a logic level P-MOSFET but the values of R1 will need changing.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf