Author Topic: DIY Iphone Charger  (Read 14316 times)

0 Members and 1 Guest are viewing this topic.

Offline JblissTopic starter

  • Regular Contributor
  • *
  • Posts: 205
DIY Iphone Charger
« on: June 15, 2015, 02:48:08 pm »
Just checking that this circuit I am going to use is trust worthy it seem legit. very simple
anybody.....
Thanks
 

Offline Mark IV

  • Contributor
  • Posts: 14
  • Country: 00
Re: DIY Iphone Charger
« Reply #1 on: June 15, 2015, 02:52:46 pm »
And the circuit?
 

Offline JblissTopic starter

  • Regular Contributor
  • *
  • Posts: 205
Re: DIY Iphone Charger
« Reply #2 on: June 15, 2015, 03:10:25 pm »
Wow im an idiot
here we go
 

Offline ivan747

  • Super Contributor
  • ***
  • Posts: 2045
  • Country: us
Re: DIY Iphone Charger
« Reply #3 on: June 15, 2015, 03:33:42 pm »
Don't forget the heatsink.
 

Offline suicidaleggroll

  • Super Contributor
  • ***
  • Posts: 1453
  • Country: us
Re: DIY Iphone Charger
« Reply #4 on: June 15, 2015, 04:00:16 pm »
Those are the pin voltages for a 1A charger, no?

So you're planning to dissipate up to 28 W in that regulator?  Good luck with that.  Even with a heatsink it won't work.  The max junction temperature of the 7805 is 125C.  With 28W being burned off in it, even if it had a perfect 1e32 C/W heatsink, the junction to case thermal resistance is 5 C/W, which would put the junction at 142 C over ambient.  So unless you're planning on running this thing at sub-zero temperatures WITH a heatsink, it's going to below the 7805 in a heartbeat.

Also, your input voltage spec is way too wide.  You can't take 7V on the input, because after the diode drop and 1R resistor, the voltage input to the 7805 will be ~5.3V.  The 7805 has a 2V dropout, it needs at least 7V at its input, which means you need at least 9V at the circuit's input.  You also don't want to use a 35V cap if you expect a 35V input.  Either up the voltage rating of C1 or drop your max input voltage to <30V.
 

Offline mtdoc

  • Super Contributor
  • ***
  • Posts: 3575
  • Country: us
Re: DIY Iphone Charger
« Reply #5 on: June 16, 2015, 12:00:36 am »
I don't think he specified his planned input Voltage, did he?  That just looks like a copied circuit diagram from somewhere.

Can someone enlighten me on the purpose of the wheatstone bridge in the OPs circuit? 
 

Offline Mr.B

  • Supporter
  • ****
  • Posts: 1237
  • Country: nz
Re: DIY Iphone Charger
« Reply #6 on: June 16, 2015, 12:06:52 am »
Its drawn as a wheatstone, however it is really just 2 resistor dividers.
Most modern phones, inc Apple, expect set voltages on the D+ and D- pins.
I think it originates from being able to detect a genuine Apple charger.
I approach the thinking of all of my posts using AI in the first instance. (Awkward Irregularity)
 

Offline mtdoc

  • Super Contributor
  • ***
  • Posts: 3575
  • Country: us
Re: DIY Iphone Charger
« Reply #7 on: June 16, 2015, 12:22:07 am »

Ok thanks.

Right - a wheatstone bridge is just 2 resistor dividers ... but I suppose since it's not being used to measure a resistance one wouldn't call it that.  OK got it.
 

Offline JblissTopic starter

  • Regular Contributor
  • *
  • Posts: 205
Re: DIY Iphone Charger
« Reply #8 on: June 16, 2015, 03:02:31 am »
Those are the pin voltages for a 1A charger, no?

So you're planning to dissipate up to 28 W in that regulator?  Good luck with that.  Even with a heatsink it won't work.  The max junction temperature of the 7805 is 125C.  With 28W being burned off in it, even if it had a perfect 1e32 C/W heatsink, the junction to case thermal resistance is 5 C/W, which would put the junction at 142 C over ambient.  So unless you're planning on running this thing at sub-zero temperatures WITH a heatsink, it's going to below the 7805 in a heartbeat.

Also, your input voltage spec is way too wide.  You can't take 7V on the input, because after the diode drop and 1R resistor, the voltage input to the 7805 will be ~5.3V.  The 7805 has a 2V dropout, it needs at least 7V at its input, which means you need at least 9V at the circuit's input.  You also don't want to use a 35V cap if you expect a 35V input.  Either up the voltage rating of C1 or drop your max input voltage to <30V.

Hi i never intended to use 35v sorry for not being clear but that would be silly. I would use a 9 volt battery. anyone one have any better designs using easily accessible parts.
 

Offline suicidaleggroll

  • Super Contributor
  • ***
  • Posts: 1453
  • Country: us
Re: DIY Iphone Charger
« Reply #9 on: June 16, 2015, 03:19:36 am »
A 9v alkaline battery can't supply that much current, and even if it could the voltage of a "9v" battery drops to more like 7-8v almost immediately, which is too low for that circuit to work.

