<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-364312430122069233</id><updated>2011-08-08T10:04:30.786-05:00</updated><category term='robin poop'/><category term='microcontroller'/><category term='attiny2313'/><category term='atmel'/><title type='text'>Home brew electronics</title><subtitle type='html'>mostly Atmel AVR based projects</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://electronicsfluff.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/364312430122069233/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://electronicsfluff.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>matt6ft9</name><uri>http://www.blogger.com/profile/01695046933467325410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/_309J5Mv0QXY/SYkEeSJ0CTI/AAAAAAAAAAM/CLb94RJrlOA/S220/about_me.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-364312430122069233.post-3747940643604046267</id><published>2010-11-06T07:36:00.018-05:00</published><updated>2010-11-07T19:57:24.165-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='atmel'/><category scheme='http://www.blogger.com/atom/ns#' term='attiny2313'/><category scheme='http://www.blogger.com/atom/ns#' term='microcontroller'/><title type='text'>A Microcontroller based Interrupter Gear</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_309J5Mv0QXY/TNdXOFslMMI/AAAAAAAAADw/01OoexFCN4M/s1600/interrupter_gear_schematic.png"&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_309J5Mv0QXY/TNVOrMwrlBI/AAAAAAAAADo/z28-65eJsFA/s1600/interrupter_gear_schematic.png"&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_309J5Mv0QXY/TNVMuD4WwkI/AAAAAAAAADg/Z5sUJNo55Yc/s1600/interrupter_gear_overall.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 337px;" src="http://2.bp.blogspot.com/_309J5Mv0QXY/TNVMuD4WwkI/AAAAAAAAADg/Z5sUJNo55Yc/s400/interrupter_gear_overall.png" alt="" id="BLOGGER_PHOTO_ID_5536415671121265218" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:donotoptimizeforbrowser/&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;span style="font-size:100%;"&gt;Figure 1:&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;The hardware&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;During World War I and slightly before World War II, military fighter aircraft had machine guns mounted to fuselage of the plane.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;These machine guns were mounted right behind the propeller.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;The first question that comes to mind is how can the gun fire and not hit the propeller blades as they are spinning?&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Some planes had special steel plates mounted to the propeller to keep the bullets from shredding the propeller. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_309J5Mv0QXY/TNVMmyne8PI/AAAAAAAAADY/58r7vHKm5LU/s1600/interrupter_gear_funny_airplane.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 390px; height: 279px;" src="http://1.bp.blogspot.com/_309J5Mv0QXY/TNVMmyne8PI/AAAAAAAAADY/58r7vHKm5LU/s400/interrupter_gear_funny_airplane.png" alt="" id="BLOGGER_PHOTO_ID_5536415546228011250" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:donotoptimizeforbrowser/&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;span style="font-size:100%;"&gt;Figure 2:&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;A machine gun shooting through a propeller.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;span style="font-size:100%;"&gt;(I had fun with this one.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Sometime, I should use a color other than black and maybe draw some wings)&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;There are a couple of reasons hitting steel plates in the propeller is bad.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;First, it introduces a physical shock to the propeller.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Not good if you would like to remain in the air.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Second, it adds weight to propeller; there by slightly reducing the max RPM of the propeller, making the plane go slower.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Third, it wastes bullets.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;You would like all of the bullets to go out into the wild blue yonder.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;Most planes of the day used something called an “Interrupter Gear” to time the firing of the bullets between the blades of the propeller.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;To see much more information on the Interrupter Gear, check out this link:&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;a href="http://en.wikipedia.org/wiki/Interrupter_gear"&gt;http://en.wikipedia.org/wiki/Interrupter_gear&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;There is a nice drawing on the page showing how the cam wheel and cam follower worked inside of the planes.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;So, this was done mechanically in the 1910’s to 1930’s.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;My first thought was this could be updated by using a microcontroller coupled with an infrared sensor to sense the position of the propeller?&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Doing the project in small scale significantly lessens the chance of bodily harm, which is just awesome.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;The gun I used is an Airsoft pistol.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;For those of you unfamiliar with Airsoft pellets and guns, they are a family of plastic guns that shoot a plastic pellet.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;You can think of it as a miniature version of paintballs, except the pellets do not explode when they hit you.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;The hardware&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;The pistol I originally chose for the project was battery powered and semi automatic.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;(A semi automatic pistol fires a pellet each time the trigger is pulled until the clip is empty)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;The problem I ran into was when a solenoid pulls on the trigger; a DC motor inside of the gun starts to compress a spring inside of the gun.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Once the spring is fully compressed, the “hammer” is released and the gun is fired.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;It took about a second for the spring to compress.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;When you have a propeller that is spinning at 500 RPM, that is 8.3 revolutions per second.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;(500 RPM / 60 seconds = 8.3)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;There are two blades on the propeller I am using.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;The one-second delay between activating the trigger and the pellet firing was a showstopper.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;span style=";font-family:&amp;quot;;font-size:100%;"  &gt;The second pistol I used was a spring loaded Omega M650.&lt;span style=""&gt;  &lt;/span&gt;This gun can send a pellet out of the barrel at 100 feet per second.&lt;span style=""&gt;  &lt;/span&gt;The top has to be pulled back by hand to cock the gun. &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_309J5Mv0QXY/TNVMf_4jxMI/AAAAAAAAADQ/CtgTR7OStNE/s1600/interrupter_gear_gun.jpg"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 311px;" src="http://2.bp.blogspot.com/_309J5Mv0QXY/TNVMf_4jxMI/AAAAAAAAADQ/CtgTR7OStNE/s400/interrupter_gear_gun.jpg" alt="" id="BLOGGER_PHOTO_ID_5536415429530207426" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:donotoptimizeforbrowser/&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;span style="font-size:100%;"&gt;Figure 3:&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;This is the Airsoft gun used in project&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;The really nice thing is it takes only 20mS to 22mS from the solenoid on the trigger being activated to the pellet leaving the end of the gun.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;The pellet was detected by using a Sparkfun infrared sensor.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;This is how I determined the delay:&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Probe A on the oscilloscope was attached to the signal going to the solenoid.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Probe B on the oscilloscope was attached to the IR sensor output at the end of the barrel.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;The oscope was setup to trigger once on Probe A.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;When the trigger was pulled by the solenoid, I could see a blip on the oscilloscope screen:&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_309J5Mv0QXY/TNVMZx3v2bI/AAAAAAAAADI/z35PD5WkO84/s1600/interrupter_gear_oscope_pellet.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 180px;" src="http://2.bp.blogspot.com/_309J5Mv0QXY/TNVMZx3v2bI/AAAAAAAAADI/z35PD5WkO84/s400/interrupter_gear_oscope_pellet.png" alt="" id="BLOGGER_PHOTO_ID_5536415322689493426" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:donotoptimizeforbrowser/&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;span style="font-size:100%;"&gt;Figure 4:&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;This blip is the pellet leaving the end of the gun.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;If the propeller is spinning at 500 RPM, we know it takes 120mS for one rotation to occur.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;(60 seconds / 500 RPM = 120mS or 0.12 seconds)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Since there are two blades, we’ll be seeing a blade every 60mS.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Since the delay between activating the solenoid and the pellet leaving the gun is at maximum 22 milliseconds, we have no problem placing the pellet between the propeller blades.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;Is the microcontroller even needed?&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;My thought process when I started the project had the microcontroller setting the delay between when the propeller is sensed and when the gun should be fired.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;If we use logic gates to immediately fire the gun when the button is pressed, this will work great unless the time between sensing the blades is 20mS to 22mS.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Also, if the propeller blades are at multiples of 20mS to 22mS the pellet will hit the blade.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;So, it looks like a microcontroller is needed to dynamically set the delay for the solenoid.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;A way to test the delay between the propeller and when the gun should fire is to setup a red LED to turn on when the pellet should be coming out of the gun.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;An excellent way to do this is to setup the LED so it is 90 degrees away from the propeller sensor and gun.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;The LED can turn on and you can see the reflected light on the propeller.&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_309J5Mv0QXY/TNVMU3Wf8LI/AAAAAAAAADA/oohfpsiPxaM/s1600/interrupter_gear_sensors.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 168px;" src="http://2.bp.blogspot.com/_309J5Mv0QXY/TNVMU3Wf8LI/AAAAAAAAADA/oohfpsiPxaM/s400/interrupter_gear_sensors.png" alt="" id="BLOGGER_PHOTO_ID_5536415238261305522" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:donotoptimizeforbrowser/&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;span style="font-size:100%;"&gt;Figure 5:&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Infrared Sensors and the Solenoid&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;Once the software was completely working, I ran 20 pellets through the gun to see if any pellets would hit the propeller blade.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;None hit the blade.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;A better test would be to modify the software slightly to see if I could get the pellet to hit the spinning propeller every time.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;So, I added into the software a define statement “defHitTheBlade”.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;If you want the pellet to the hit the blade, remove the comment “//” at the beginning of the line.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;The pellet would hit the propeller about 4 out of 5 times.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;It was hard to find the pellets after they hit the propeller.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;Each blade on the propeller is 0.5 inches wide in front of the Airsoft gun.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;The gun is 1.15 inches from the axis of the propeller.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;So, if we use Circumference = 2 * Pi * radius = 7.2 inches.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;So, we can figure if a blade is in front of the gun for 1 inch / 7.2 inches = 14 percent of the time. &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;The software isn’t too complicated.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;When the user presses a button, the analog comparator interrupt counts the time (using Timer 1) between the propeller blades passing the infrared sensor mounted under the gun.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Once we know how fast the propeller is going, the software then looks for analog comparator interrupt and counts 1.5 times the time between the blades, minus the time it takes the pellet to come out of the gun.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;The circuit was created on the solderless breadboard.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Three power supplies were used.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;A 5V wallpack for the microcontroller, a 24V power supply for the solenoid, and a variable power supply for the DC motor (1 to 3V).&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_309J5Mv0QXY/TNdXOFslMMI/AAAAAAAAADw/01OoexFCN4M/s1600/interrupter_gear_schematic.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 297px;" src="http://3.bp.blogspot.com/_309J5Mv0QXY/TNdXOFslMMI/AAAAAAAAADw/01OoexFCN4M/s400/interrupter_gear_schematic.png" alt="" id="BLOGGER_PHOTO_ID_5536990166434263234" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:100%;"&gt;Figure 6:&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;The schematic for the Interrupter Gear project&lt;/span&gt;&lt;/div&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;Overall, circuit worked well.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Trying to hit the propeller with the Airsoft pellets was fun, it really let me know the system was working.&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Onto the next project… (the next one should be a little more practical)&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;Here is the source code for the microcontroller:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;a href="http://webspace.webring.com/people/xm/matt6ft9/interrupter_gear_C_code.zip"&gt;AVRGCC C source code&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/364312430122069233-3747940643604046267?l=electronicsfluff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electronicsfluff.blogspot.com/feeds/3747940643604046267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electronicsfluff.blogspot.com/2010/11/microcontroller-interrupter-gear.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/364312430122069233/posts/default/3747940643604046267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/364312430122069233/posts/default/3747940643604046267'/><link rel='alternate' type='text/html' href='http://electronicsfluff.blogspot.com/2010/11/microcontroller-interrupter-gear.html' title='A Microcontroller based Interrupter Gear'/><author><name>matt6ft9</name><uri>http://www.blogger.com/profile/01695046933467325410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/_309J5Mv0QXY/SYkEeSJ0CTI/AAAAAAAAAAM/CLb94RJrlOA/S220/about_me.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_309J5Mv0QXY/TNVMuD4WwkI/AAAAAAAAADg/Z5sUJNo55Yc/s72-c/interrupter_gear_overall.png' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-364312430122069233.post-3642710604523554684</id><published>2010-06-22T20:23:00.009-05:00</published><updated>2010-06-29T21:09:40.285-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='robin poop'/><title type='text'></title><content type='html'>&lt;span style="font-size:130%;"&gt;The Relocation of Robin  &lt;/span&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;For those of you not familiar with American robins, the male bird is territorial.&lt;span style=""&gt;  &lt;/span&gt;When he sees his reflection, he thinks it’s another robin and he tries to fight.&lt;span style=""&gt;  &lt;/span&gt;The result is hours of “trying to run off” the other bird.&lt;span style=""&gt;  &lt;/span&gt;Of coarse his reflection doesn’t leave.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;  &lt;v:stroke joinstyle="miter"&gt;  &lt;v:formulas&gt;   &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;   &lt;v:f eqn="sum @0 1 0"&gt;   &lt;v:f eqn="sum 0 0 @1"&gt;   &lt;v:f eqn="prod @2 1 2"&gt;   &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;   &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @0 0 1"&gt;   &lt;v:f eqn="prod @6 1 2"&gt;   &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;   &lt;v:f eqn="sum @8 21600 0"&gt;   &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @10 21600 0"&gt;  &lt;/v:formulas&gt;  &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;  &lt;o:lock ext="edit" aspectratio="t"&gt; &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" style="'width:154.5pt;"&gt;  &lt;v:imagedata src="file:///C:/Users/Matt/AppData/Local/Temp/msoclip1/01/clip_image001.png" title="robin"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_309J5Mv0QXY/TCFqa_yjbcI/AAAAAAAAABg/CCTAU_mdanY/s1600/robin_wiki.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 206px; height: 144px;" src="http://2.bp.blogspot.com/_309J5Mv0QXY/TCFqa_yjbcI/AAAAAAAAABg/CCTAU_mdanY/s320/robin_wiki.png" alt="" id="BLOGGER_PHOTO_ID_5485782833146588610" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;Figure 1:&lt;span style=""&gt;  &lt;/span&gt;An American Robin&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;A robin has been pooping all over a hand railing in front of my house.&lt;span style=""&gt;  &lt;/span&gt;The robin has also been thumping on the window trying to fight his reflection.&lt;span style=""&gt;  &lt;/span&gt;(Nickname:&lt;span style=""&gt;  &lt;/span&gt;Evil Robin)&lt;span style=""&gt;  &lt;/span&gt;My first attempt to remedy the pooping was to tape trash bags over the windows so he wouldn’t see his reflection.&lt;span style=""&gt;  &lt;/span&gt;After a week, I took down the trash bags figuring he had moved on.&lt;span style=""&gt;  &lt;/span&gt;He had not.&lt;span style=""&gt;  &lt;/span&gt;So, I taped the trash bags to the window for another week.&lt;span style=""&gt;  &lt;/span&gt;He found the back porch window to attack.&lt;span style=""&gt;  &lt;/span&gt;Also, he had started eating mulberries, which made is poop stain the railing with spots of purple.&lt;span style=""&gt;  &lt;/span&gt;A rubber snake was placed on the railing in the hopes of scaring away the robin.&lt;span style=""&gt;  &lt;/span&gt;He pooped on the rubber snake.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_309J5Mv0QXY/TCFqph8bTRI/AAAAAAAAABo/hV7-olzuI-U/s1600/robin_poop.JPG"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 186px; height: 320px;" src="http://1.bp.blogspot.com/_309J5Mv0QXY/TCFqph8bTRI/AAAAAAAAABo/hV7-olzuI-U/s320/robin_poop.JPG" alt="" id="BLOGGER_PHOTO_ID_5485783082832973074" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;    &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;Figure 2:&lt;span style=""&gt;  &lt;/span&gt;The Robin Poop on the Railing&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;My next ideas were to either buy an owl decoy or build one out of cardboard.&lt;span style=""&gt;  &lt;/span&gt;These ideas were scratch in favor of trapping the robin and relocate him to a distant location.&lt;span style=""&gt;  &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Being a new homeowner, the demands of the house seem to take several hours a day.&lt;span style=""&gt;  &lt;/span&gt;Coming from apartment life, this has been a difficult change.&lt;span style=""&gt;  &lt;/span&gt;So, the idea was to complete the trap quickly and easily.&lt;span style=""&gt;  &lt;/span&gt;Building the trap, assembling the circuit on a solderless breadboard, and writing the ATTiny13 code took about 3 evenings.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1027" type="#_x0000_t75" style="'width:339pt;height:263.25pt'"&gt;  &lt;v:imagedata src="file:///C:/Users/Matt/AppData/Local/Temp/msoclip1/01/clip_image005.png" title="robin_evil"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_309J5Mv0QXY/TCFrOe_9_MI/AAAAAAAAABw/VaPHm5Mytgw/s1600/robin_evil.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 320px; height: 249px;" src="http://2.bp.blogspot.com/_309J5Mv0QXY/TCFrOe_9_MI/AAAAAAAAABw/VaPHm5Mytgw/s320/robin_evil.png" alt="" id="BLOGGER_PHOTO_ID_5485783717697682626" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;Figure 3:&lt;span style=""&gt;  &lt;/span&gt;The actual robin doing the pooping (image taken though a window screen)&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Two words are needed to see how the trap was put together:&lt;span style=""&gt;  &lt;/span&gt;cardboard and packaging tape.&lt;span style=""&gt;  &lt;/span&gt;The cardboard box was originally used to hold several dozen-egg cartons.&lt;span style=""&gt;  &lt;/span&gt;A mirror is placed in the back of the box to allow the robin to see his reflection.&lt;span style=""&gt;  &lt;/span&gt;The lid flaps on the cardboard box were removed and replaced with a single piece of cardboard to act as the “flap”.&lt;span style=""&gt;  &lt;/span&gt;The flap needed a little more strength near the edge.&lt;span style=""&gt;  &lt;/span&gt;So, strengthening ribs were created out of cardboard and taped onto the edge of the flap.&lt;span style=""&gt;  &lt;/span&gt;The flap is held open by a solenoid attached to a wood dowel.&lt;span style=""&gt;  &lt;/span&gt;The wood dowel is taped permanently to the egg box.&lt;span style=""&gt;  &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1028" type="#_x0000_t75" style="'width:431.25pt;height:252.75pt'"&gt;  &lt;v:imagedata src="file:///C:/Users/Matt/AppData/Local/Temp/msoclip1/01/clip_image007.png" title="Robin, trap"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_309J5Mv0QXY/TCFu3AezSFI/AAAAAAAAACI/JYG31cB2G5c/s1600/Robin,+trap.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 520px; height: 305px;" src="http://3.bp.blogspot.com/_309J5Mv0QXY/TCFu3AezSFI/AAAAAAAAACI/JYG31cB2G5c/s400/Robin,+trap.png" alt="" id="BLOGGER_PHOTO_ID_5485787712415025234" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;Figure 4:&lt;span style=""&gt;  &lt;/span&gt;Various parts of the trap&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1029" type="#_x0000_t75" style="'width:375pt;height:298.5pt'"&gt;  &lt;v:imagedata src="file:///C:/Users/Matt/AppData/Local/Temp/msoclip1/01/clip_image009.png" title="robin_solderless_breadboard"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_309J5Mv0QXY/TCFtnPFMTzI/AAAAAAAAACA/_Cf3ylZIOJ0/s1600/robin_solderless_breadboard.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 320px; height: 254px;" src="http://4.bp.blogspot.com/_309J5Mv0QXY/TCFtnPFMTzI/AAAAAAAAACA/_Cf3ylZIOJ0/s320/robin_solderless_breadboard.png" alt="" id="BLOGGER_PHOTO_ID_5485786341944610610" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;Figure 5:&lt;span style=""&gt;  &lt;/span&gt;Solderless breadboard on the side of the cardboard box&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;The ATtiny13 microcontroller acts as a comparator for the analog voltage output of the Sharp sensor inside of the trap.&lt;span style=""&gt;  &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1030" type="#_x0000_t75" style="'width:6in;height:420pt'"&gt;  &lt;v:imagedata src="file:///C:/Users/Matt/AppData/Local/Temp/msoclip1/01/clip_image011.png" title="robin_sensor"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_309J5Mv0QXY/TCFvHJApMjI/AAAAAAAAACQ/W_sxtXZDN0w/s1600/robin_sensor.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 389px;" src="http://1.bp.blogspot.com/_309J5Mv0QXY/TCFvHJApMjI/AAAAAAAAACQ/W_sxtXZDN0w/s400/robin_sensor.png" alt="" id="BLOGGER_PHOTO_ID_5485787989582361138" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;Figure 6: The sharp distance sensor in the trap&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;When the microcontroller determines the voltage from the sensor is above the set value, the output to the solenoid is changed from a high to a low.&lt;span style=""&gt;  &lt;/span&gt;This turns off the solenoid (by turning off the n-channel FET) that is holding open the gate of the trap.&lt;span style=""&gt;  &lt;/span&gt;Gravity then takes over and the lid closes.&lt;span style=""&gt;  &lt;/span&gt;Two magnets from a “shaking powered flashlight” are used to help keep the door shut.&lt;span style=""&gt;  &lt;/span&gt;Two pairs of pliers are taped in the bottom of the trap to allow the magnets to keep the corners of the door closed.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1032" type="#_x0000_t75" style="'width:431.25pt;height:274.5pt'"&gt;  &lt;v:imagedata src="file:///C:/Users/Matt/AppData/Local/Temp/msoclip1/01/clip_image013.png" title="robin, schematic"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_309J5Mv0QXY/TCFvXhV2oKI/AAAAAAAAACg/hOocUyWcj-M/s1600/robin_schematic.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 535px; height: 341px;" src="http://4.bp.blogspot.com/_309J5Mv0QXY/TCFvXhV2oKI/AAAAAAAAACg/hOocUyWcj-M/s400/robin_schematic.png" alt="" id="BLOGGER_PHOTO_ID_5485788270991679650" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;Figure 7:&lt;span style=""&gt;  &lt;/span&gt;Robin trap schematic (a PDF is at the bottom of the post)&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;The sensor outputs an analog voltage based on the distance to a reflective object.&lt;span style=""&gt;  &lt;/span&gt;The operational distance of the sensor is from 10cm to 80cm.&lt;span style=""&gt;  &lt;/span&gt;The object we are looking for in this case is the robin.&lt;span style=""&gt;  &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;The solenoid typically is powered when the circuit is turned on.&lt;span style=""&gt;  &lt;/span&gt;The flap is opened on the trap and it is align so the solenoid keeps the trap open.&lt;span style=""&gt;  &lt;/span&gt;When an object is detected by the distance sensor, the flap is released from the solenoid and the robin is trapped.&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1031" type="#_x0000_t75" style="'width:431.25pt;height:356.25pt'"&gt;  &lt;v:imagedata src="file:///C:/Users/Matt/AppData/Local/Temp/msoclip1/01/clip_image015.png" title="robin_solenoid"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_309J5Mv0QXY/TCFvXIfekEI/AAAAAAAAACY/yjcPsWyAe9U/s1600/robin_solenoid.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 330px;" src="http://2.bp.blogspot.com/_309J5Mv0QXY/TCFvXIfekEI/AAAAAAAAACY/yjcPsWyAe9U/s400/robin_solenoid.png" alt="" id="BLOGGER_PHOTO_ID_5485788264321159234" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;Figure 8: The solenoid on the wood dowel&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Did it work?&lt;/p&gt;  &lt;p class="MsoNormal"&gt;The trap was set on the front porch, near where the robin likes to sit on the railing for about a week.&lt;span style=""&gt;  &lt;/span&gt;(When it wasn’t raining)&lt;span style=""&gt;  &lt;/span&gt;Apparently, the trap was visibly so frightening to the robin, he never came back.&lt;span style=""&gt;  &lt;/span&gt;So, did the trap work?&lt;span style=""&gt;  &lt;/span&gt;Yes, it took care of the robin problem; No, it didn’t catch him.&lt;span style=""&gt;  &lt;/span&gt;Maybe I should have gone with the 4 feet tall cardboard owl।&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;a href="http://sh1.webring.com/cgi-bin/dl?f=/wr/shout/members/xm/matt6ft9/folders/web/robin_schematic.pdf&amp;amp;id=robin_schematic.pdf"&gt;Schematic&lt;/a&gt;&lt;br /&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a href="http://sh1.webring.com/cgi-bin/dl?f=/wr/shout/members/xm/matt6ft9/folders/web/robin_soucecode.zip&amp;amp;id=robin_soucecode.zip"&gt;Source code for the Attiny13&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a href="http://sh1.webring.com/cgi-bin/dl?f=/wr/shout/members/xm/matt6ft9/folders/web/robin_burnfile.hex&amp;amp;id=robin_burnfile.hex"&gt;Hex file for the Attiny13&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/364312430122069233-3642710604523554684?l=electronicsfluff.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electronicsfluff.blogspot.com/feeds/3642710604523554684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electronicsfluff.blogspot.com/2010/06/relocation-of-robin-for-those-of-you.html#comment-form' title='19 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/364312430122069233/posts/default/3642710604523554684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/364312430122069233/posts/default/3642710604523554684'/><link rel='alternate' type='text/html' href='http://electronicsfluff.blogspot.com/2010/06/relocation-of-robin-for-those-of-you.html' title=''/><author><name>matt6ft9</name><uri>http://www.blogger.com/profile/01695046933467325410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://1.bp.blogspot.com/_309J5Mv0QXY/SYkEeSJ0CTI/AAAAAAAAAAM/CLb94RJrlOA/S220/about_me.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_309J5Mv0QXY/TCFqa_yjbcI/AAAAAAAAABg/CCTAU_mdanY/s72-c/robin_wiki.png' height='72' width='72'/><thr:total>19</thr:total></entry></feed>
