<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ToddFun.com &#187; Electronics</title>
	<atom:link href="http://www.toddfun.com/category/electronics/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.toddfun.com</link>
	<description>Fun stuff Todd likes to do or discuss.</description>
	<lastBuildDate>Wed, 01 Feb 2012 00:29:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Troubleshoot and repair a timer control</title>
		<link>http://www.toddfun.com/2011/12/11/troubleshoot-and-repair-a-timer-control/</link>
		<comments>http://www.toddfun.com/2011/12/11/troubleshoot-and-repair-a-timer-control/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 06:47:39 +0000</pubDate>
		<dc:creator>Todd Harrison</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://www.toddfun.com/2011/12/12/troubleshoot-and-repair-a-timer-control/</guid>
		<description><![CDATA[Today I’m going to show a video on how to troubleshoot and repair a timer control. I will be sharing my evaluation of the problem and my final solution. Along the way I demonstrate three different methods on how to remove electronic components and I give some hints to make it easier. I show how [...]]]></description>
			<content:encoded><![CDATA[<p>Today I’m going to show a video on how to troubleshoot and repair a timer control. I will be sharing my evaluation of the problem and my final solution. Along the way I demonstrate three different methods on how to remove electronic components and I give some hints to make it easier. I show how to fix a fused relay and in just this blog posting, not the video, I also document how to test a bipolar junction transistor (BJT).</p>
<p>The three methods I cover are:<br />
1) Manual desoldering pump at (<a href="http://www.adafruit.com/products/148" target="_blank">adafruit.com</a>)<br />
2) 30 Watt Electric desoldering Tool at (<a href="http://www.amazon.com/30-Watt-Electric-Desoldering-Tool/dp/B0002KR9CK" target="_blank">amazon.com</a>) or (<a href="http://www.elexp.com/sdr_0848.htm" target="_blank">elexp.com</a>)<br />
3) Solder wick at (<a href="http://www.adafruit.com/products/149" target="_blank">adafruit.com</a>)</p>
<p><object width="570" height="320" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/VUAu_zXsudM?version=3&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed width="570" height="320" type="application/x-shockwave-flash" src="http://www.youtube.com/v/VUAu_zXsudM?version=3&amp;hl=en_US" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p>If you don’t care to watch the video I will summarize below.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/control.jpg" alt="" width="570" height="320" /></p>
<p>I have an exterior timer control that turns my Christmas lights on at dusk and off after 6 hours. I noticed they never turned off one day and thought I had left the timer control set to the ON position. But no, it was set to off 6 hours after dusk. I then set the selection switch to OFF but still it was on. I unplugged and plugged it back in but got the same problem. It was time to go to the electronics bench.</p>
<h2><span style="color: #ff0000;">CLICK TO READ ALL &#8212;&gt;: <span id="more-1548"></span></span></h2>
<p>&nbsp;</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/hammer.jpg" alt="" width="570" height="320" /></p>
<p>NO SCREWS!! Damn now I have to bust this open. That alone might mean this is not going to be fixable. A few swift whacks with a hammer along the glued seams and it popped open. NICE! If I can fix it I can glue it up and be back to its water tight condition.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/bad_transistor.jpg" alt="" width="570" height="320" /></p>
<p>The board was single sided and all through hole construction. A quick glance around the board and I spied what looked like a fried transistor wired up to turn a 15A 125VAC relay on and off. The bottom of the transistor was all bubbled and I was sure it was a dead short causing the relay to be on all the time.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/12/bad_transistor_close_up1.jpg"><img class="alignnone size-full wp-image-1551" title="bad_transistor_close_up" src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/bad_transistor_close_up1.jpg" alt="" width="256" height="250" /></a></p>
<p>Above is a close up of transistor.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/solder_wick.jpg" alt="" width="570" height="320" /></p>
<p>I removed the bad transistor using solder wick for one leg,</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/solder_pump.jpg" alt="" width="570" height="320" /></p>
<p>desolder pump for another leg</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/electric_desoldering_tool.jpg" alt="" width="528" height="197" /></p>
<p>and for the last leg I used a 30 watt electric desoldering wand. This <a href="http://www.elexp.com/sdr_0848.htm" target="_blank">electric desolder wand </a>is under $30 at most places and is a super greate tool IF YOU KEEP IT CLEAN! I used these three methods just to show the video viewers how each method works. The hints I give along the way are to set your solder iron to max when using solder wick and preheat the solder before applying the wick. I have also read that adding lead based solder to the joint in advance also helps the lead free solder wick up into the braid better.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/clean_plunger0.jpg" alt="" width="570" height="320" /></p>
<p>This is the plunger in the desolder wand and it needs to be cleaned often!</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/clean_plunger2.jpg" alt="" width="570" height="320" /></p>
<p>This stuff will get on the o-rings and keep you from having a strong solder sucking vacuum.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/clean_plunger3.jpg" alt="" width="570" height="320" /></p>
<p>I demonstrate how important it is to clean desolder pumps by taking one apart and using a bottle brush to get all the old solder scrap out. Then add a little Vaseline to the o-rings before reassembling.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/electric_desoder_wand_clean.jpg" alt="" width="570" height="320" /></p>
<p>Finally for the electric desolder pump/wand combo you must clean the hole in the tip with a wire that comes with the tool. If you follow these tips your component removal will be easy.</p>
<p>After getting the transistor out I take down the component number so I could lookup if it was a PNP or NPN and what leads were emitter, collector and base in the package. With this information I use the below transistor testing image to test if the transistor is good.</p>
<p>Photo from: “Using Your Meter” by Alvis J. Evans at (<a href="http://www.amazon.com/Using-Your-Meter-Vom-Multitest/dp/B000NQFFHE" target="_blank">amazon.com</a>) I did alter this image to be easier to read and use for DMM diode mode testing.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/12/test_bjt_edit.jpg"><img class="alignnone size-medium wp-image-1553" title="test_bjt_edit" src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/test_bjt_edit-570x437.jpg" alt="" width="570" height="437" /></a></p>
<p>These images are really for using an ohm meter but if you put your DMM in diode test mode you get the same test except you’re testing the PN junction between the positive and negative DDM test leads instead of a straight up resistance. Where you see “LOW” you should get a forward bias diode junction pass on your DMM indicating a very low electrical resistance and where you see “HIGH” you should get OL on your DMM meaning “open loop” junction or very high electrical resistance.</p>
<p>If your type of transistor, NPN or PNP, fails one of the tests in any direction then it is bad and needs to be replaced. Please note that this is not a complete electrical test of a BJT transistor. A transistor can have other issues like high leakage and in circuit modes of failure that are beyond the scope of what I want to cover here. But if it fails this simple test it is bad and you can confidently know you have to replace the transistor.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/testing_transistor.jpg" alt="" width="570" height="320" /></p>
<p>My transistor passed with flying colors! So my problem was not this transistor and closer inspection revealed the melted plastic by the component’s legs was just some glue used to seal the case.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/relay.jpg" alt="" width="570" height="320" /></p>
<p>Nothing else controls the relay on my board so it must be the relay itself. I looked up the relays datasheet on the internet and found its pin out configuration then tested between the in and out of the normally open (NO) pins.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/testing_relay.jpg" alt="" width="570" height="320" /></p>
<p>Sure enough it was a dead short so the relay’s contact points must be fused together.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/cutting_of_top.jpg" alt="" width="570" height="320" /></p>
<p>Just for a bit of fun I used my Dremel tool and cut off the plastic top of the relay to see the failure. Sure enough the points were fused.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/free_the_points.jpg" alt="" width="570" height="320" /></p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/12/free_the_points_close_up.jpg"><img class="alignnone size-medium wp-image-1552" title="free_the_points_close_up" src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/free_the_points_close_up-570x548.jpg" alt="" width="570" height="548" /></a></p>
<p>I popped the relay&#8217;s contact points apart and cleaned them up with some metal grade sandpaper. After tested the coils I soldered it back into the circuit along with the transistor I removed.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/final_test.jpg" alt="" width="570" height="320" /></p>
<p>A quick test with my radio as the load showed the timer control was now working great!</p>
<p>I don’t want to put the repaired controller back in service knowing the relay has already had such damage so I will order a suitable replacement the next time I make a bulk parts order. For a couple of bucks I will have my Christmas light timer control back in service and not in a landfill.</p>
<p><span style="text-decoration: underline;"><strong><span style="color: #ff0000; text-decoration: underline;">UPDATE Dec 24th 2011:</span></strong></span></p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/12/new_relay.jpg"><img class="alignnone size-medium wp-image-1560" title="new_relay" src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/new_relay-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>My replacement relay has arrived. I dropped it in, sealed the box with hot glue and put it back in service. It is working perfectly. I replaced the relay with a 10Amp instead of the original 15Amp but that is just fine for my Christmas lighting plus it was cheaper at just $1.75 USA. The new relay was SPDT (single pole double throw) so I had to snip off the NC (normally closed) pin.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/thanks.jpg" alt="" width="570" height="320" /></p>
<p>Thanks for visiting and don’t forget to <a href="http://www.youtube.com/subscription_center?feature=iv&amp;add_user=toddrharrison" target="_blank">subscribe to my YouTube channel</a> if you like my videos.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.toddfun.com/2011/12/11/troubleshoot-and-repair-a-timer-control/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Pomona test lead holder review</title>
		<link>http://www.toddfun.com/2011/12/05/pomona-test-lead-holder-review/</link>
		<comments>http://www.toddfun.com/2011/12/05/pomona-test-lead-holder-review/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 00:00:03 +0000</pubDate>
		<dc:creator>Todd Harrison</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://www.toddfun.com/2011/12/06/pomona-test-lead-holder-review/</guid>
		<description><![CDATA[Today I’m going to reviewing two types of Pomona test lead holders. A representative from Farnell contacted me and asked if I wanted to review some products. I said, “Sure, free supplies for my lab!” Actually, I found out that anybody can sign up for their product “Road Test” program at Element14.com but not everyone [...]]]></description>
			<content:encoded><![CDATA[<p>Today I’m going to reviewing two types of Pomona test lead holders.</p>
<p><object width="570" height="320" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/xMMjCLQ1c4E?version=3&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed width="570" height="320" type="application/x-shockwave-flash" src="http://www.youtube.com/v/xMMjCLQ1c4E?version=3&amp;hl=en_US" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p>A representative from <a href="http://www.farnell.com/" target="_blank">Farnell</a> contacted me and asked if I wanted to review some products. I said, “Sure, free supplies for my lab!” Actually, I found out that anybody can sign up for their product “Road Test” program at <a href="http://www.element14.com/community/index.jspa" target="_blank">Element14.com</a> but not everyone is selected. <a href="http://www.farnell.com/" target="_blank">Farnell</a> is a European company and known as<a href="http://www.element14.com/community/index.jspa" target="_blank"> Element14</a> in Asia and <a href="http://www.newark.com" target="_blank">Newark</a> in America (<a href="http://mkt-newark.com/Newark_2011/index.html?page=1">online catalog</a>). But they also have a nice online community site at <a href="http://www.element14.com/community/index.jspa" target="_blank">Element14.com/Community</a> where you can get to their “Store” for your region.</p>
<p>For the “Road Test” I chose to review some different test lead management hangers made by <a href="http://www.newark.com/Pomona" target="_blank">Pomona</a>. I have quite the mess of jumpers, patch cables, DMM probes and oscilloscope probes hanging on my peg board behind my lab bench. That is not a good way to store these and they are very difficult to access on peg board.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/1beforewall.jpg" alt="" width="570" height="427" /></p>
<p>I selected two sizes with two different mounting options for this review. The <a href="http://www.newark.com/pomona/1508/test-lead-holder/dp/34F956" target="_blank">Pomona model 1508</a> with 14 slots at 0.21in (5.33mm) opening is great for jumpers, patch cable and test leads. The 1508 model needs to mount using screws.</p>
<p>&lt;photo 1508&gt;</p>
<p><a href="http://www.newark.com/pomona/1508/test-lead-holder/dp/34F956" target="_blank"><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/1508_pomona.jpg" alt="" width="413" height="181" /></a></p>
<p>I also got the <a href="http://www.newark.com/pomona/4408m/magnetic-test-lead-storage-rack/dp/29C2990" target="_blank">Pomona model 4408M</a> with 8 slots at 0.32in (8.13mm) opening with magnet mounting. The 4408M is nice for oscilloscope probes and larger items.</p>
<p>&lt;photo 4408M&gt;</p>
<p><a href="http://www.newark.com/pomona/4408m/magnetic-test-lead-storage-rack/dp/29C2990" target="_blank"><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/4408m_pomona.jpg" alt="" width="385" height="129" /></a></p>
<p>I was quite disappointed to find that you lose two slots for the magnet mount because they just bend the outside prongs down and add stick on magnets. This magnetic option drops a <a href="http://www.newark.com/pomona/4408/test-lead-holder/dp/34F1017" target="_blank">model 4408</a> with 10 slots to a 4408M with only 8 slots. If I had known that I would have got the model 4408 and just added my own magnetic plate. The photo for 4408M at Neward.com is curretly wrong and shows the model 2708 without bent prongs.<br />
The magnetic option was not strong enough for the thin metal in my garage door anyway so I bent the two extra prongs up and used the screw mounts.</p>
<p>You can fabricate your own test lead hangers but at these prices it just makes sense to buy.<br />
<a href="http://www.newark.com/pomona/1508/test-lead-holder/dp/34F956" target="_blank">1508 is $17.53 USD</a> (at the time of writing this it is on sale for $12.46)<br />
<a href="http://www.newark.com/pomona/4408/test-lead-holder/dp/34F1017" target="_blank">4408 is $14.65 USD </a> (at the time of writing this it is on sale for $10.43)<br />
<a href="http://www.newark.com/pomona/4408m/magnetic-test-lead-storage-rack/dp/29C2990" target="_blank">4408M with magnet mount is $32.13 USD</a>  (at the time of writing this it is on sale for $23.46)</p>
<p>Here are the after shots of my lab. WOW these hangers sure helped clean things up and I have already found it much easier to find and select items.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/2afterwall_000.jpg" alt="" width="570" height="427" /></p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/3afterfull_000.jpg" alt="" width="570" height="427" /></p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/4afterscopeprobes_000.jpg" alt="" width="570" height="427" /></p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/12/5afterjumpers_000.jpg" alt="" width="570" height="427" /></p>
<p>I even found some lost jumpers and micro hooks. I thought they were gone forever but were just under the pile of cables hanging on my peg board. I will not be losing track of such items anymore!</p>
<p>I guess I will have to get one more 1508 because I have so many jumper cables. I may even get their biggest hanger <a href="http://www.newark.com/pomona/2708/test-lead-storage-rack/dp/34F957" target="_blank">model 2708 </a>with 9 slots at 0.45in (11.43mm) opening for my PC power cords and wall warts.</p>
<p>Thanks for visiting.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.toddfun.com/2011/12/05/pomona-test-lead-holder-review/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Featured Engineer</title>
		<link>http://www.toddfun.com/2011/11/29/featured-engineer/</link>
		<comments>http://www.toddfun.com/2011/11/29/featured-engineer/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 21:55:11 +0000</pubDate>
		<dc:creator>Todd Harrison</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[My Thoughts]]></category>

		<guid isPermaLink="false">http://www.toddfun.com/?p=1500</guid>
		<description><![CDATA[On 11/28/2011 I was honored with being the “Featured Engineer&#8221; of the day at www.EEWeb.com. You can read the full Featured Engineer interview if you want to learn a few tidbits about my history and career in engineering.]]></description>
			<content:encoded><![CDATA[<p>On 11/28/2011 I was honored with being the “Featured Engineer&#8221; of the day at <a href="http://www.EEWeb.com">www.EEWeb.com</a>. You can read the full <a href="http://www.eeweb.com/spotlight/interview-with-todd-harrison" target="_blank">Featured Engineer interview</a> if you want to learn a few tidbits about my history and career in engineering.</p>
<p><a href="http://www.eeweb.com/spotlight/interview-with-todd-harrison" target="_blank"><img class="alignnone size-medium wp-image-1501" title="eeweb-com-featured-engineer" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/eeweb-com-featured-engineer-570x320.jpg" alt="" width="570" height="320" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.toddfun.com/2011/11/29/featured-engineer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>G35 LED Christmas Light Review and Teardown</title>
		<link>http://www.toddfun.com/2011/11/27/g35-led-christmas-light-review-and-teardown/</link>
		<comments>http://www.toddfun.com/2011/11/27/g35-led-christmas-light-review-and-teardown/#comments</comments>
		<pubDate>Sun, 27 Nov 2011 14:39:26 +0000</pubDate>
		<dc:creator>Todd Harrison</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://www.toddfun.com/?p=1439</guid>
		<description><![CDATA[G35 LED Christmas Light Review and Teardown In this write up &#38; video I review the “GE Color Effects” G35 multi colored LED Christmas lights 50 count. I will cover product details, hanging hints and show a teardown and give some links to great hacks at the end. You get to pick from 14 sequence [...]]]></description>
			<content:encoded><![CDATA[<p>G35 LED Christmas Light Review and Teardown</p>
<p>In this write up &amp; video I review the “GE Color Effects” G35 multi colored LED Christmas lights 50 count. I will cover product details, hanging hints and show a teardown and give some links to great hacks at the end.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4514.jpg"><img class="alignnone size-medium wp-image-1482" title="100_4514" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4514-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p><object width="560" height="315" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/q7znaoj-0xA?version=3&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed width="560" height="315" type="application/x-shockwave-flash" src="http://www.youtube.com/v/q7znaoj-0xA?version=3&amp;hl=en_US" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p>You get to pick from 14 sequence patterns using a wireless controller.  Hacking these lights using Arduino is already very popular so I will be linking to some good hack posts below. In a later video I will be trying some of the known hacks and some of my own.</p>
<p>Link to the GE <a href="http://www.geholidaylighting.com/holiday-lighting/led/color-effects/color-changing-string-sets" target="_blank">product page </a>for these lights</p>
<p>In the box you get the below:</p>
<p>40.8 feet of lights<br />
50 lights spaced at 10 inches<br />
50 rain gutter clips, 50 base clips<br />
Radio controller with 14 light patters<br />
<a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4515.jpg"><img class="alignnone size-medium wp-image-1483" title="100_4515" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4515-570x427.jpg" alt="" width="570" height="427" /></a></p>
<h2><span style="color: #ff0000;">CLICK TO READ ALL &#8212;&gt;: <span id="more-1439"></span></span></h2>
<p>The light patterns are labeled on the back of the remote. Very nice touch but the 14 options are not very good. They all blink or change or race too fast. I would have much preferred a softer mood with solid color options or slower changing effects.  These lights just must be hacked!<br />
<a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4446.jpg"><img class="alignnone size-medium wp-image-1450" title="100_4446" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4446-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>And you get a switch mode power supply 120v AC 0.4A to 5v DC 3A (later in the post I show that these rating are more than enough).<br />
<a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4447.jpg"><img class="alignnone size-medium wp-image-1451" title="100_4447" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4447-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>&nbsp;</p>
<p>I got my lights on sale back in August at Costco for ~$60 but these 50 count lights can run from $100 to $120 on Amazon.  There are other light counts and light styles in the “GE Color Effects” product line. (See above product page link for such details).</p>
<p>First let’s cover hanging. I was very surprised at how much care and thought was put into the hangers, which are included. You can use the hangers in several ways, either with or without the rain gutter clips.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4521.jpg"><img class="alignnone size-medium wp-image-1485" title="100_4521" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4521-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>I don’t have rain cutters so I screwed these base snaps to the underside of my fascia boards.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4516.jpg"><img class="alignnone size-medium wp-image-1484" title="100_4516" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4516-570x427.jpg" alt="" width="570" height="427" /></a><br />
It was easier for me to sit at my bench and pre-screw the 50 clips with a short pan-head screw.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4440.jpg"><img class="alignnone size-medium wp-image-1447" title="100_4440" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4440-570x427.jpg" alt="" width="570" height="427" /></a><br />
I then used an 11 inch board with a nail driven though each end spaced at exactly 10 inches.  I used this jig to mark off the 10 inches between each clip.  If you use bigger nails and give the jig a whack with a hammer when marking off, you will get nice pilot holes too.<br />
<a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4441.jpg"><img class="alignnone size-medium wp-image-1448" title="100_4441" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4441-570x427.jpg" alt="" width="570" height="427" /></a><br />
Even using this jig it was very slow going putting up 150 clips.  I experimented with other ideas and the only other option for my wood fascia board would have been to use the rain gutter clips with some staples. I found that Arrows T-25 cable staples and cable stapler worked just great. These rounded staples leave just enough room to slide the clips in and out.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4429.jpg"><img class="alignnone size-medium wp-image-1441" title="100_4429" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4429-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4428.jpg"><img class="alignnone size-medium wp-image-1440" title="100_4428" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4428-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4430.jpg"><img class="alignnone size-medium wp-image-1442" title="100_4430" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4430-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>I also tried square staples but they didn’t work at all. They drive too deep or too shallow and there was no good way to make the square staples work.<br />
<a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4431.jpg"><img class="alignnone size-medium wp-image-1443" title="100_4431" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4431-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4433.jpg"><img class="alignnone size-medium wp-image-1444" title="100_4433" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4433-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4434.jpg"><img class="alignnone size-medium wp-image-1445" title="100_4434" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4434-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>Between the rounded cable staples and the screws I picked the screws as seen on the right side of the below photo.<br />
<a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4438.jpg"><img class="alignnone size-medium wp-image-1446" title="100_4438" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4438-570x427.jpg" alt="" width="570" height="427" /></a><br />
I liked the screw method because the wires are harder to see when you screw the base clips directly to the bottom of the fascia boards.</p>
<p>This is my house with 150 lights. Not easy taking photos in the dark. They are very bright, much brighter than you can tell in this photo. I must say I love how big and bright they are but I will have to hack these lights to get better color effects and timing.<br />
<a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4445.jpg"><img class="alignnone size-medium wp-image-1449" title="100_4445" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4445-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>Now let’s take some measurements and take a look inside these lights. When connected to my bench supply at 5v none of the light patterns took more than 1.75A which was solid white.  All the other patterns ran from 0.89A to 1.47A so this is way under the 3A switch mode power supply that comers with each light strand.<br />
I can’t set all the lights to be solid but I was able to pick a slow enough race pattern that would race all the colors to one color before switching to the next color. Just as the 50 lights all got to a single color I would record the amps on my bench supply. Here is what I got.</p>
<p>Red 0.91A<br />
Blue dark 1.2A<br />
Blue light 1.4A<br />
Green 0.89A<br />
Purple 1.46A<br />
Yellow 1.47A<br />
White 1.75A</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4485.jpg"><img class="alignnone size-medium wp-image-1475" title="100_4485" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4485-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>And the 120v AC amps when set to solid white for all 50 lights came to 0.209A, also way under the power supplies rating of 0.4 amps.  So these lights come with very good rated power supplies for the loads they will be powering.  This also means that running these lights is even less then I thought at 25.08 Watts.  WOW that’s less power than a single old style night light for the whole strand including the controller.<br />
<a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4488.jpg"><img class="alignnone size-medium wp-image-1476" title="100_4488" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4488-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>The plastic crystal defusing covers just pop right off giving you a good view of the surface mounted RGB colored LED in a sealed clear plastic case.<br />
<a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4449.jpg"><img class="alignnone size-medium wp-image-1452" title="100_4449" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4449-570x427.jpg" alt="" width="570" height="427" /></a><br />
Here is a close up where you can see the PCB and the silk screen labeling. You can clearly see where the three wires come into each PCB. The two outside wires are for 5v power and ground and the middle wire is the data line that transmits the color codes to each LED.<br />
<a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4451.jpg"><img class="alignnone size-medium wp-image-1453" title="100_4451" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4451-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>Opening up the control box reveals a single sided board with a radio control daughter board on the back side. Here are some close ups.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4452.jpg"><img class="alignnone size-medium wp-image-1454" title="100_4452" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4452-570x427.jpg" alt="" width="570" height="427" /></a><br />
The black blob is a “Chip on board” where they glue a chip die directly to the PCB, wire bond from the die to the PCB and then seal it all up with a blob of epoxy/resin.  It is a very cheap way to mass produce a product but I find it strange they also have a micro controller on the board.<br />
<a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4453.jpg"><img class="alignnone size-medium wp-image-1455" title="100_4453" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4453-570x427.jpg" alt="" width="570" height="427" /></a><br />
The micro controller is the surface mount SOP-20 chip (20 pins) by MEGAWIN. Here is the datasheet. <a href="http://www.megawin.com.tw/megawin_EN/UploadFiles/MG87FEL2051_4051_6051_DS_v103.pdf">http://www.megawin.com.tw/megawin_EN/UploadFiles/MG87FEL2051_4051_6051_DS_v103.pdf</a></p>
<p>MG87FE2051AS20<br />
Here are the specs.<br />
MG87FE/L2051/4051/6051is single-chip 8-bits microcontroller with the instruction sets fully compatible with industrial-standard 80C51 series microcontroller.2K/4K/6Kbytes flash memory and 256 bytes RAM has been embedded to provide widely field application. In-System-Programming and In-Application-Programming allows the users to download new code or data while the microcontroller sits in the application. This device executes one machine cycle in 6 clock cycles or 12 clock cycles. MG87FE/L2051/4051/6051 has one 8-bit I/O ports (P1),one 7-bit I/O port (P30~P35,P37), two 16-bit timer/counters, one PWM-timer for 8-channel PWM output, a seven-source, four-priority-level interrupt structure, an enhanced UART, a precision analog comparator, on-chip crystal oscillator (combined P42,P43) and a high-precision internal oscillator.<br />
<a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4454.jpg"><img class="alignnone size-medium wp-image-1456" title="100_4454" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4454-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>Below is the radio daughter board on the back side of the main board. The unpopulated parts you see are for a crystal for the micro controller on the other side.  To save money they programmed the micro to use an internal timer instead of the quality external crystal.  If they had populated the crystal and the capacitors for the crystal on the front side then I would have had no problem synchronizing two light strands and keeping them in sync.  But with the low grade internal timer, each chip will have a different idea of time and even when you do get two strands in sync the poor internal timers will just drift and the light strands will be all out of whack with each other in under an hour.  Unfortunately you can’t just populate the crystal yourself because the micro is internally set to look at the internal timing not an external crystal, oscillator or resonator.<br />
<a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4455.jpg"><img class="alignnone size-medium wp-image-1457" title="100_4455" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4455-570x427.jpg" alt="" width="570" height="427" /></a><br />
Under this daughter board I could see another “chip on board” so this radio board was setup for some major mass production. Under this board I can see the silk screening for a button (SW1) so this board can be used with our without the radio option.<br />
<a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4457.jpg"><img class="alignnone size-medium wp-image-1458" title="100_4457" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4457-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>And you can see the in the plastic over it is setup for a hole to be punched for a button. I would guess this is for other products GE sales that don’t have radio control and you just push a button to switch patterns or hold the button for a count of “?” to turn on and off.<br />
<a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4458.jpg"><img class="alignnone size-medium wp-image-1459" title="100_4458" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4458-570x427.jpg" alt="" width="570" height="427" /></a><br />
Button hole on front cover if punched.<br />
<a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4459.jpg"><img class="alignnone size-medium wp-image-1460" title="100_4459" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4459-570x427.jpg" alt="" width="570" height="427" /></a><br />
This would be where the button would be mounted on the PCB board if this was not a wireless model.  I was able to short these two traces with a quick flick to change patterns and a longer short did turn off the unit as I suspected.<br />
<a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4470.jpg"><img class="alignnone size-medium wp-image-1467" title="100_4470" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4470-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>Now for the deep hacking folks.  I wanted to take close up photos of the traces in the hope that maybe a more easily programmed SOP-20 micro could be implemented. Maybe some ATmega or PIC would be dropped on board and programmed in place keeping the board and its radio control.  The crystal and capacitors could also be populated for better timing. Then these strands can be synchronized as well as programmed with better patterns. (Click for larger photos)</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4460.jpg"><img class="alignnone size-medium wp-image-1461" title="100_4460" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4460-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4462.jpg"><img class="alignnone size-medium wp-image-1462" title="100_4462" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4462-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4464.jpg"><img class="alignnone size-medium wp-image-1463" title="100_4464" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4464-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4467.jpg"><img class="alignnone size-medium wp-image-1464" title="100_4467" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4467-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4468.jpg"><img class="alignnone size-medium wp-image-1465" title="100_4468" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4468-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4469.jpg"><img class="alignnone size-medium wp-image-1466" title="100_4469" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4469-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4470.jpg"><img class="alignnone size-medium wp-image-1467" title="100_4470" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4470-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4471.jpg"><img class="alignnone size-medium wp-image-1468" title="100_4471" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4471-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4478.jpg"><img class="alignnone size-medium wp-image-1469" title="100_4478" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4478-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4479.jpg"><img class="alignnone size-medium wp-image-1470" title="100_4479" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4479-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4480.jpg"><img class="alignnone size-medium wp-image-1471" title="100_4480" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4480-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4481.jpg"><img class="alignnone size-medium wp-image-1472" title="100_4481" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4481-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4482.jpg"><img class="alignnone size-medium wp-image-1473" title="100_4482" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4482-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>If the crystal is populated on the back side here is where the legs come up. And just below you can see C1 and C2 which would be the capacitors home needed for the crystal.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4484.jpg"><img class="alignnone size-medium wp-image-1474" title="100_4484" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4484-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>I know we need to see the traces under the IC so I used my hot air wand to remove it and take photos.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4490.jpg"><img class="alignnone size-medium wp-image-1477" title="100_4490" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4490-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4492.jpg"><img class="alignnone size-medium wp-image-1478" title="100_4492" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4492-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4496.jpg"><img class="alignnone size-medium wp-image-1479" title="100_4496" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4496-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>Below I tracked the copper just incase it was not clear where the traces ran in the above photos.  This helps a ton being we know what connects to each and every pin of the micro controller. This is a single sided single layer board so nothing hard really.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4511.jpg"><img class="alignnone size-medium wp-image-1480" title="100_4511" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4511-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>Now the IC is back on and as you can see the lights are running fine.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4512.jpg"><img class="alignnone size-medium wp-image-1481" title="100_4512" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/100_4512-570x427.jpg" alt="" width="570" height="427" /></a><br />
That is it for my review and teardown. Now for some links to others that are doing some hacks for these lights.</p>
<p><a href="http://www.digitalmisery.com/projects/colornode/" target="_blank">DigitalMisery.com</a> has an open source drop in wireless replace board for these lights. WOW, you can&#8217;t ask for more than that. He does not sell the boards yet but keep checking his site to see if he gets a Kick starter going or just follow his open source documents and spin your own board. He links to his code and the Arduino library’s “<a href="https://github.com/sowbug/G35Arduino" target="_blank">G35Arduino</a>”</p>
<p><a href="http://www.deepdarc.com/2010/11/27/hacking-christmas-lights" target="_blank">DeepDarc.com</a> put up some amazing engineering details on these lights and reverse engineered both the radio protocol and the protocol used on the LED data bus. You must read his post if you&#8217;re going to be hacking these lights. He also shares his code and other very useful tips.</p>
<p><a href="http://www.codeproject.com/KB/system/GELights.aspx" target="_blank">Keithsw</a> has some great stuff synchronizing 6 strands and shares his control code, Arduino circuit and a PC software simulator program to help design the layout and patterns.  Here is his short (<a href="http://www.youtube.com/watch?v=K8epnb7tkVs" target="_blank">video</a>).</p>
<p><a href="http://www.cheerlights.com">CheerLights</a> is an ioBridge Labs project that allows people all across the world to synchronize their lights. This sit gives all the<a href="http://www.cheerlights.com/arduino-iobridge-cheerlights-controller"> hacking details</a> and you can <a href="http://www.cheerlights.com/live">play along</a> even it you don&#8217;t have lights by tweeting a color to <a href="http://twitter.com/cheerlights">@cheerlights</a> and watching on <a href="http://www.ustream.tv/channel/cheerlights">ustream</a>.</p>
<p>Jim at <a href="http://user.cavenet.com/jgurley/g35/" target="_blank">Jim&#8217;s G-35 Project Page</a> makes his own control board using a PIC18F2620 micro controler.</p>
<p>If I have any of my own hack updates I will link to them from here and under “All Postings” with the title “G35 LED Christmas Light…”</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.toddfun.com/2011/11/27/g35-led-christmas-light-review-and-teardown/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Replacing solder tab rechargeable batteries</title>
		<link>http://www.toddfun.com/2011/11/22/replacing-solder-tab-rechargeable-batteries/</link>
		<comments>http://www.toddfun.com/2011/11/22/replacing-solder-tab-rechargeable-batteries/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 02:19:30 +0000</pubDate>
		<dc:creator>Todd Harrison</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://www.toddfun.com/?p=1427</guid>
		<description><![CDATA[In this video episode I show how to replace solder tab rechargeable batteries in some very useful consumer products that would otherwise end up in a landfill. I use more common and cheaper none solder tab reachable batteries and show how to safely and effectively solder on the tabs. First up was the solder tab [...]]]></description>
			<content:encoded><![CDATA[<p>In this video episode I show how to replace solder tab rechargeable batteries in some very useful consumer products that would otherwise end up in a landfill. I use more common and cheaper none solder tab reachable batteries and show how to safely and effectively solder on the tabs.</p>
<p>First up was the solder tab type AA 1.2v Ni-Cd in my beard trimmer. I know, not the most attractive thing a man wants to see in his bathroom.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/DSC00094.jpg"><img class="alignnone size-medium wp-image-1428" title="DSC00094" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/DSC00094-570x320.jpg" alt="" width="570" height="320" /></a></p>
<p>Then my programmable Christmas tree light timer which needed a coin cell 1.2v Ni-MH with PCB mounting tabs.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/11/DSC00095.jpg"><img class="alignnone size-medium wp-image-1429" title="DSC00095" src="http://www.toddfun.com/blog/wp-content/uploads/2011/11/DSC00095-570x320.jpg" alt="" width="570" height="320" /></a></p>
<p>&nbsp;</p>
<p><object width="560" height="315" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/xVS4U-LZBiY?version=3&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed width="560" height="315" type="application/x-shockwave-flash" src="http://www.youtube.com/v/xVS4U-LZBiY?version=3&amp;hl=en_US" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p>I noted in the video that it was interesting they were powering the timer controller using a bridge rectified AC to DC converter.  I was surprised to see this without the use of a step down transformer before the rectifier circuit.  Further research, I found this is quite common in consumer products that require less than 70mA and it can be done safely and cost effectively.  There are some pros and cons to this approach. If you want the full details with the math and picking the correct sized passive devices  you can review this <a href="http://ww1.microchip.com/downloads/en/AppNotes/00954A.pdf" target="_blank">nice article at Microship.com</a>.  For the power conditioning circuit which is closes to what is in my timer see Fig.12 in the article.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.toddfun.com/2011/11/22/replacing-solder-tab-rechargeable-batteries/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Converting 120v AC to 12v DC</title>
		<link>http://www.toddfun.com/2011/10/20/converting-120v-ac-to-12v-dc/</link>
		<comments>http://www.toddfun.com/2011/10/20/converting-120v-ac-to-12v-dc/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 20:00:00 +0000</pubDate>
		<dc:creator>Todd Harrison</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://www.toddfun.com/2011/10/21/converting-120v-ac-to-12v-dc/</guid>
		<description><![CDATA[I’m in a pinch and need to convert 120v AC to 12v DC to cool an electric motor. Not having much for supplies on a Sunday I pulled out the whiteboard and my calculator to devise a quick hack to power my 12v DC fan from the 120v AC mains running the electric motor. I [...]]]></description>
			<content:encoded><![CDATA[<p>I’m in a pinch and need to convert 120v AC to 12v DC to cool an electric motor. Not having much for supplies on a Sunday I pulled out the whiteboard and my calculator to devise a quick hack to power my 12v DC fan from the 120v AC mains running the electric motor. I needed only three components to create my DC power supply: a light bulb (40W), capacitor (470uF 80v), diode (1N4004) but in the video I used a salvaged diode from an old microwave oven.</p>
<p>In this video I share this simple hack and go into the math just enough so others can calculate the correct size light bulb for such a DC power supply hack if ever needed.</p>
<p><object width="560" height="315" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/4OnHWZ-gL7Q?version=3&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed width="560" height="315" type="application/x-shockwave-flash" src="http://www.youtube.com/v/4OnHWZ-gL7Q?version=3&amp;hl=en_US" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<h2><span style="color: #ff0000;">CLICK TO READ ALL &#8212;&gt;: <span id="more-1406"></span></span></h2>
<p>I needed to cool the below electric motor with the fan from an old computer case.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/10/dsc00081.jpg" alt="" width="570" height="320" /></p>
<p>This is the 12v DC fan that needs the power supply. It has 3 wires but the yellow wire will not be used because it is just for sensing RPMs.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/10/dsc00083.jpg" alt="" width="570" height="320" /></p>
<p>Below is the salvaged diode from a trashed microwave oven. A smaller form factor common 1N4004 would work better if you have one handy.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/10/dsc00084.jpg" alt="" width="570" height="320" /></p>
<p>This is the 470uF 80v electrolytic capacitor I used. I salvage it from a dead power supply long ago. A rating as low as 40v would work too.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/10/dsc00085.jpg" alt="" width="570" height="320" /></p>
<p>In the video I cover how the AC waveform is conditioned into DC and how to calculate true RMS when working with 1/2 rectified sin waves; which is peak voltage divided by two: (170v/2) : 85v when working with 120v AC mains.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/10/dsc00087.jpg" alt="" width="570" height="320" /></p>
<p>After getting the true 1/2 rectified RMS voltage after the diode I show how Ohms law is used to calculate the light bulb wattage needed to give the mystery resistance which gives us our final 12v and 150mA to the cooling fan.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/10/dsc00088.jpg" alt="" width="570" height="320" /></p>
<p>V=IR<br />
Where “V” is the voltage drop across the light bulb (85v – 12v) = 73V<br />
“I” is the current through the circuit ~0.150A and “R” is the resistor we need to calculate.</p>
<p>73v = 0.15 * R<br />
R = 73v/0.15<br />
R = 487ohms</p>
<p>We can’t use any 487ohm restore because the current through it will be 0.15A and that could get real hot!</p>
<p>P=IV<br />
P=0.15A * 73V<br />
P = 11 watts</p>
<p>Most small resistors are only rated at 1/4 to 1/2 watts.  You can buy some high wattage resistors but then you’re not using scrap.</p>
<p>But I happen to know that 487ohms is real close to some incandescent light bulbs when powered off 120v AC.  And there will be no issue with a light bulb taking 11 watts.</p>
<p>To calculate the resistance of some light bulbs just run their ratings through the same equations as above.<br />
Let’s do 100W, 60W, 40W and 25W bulbs.</p>
<p>100W bulb:<br />
P=IV<br />
100W = I * 120V<br />
Solve for I:<br />
I = 100W/120v<br />
I = 0.833A</p>
<p>Now lets find its resistance when driven at this normal 120v AC.<br />
V=IR<br />
120v = 0.833A * R<br />
Solve for R<br />
R = 120v/0.833A<br />
R = 120ohms<br />
If we needed a 120ohm resistor running close to 120v AC mains power we can use a 100W light bulb</p>
<p>Now let’s do the 60W bulb:<br />
P=IV<br />
60W = I * 120v<br />
I = 60W / 120v = 0.5A</p>
<p>V=IR<br />
120v = 0.5A * R<br />
R = 120v/0.5A = 240ohms</p>
<p>Now 40W bulb, which I used in my circuit:<br />
P=IV<br />
40W = I * 120v<br />
I = 40W / 120v = 0.333A</p>
<p>V=IR<br />
120v = 0.333A * R<br />
R = 120v/0.333A = 360ohms</p>
<p>Just for completeness 25W bulb:<br />
P=IV<br />
25W = I * 120v<br />
I = 25W / 120v = 0.208A</p>
<p>V=IR<br />
120v = 0.208A * R<br />
R = 120v/0.208A = 577ohms</p>
<p>A 25W bulb would have also worked for me but being it was getting higher than my calculated 487ohms I would rather use the lower resistance bulb.  I would rather my fan turn a bit faster than too slow to cool my motor.</p>
<p>Another thing to consider is that I’m not going to be powering my light bulb with 120v AC.  My light bulb is after my diode so it will be running on 85v DC such that it is only really on and conducting current 1/2 the time.  This will change the heating and the resistance of the light bulb but not enough to cause problems with my back of the envelope style of calculations for powering a fan.</p>
<p>So there you have it.  Three scrap components and you have yourself a hacked together 12v DC power supply.</p>
<p>Below is an oscilloscope screen shot of my final power supply signal across the fan. Notice the 3.4v peek to peek ripple riding at the 16v DC offset. That comes out to a 1.02v RMS ripple as the capacitor charges and discharges.  Not at all a good power source for some electronics, but just fine for my quick weekend hack.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/10/F0001TEK.jpg"><img class="alignnone size-medium wp-image-1412" title="Screen Capture" src="http://www.toddfun.com/blog/wp-content/uploads/2011/10/F0001TEK-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>This circuit could be used for any project that is not affected by the 1v RMS ripple but like I said in the video &#8220;This is just a quick weekend hack and should not be ran continues or unattended”.  Things could go real bad at anytime with such a circuit and you want to be there to shut it off. This is not a safe power supply circuit and should be used with extra care. I did not use a fuse and it does expose the user to dangerously high voltage if something should go wrong. This is a hack and should only be done by somebody who knows what they are working with and can do so safely. There, you have been warned.</p>
<p>If you watch the full video you will see that I replaced this hacked power supply with a more stable and safe alternative in the end but the hack did get me by for the weekend and I thought it would be an interesting hack to share.</p>
<p>If your needs are for more or less than 150mA then you can just rework the above equations to get the light bulb size you need.  Remember you can put light bulbs in series to get more ohms or parallel to get combined lower ohms just like normal resistors.  Also remember to pick a diode that can handle your target current and being this is just ballpark calculations you want to take measurements at your load to validate your power conditioning is acceptable.  I calculated for 12v but got 16.5v with a 3.4v p-p ripple which does work for a silly fan power supply but maybe not your project.</p>
<p>Thanks for following along and remember to subscribe to my YouTube Channel “toddrharrison” and my blog RSS feed.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.toddfun.com/2011/10/20/converting-120v-ac-to-12v-dc/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>iClicker Repair</title>
		<link>http://www.toddfun.com/2011/09/10/iclicker-repair/</link>
		<comments>http://www.toddfun.com/2011/09/10/iclicker-repair/#comments</comments>
		<pubDate>Sat, 10 Sep 2011 18:43:06 +0000</pubDate>
		<dc:creator>Todd Harrison</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://www.toddfun.com/?p=1377</guid>
		<description><![CDATA[Quick post on a simple repair that will save thousands of iClickers from the landfill.  I have had several iClickers handed to me to fix or just use for scrap.  Every one was fixable and it wasn’t even an electronic failure. &#160; The failure comes under the category of “Design Failure”.  Product designers not knowing [...]]]></description>
			<content:encoded><![CDATA[<p>Quick post on a simple repair that will save thousands of iClickers from the landfill.  I have had several iClickers handed to me to fix or just use for scrap.  Every one was fixable and it wasn’t even an electronic failure.</p>
<p>&nbsp;</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4252.jpg"><img class="alignnone size-medium wp-image-1382" title="show iClicker" src="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4252-570x427.jpg" alt="" width="570" height="427" /></a><br />
The failure comes under the category of “Design Failure”.  Product designers not knowing the manufacturing tolerances and component tolerances they are working with.  In the case of these wireless classroom participation voting remotes the failure is with the batteries not making good contact.</p>
<p>&nbsp;</p>
<p>Below is a photo showing how the thick plastic is preventing the battery’s positive tip from reaching the contact.  For some batteries this is not a problem, for others you get intermittent on and off events and for Duracell you get zip.<br />
<a href="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4251.jpg"><img class="alignnone size-medium wp-image-1381" title="show bad gap" src="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4251-570x427.jpg" alt="" width="570" height="427" /></a></p>
<h2><span style="color: #ff0000;">CLICK TO READ ALL &#8212;&gt;: <span id="more-1377"></span></span></h2>
<p>This goes to show how important it is for designers to really know the manufacturing tolerance of the plastic mold injection processes they use as well as the minimum manufacturing height of AA battery tips.  So to fix this we just need to remove some plastic.</p>
<p>Below are just some photos of my repair so others can save their iClicker or any other device with similar intermittent battery contact failure. You have to take three screws out but one is under the sticker.</p>
<p>&nbsp;</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4246.jpg"><img class="alignnone size-medium wp-image-1378" title="screw access 1" src="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4246-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4247.jpg"><img class="alignnone size-medium wp-image-1379" title="screw access 2" src="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4247-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>Below is the bit we have to cut out or shave down some.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4248.jpg"><img class="alignnone size-medium wp-image-1380" title="point at plastic" src="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4248-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>Remove the positive battery clip.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4253.jpg"><img class="alignnone size-medium wp-image-1383" title="removing contact" src="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4253-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>Cut out some plastic with a sharp knife.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4255.jpg"><img class="alignnone size-medium wp-image-1384" title="cutting" src="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4255-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>Once you get some BUT NOT ALL the platic cut out it should look like the below photo. If you cut out too much plastic your positive terminal clip will not stay in place.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4260.jpg"><img class="alignnone size-medium wp-image-1387" title="point at fix" src="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4260-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>Your clip should slide back in and still be held in place by the platic you didn&#8217;t cut out.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4261.jpg"><img class="alignnone size-medium wp-image-1388" title="repaired" src="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4261-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>In the below photo you can see the battery now makes good contact and all batteries should work just fine.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4258.jpg"><img class="alignnone size-medium wp-image-1385" title="show good contact" src="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4258-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>There, the iClicker is working.  I know there is a lot of these remotes out there with this problem so don&#8217;t bring them to me, fix them yourself <img src='http://www.toddfun.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4259.jpg"><img class="alignnone size-medium wp-image-1386" title="working" src="http://www.toddfun.com/blog/wp-content/uploads/2011/09/100_4259-570x427.jpg" alt="" width="570" height="427" /></a></p>
<p>I hope this was helpful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.toddfun.com/2011/09/10/iclicker-repair/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Power Supply Repair Update: (PART5)</title>
		<link>http://www.toddfun.com/2011/08/13/power-supply-repair-update-part5/</link>
		<comments>http://www.toddfun.com/2011/08/13/power-supply-repair-update-part5/#comments</comments>
		<pubDate>Sat, 13 Aug 2011 16:25:25 +0000</pubDate>
		<dc:creator>Todd Harrison</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://www.toddfun.com/?p=1306</guid>
		<description><![CDATA[This is Part 5. You may want to read (part1), (part2), (part3) &#38; (part4) first. Today I continue my rainy day power supply repair project. I have checked everything twice and even took a shot in the dark by replacing all the ICs on the board. I still don’t know why this circuit is not [...]]]></description>
			<content:encoded><![CDATA[<p>This is Part 5. You may want to read (<a title="Power Supply Repair: (PART 1)" href="http://www.toddfun.com/2010/11/23/power-supply-repair-part1/" target="_blank">part1</a>), (<a title="Power Supply Repair: (PART 2)" href="http://www.toddfun.com/2010/11/27/power-supply-repair-part-2/" target="_blank">part2</a>), (<a title="Power Supply Repair Update: (PART 3)" href="http://www.toddfun.com/2011/02/24/power-supply-repair-update-part-3/" target="_blank">part3</a>) &amp; (<a title="Power Supply Repair Update: (PART4)" href="http://www.toddfun.com/2011/03/19/power-supply-repair-update-part4/">part4</a>) first.</p>
<p>Today I continue my rainy day power supply repair project. I have checked everything twice and even took a shot in the dark by replacing all the ICs on the board. I still don’t know why this circuit is not working. The power transistors on this board should supply a ground path for the motor when activated by a plus on their gates. The pulse is not appearing at the gates so I know at the heart of the problem the pulse width modulation chip (PWM) is not doing its job. I have replaced the PWM chip but that didn’t help.</p>
<p>In this video I dig a bit deeper using my oscilloscope to look at some select voltage signals going and coming from the PWM chip. I even bypass the PWM and inject a pulse train from my function generator to test the power conditioning and power transistors. I can’t simply replace the existing PWM chip with another manual controlled PWM chip because it currently uses current sense feedback as well as signals from adjacent control circuitry to not only start the plus train but also control its duty cycle. These are critical features for a treadmill or metal lathe motor control circuit in order to maintain a selected motor speed under load.</p>
<p><object width="560" height="349" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/VK80RLTmYOA?version=3&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed width="560" height="349" type="application/x-shockwave-flash" src="http://www.youtube.com/v/VK80RLTmYOA?version=3&amp;hl=en_US" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.toddfun.com/2011/08/13/power-supply-repair-update-part5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SpokePOV kit (Parts 2-6 of 7)</title>
		<link>http://www.toddfun.com/2011/08/12/spokepov-kit-parts-2-6-of-7/</link>
		<comments>http://www.toddfun.com/2011/08/12/spokepov-kit-parts-2-6-of-7/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 23:56:20 +0000</pubDate>
		<dc:creator>Todd Harrison</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://www.toddfun.com/2011/08/12/spokepov-kit-parts-2-6-of-7/</guid>
		<description><![CDATA[This is a continuing post in a series about using the Adafruit.com bicycle spoke persistence of view board (SpokePOV). This is a great electronics kit that lets you draw amazing images like below from LEDs attached to your bicycle spokes. You can even do animations while you ride if you use 3 SpokePOV boards which [...]]]></description>
			<content:encoded><![CDATA[<p>This is a continuing post in a series about using the <a href="http://www.adafruit.com" target="_blank">Adafruit.com </a>bicycle spoke persistence of view board (<a href="http://www.adafruit.com/products/5" target="_blank">SpokePOV</a>). This is a great electronics kit that lets you draw amazing images like below from LEDs attached to your bicycle spokes. You can even do animations while you ride if you use<a href="http://www.adafruit.com/products/19" target="_blank"> 3 SpokePOV boards </a>which is also sold as a kit.</p>
<p><a href="http://www.toddfun.com/blog/wp-content/uploads/2011/08/spokepov_pumpkin.jpg"><img class="alignnone size-full wp-image-1344" title="spokepov_pumpkin.jpg" src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/spokepov_pumpkin.jpg" alt="" width="570" height="427" /></a></p>
<p>You may want to first read (<a title="SpokePOV kit (Part 1 of 7)" href="http://www.toddfun.com/2009/10/19/spokepov-kit-part-1-of-7/">part 1</a> of 7) of this blog post series.</p>
<p>I was going to post the next 5 parts separately but decided to just combine parts 2 through 6 in this posting. Below is the list and you can scroll to see each section. There maybe a final separate 7th posting on creating a “Corrective Raiser image Board” (CRiB) board to correct a slight design flaw with Adafruit’s SpokePOV boards as noted in part 6 below.</p>
<p>Part 2: Mounting an adjustable magnet on the bike frame<br />
Part 3: Building bench testing rig for SpokePOV<br />
Part 4: Programming images and setting the SpokePOV board offsets<br />
Part 5: Halloween image and video of SpokePOV in action<br />
Part 6: Troubleshooting an image skew problem</p>
<p>&nbsp;</p>
<h2>Part 2: Mounting an adjustable magnet on the bike frame</h2>
<p>The SpokePOV kit comes with a very strong magnet which is used to trigger the Hall Effect sensor on the board as the board rotates with the wheel. In the <a href="http://www.ladyada.net/make/spokepov/install.html" target="_blank">suggested configuration from Adafruit</a> the magnet just sticks to the inside of the bike&#8217;s front fork. This is not optimal because the magnet will not be adjustable with respect to the board and the magnet could easily fall off or move when encountering a bump. You could epoxy the magnet to the frame at a selected height but then the tire could be difficult to remove.</p>
<p>&nbsp;</p>
<h2><span style="color: #ff0000;">CLICK TO READ ALL &#8212;&gt;: <span id="more-1352"></span></span></h2>
<p>&nbsp;</p>
<p>My solution was to drill a hole in the front fork brake caliber, epoxy a nut over the hole and then epoxy the magnet to the head of a bolt. I then cut the bolt to an exact length so that when it is screwed in with a locking washer under a makeshift handle it would tighten up just hovering over the Hall Effect sensor on the POV board. With this rig I can easily back off the magnet when I need to remove the tire and I would never lose my magnet or alignment. What follows in this section are photos of this magnet mount mod.</p>
<p>Supplies: J-B weld epoxy 4 minute bond, Thin bolt, two nuts and one locking washer.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2205.jpg" alt="" width="570" height="427" /></p>
<p>Grind the head of the bolt flat if it is not already flat.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2206.jpg" alt="" width="570" height="427" /></p>
<p>Epoxy the magnet to the head of the bolt.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2208.jpg" alt="" width="570" height="427" /></p>
<p>Drill a hole for the bolt through the brake caliber or other suitable part of the frame directly over the Hall Effect sensor on the POV board.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2210.jpg" alt="" width="570" height="427" /></p>
<p>Put the nut over the hole on the inside of the fork. Use the bolt to keep it centered while you epoxy the nut in place.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2211.jpg" alt="" width="570" height="427" /></p>
<p>Use a wire or wire tie to keep the bolt in place while the epoxy dries.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2212.jpg" alt="" width="570" height="427" /></p>
<p>Put the 4 minute JB weld epoxy mix carefully around the nut. Don&#8217;t get any epoxy on the bolt or the inside of the nut. I used a tooth pick to carefully apply the epoxy.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2218.jpg" alt="" width="570" height="427" /></p>
<p>Once the 4 minute epoxy is dry you can tighten up the bolt with a 2nd nut and lock washer so that the magnet is just over the Hall Effect sensor by about a 1/4 inch or less. I created a makeshift handle out of an old handle and some additional nuts and lock washers. I wanted a handle so I didn’t need to get out tools to get the tire on and off being the magnet would otherwise be in the way.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2238.jpg" alt="" width="570" height="427" /></p>
<p>In this last photo you can see just how close I can set the magnet to the sensor on the POV board. This is best for getting a good clean Hall Effect trigger as the tire spins.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2237.jpg" alt="" width="570" height="427" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h2>Part 3: Building bench testing rig for SpokePOV</h2>
<p>I wanted a simple test rig for my font tire when programming and testing new images. I absolutely hated having the bike upside down with the tire on it when trying to program and test. If the bike tipped over it would yank my programmer and maybe even my laptop to the floor. Plus the images would always be upside down.</p>
<p>So I welded up this contraption in which I can quickly mount my tire and it securely clamps in my bench vise. The tricky part was adding the magnet to an extension rod welded to the test rig hub mount. It had to be welded at the same angle as my bicycle’s front fork with respect to the ground. You could build this out of wood just as easily but I have a welder so this was easy-peasy-lemon-squeezy for me. Here are some photos but you may want to also checkout my <a title="SpokePOV test rig made from old ceiling fan motor" href="http://www.toddfun.com/2010/07/13/spokepov-test-rig-made-from-old-ceiling-fan-motor/">latest test rig that uses an old ceiling fan motor </a>for the test rig.</p>
<p>There are some notes in the photos if that helps.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2239.jpg" alt="" width="570" height="760" /></p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2241.jpg" alt="" width="570" height="760" /></p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2242.jpg" alt="" width="570" height="427" /></p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2243.jpg" alt="" width="570" height="427" /></p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2246.jpg" alt="" width="570" height="427" /></p>
<p>This is what I use to spin the tire. It is an old wagon wheel with the metal axel cut off.  I epoxyed the wheel to the axel so that the drill could spin them both as one.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2265.jpg" alt="" width="570" height="427" /></p>
<p>Set the drill on high speed and this gets the wheel going quite fast.  Once again you may want to checkout my<a title="SpokePOV test rig made from old ceiling fan motor" href="http://www.toddfun.com/2010/07/13/spokepov-test-rig-made-from-old-ceiling-fan-motor/"> new ceiling fan motor test rig</a>.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2266.jpg" alt="" width="570" height="427" /></p>
<p><object width="570" height="354" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/DJylGHmvFP0?version=3&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed width="570" height="354" type="application/x-shockwave-flash" src="http://www.youtube.com/v/DJylGHmvFP0?version=3&amp;hl=en_US" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p><object width="570" height="354" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/FXZFvK8IEN8?version=3&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed width="570" height="354" type="application/x-shockwave-flash" src="http://www.youtube.com/v/FXZFvK8IEN8?version=3&amp;hl=en_US" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p>&nbsp;</p>
<h2>Part 4: Programming images and setting the SpokePOV board offsets</h2>
<p>When I purchased my SpokePOV kit from Adafruit I also purchased their <a href="http://www.adafruit.com/products/46" target="_blank">SpokePOV programmer kit</a>. Really this I just their standard USBTiny ISP programmer with a named driver to make it simple for people that only use it to program a SpokePOV board. Turns out this is a very nice in-circuit programmer for programming many Atmega AVRs (<a title="Make a custom minimal Arduino board and program a blank ATmega168 or ATmega328 directly from the Arduino IDE." href="http://www.toddfun.com/2011/01/01/making-a-custom-arduino-board-to-hack-a-christmas-photo-frame/">click to see my posting on just such a project</a>).</p>
<p>You do have to<a href="http://www.ladyada.net/make/usbtinyisp/solder.html" target="_blank"> assemble your programmer kit </a>but that’s what teenage daughters are for. Ha. This photo was taken during the assembly of the SpokePOV programmer.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2189.jpg" alt="" width="570" height="427" /></p>
<p>The next step was to <a href="http://www.ladyada.net/make/usbtinyisp/download.html" target="_blank">download </a>and install the driver for your SpokePOV programmer and <a href="http://www.ladyada.net/make/spokepov/download.html" target="_blank">download the C++ software</a> for <a href="http://www.ladyada.net/make/spokepov/software.html" target="_blank">image editing and programming</a>. I recommend <a href="http://www.ladyada.net/make/spokepov/software.html" target="_blank">starting with a simple forward pointing arrow </a>as your first image. You do have to connect the programmer to each board one at a time and load the same arrow image into each of the 4 banks on each board.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2249.jpg" alt="" width="570" height="427" /></p>
<p>Make sure your<a href="http://www.ladyada.net/make/usbtinyisp/use.html" target="_blank"> programmer&#8217;s jumper is set to NOT provide power </a>to the board, being the board should be self powered by batteries.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2250.jpg" alt="" width="570" height="760" /></p>
<p>If you didn’t connect all three boards to the same Hall Effect sensor you are good to go, but if you want cleaner animation you should have connected the boards as I documented in <a title="SpokePOV kit (Part 1 of 7)" href="http://www.toddfun.com/2009/10/19/spokepov-kit-part-1-of-7/">part 1</a>. With the boards linked all fire at the same time but each board is at a different location when they fire. This means that each board has to be programmed with a different image offset so all images overlay at the same exact location giving a super clean image at even low speed and with animation.</p>
<p>If your first image was a forward pointing arrow then setting the offset is simple. Label each board 1, 2 and 3 with a Sharpe. Start with only board 1 turned on and spin the wheel up to speed. Note the direction the arrow is pointing and calculate the offset needed to get the arrow to point forward. Stop the wheel, program this offset into board 1 and repeat until you get the arrow level and pointing forward.</p>
<p>PLEASE NOTE: in my photos there is a strange short vertical line perpendicular to my arrow. This is not intentional and seems to be related to a programming anomaly when writing the image to the boards memory banks. Sometimes this can be corrected by loading the image back from the board, erasing the erroneous pixels and re-uploading the image back to all 4 memory banks. This does not always fix this anomaly so I just live with it most of the time. (sad).</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2261.jpg" alt="" width="570" height="427" /></p>
<p>Next turn on both boards 1 and 2. When you spin up the wheel the 2nd board&#8217;s arrow image will be pointing in the wrong direction but board 1 will remain correct.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2257.jpg" alt="" width="570" height="427" /></p>
<p>Once again calculate the offset needed to get board 2’s arrow to point forward. Stop the wheel, program board 2 with its new offset and repeat until both board 1’s image and board 2’s image are exactly lined up.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2261_001.jpg" alt="" width="570" height="427" /></p>
<p>Repeat this process again for the 3rd board or as many remaining boards as you installed. The more boards you have the better your images and animations will be at low speeds. Write the offset on each board so you don&#8217;t have to repeat this process if the chip&#8217;s offset somehow get reset.</p>
<p>&nbsp;</p>
<h2>Part 5: Halloween image and video of SpokePOV in action</h2>
<p>This is my daughter’s bike and she likes to program in an image for each season. Here she put up a pumpkin image she downloaded. (sorry I lost the link ). She has also done Christmas trees and so on and so forth. Lots of fun and a bit of added safety when riding at night.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/spokepov_pumpkin.jpg" alt="" width="570" height="427" /></p>
<p>Sorry but my camera does not do a very good job of recording. The images do look a ton better live.</p>
<p><object width="570" height="354" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/3uRHp2M0zeU?version=3&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed width="570" height="354" type="application/x-shockwave-flash" src="http://www.youtube.com/v/3uRHp2M0zeU?version=3&amp;hl=en_US" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p><object width="570" height="354" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/ZQ54jb1bo58?version=3&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed width="570" height="354" type="application/x-shockwave-flash" src="http://www.youtube.com/v/ZQ54jb1bo58?version=3&amp;hl=en_US" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p><object width="570" height="354" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/e2sEgS9lE4M?version=3&amp;hl=en_US" /><param name="allowfullscreen" value="true" /><embed width="570" height="354" type="application/x-shockwave-flash" src="http://www.youtube.com/v/e2sEgS9lE4M?version=3&amp;hl=en_US" allowFullScreen="true" allowscriptaccess="always" allowfullscreen="true" /></object></p>
<p>&nbsp;</p>
<h2>Part 6: Troubleshooting an image skew problem</h2>
<p>We noticed a perplexing issue with our images. The left side of the wheel, from the passengers view point, had a skewed image. The image forward of the hub was high by about 1.5 inches while the image behind the hub’s center point was low by 1.5 inches. However the image on the right side of the wheel looked just fine. This became very apparent if you wanted to display an arrow passing through the center of the hub on the left side or any other image passing through the hub.</p>
<p>This is a smiling face with winking animated eye on the right side which always looks good:</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2278.jpg" alt="" width="570" height="427" /></p>
<p>This is the left side that is always skewed.  Notice how the smile is high on one side and low in the other:</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2282.jpg" alt="" width="570" height="427" /></p>
<p>It actually turns out to be a mounting geometry issue which is unavoidable because of the layout of the LED’s on the board. The old “round peg in a square hole” issue. It took me one of those “I should have had a V8” moments to finally grasp what was going wrong. What follows is my troubleshooting approach and detailed conclusions and solutions.</p>
<p>&nbsp;</p>
<h3>Troubleshooting steps, detailed conclusions and solutions</h3>
<p>I started my troubleshooting by turning on just one POV board but I had the same problem as I did with all three boards sharing a single sensor. I reinstalled the sensors on all three boards and each board had the same problem independent of the other boards.</p>
<p>I was convinced it was firmware so I downloaded the “C++” source code from Adafruit and started going through that but nothing jumped out at me as being a code issue between how the left and right side of the wheel was controlled.</p>
<p>I started examining the circuit schematic. It appeared to me that the latch select lines between the left and right side of the wheel maybe shorted or somehow crossed causing them to fire as if they were one side. I took out the micro controller chip and started tracing the 12 pins on all latch chips. But my digital multi meter said the two sides were not crossed physically so that wasn’t the problem.</p>
<p>Some brute force troubleshooting was in order. I pulled out the micro controller again and bent out pin 9 (“The left side select pin” on schematic) and re-inserted the chip.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2318.jpg" alt="" width="570" height="427" /></p>
<p>Without pin 9 connected nothing was controlling the left side of the wheel so it was dark and as expected only the right side was on and the image looked good. I then repeated this test but this time I removed pin 8 (“The right side select pin” on schematic) and reconnected pin 9.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2320.jpg" alt="" width="570" height="427" /></p>
<p>Now only the left side had lights on and the image was skewed as before with half the image high and the other half low.</p>
<p>I next bent out both pins 8 and 9 on the micro controller but I also crossed pin 9 to the connection point on the PCB where pin 8 would normally be connected. See the small U shapped jumper wire solderd in this photo near the spoke on the PCB.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/100_2319.jpg" alt="" width="570" height="760" /></p>
<p>At this point I would have expected only the right side to have lights and for the image to be skewed as it was when this pin controlled the left side. But that didn’t happen. The image was on the right true enough but the image looked just fine, not skewed at all. How could this be? If the problem was a firmware issue or other timing issue then pin 9 controlling pin 8’s side should have the same problem but it didn’t. The problem just seemed to evaporate.</p>
<p>I sat for a while just looking at the wheel and how the boards were mounted and then eureka! The problem now made complete sense. The board is square and the wheel is round! That can’t work because only one row of lights on one side can be pointing at the center of the hub which means the other side will always be skewed as it is drawing thinking the center of the wheel is in a different location than it really is.</p>
<p>I had mounted the boards flat on just one side of the wheel along one of the spokes. The boards are square and the lights on one side are aligned along the spoke therefore only one row of lights on one side can be pointed at the center hub.</p>
<p>Below is a photo of the good side where the LEDs line up almost perfect with the hub.<br />
I drew in red lines to extend the line of LEDs through the center hub.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/radiallinesongoodsideinvise_000.jpg" alt="" width="570" height="760" /></p>
<p>Below is a photo of the bad side where the offset of LEDs on the back side of the board are skewed off to the side of the center hub. Once again I drew in red lines to extend the line of LEDs skewed to the side of the hub.</p>
<p><img src="http://www.toddfun.com/blog/wp-content/uploads/2011/08/radiallinesonbadside.jpg" alt="" width="570" height="427" /></p>
<p>This install method forces the lights on one side of the board to be pointed radial at the center hub leaving the other side’s row of lights skewed and NOT pointing at the center of the hub. I zip tied one edge of the PCB along one spoke and since my bike has a very small center hub ring for the spokes to connect to the problem was exaggerated over other bikes that have a larger center hub spoke ring.</p>
<p>This is an unavoidable side effect of the board layout and at best you can mount the boards NOT following a spoke and splitting the difference so that each side is slightly skewed but not as dramatically as it would be if you centered just one side of lights with the hub as I did. I guess one could also put the boards in the center of the spokes between the left and right side of the wheel and put a twist in the bottom of the board closest to the hub helping each row of lights on each side point a bit closer to the center of the hub but what a fuss.</p>
<p>A triangle shaped PCB board may have been a better design choice and would have allowed the LEDs on both sides to fall along a true radial line with the hub. Maybe this is a good idea for v2.0 perhaps.</p>
<p>I’m not sure this alignment issue can be corrected in the software or not. It would be more of a Hubble Telescope corrective surgery then anything else. Maybe the user could be instructed to measure the offset between the hub and the row of LEDs on each side of the board allowing the software to introduce some corrective timing. If anybody wants to tackle this corrective surgery of the firmware I’m sure all users of this board version would be greatly appreciative! Drop me a line if this ever comes to fruition.</p>
<p>For now my solution to this problem is going to be a pricy one. I plan on just cutting the 9 pin on each micro controller for all three boards so the LEDs on the left inside are off. Then I will get another 3 boards for the other side cutting the 8 pins or just not soldering on the right side components. I will wire all 6 boards to a single sensor, have the outward facing LEDs 100% inline with the center hub and each board will have its own rotational offset. This will create perfect animation on either side at all speeds.</p>
<p>Wait! I have a cheaper solution then buying 3 more boards but it will take some design time first. I could create a raiser board that bolts to the current SpokePOV board inline with the right side LEDs but on the opposite side of the board. I can then move all the left side LEDs to this new raiser board. Then both sides will have a line of LEDs 100% inline with the center hub.</p>
<p>I may have to design the board so the 4 latches also move to the raiser just to keep the wiring between the two boards at a minimum.</p>
<p>When I’m done with the raiser board design I will post the files alone with SpokePOV board modifications, wiring and mounting instructions. Others can then etch and mount their own “Corrective Raiser image Board” (I think I will call it the CRiB board).</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.toddfun.com/2011/08/12/spokepov-kit-parts-2-6-of-7/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Isolation Transformers</title>
		<link>http://www.toddfun.com/2011/04/30/isolation_transformers/</link>
		<comments>http://www.toddfun.com/2011/04/30/isolation_transformers/#comments</comments>
		<pubDate>Sat, 30 Apr 2011 18:32:10 +0000</pubDate>
		<dc:creator>Todd Harrison</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://www.toddfun.com/?p=1272</guid>
		<description><![CDATA[Tutorial using a Tripp-lite IS1000 isolation transformer. What I bought for my tech bench. Some models and prices of isolation transformers. How to alter a public version into a tech version. Helpful tips on using your oscilloscope safely with and without an isolation transformer. How to be a little safer when working with high voltage live mains &#160; These [...]]]></description>
			<content:encoded><![CDATA[<p id="video-description-11Yve2ijWyk-description-expanded">Tutorial using a Tripp-lite IS1000 isolation transformer.</p>
<ol>
<li>What I bought for my tech bench.</li>
<li>Some models and prices of isolation transformers.</li>
<li>How to alter a public version into a tech version.</li>
<li>Helpful tips on using your oscilloscope safely with and without an isolation transformer.</li>
<li>How to be a little safer when working with high voltage live mains</li>
</ol>
<p>&nbsp;</p>
<p><object width="570" height="344" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/11Yve2ijWyk?version=3" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><embed width="570" height="344" type="application/x-shockwave-flash" src="http://www.youtube.com/v/11Yve2ijWyk?version=3" allowfullscreen="true" allowscriptaccess="always" /></object></p>
<p>These would be good tech isolation transformers that don&#8217;t need to be modified:<br />
4.30A <a href="http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_221331_-1" target="_blank">isolation transformer</a>, 115/115VAC, 500VA<br />
2.50A <a href="http://www.jameco.com/webapp/wcs/stores/servlet/Product_10001_10001_181315_-" target="_blank">isolation transformer</a>, 120VAC/120VAC, 300VA<br />
1.25A <a href="http://www.tequipment.net/BK1604A.html" target="_blank">isolation transformer</a>, BK Precision BK1604A<br />
0.43A <a href="http://www.allelectronics.com/make-a-store/item/TX-50/115VAC-50VA-ISOLATION-TRANSFORMER/1.html" target="_blank">isolation transformer</a>, 115VAC, 50VA</p>
]]></content:encoded>
			<wfw:commentRss>http://www.toddfun.com/2011/04/30/isolation_transformers/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
	</channel>
</rss>