You could switch to a Pch mosfet for reverse voltage protection, ditch the 1R series resistor, and use an LDO instead of the 7805 to get around the voltage problem, but you'd still have issues pulling that much current from a typical 9v battery.

Now if you dropped the charging current to 500mA, and moved to a switching converter to improve efficiency, you might have a chance.

Here's the data sheet for an energizer alkaline 9v, FYI:
http://data.energizer.com/PDFs/522.pdf
« Last Edit: June 16, 2015, 03:36:25 am by suicidaleggroll »
 

Offline JblissTopic starter

  • Regular Contributor
  • *
  • Posts: 205
Re: DIY Iphone Charger
« Reply #10 on: June 16, 2015, 04:03:41 am »
Does any one possibly have a design
 

Offline JblissTopic starter

  • Regular Contributor
  • *
  • Posts: 205
Re: DIY Iphone Charger
« Reply #11 on: June 16, 2015, 04:09:39 am »
something like this
 

Offline Richard Crowley

  • Super Contributor
  • ***
  • Posts: 4317
  • Country: us
  • KJ7YLK
Re: DIY Iphone Charger
« Reply #12 on: June 16, 2015, 04:18:57 am »
You would be far better off with a pair of AA cells (or even C cells if you have enough space)
Those rectangular 9V batteries are the worst possible efficiency and cost per watt.
And a linear regulator is a huge waste of power.
You didn't mention the raw power source so maybe none of this matters to you??   :-//
 

Offline JblissTopic starter

  • Regular Contributor
  • *
  • Posts: 205
Re: DIY Iphone Charger
« Reply #13 on: June 16, 2015, 04:31:06 am »
Or this switching circut would this be more Efficient ?? 
 

Offline LukeW

  • Frequent Contributor
  • **
  • Posts: 686
Re: DIY Iphone Charger
« Reply #14 on: June 16, 2015, 05:29:16 am »
Can someone enlighten me on the purpose of the wheatstone bridge in the OPs circuit?

It provides a DC bias voltage on the USB D+/D- lines for "supply identification" with certain devices, eg. Apple iPhone, to tell the device what the power supply current capacity is.

https://learn.adafruit.com/minty-boost/icharging

Here's a good explanation.

Look at the schematic not as a Wheatstone bridge, but two separate voltage dividers connected to 5V and Gnd and D+ and D-.


OP: What's your actual power supply input going to be?

You can use any 5V regulator, just take your 5V circuit (buck converter or whatever), and just add the same identifier resistors.

Personally, I would get rid of R4, do you really need it?
Arguably you probably don't really need C2, either.

R1 should be changed to 49.9k, because 49.7k is not a standard E-series value.
(Also, calling both resistors R1 = bad. Even though they have the same value they should have unique names.)

R3 should be changed to 75k (standard E-series, which 74.9k is not), and I would also change R2 to 75k to set the supply current identifier at 500mA.
 

Offline Rick Law

  • Super Contributor
  • ***
  • Posts: 3423
  • Country: us
Re: DIY Iphone Charger
« Reply #15 on: June 16, 2015, 05:54:16 am »
Since you are trying different configuration anyhow, why not consider a cheap 5V buck and just work out the divider to give the D+/D- the voltage level it needs to sense.

Note : EDITed - Corrections made

If you want it to be battery driven, consider 3 or 4 serial 18650 or 14500 (AA size, more compact).  With 4X18650 at say 3000mAH each = 12,000mAH 3000mAH@4x3.7V=14.8V@3000mAH=44WH, you can probably charge your iPhone for a week.


On the other hand, if you want it really compact, 1x18650 2x14500 and with those mini RC buck, it would be smaller than a tube of travel size tooth paste (3 inches by 1 inch diameter).  These RC bucks (see photo) doesn't give the cleanest (noise free) DC, but certainly good enough to use for charging.  (Typical 7V to 20V in for 5V out.  I would not use more than 18V in.  Above 18V, the noise ripple gets very bad.)



Note: I am not endorsing this seller nor am I suggesting anything about this seller.  Just a link to show what I mean by the mini RC converter.
http://www.ebay.com/itm/DC-DC-Converter-Mini-Step-Down-Module-BUCK-Adjustable-3V-5V-16V-for-RC-Plane-/371295065523?pt=LH_DefaultDomain_0&hash=item5672e915b3

Good luck
Rick

EDIT corrections made.  (Must be asleep...)
(a) In serial,  4x18650 you still get only 3000mAH but at 14.8V.  Bucking it back down you get 8880mAH at 5V (at 100% efficiency).  Nothing runs at 100% efficiency, so say at 80% you get around 7000mAH@5V.
(b) 1x18650 doesn't work in buck mode for 5V.  For just one, you need boost.  So better go with 2x14500.
« Last Edit: June 16, 2015, 08:00:28 am by Rick Law »
 

Offline mtdoc

  • Super Contributor
  • ***
  • Posts: 3575
  • Country: us
Re: DIY Iphone Charger
« Reply #16 on: June 16, 2015, 06:08:14 am »
Can someone enlighten me on the purpose of the wheatstone bridge in the OPs circuit?

