<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3637625845897811937</id><updated>2011-04-21T15:46:40.477-07:00</updated><category term='intro'/><title type='text'>Analog Arsonist</title><subtitle type='html'>L'avant-garde reprendre d'un ingénieur</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://analogarsonist.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3637625845897811937/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://analogarsonist.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Analog Arsonist</name><uri>http://www.blogger.com/profile/15803511934855111608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_o2M423QHXH0/SSiEKvIFftI/AAAAAAAAACE/tO3RbHopEzo/S220/100_1075.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3637625845897811937.post-1055385607450340495</id><published>2009-01-04T09:40:00.000-08:00</published><updated>2009-01-04T09:43:13.785-08:00</updated><title type='text'>Complete charging circuit with line-out</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_o2M423QHXH0/SWD1JqiDrNI/AAAAAAAAADM/jn9ZVz1wdXc/s1600-h/IPhone+Charging+Schematic.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 400px; height: 311px;" src="http://4.bp.blogspot.com/_o2M423QHXH0/SWD1JqiDrNI/AAAAAAAAADM/jn9ZVz1wdXc/s400/IPhone+Charging+Schematic.jpg" alt="" id="BLOGGER_PHOTO_ID_5287495508917726418" border="0" /&gt;&lt;/a&gt;Here is the complete circuit that should hopefully work. As I mentioned in earlier posts, it's the ~2.5v on the USB data pins that trigger the iphone to go into charge mode. The resistances are high because I don't want to waste power.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3637625845897811937-1055385607450340495?l=analogarsonist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://analogarsonist.blogspot.com/feeds/1055385607450340495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3637625845897811937&amp;postID=1055385607450340495' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3637625845897811937/posts/default/1055385607450340495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3637625845897811937/posts/default/1055385607450340495'/><link rel='alternate' type='text/html' href='http://analogarsonist.blogspot.com/2009/01/complete-charging-circuit-with-line-out.html' title='Complete charging circuit with line-out'/><author><name>Analog Arsonist</name><uri>http://www.blogger.com/profile/15803511934855111608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_o2M423QHXH0/SSiEKvIFftI/AAAAAAAAACE/tO3RbHopEzo/S220/100_1075.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_o2M423QHXH0/SWD1JqiDrNI/AAAAAAAAADM/jn9ZVz1wdXc/s72-c/IPhone+Charging+Schematic.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3637625845897811937.post-8750106125590573965</id><published>2009-01-04T08:18:00.000-08:00</published><updated>2009-01-04T09:55:23.802-08:00</updated><title type='text'>IPhone Dock (Part II)</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_o2M423QHXH0/SWD4AyMbWlI/AAAAAAAAADU/9mgpj1HyGlE/s1600-h/IPhone_Dock_Schematic.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 400px; height: 311px;" src="http://1.bp.blogspot.com/_o2M423QHXH0/SWD4AyMbWlI/AAAAAAAAADU/9mgpj1HyGlE/s400/IPhone_Dock_Schematic.jpg" alt="" id="BLOGGER_PHOTO_ID_5287498654890547794" border="0" /&gt;&lt;/a&gt;I believe I have found the proper resistance to mimic a dock. I have used 66kohm from pin 21 (ACC) to pin 1 (GND) and the "This accessory is not made to work with the iphone" message does not come up when connecting the iphone to the line-out circuit. I will post what I believe to be the schematic for the IPhone dock, which is how I determined what the proper resistance should be. I think the majority if this circuit is a debounce switch for the line-out jack. This is done by essentially floating pin11 (serial gnd) until the jack is inserted into the plug (J4). R21, R23, and R4 are connected serially between VDD and GND when no device is connected to the line-out plug. Most of the voltage drops across R21 which means Q2 is "low".  Once the device is plugged in, R21, R23 and R4 are disconnected from GND so there is no voltage drop across these resistors which means Q2 goes high (~3.14v in reality). Since the "black box" is probably two transistors, I think that Q2 "on" allows Q1 and Q3 to connect (emitter to collector), effectively grounding pin 11 (serial gnd). At the same time, this sudden change in voltage is seen as a trigger (edge) to the HFC4098B. I believe this causes Q(2)' to either pulse Q5 or to stay at VDD but it allows Q4 and Q6 to connect. When Q4 and Q6 connect, R18 and R12 are now in parallel for an equivalent resistance of 67.013k. The resistor R18 is what everyone sees when probing the dock but I believe that when power is applied to the monostable multivibrator, the resistance becomes the equivalent parallel value. I used an exact 66k series combination since that's as close as I cared to get and it is working for me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3637625845897811937-8750106125590573965?l=analogarsonist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://analogarsonist.blogspot.com/feeds/8750106125590573965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3637625845897811937&amp;postID=8750106125590573965' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3637625845897811937/posts/default/8750106125590573965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3637625845897811937/posts/default/8750106125590573965'/><link rel='alternate' type='text/html' href='http://analogarsonist.blogspot.com/2009/01/iphone-dock-part-ii.html' title='IPhone Dock (Part II)'/><author><name>Analog Arsonist</name><uri>http://www.blogger.com/profile/15803511934855111608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_o2M423QHXH0/SSiEKvIFftI/AAAAAAAAACE/tO3RbHopEzo/S220/100_1075.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_o2M423QHXH0/SWD4AyMbWlI/AAAAAAAAADU/9mgpj1HyGlE/s72-c/IPhone_Dock_Schematic.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3637625845897811937.post-7110972508937735796</id><published>2008-12-29T23:33:00.000-08:00</published><updated>2009-01-04T08:17:56.914-08:00</updated><title type='text'>IPhone Dock</title><content type='html'>I finally got a nice, new multimeter for Christmas (thanks bro!). To break her in I tore apart my Iphone dock to take some measurements of my own. One thing lead to another and I started creating a schematic of the small circuit board. It looks to be a three layer PCB with some test pads and some vias. There are only two active elements on the board. One is the HCF4098B Monostable Multivibrator from ST Micro and the other is illegible but the reference designator is "Q1" which means it's a transistor. Since it's in a six pin SOIC it's probably a dual.  This is why everyone is getting a 12.5Mohm reading between pin 21 and pin 11, they are only connected through Q1 (rds off?). There is also a pin 7 on the iphone male connector that is undocumented but appears to just be an audio ground and is common with pin 2. I will try this on the line-out circuit to see if it brings up a message. Right now I need sleep...&lt;br /&gt;&lt;br /&gt;[edit] Leaving pin 7 disconnected has no noticeable affect on line out.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3637625845897811937-7110972508937735796?l=analogarsonist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://analogarsonist.blogspot.com/feeds/7110972508937735796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3637625845897811937&amp;postID=7110972508937735796' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3637625845897811937/posts/default/7110972508937735796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3637625845897811937/posts/default/7110972508937735796'/><link rel='alternate' type='text/html' href='http://analogarsonist.blogspot.com/2008/12/iphone-dock.html' title='IPhone Dock'/><author><name>Analog Arsonist</name><uri>http://www.blogger.com/profile/15803511934855111608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_o2M423QHXH0/SSiEKvIFftI/AAAAAAAAACE/tO3RbHopEzo/S220/100_1075.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3637625845897811937.post-8787271227240751043</id><published>2008-11-22T15:31:00.000-08:00</published><updated>2008-11-22T16:16:36.104-08:00</updated><title type='text'>Digital Oscilloscope</title><content type='html'>I've been developing the hardware and software to make a digital oscilloscope. I would not mind having a standalone scope but they are pricey and it's a good learning experience.  I should have been documenting my progress because I won't remember where I got stuck.  Anyway, I am using a PIC16F690 on the PICKit2 as the processor. It has an ADC that I will use to convert the waveforms to binary. That binary, possibly scaled, will then be transmitted via the UART to a  RS232 transceiver and on to the PC. The OS (windows) will then display the data and allow additional analysis. So far, I've managed to transmit the digital conversions from a potentiometer via rs232 and display the ASCII equivalent in telnet. On the PC side I'm using Microsoft Visual Studio C++ 2008 Express Edition with the  Windows Forms (winforms) API to render my windows. For the graphing, I am using OpenGL. All the software is working and I've written some test serial port applications so I know that part of the code works. All that is left is to tie it all together and refine it. Here are some screenshots. &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_o2M423QHXH0/SSicBoz6NaI/AAAAAAAAACc/hXtfc_j01dg/s1600-h/Scope1.JPG"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px; height: 144px;" src="http://3.bp.blogspot.com/_o2M423QHXH0/SSicBoz6NaI/AAAAAAAAACc/hXtfc_j01dg/s200/Scope1.JPG" alt="" id="BLOGGER_PHOTO_ID_5271634915786110370" border="0" /&gt;&lt;/a&gt;&lt;a style="" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_o2M423QHXH0/SSicLtlBxmI/AAAAAAAAACs/171KEbwtk4w/s1600-h/Scope3.JPG"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px; height: 144px;" src="http://2.bp.blogspot.com/_o2M423QHXH0/SSicLtlBxmI/AAAAAAAAACs/171KEbwtk4w/s200/Scope3.JPG" alt="" id="BLOGGER_PHOTO_ID_5271635088864560738" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_o2M423QHXH0/SSicIKedJeI/AAAAAAAAACk/kSDF-Fe6mPQ/s1600-h/Scope2.JPG"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 200px; height: 144px;" src="http://4.bp.blogspot.com/_o2M423QHXH0/SSicIKedJeI/AAAAAAAAACk/kSDF-Fe6mPQ/s200/Scope2.JPG" alt="" id="BLOGGER_PHOTO_ID_5271635027902146018" border="0" /&gt;&lt;/a&gt;The available COM ports are automatically detected for you to select. The draw button creates the OpenGL window. The 'hdiv' and 'vdiv' equally subdivide the window. The width button obviously changes the width of the line. Everything is done relative to the number of pixels. I haven't put much thought into how the user will be able to interact with the data but that will be the fun part. I envision being able to freeze the screen and switch to the frequency domain on any selected range. The next step for me is to put the RS232 transceiver and DSUB9 connector onto a PBA with access via 4 pin connector (VDD, GND, Rx and Tx). This way i will be able to use it with any other device with a UART.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3637625845897811937-8787271227240751043?l=analogarsonist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://analogarsonist.blogspot.com/feeds/8787271227240751043/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3637625845897811937&amp;postID=8787271227240751043' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3637625845897811937/posts/default/8787271227240751043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3637625845897811937/posts/default/8787271227240751043'/><link rel='alternate' type='text/html' href='http://analogarsonist.blogspot.com/2008/11/digital-oscilloscope.html' title='Digital Oscilloscope'/><author><name>Analog Arsonist</name><uri>http://www.blogger.com/profile/15803511934855111608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_o2M423QHXH0/SSiEKvIFftI/AAAAAAAAACE/tO3RbHopEzo/S220/100_1075.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_o2M423QHXH0/SSicBoz6NaI/AAAAAAAAACc/hXtfc_j01dg/s72-c/Scope1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3637625845897811937.post-6765548285621956813</id><published>2008-11-19T19:32:00.000-08:00</published><updated>2008-11-22T15:31:50.991-08:00</updated><title type='text'>LOD on iphone</title><content type='html'>The resistor on pin 21 to common does not work.  That value has to be for something because I don't get the "this accessory is not made for the iphone" message. However, if I float pin 21, the audio starts coming out of the line out but then the accessory message pops up. Why is Apple whoring the directions and why are people not sharing the information after apparently paying for it? I'm going to email Apple and ask them what the values are.  OK, done. We'll see what happens with that. Back to keyword searching :(&lt;br /&gt;&lt;br /&gt;edit: I stumbled across an article about iphone accessory development. It seems there is some Apple standard or protocol that developers must adhere to get the "iphone compatible" cert.  Until I can get one of these products to see how it's done, I'm not going to mess with the iphone anymore.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3637625845897811937-6765548285621956813?l=analogarsonist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://analogarsonist.blogspot.com/feeds/6765548285621956813/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3637625845897811937&amp;postID=6765548285621956813' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3637625845897811937/posts/default/6765548285621956813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3637625845897811937/posts/default/6765548285621956813'/><link rel='alternate' type='text/html' href='http://analogarsonist.blogspot.com/2008/11/lod-on-iphone.html' title='LOD on iphone'/><author><name>Analog Arsonist</name><uri>http://www.blogger.com/profile/15803511934855111608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_o2M423QHXH0/SSiEKvIFftI/AAAAAAAAACE/tO3RbHopEzo/S220/100_1075.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3637625845897811937.post-5336746427845293163</id><published>2008-11-17T21:20:00.000-08:00</published><updated>2008-11-17T21:24:03.665-08:00</updated><title type='text'>Adding LOD circuit</title><content type='html'>Going to try this tomorrow to see if I took care of the 'accessory' message.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_o2M423QHXH0/SSJRPlHdIcI/AAAAAAAAAB4/3j2T0sM9rrY/s1600-h/charging_circuit_LOD.JPG"&gt;&lt;img style="cursor: pointer; width: 200px; height: 156px;" src="http://4.bp.blogspot.com/_o2M423QHXH0/SSJRPlHdIcI/AAAAAAAAAB4/3j2T0sM9rrY/s200/charging_circuit_LOD.JPG" alt="" id="BLOGGER_PHOTO_ID_5269863842080170434" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3637625845897811937-5336746427845293163?l=analogarsonist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://analogarsonist.blogspot.com/feeds/5336746427845293163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3637625845897811937&amp;postID=5336746427845293163' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3637625845897811937/posts/default/5336746427845293163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3637625845897811937/posts/default/5336746427845293163'/><link rel='alternate' type='text/html' href='http://analogarsonist.blogspot.com/2008/11/adding-lod-circuit.html' title='Adding LOD circuit'/><author><name>Analog Arsonist</name><uri>http://www.blogger.com/profile/15803511934855111608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_o2M423QHXH0/SSiEKvIFftI/AAAAAAAAACE/tO3RbHopEzo/S220/100_1075.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_o2M423QHXH0/SSJRPlHdIcI/AAAAAAAAAB4/3j2T0sM9rrY/s72-c/charging_circuit_LOD.JPG' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3637625845897811937.post-6421713686983678258</id><published>2008-08-02T13:00:00.000-07:00</published><updated>2008-08-02T13:00:00.403-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='intro'/><title type='text'>Introduction</title><content type='html'>I am starting this blog to document the development of hobby projects that i try to work on in my spare time, i.e., not working.  I do this to further my education while work at a pace I'm comfortable with.  It's ceases to be a hobby when one is demanding results.  I enjoyed that type of structured learning at a University but that's why you pay money, it's like having a personal trainer.  It's harder to skip the workout when you know someone is keeping track.  Anyway, I DO hate writing without a point..I don't expect anyone will read this so I just wasted 30 minutes&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3637625845897811937-6421713686983678258?l=analogarsonist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://analogarsonist.blogspot.com/feeds/6421713686983678258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3637625845897811937&amp;postID=6421713686983678258' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3637625845897811937/posts/default/6421713686983678258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3637625845897811937/posts/default/6421713686983678258'/><link rel='alternate' type='text/html' href='http://analogarsonist.blogspot.com/2008/08/introduction.html' title='Introduction'/><author><name>Analog Arsonist</name><uri>http://www.blogger.com/profile/15803511934855111608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_o2M423QHXH0/SSiEKvIFftI/AAAAAAAAACE/tO3RbHopEzo/S220/100_1075.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3637625845897811937.post-6493589267304151590</id><published>2008-08-02T10:00:00.000-07:00</published><updated>2008-08-02T13:06:41.307-07:00</updated><title type='text'>iPhone 9V (PP3) battery charger</title><content type='html'>I've had an iPhone since the price dropped on the first model.  I think the first time I became aware of hacks was when that kid from NY hacked the SIM card.  Anyway, I started reading and realized there were quite  few opportunities to develop some cool iPhone accessories.  I am aware that there are already implementations of some hardware like iPod controls built into cars and those boombox iPod players.  I want to do it from scratch because I learn better that way...I attribute that to the idea that I'm more likely to learn from my own mistakes than someone else's.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_o2M423QHXH0/SJSsAiBtcQI/AAAAAAAAABQ/QgSp70yaVjQ/s1600-h/charging_circuit.JPG"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://bp1.blogger.com/_o2M423QHXH0/SJSsAiBtcQI/AAAAAAAAABQ/QgSp70yaVjQ/s200/charging_circuit.JPG" alt="" id="BLOGGER_PHOTO_ID_5229994192417943810" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Lastnight I created the mobile battery charger on a breadboard and got the iPhone to enable its internal charging circuit and start charging.  This is probably the simplest thing you can do.  I chose a 9V battery and drop it down to 5V using a linear &lt;a href="http://www.fairchildsemi.com/ds/LM/LM7805.pdf"&gt;regulator&lt;/a&gt;.  &lt;a href="http://en.wikipedia.org/wiki/AA_batteries"&gt;AA&lt;/a&gt; batteries would probably last longer than the &lt;a href="http://en.wikipedia.org/wiki/PP3_battery"&gt;9V&lt;/a&gt; but you need four of them and that's three more batteries than I was interested in.  You only need four pins out of the thirty for this to work (the connector that comes with the iPhone has 5/30 pins, the extra being the accessory indicator/serial enable pin).&lt;br /&gt;&lt;br /&gt;If you leave the USB data pins floating, the charging circuit on-board the iPhone will not enable.  &lt;a href="http://tzywen.com/modules.php?name=News&amp;amp;file=article&amp;amp;sid=696"&gt;Apparently&lt;/a&gt;, a &lt;a href="http://www.linear.com/pc/productDetail.do?navId=H0,C1,C1003,C1037,C1584,P12292"&gt;chip&lt;/a&gt; (LTC4066) within the circuit senses these pins to detect when it is time to use USB power instead of battery power.  I just split the 5V down to 2.5V using 470k resistors and fed this to both USB data pins.  I am not sure if the 4066 has a minimum input current requirement (for on-board pull-down resistors) but it is working with the 470k resistors.  If you are worried about the resistor or voltage value, you could probe (mine is out of batteries ATM) between the data pins and GND of your Apple wall-wart.  It appears that as long as these voltages are above 1.225V the circuit will engage.&lt;br /&gt;&lt;br /&gt;The next thing I will try are the audio outputs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3637625845897811937-6493589267304151590?l=analogarsonist.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://analogarsonist.blogspot.com/feeds/6493589267304151590/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3637625845897811937&amp;postID=6493589267304151590' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3637625845897811937/posts/default/6493589267304151590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3637625845897811937/posts/default/6493589267304151590'/><link rel='alternate' type='text/html' href='http://analogarsonist.blogspot.com/2008/08/iphone-9v-pp3-battery-charger.html' title='iPhone 9V (PP3) battery charger'/><author><name>Analog Arsonist</name><uri>http://www.blogger.com/profile/15803511934855111608</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_o2M423QHXH0/SSiEKvIFftI/AAAAAAAAACE/tO3RbHopEzo/S220/100_1075.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_o2M423QHXH0/SJSsAiBtcQI/AAAAAAAAABQ/QgSp70yaVjQ/s72-c/charging_circuit.JPG' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
