{"id":196,"date":"2013-11-14T14:11:33","date_gmt":"2013-11-14T19:11:33","guid":{"rendered":"http:\/\/killernat.com\/?p=196"},"modified":"2014-03-05T17:03:27","modified_gmt":"2014-03-05T22:03:27","slug":"power-down-phone-dead-not-a-problem-images-to-come","status":"publish","type":"post","link":"http:\/\/killernat.com\/?p=196","title":{"rendered":"Power down, phone dead? Not a problem."},"content":{"rendered":"<p>Since most people don&#8217;t own a backup generator (including myself though I would like one). I have been in this situation a few times in the last year\u00a0 due to a new building going up in my area or fires\u00a0 or wind between the power generation facility and the city and have lost power for more than a few hours.<\/p>\n<p>In the longest lasting one I found that my phones battery was pretty close to dead so I pulled out the bread board to remedy that problem my first reaction was to use a lm7805 (<a title=\"lm7805 datasheet (pdf)\" href=\"http:\/\/www.fairchildsemi.com\/ds\/LM\/LM7805.pdf\" target=\"_blank\">datasheet<\/a>) a 5V regulator\u00a0 that would have been nice but I didn&#8217;t have any at the time (the closest electronics store is a 20 min bike ride away (and there POS terminals would probably be dead anyway) so I couldn&#8217;t be bothered but I had a few dozen lm317t&#8217;s (<a title=\"lm317t datasheet (pdf)\" href=\"http:\/\/www.fairchildsemi.com\/ds\/LM\/LM317.pdf\" target=\"_blank\">datasheet<\/a>)\u00a0 a variable regulator<\/p>\n<p>With the last of my phones battery I\u00a0 looked up the data sheet (if I had room I would probably keep a print out of all the components data sheets\u00a0 I own )\u00a0 and built the circuit with the light from the camera flash<\/p>\n<p>The equation for the voltage regulator\u00a0 is\u00a0 Vout = 1.25v*(1+r2\/r1)<\/p>\n<p>I used a 240 ohm resistor for my r1 so 1.25(r2\/240)\u00a0 and I want a near 5v out put. So 5v=\u00a0 ((5\/1.25) -1) *240=720 and the nearest resistor I have is 750. So 1.25(1+(720\/240)) =5.156 close enough! the devices internal regulator can handle an extra 160 mV. In any case its a CMOS logic device so its all 3.3V anyway. I ended up using 2 in parallel to dissipate excess heat (I didn&#8217;t have any TO-92 sized heat sinks).<\/p>\n<p>As for a final product I added some low value caps (.1 uf on the input and a 10 uf on the out put) along with some protection diodes (see final schematic) . I now have it soldered on a perf-board and in an Altoids tin\u00a0 for use in the future. In fact the last time I went camping I brought it with me\u00a0 and it came in handy. The first night there\u00a0 pretty much killed the battery due to the cold night granted the only use I have for my phone was emergency communication and as a time piece (not an issue any more with my pebble).<\/p>\n<p><a href=\"http:\/\/killernat.com\/wp-content\/uploads\/2013\/11\/lm317-basic.png\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-204\" alt=\"lm317 basic\" src=\"http:\/\/killernat.com\/wp-content\/uploads\/2013\/11\/lm317-basic-300x177.png\" width=\"300\" height=\"177\" srcset=\"http:\/\/killernat.com\/wp-content\/uploads\/2013\/11\/lm317-basic-300x177.png 300w, http:\/\/killernat.com\/wp-content\/uploads\/2013\/11\/lm317-basic.png 501w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>(please note that the pin numbers are wrong out is pin 2 and adj is 3)<\/p>\n<p><a href=\"http:\/\/killernat.com\/wp-content\/uploads\/2013\/11\/7805usb.png\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-206\" alt=\"7805usb\" src=\"http:\/\/killernat.com\/wp-content\/uploads\/2013\/11\/7805usb-300x153.png\" width=\"300\" height=\"153\" srcset=\"http:\/\/killernat.com\/wp-content\/uploads\/2013\/11\/7805usb-300x153.png 300w, http:\/\/killernat.com\/wp-content\/uploads\/2013\/11\/7805usb.png 497w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/killernat.com\/wp-content\/uploads\/2013\/11\/317t-final.png\"><img loading=\"lazy\" class=\"alignnone  wp-image-205\" alt=\"317t final\" src=\"http:\/\/killernat.com\/wp-content\/uploads\/2013\/11\/317t-final-300x203.png\" width=\"300\" height=\"203\" srcset=\"http:\/\/killernat.com\/wp-content\/uploads\/2013\/11\/317t-final-300x203.png 300w, http:\/\/killernat.com\/wp-content\/uploads\/2013\/11\/317t-final.png 859w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>(please note that the pin numbers are wrong out is pin 2 and adj is 3)<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since most people don&#8217;t own a backup generator (including myself though I would like one). I have been in this situation a few times in the last year\u00a0 due to a new building going up in my area or fires\u00a0 or wind between the power generation facility and the city and have lost power for more than a few hours. In the longest lasting one I found that my phones battery was pretty close to dead so I pulled out the bread board to remedy that problem my first reaction was to use a lm7805 (datasheet) a 5V regulator\u00a0 that would have been nice but I didn&#8217;t have any at the time (the closest electronics store is a 20 min bike ride away (and there POS terminals would probably be dead anyway) so I couldn&#8217;t be bothered but I had a few dozen lm317t&#8217;s (datasheet)\u00a0 a variable regulator With the last of my phones battery I\u00a0 looked up the data sheet (if I had room I would probably keep a print out of all the components data sheets\u00a0 I own )\u00a0 and built the circuit with the light from the camera flash The equation for the voltage regulator\u00a0 is\u00a0 Vout = 1.25v*(1+r2\/r1) I used a 240 ohm resistor for my r1 so 1.25(r2\/240)\u00a0 and I want a near 5v out put. So 5v=\u00a0 ((5\/1.25) -1) *240=720 and the nearest resistor I have is 750. So 1.25(1+(720\/240)) =5.156 close enough! the devices internal regulator can handle an extra 160 mV. In any case its a CMOS logic device so its all 3.3V anyway. I ended up using 2 in parallel to dissipate excess heat (I didn&#8217;t have any TO-92 sized heat sinks). As for a final product I added some low value caps (.1 uf on the input and a 10 uf on the out put) along with some protection diodes (see final schematic) . I now have it soldered on a perf-board and in an Altoids tin\u00a0 for use in the future. In fact the last time I went camping I brought it with me\u00a0 and it came in handy. The first night there\u00a0 pretty much killed the battery due to the cold night granted the only use I have for my phone was emergency communication and as a time piece (not an issue any more with my pebble). (please note that the pin numbers are wrong out is pin [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[18],"tags":[],"_links":{"self":[{"href":"http:\/\/killernat.com\/index.php?rest_route=\/wp\/v2\/posts\/196"}],"collection":[{"href":"http:\/\/killernat.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/killernat.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/killernat.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/killernat.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=196"}],"version-history":[{"count":12,"href":"http:\/\/killernat.com\/index.php?rest_route=\/wp\/v2\/posts\/196\/revisions"}],"predecessor-version":[{"id":243,"href":"http:\/\/killernat.com\/index.php?rest_route=\/wp\/v2\/posts\/196\/revisions\/243"}],"wp:attachment":[{"href":"http:\/\/killernat.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/killernat.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=196"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/killernat.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}