It provides a DC bias voltage on the USB D+/D- lines for "supply identification" with certain devices, eg. Apple iPhone, to tell the device what the power supply current capacity is.

https://learn.adafruit.com/minty-boost/icharging

Here's a good explanation.

Look at the schematic not as a Wheatstone bridge, but two separate voltage dividers connected to 5V and Gnd and D+ and D-.


Excellent link - just the details I was looking for. Thank you!
 

Offline JblissTopic starter

  • Regular Contributor
  • *
  • Posts: 205
Re: DIY Iphone Charger
« Reply #17 on: June 16, 2015, 06:17:13 am »
Can someone enlighten me on the purpose of the wheatstone bridge in the OPs circuit?

It provides a DC bias voltage on the USB D+/D- lines for "supply identification" with certain devices, eg. Apple iPhone, to tell the device what the power supply current capacity is.

https://learn.adafruit.com/minty-boost/icharging

Here's a good explanation.

Look at the schematic not as a Wheatstone bridge, but two separate voltage dividers connected to 5V and Gnd and D+ and D-.


OP: What's your actual power supply input going to be?

You can use any 5V regulator, just take your 5V circuit (buck converter or whatever), and just add the same identifier resistors.

Personally, I would get rid of R4, do you really need it?
Arguably you probably don't really need C2, either.

R1 should be changed to 49.9k, because 49.7k is not a standard E-series value.
(Also, calling both resistors R1 = bad. Even though they have the same value they should have unique names.)

R3 should be changed to 75k (standard E-series, which 74.9k is not), and I would also change R2 to 75k to set the supply current identifier at 500mA.


Hi thanks for the clarification. so what your saying is that the first circuit i posted should be fine if i make those modifications. al i need it to do is charge my phone in case it dies in and important situation 
 

Offline JblissTopic starter

  • Regular Contributor
  • *
  • Posts: 205
Re: DIY Iphone Charger
« Reply #18 on: June 16, 2015, 06:19:25 am »
Input will be 12 -9v
 

Offline JblissTopic starter

  • Regular Contributor
  • *
  • Posts: 205
Re: DIY Iphone Charger
« Reply #19 on: June 16, 2015, 01:47:30 pm »
 :o
 

Offline JblissTopic starter

  • Regular Contributor
  • *
  • Posts: 205
Re: DIY Iphone Charger
« Reply #20 on: June 16, 2015, 02:00:24 pm »
After some more research i have decided to use a switching regulator such as this circut     


would anyone agree
 

Offline suicidaleggroll

  • Super Contributor
  • ***
  • Posts: 1453
  • Country: us
Re: DIY Iphone Charger
« Reply #21 on: June 16, 2015, 03:16:18 pm »
Hi thanks for the clarification. so what your saying is that the first circuit i posted should be fine if i make those modifications.
Not if you still want to use a 9v battery.
Input will be 12 -9v
So you're no longer planning to use a 9v battery?  What are you going to use?

You can't keep posting schematic after schematic without telling us what you plan to use to power it.
 

Offline mtdoc

  • Super Contributor
  • ***
  • Posts: 3575
  • Country: us
Re: DIY Iphone Charger
« Reply #22 on: June 16, 2015, 03:26:52 pm »
Input will be 12 -9v
So you're no longer planning to use a 9v battery?  What are you going to use?
I think maybe he meant 12  9V batteries in parallel..
 

Offline Monkeh

  • Super Contributor
  • ***
  • Posts: 7990
  • Country: gb
Re: DIY Iphone Charger
« Reply #23 on: June 16, 2015, 04:16:36 pm »
al i need it to do is charge my phone in case it dies in and important situation

http://www.amazon.com/dp/B005X1Y7I2
 

Offline Rick Law

  • Super Contributor
  • ***
  • Posts: 3423
  • Country: us
Re: DIY Iphone Charger
« Reply #24 on: June 16, 2015, 04:41:40 pm »
al i need it to do is charge my phone in case it dies in and important situation

http://www.amazon.com/dp/B005X1Y7I2

Great suggestion.  This looks like a lone 18650 with a boost converter.  Can't get easier than that.  This production model is packaged very attractively.

The boost converter is probably around $1 to $2.  So one can make it cheaper - but, the packaging is going to be hard and no where near as slick.
 

Offline suicidaleggroll

  • Super Contributor
  • ***
  • Posts: 1453
  • Country: us
Re: DIY Iphone Charger
« Reply #25 on: June 16, 2015, 04:50:34 pm »
al i need it to do is charge my phone in case it dies in and important situation

http://www.amazon.com/dp/B005X1Y7I2

My wife has one of those, works great.
 

Offline JblissTopic starter

  • Regular Contributor
  • *
  • Posts: 205
Re: DIY Iphone Charger
« Reply #26 on: June 17, 2015, 03:56:18 am »
Ok just to clear up i will be using a 12v lipo with 3000mah with this circut
thanks.
 

Offline JblissTopic starter

  • Regular Contributor
  • *
  • Posts: 205
Re: DIY Iphone Charger
« Reply #27 on: June 17, 2015, 05:20:49 am »
 O0
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf