<?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>Addictronics &#187; Model Rockets</title>
	<atom:link href="http://www.Addictronics.com/tag/model-rockets/feed" rel="self" type="application/rss+xml" />
	<link>http://www.Addictronics.com</link>
	<description>An Online Portfolio For My Electronic Projects</description>
	<lastBuildDate>Tue, 11 May 2010 03:20:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Microcontroller Launcher</title>
		<link>http://www.Addictronics.com/projects/microcontroller-launcher</link>
		<comments>http://www.Addictronics.com/projects/microcontroller-launcher#comments</comments>
		<pubDate>Thu, 13 Nov 2008 05:57:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Fireworks]]></category>
		<category><![CDATA[Model Rockets]]></category>

		<guid isPermaLink="false">http://www.Addictronics.com/?p=579</guid>
		<description><![CDATA[16 terminal, microcontroller operated fireworks or rocket launcher]]></description>
			<content:encoded><![CDATA[<p>EDIT: Made it to the front page of HAD <a title="Hack A Day" href="http://hackaday.com/2008/11/15/microcontroller-fireworks-launcher/" target="_blank">http://hackaday.com/2008/11/15/microcontroller-fireworks-launcher/</a></p>
<p>So on a slight upgrade from my <a href="http://www.addictronics.com/projects/model-rockets">last launcher</a> I made a new model rocket/Fireworks launcher using an <a href="http://www.arduino.cc">Arduino microcontroller</a> . This project was inspired by this <a href="http://hackaday.com/2008/03/24/wireless-fireworks-controller/">wireless fireworks controller </a>and this <a href="http://hackaday.com/2008/10/14/microcontroller-powered-missile-launch-controller/">microcontroller rocket launcher</a> . I really did not want to dedicate my launch device to any one specific role since celebrations are far apart and model rockets are somewhere near the middle of my list of hobbies.  By combining the two different devices together I was able to achieve what I wanted.  Most of my original drawings are found here&#8230;</p>
<p style="text-align: center;"><a rel="lightbox[pics579]" href="http://www.Addictronics.com/wp-content/uploads/2008/11/brain.jpg"><img class="attachment wp-att-580 centered" src="http://www.Addictronics.com/wp-content/uploads/2008/11/brain.jpg" alt="" width="142" height="125" /></a></p>
<p>I was going to use the ATmega32 microcontroller because of its quantity of digital I/O lines but settled on using an Arduino Diecimila for prototyping and RBBB for implementation. Keeping things simplistic but still allowing a workable user interface I decided on only using 4 buttons and 2 switches.</p>
<ul>
<li>Power Switch:</li>
<li>Turning the device on and off.</li>
<li>Key Switch: Activating the launch screen and final authentication method before launch.</li>
<li>Left/Right Launch Buttons: Menu Navigation, login acceptance and launch.</li>
<li>Up/Down buttons: More menu navigation.</li>
</ul>
<p>The ATmega168 only has 14 digital I/O lines and I will be requiring at least 1 for each switch and launch terminal.  Two 8-bit shift registers give me 16 terminals and are super nice because in order to operate both you only have to sacrifice Three pins. Here are some things I wanted to include</p>
<ul>
<li>Startup melody</li>
<li>Password authentication</li>
<li>Key Switch</li>
<li>Ability to change launch configuration such as delay and patterns.</li>
<li>Screen for pattern selection and other settings.</li>
</ul>
<p>Here is the finished prototype. Basically this is just a proof of concept and also it allowed me to finish the software prior to installation. You can see the black 16pin shift registers each broken out to LED segments. The yellow chips are 330 ohm resistors.</p>
<p style="text-align: center;"><a rel="lightbox[pics579]" href="http://www.Addictronics.com/wp-content/uploads/2008/11/protolayout1.jpg"><img class="attachment wp-att-582 centered aligncenter" src="http://www.Addictronics.com/wp-content/uploads/2008/11/protolayout1.thumbnail.jpg" alt="" width="250" height="187" /></a></p>
<p style="text-align: left;">I finished the transistor board after lots of soldering. Each output from the shift registers are connected to the Base of the Transistor through a 1k resistor and each pin has a pull-down resistor as well. Instead of using one power source, the terminals will be broken up into four power sources. Two 9 volt batteries in series will feed each section of 4 terminals. Eight batteries for the launch system and two more for powering the microcontroller, LCD screen, LED&#8217;s and etc. To help take the initial shock current off of the 9v batteries each of the four sections has a 4700uf cap. The smaller cap is part of the 5v regulator system for all the controls.</p>
<p style="text-align: center;"><a rel="lightbox[pics579]" href="http://www.addictronics.com/wp-content/uploads/2008/11/transistorboard.jpg"><img class="attachment wp-att-592 centered aligncenter" src="http://www.addictronics.com/wp-content/uploads/2008/11/transistorboard.thumbnail.jpg" alt="" width="250" height="187" /></a></p>
<p style="text-align: left;">Using an old floppy cable I connected the transistor board to the <a href="http://moderndevice.com/RBBB_revB.shtml">Arduino RBBB</a>. And then some more for connecting up the switches, buzzer, led&#8217;s and LCD screen. All that is next is to wire up the terminals to the transistor board and then mount it all in its case.</p>
<p style="text-align: center;"><a rel="lightbox[pics579]" href="http://www.addictronics.com/wp-content/uploads/2008/11/protolayout2.jpg"><img class="attachment wp-att-593 centered" src="http://www.addictronics.com/wp-content/uploads/2008/11/protolayout2.thumbnail.jpg" alt="" width="250" height="172" /></a></p>
<p style="text-align: left;">Well wire that up and get some more batteries :)</p>
<p style="text-align: center;"><a rel="lightbox[pics579]" href="http://www.addictronics.com/wp-content/uploads/2008/11/9vbatteries.jpg"><img class="attachment wp-att-595 centered" src="http://www.addictronics.com/wp-content/uploads/2008/11/9vbatteries.thumbnail.jpg" alt="" width="250" height="187" /></a></p>
<p style="text-align: left;">After acquiring the batteries and finishing up the wiring I started looking for a case. I knew that I wanted something pelican-esk. I found this Plano waterproof case at Academy Sports an everything fits inside perfectly. The next problem was what to use for the lid to mount the switches to. Three walks around my house landed me with some plywood, Plexiglas and a clipboard. The clipboard almost fit to begin with so I chose to use it. After some hot glue here is the result.</p>
<p style="text-align: center;"><a rel="lightbox[pics579]" href="http://www.addictronics.com/wp-content/uploads/2008/11/p1020243.jpg"><img class="attachment wp-att-599 centered" src="http://www.addictronics.com/wp-content/uploads/2008/11/p1020243.thumbnail.jpg" alt="" width="250" height="187" /></a></p>
<p style="text-align: center;">I had to recess the top piece down some for the red arming switch to clear the case lid. I really like the looks of how this turned out.</p>
<p style="text-align: center;"><a rel="lightbox[pics579]" href="http://www.addictronics.com/wp-content/uploads/2008/11/p1020244.jpg"><img class="attachment wp-att-600 centered" src="http://www.addictronics.com/wp-content/uploads/2008/11/p1020244.thumbnail.jpg" alt="" width="250" height="187" /></a></p>
<p style="text-align: left;">The launcher booted up and armed, ready for launch. I should probably mention the two momentary push button switches to the right of the LCD screen. I used some felt with sticky on the back to cover them up and still show their location. I would probably use larger push buttons that were mountable if I had to do this over again.  Also each launch button  (bottom left and right) have built in blue LED&#8217;s which didn&#8217;t show up in this picture.</p>
<p style="text-align: left;">
<p style="text-align: center;"><a rel="lightbox[pics579]" href="http://www.addictronics.com/wp-content/uploads/2008/11/p1020245.jpg"><img class="attachment wp-att-601 centered" src="http://www.addictronics.com/wp-content/uploads/2008/11/p1020245.thumbnail.jpg" alt="" width="250" height="187" /></a></p>
<p style="text-align: left;">Steps to get to the launch screen include:</p>
<ul>
<li>Turning the power on</li>
<li>Entering in launch code.
<ul>
<li>Press and holding both launch buttons to verify code</li>
<li>If code is wrong it notifies the user and reboots</li>
</ul>
</li>
<li>Selecting the launch array which include
<ul>
<li>Every terminal</li>
<li>Every odd terminal</li>
<li>Every even terminal</li>
<li>Terminal #1 only</li>
<li>Every terminal with a 1sec delay between</li>
</ul>
</li>
<li>Then inserting the key and turning it to the on position.
<ul>
<li>This arms the system and turns on a relay which connects the battery packs to the transistor board.</li>
<li>Also when armed the launch buttons light up bright blue.</li>
</ul>
</li>
<li>Pressing both launch buttons simultaneously.</li>
</ul>
<p>Inside the case the first thing to notice is the battery array. Two for each terminal and two for the launch system. Hot glue was mainly used to hold things together but some other reinforcement will be added before this sees field use.  A short test of each terminal and all buttons and this is ready to see its first rocket or firework.</p>
<p style="text-align: center;"><a rel="lightbox[pics579]" href="http://www.addictronics.com/wp-content/uploads/2008/11/p1020251.jpg"><img class="attachment wp-att-602 centered" src="http://www.addictronics.com/wp-content/uploads/2008/11/p1020251.thumbnail.jpg" alt="" width="250" height="187" /></a></p>
<p style="text-align: center;">Coming this New Years will be another video of it in action but here is a short demonstration video.</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="300" 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://vimeo.com/moogaloop.swf?clip_id=2245777&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="300" src="http://vimeo.com/moogaloop.swf?clip_id=2245777&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object><br />
<a href="http://vimeo.com/2245777">Microcontroller Rocket/Firework Launcher</a> from <a href="http://vimeo.com/user935828">Adam</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p style="text-align: center;">
<p>Things to Consider<br />
If I were going to do this again I would probably try to use a different power source. I think a rechargeable alarm battery would be easy to integrate and also would allow recharging. As I said before I would also use different up down buttons next to the lcd and try to trim the edges of the lcd with something more professional looking.</p>
<p>I have some Ideas of things I will add or change such as more launch arrays and a login password that is changeable via the device and not software set. Adding a security measure of having to press the launch buttons within a certain amount of each other would be doable and make accidental launch less likely.</p>
<p>One thing that I am planning on adding for sure is some type of remote, probably wired, to set off the rocket or fireworks from an even further distance. I&#8217;m thinking of using a project box and telephone cord for this but if you can think of something better let me know!</p>
<p>If you would like the code or schematics email me and I will send them to you. Thanks</p>
]]></content:encoded>
			<wfw:commentRss>http://www.Addictronics.com/projects/microcontroller-launcher/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
