<?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>Steve's Junk</title>
	<atom:link href="http://smackaay.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://smackaay.com</link>
	<description>A showcase of Steven Mackaay's stuff</description>
	<lastBuildDate>Sun, 11 Mar 2012 20:11:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>The Olimex PIC32-Pinguino micro Review</title>
		<link>http://smackaay.com/2012/03/11/the-olimex-pic32-pinguino-micro-review/</link>
		<comments>http://smackaay.com/2012/03/11/the-olimex-pic32-pinguino-micro-review/#comments</comments>
		<pubDate>Sun, 11 Mar 2012 20:11:37 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[microchip]]></category>
		<category><![CDATA[Olimex]]></category>
		<category><![CDATA[PIC32]]></category>
		<category><![CDATA[Pinguino]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=1147</guid>
		<description><![CDATA[Specs: Manufactured by Olimex Price ~$25 USD Pic32MX440F256H 32 bit Microchip MCU 256K of Flash, 32K of RAM Built in microSD slot Operating at 80 Mhz USB On-the-go Geared for Pinguino IDE First Thoughts: I haven&#8217;t used this product very extensively yet so some shortcomings are awesome points may be missed. I have played with [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1148" class="wp-caption aligncenter" style="width: 443px"><a href="http://smackaay.com/wp-content/uploads/2012/03/IMG_3522-mod.jpg"><img class="size-medium wp-image-1148" title="PIC32-PINGUINO" src="http://smackaay.com/wp-content/uploads/2012/03/IMG_3522-mod-433x300.jpg" alt="PIC32-PINGUINO" width="433" height="300" /></a><p class="wp-caption-text">The Olimex PIC32-Pnguino with it&#39;s large DIP form factor</p></div>
<p>Specs:</p>
<ul>
<li>Manufactured by <a href="http://www.olimex.com/">Olimex</a></li>
<li>Price ~$25 USD</li>
<li>Pic32MX440F256H 32 bit Microchip MCU</li>
<li>256K of Flash, 32K of RAM</li>
<li>Built in microSD slot</li>
<li>Operating at 80 Mhz</li>
<li>USB On-the-go</li>
<li>Geared for Pinguino IDE</li>
</ul>
<p>First Thoughts:</p>
<p>I haven&#8217;t used this product very extensively yet so some shortcomings are awesome points may be missed. I have played with it for a couple of days though and read through most of the libraries and documentation. This product is from Olimex in Bulgaria and to be honest, I&#8217;m a bit of a fan of Olimex. Olimex has built some interesting devices such as the DuinoMite and you can really tell that these guys really like what they do. They spend the time and effort to make the boards as good as possible.</p>
<p>Anyways, some thoughts about this board. It&#8217;s a pretty neat little board for both prototyping and perhaps even fitting it in to a product. It has a small form factor and would happily fit into a larger board for use in a larger product. The built in microSD port and the USB otg interface allows for some neat things to be made. The pinguino IDE isn&#8217;t too bad either. The libraries are reasonably complete and the device works quite reliably with the software as I encountered no bugs or glitches and programs worked as expected.</p>
<p>Pros:</p>
<ul>
<li>Small form factor</li>
<li>.1 dip pinout which is good for breadboarding</li>
<li>Good price for a 32 bit device like this</li>
<li>Well built</li>
<li>UEXT port for other Olimex peripherals is a nice choice</li>
<li>Fast!</li>
</ul>
<p>Cons:</p>
<ul>
<li>Uses small ICSP port which you must buy from Olimex. I know it&#8217;s done for size and not simply to sell a cable but it&#8217;s still a bit of a drag.</li>
<li>DIP width is too wide to fit on a single breadboard, you&#8217;ll need to use two breadboards and straddle it over them.</li>
<li>UEXT connector is taller than everything else on the board. Not a huge issue but most people won&#8217;t use the UEXT connector and the header could interfere inside an enclosure.</li>
<li>like with most 32 bit processors, the pins are not 5V. some of the pins may be 5V tolerant but this simply comes with the territory.</li>
</ul>
<p>Final Thoughts:</p>
<p>I like the stuff that Olimex builds. They give a shit about what they make and it shows. This type of device is pretty good for almost anyone with a reasonable amount of skill wishing to prototype anything you would normally do with an Arduino. For the price, you can&#8217;t beat these guys. In order to get ahold of one you can go through Mouser or look at the Ebay distributor (olimexery). Olimex themselves seems to sell it but they don&#8217;t seem to have a slick store setup to do purchasing.</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2012/03/11/the-olimex-pic32-pinguino-micro-review/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Wiring S Review</title>
		<link>http://smackaay.com/2012/03/11/wiring-s-review/</link>
		<comments>http://smackaay.com/2012/03/11/wiring-s-review/#comments</comments>
		<pubDate>Sun, 11 Mar 2012 07:11:58 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[canadian]]></category>
		<category><![CDATA[prototyping]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[wiring]]></category>
		<category><![CDATA[wiring s]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=1143</guid>
		<description><![CDATA[Since I have so many units for physical computing now, I figure it&#8217;s time to review some of them. Perhaps somebody will find the review useful for when they are searching around for opinions about certain products. Specs: Manufactured by Rogue Robotics Price ~$27 USD Uses an Atmega644p (surface mount) 64Kb of Flash (double arduino uno) [...]]]></description>
			<content:encoded><![CDATA[<p>Since I have so many units for physical computing now, I figure it&#8217;s time to review some of them. Perhaps somebody will find the review useful for when they are searching around for opinions about certain products.</p>
<div id="attachment_1144" class="wp-caption aligncenter" style="width: 451px"><a href="http://smackaay.com/wp-content/uploads/2012/03/IMG_3519-mod.jpg"><img class="size-medium wp-image-1144" title="Wiring S" src="http://smackaay.com/wp-content/uploads/2012/03/IMG_3519-mod-441x300.jpg" alt="" width="441" height="300" /></a><p class="wp-caption-text">The Wiring S board from Rogue robotics</p></div>
<p>Specs:</p>
<ul>
<li>Manufactured by <a title="Rogue robotics" href="http://www.roguerobotics.com" target="_blank">Rogue Robotics</a></li>
<li>Price ~$27 USD</li>
<li>Uses an Atmega644p (surface mount)</li>
<li>64Kb of Flash (double arduino uno)</li>
<li>4Kb if SRAM (double the uno)</li>
<li>overall size (2&#8243; x 3&#8243; x .5&#8243;)</li>
<li>16 Mhz</li>
<li>7-12v input or USB</li>
<li>2 hardware uarts</li>
<li>1 hardware spi</li>
<li>FTDI USB to serial interface</li>
</ul>
<p>First thoughts:</p>
<p>I started off trying a few common things such as accelerometers, switches, sd cards and various other things. Most of the basic stuff from a standard Arduino will work except the SD card will you to program it through the SPI library. The form factor has changed a bit from Arduino in that they have used standard 100mil spacing. Also, they have separated the headers in to groups of 8, you can access each of these as ports instead of straight pins. you could do this with the Arduino but the pins were not always contiguous. Also, using the 644 is great because you get two hardware UARTs. very nice! Other than the changes mentioned, it is pretty much the same as an arduino and the software looks and functions almost exactly the same as the standard Arduino IDE. It all has very good fit and finish and is reasonably priced and functional.</p>
<p>Pros:</p>
<ul>
<li>Better pin locations, based on a grid of 100 mill unlike and Arduino which has one row of headers off by 50 mil.</li>
<li>Better pinout usage. Ports are aligned along the header and power,rst and aref are on their own separate header, much better.</li>
<li>Easier to reach reset button if a shield were on the board.</li>
<li>more flash and SRAM than standard UNO, double to be exact.</li>
<li>inch based form factor (exactly 2&#215;3 inches)</li>
<li>provision for pins or terminal for direct power feed rather than barrel or usb</li>
<li>reasonable cost, not super cheap or expensive, comparable</li>
<li>Switchover jumper for usb power and external</li>
<li>Canadian Made!</li>
</ul>
<p>Cons:</p>
<ul>
<li>Used huge USB connector like Arduinos. Most others stay away from these since they&#8217;re huge and most people don&#8217;t like the large cords.</li>
<li>For the same reason that the header placing is good also makes it bad if you like to use shields for the Arduino</li>
<li>sd library isn&#8217;t implemented but that&#8217;s not a big deal</li>
<li>slightly larger for factor (as per area) than the Arduino but not by much.</li>
</ul>
<p>In closing:</p>
<p>This product is great for anybody who uses the Arduino or is learning. It&#8217;s better in almost every waythan an UNO and is offered for a  reasonable price.</p>
<p>Pop by <a href="http://www.robotshop.com/ca/home.html" target="_blank">robotshop</a> or<a href="http://www.roguerobotics.com" target="_blank"> roguerobotics</a> if you&#8217;d like to pick one up</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2012/03/11/wiring-s-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Digital gage, Arduinos and Netduinos</title>
		<link>http://smackaay.com/2012/02/26/digital-gage-arduinos-and-netduinos/</link>
		<comments>http://smackaay.com/2012/02/26/digital-gage-arduinos-and-netduinos/#comments</comments>
		<pubDate>Sun, 26 Feb 2012 09:06:47 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[beaglebone]]></category>
		<category><![CDATA[hoarder]]></category>
		<category><![CDATA[netduino]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=1125</guid>
		<description><![CDATA[Since my last update I&#8217;ve been busily collecting Arduinos and various other things. This is getting sort of expensive. Anyways, first off. Digi-Gage My Digi-Gage is coming along quite nicely. I spun a set of boards from Itead studio a couple of weeks ago, paid a bit extra for the ENIG and the black soldermask. [...]]]></description>
			<content:encoded><![CDATA[<p>Since my last update I&#8217;ve been busily collecting Arduinos and various other things. This is getting sort of expensive. Anyways, first off.</p>
<p><strong>Digi-Gage</strong></p>
<p>My Digi-Gage is coming along quite nicely. I spun a set of boards from Itead studio a couple of weeks ago, paid a bit extra for the ENIG and the black soldermask. very nice indeed.</p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/02/IMG_3510-modified.jpg"><img class="aligncenter size-medium wp-image-1127" title="Digi gage board" src="http://smackaay.com/wp-content/uploads/2012/02/IMG_3510-modified-400x300.jpg" alt="Digi gage board" width="400" height="300" /></a></p>
<p>This board is for my digital gage. The board interfaces a PIC18F4685 to a LS7166 and thus counts ticks from a run of the mill glass scale. Hopefully it&#8217;ll work as well as I hope.</p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/02/IMG_3512-modified.jpg"><img class="aligncenter size-medium wp-image-1128" title="Digi gage board semi-populated" src="http://smackaay.com/wp-content/uploads/2012/02/IMG_3512-modified-429x300.jpg" alt="Digi gage board semi-populated" width="429" height="300" /></a></p>
<p>This is it semi-populated. turns out I forgot to buy the TQFP package MCU hence why the mcu isn&#8217;t present on the board. I&#8217;ll get the rest of the parts from Digikey soon.</p>
<p><strong>Arduino &#8211; devboard collection</strong></p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/02/IMG_3509-modified.jpg"><img class="aligncenter size-medium wp-image-1126" title="Devboard city" src="http://smackaay.com/wp-content/uploads/2012/02/IMG_3509-modified-400x300.jpg" alt="Devboard city" width="400" height="300" /></a></p>
<p>Well, I&#8217;ve been spending money on all kinds of things and perhaps it&#8217;s time to slow down a bit. Especially considering that I don&#8217;t use them. Here&#8217;s what I&#8217;ve got and some thoughts about them.</p>
<ul>
<li>Arduino Uno &#8211; The standard arduino, handy, very handy</li>
<li>Arduino Mega 2560 &#8211; A bigger version of the standard. Good for extra pinouts.</li>
<li>Arduino Nano &#8211; Extremely handy, combining both the arduino usefulness with a breadboardable stick.</li>
<li>Chipkit Uno &#8211; A (much) faster 32 bit arduino. Only disadvantage is the 3.3 volt limit on IO. That said, it has double the IO of a standard arduino and uses the Arduino IDE</li>
<li>Chipkit Max &#8211; A larger version of the previous one with many more IO.</li>
<li>AVR Butterfly &#8211; Haven&#8217;t really played with it yet but it seems pretty promising for something cute and interesting.</li>
<li>Netduino Plus &#8211; Like an arduino but faster and able to be programmed in visual c#. I haven&#8217;t figured out how to program it in VB yet, perhaps it&#8217;s not even possible.</li>
<li>Netduino Mini &#8211; like the above but with a smaller form. Neat little device.</li>
<li>Duinomite Mini &#8211; another cool device with VGA out just like the Duinomite standard.</li>
<li>Beaglebone &#8211; Still haven&#8217;t used this much yet</li>
<li>Olimexino 328 &#8211; An arduino but built well. Great for industrial use. Gotta love olimex.</li>
</ul>
<div><span style="font-size: small;"><span style="line-height: 24px;">Anyways, here&#8217;s a gallery of the images.</span></span></div>

<a href='http://smackaay.com/2012/02/26/digital-gage-arduinos-and-netduinos/img_3509-modified/' title='Devboard city'><img width="150" height="112" src="http://smackaay.com/wp-content/uploads/2012/02/IMG_3509-modified-150x112.jpg" class="attachment-thumbnail" alt="Devboard city" title="Devboard city" /></a>
<a href='http://smackaay.com/2012/02/26/digital-gage-arduinos-and-netduinos/img_3510-modified/' title='Digi gage board'><img width="150" height="112" src="http://smackaay.com/wp-content/uploads/2012/02/IMG_3510-modified-150x112.jpg" class="attachment-thumbnail" alt="Digi gage board" title="Digi gage board" /></a>
<a href='http://smackaay.com/2012/02/26/digital-gage-arduinos-and-netduinos/img_3512-modified/' title='Digi gage board semi-populated'><img width="150" height="104" src="http://smackaay.com/wp-content/uploads/2012/02/IMG_3512-modified-150x104.jpg" class="attachment-thumbnail" alt="Digi gage board semi-populated" title="Digi gage board semi-populated" /></a>
<a href='http://smackaay.com/2012/02/26/digital-gage-arduinos-and-netduinos/0ardmega/' title='0ardmega'><img width="150" height="75" src="http://smackaay.com/wp-content/uploads/2012/02/0ardmega-150x75.jpg" class="attachment-thumbnail" alt="0ardmega" title="0ardmega" /></a>
<a href='http://smackaay.com/2012/02/26/digital-gage-arduinos-and-netduinos/0arduinoekits/' title='0arduinoekits'><img width="150" height="118" src="http://smackaay.com/wp-content/uploads/2012/02/0arduinoekits-150x118.jpg" class="attachment-thumbnail" alt="0arduinoekits" title="0arduinoekits" /></a>
<a href='http://smackaay.com/2012/02/26/digital-gage-arduinos-and-netduinos/0arduinonano/' title='0arduinonano'><img width="63" height="150" src="http://smackaay.com/wp-content/uploads/2012/02/0arduinonano-63x150.jpg" class="attachment-thumbnail" alt="0arduinonano" title="0arduinonano" /></a>
<a href='http://smackaay.com/2012/02/26/digital-gage-arduinos-and-netduinos/0avrbutterfly/' title='0avrbutterfly'><img width="150" height="112" src="http://smackaay.com/wp-content/uploads/2012/02/0avrbutterfly-150x112.jpg" class="attachment-thumbnail" alt="0avrbutterfly" title="0avrbutterfly" /></a>
<a href='http://smackaay.com/2012/02/26/digital-gage-arduinos-and-netduinos/0avrbutterflyback/' title='0avrbutterflyback'><img width="150" height="101" src="http://smackaay.com/wp-content/uploads/2012/02/0avrbutterflyback-150x101.jpg" class="attachment-thumbnail" alt="0avrbutterflyback" title="0avrbutterflyback" /></a>
<a href='http://smackaay.com/2012/02/26/digital-gage-arduinos-and-netduinos/0beaglebone/' title='0beaglebone'><img width="150" height="96" src="http://smackaay.com/wp-content/uploads/2012/02/0beaglebone-150x96.jpg" class="attachment-thumbnail" alt="0beaglebone" title="0beaglebone" /></a>
<a href='http://smackaay.com/2012/02/26/digital-gage-arduinos-and-netduinos/0chipkitmax32/' title='0chipkitmax32'><img width="150" height="76" src="http://smackaay.com/wp-content/uploads/2012/02/0chipkitmax32-150x76.jpg" class="attachment-thumbnail" alt="0chipkitmax32" title="0chipkitmax32" /></a>
<a href='http://smackaay.com/2012/02/26/digital-gage-arduinos-and-netduinos/0chipkituno/' title='0chipkituno'><img width="150" height="110" src="http://smackaay.com/wp-content/uploads/2012/02/0chipkituno-150x110.jpg" class="attachment-thumbnail" alt="0chipkituno" title="0chipkituno" /></a>
<a href='http://smackaay.com/2012/02/26/digital-gage-arduinos-and-netduinos/0mduinomitemini/' title='0mduinomitemini'><img width="144" height="150" src="http://smackaay.com/wp-content/uploads/2012/02/0mduinomitemini-144x150.jpg" class="attachment-thumbnail" alt="0mduinomitemini" title="0mduinomitemini" /></a>
<a href='http://smackaay.com/2012/02/26/digital-gage-arduinos-and-netduinos/0netduinomini/' title='0netduinomini'><img width="150" height="81" src="http://smackaay.com/wp-content/uploads/2012/02/0netduinomini-150x81.jpg" class="attachment-thumbnail" alt="0netduinomini" title="0netduinomini" /></a>
<a href='http://smackaay.com/2012/02/26/digital-gage-arduinos-and-netduinos/0netduinoplus/' title='0netduinoplus'><img width="150" height="112" src="http://smackaay.com/wp-content/uploads/2012/02/0netduinoplus-150x112.jpg" class="attachment-thumbnail" alt="0netduinoplus" title="0netduinoplus" /></a>
<a href='http://smackaay.com/2012/02/26/digital-gage-arduinos-and-netduinos/0olimexino-328/' title='0olimexino-328'><img width="150" height="116" src="http://smackaay.com/wp-content/uploads/2012/02/0olimexino-328-150x116.jpg" class="attachment-thumbnail" alt="0olimexino-328" title="0olimexino-328" /></a>

]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2012/02/26/digital-gage-arduinos-and-netduinos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update time..</title>
		<link>http://smackaay.com/2012/02/01/update-time/</link>
		<comments>http://smackaay.com/2012/02/01/update-time/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 04:42:29 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[arduino nano]]></category>
		<category><![CDATA[digital gage]]></category>
		<category><![CDATA[pic18f4680]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=1117</guid>
		<description><![CDATA[First off, something fun (if you&#8217;re boring like me) I decided to record data in my car overnight and through the daytime. From 12:00am to 7:00pm thereabouts. I recorded the data every 4 seconds with the following sensors NTC Thermistor Low Sensitivity CDS (Resistor that changes when light hits it) High Sensitivity CDS Accelerometer X,Y,Z axis [...]]]></description>
			<content:encoded><![CDATA[<p>First off, something fun (if you&#8217;re boring like me)</p>
<p>I decided to record data in my car overnight and through the daytime. From 12:00am to 7:00pm thereabouts. I recorded the data every 4 seconds with the following sensors</p>
<ul>
<li>NTC Thermistor</li>
<li>Low Sensitivity CDS (Resistor that changes when light hits it)</li>
<li>High Sensitivity CDS</li>
<li>Accelerometer X,Y,Z axis</li>
</ul>
<p>Why did I do this? just cause. here is the resulting chart</p>
<div id="attachment_1118" class="wp-caption aligncenter" style="width: 510px"><a href="http://smackaay.com/wp-content/uploads/2012/02/tempchart.png"><img class="size-medium wp-image-1118" title="tempchart" src="http://smackaay.com/wp-content/uploads/2012/02/tempchart-500x227.png" alt="" width="500" height="227" /></a><p class="wp-caption-text">Recorded data for Feb 1, 2012 in my car</p></div>
<p>Here is the legend: B = Temperature , C = Low Sens. Light, D = High Sens. Light, E = X axis accel, F = Y axis accel, G = Z axis accel.</p>
<p>All of these values are as the MCU read them, ranging from 0-1023. They are also logarithmic so as they approach 1024, the value is &#8216;squished&#8217; so large changes appear small.  anyways, I thought it was neat to see the following things occur.</p>
<ul>
<li>Temperature of the device goes down as the night wears on. There are some lights detected, probably people passing by in the alley behind my car. some drift is noticeable from the accelerometers (due to temperature change?). Also something to notice is that  X and Y are pretty much the same</li>
<li>The light appears to go haywire, this is me driving in the dark and going under streetlights. Also, the temperature increases, the accelerometers shake and show the duration of my drive to work.</li>
<li>As my car is parked you can see that I have parked crooked by the X and Y axis. Also, the sun starts to come up. As far as I could tell, it was pitch dark outside, the sensitive light meter says differently.</li>
<li>During the day, the overcast sky keeps the sky about the same light level, whereas with the less sensitive instrument, since it&#8217;s further from saturation, shows variations in the ambient light level through the day. Temperature also fluctuates.</li>
<li>The Drive home, very similar to the drive to work.</li>
<li>The car is level again and the light level drops as well as the temperature.</li>
</ul>
<p>Anyways, I know it&#8217;s boring but it&#8217;s neat to see real world events (ones you didn&#8217;t know about) show up on the chart.</p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/02/IMG_3450-modified.jpg"><img class="aligncenter size-medium wp-image-1121" title="Arduino measurement" src="http://smackaay.com/wp-content/uploads/2012/02/IMG_3450-modified-500x283.jpg" alt="Arduino measurement" width="500" height="283" /></a></p>
<p><strong>Update on the Digital Gage</strong></p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/02/IMG_3447-modified.jpg"><img class="aligncenter size-medium wp-image-1120" title="Digital Gage" src="http://smackaay.com/wp-content/uploads/2012/02/IMG_3447-modified-292x300.jpg" alt="Digital Gage" width="292" height="300" /></a></p>
<p>Things are proceeding apace with this as well. The rail and the encoder are attached together and they also slide together with the aluminum part I machined for that purpose. Now as for the board, this was a nightmare. Nothing but problems. I started out with a PIC18F46K80, the faster/cheaper versions of the high end 18f4680 and initially it was all OK. Until I tried to use the UART. For the life of me, I could not get the UART to stop spitting out junk. Once I started getting it to stop spitting out junk, it then output nothing at all. <img src='http://smackaay.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/02/IMG_3444-modified.jpg"><img class="aligncenter size-medium wp-image-1119" title="RTJ gage board" src="http://smackaay.com/wp-content/uploads/2012/02/IMG_3444-modified-440x300.jpg" alt="RTJ gage board" width="440" height="300" /></a></p>
<p>Now, I&#8217;ve switch over to a standard 18f4680 but the LS7166 is giving me problems. aaargh! Anyways, things should improve with a bit of hard work and a fresh mind on the idea.</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2012/02/01/update-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Olimex Duinomite</title>
		<link>http://smackaay.com/2012/01/28/the-olimex-duinomite/</link>
		<comments>http://smackaay.com/2012/01/28/the-olimex-duinomite/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 20:37:22 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[basic]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[duinomite]]></category>
		<category><![CDATA[sbc]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=1107</guid>
		<description><![CDATA[A while back I was thinking about making a small board that would run it&#8217;s own OS and methodology for programming, similar to the computers of old such as the TRS-80 and the Commodore 64. Everything was on these machine for controlling simple tasks, video, audio and file stuff. All from the OS prompt. I [...]]]></description>
			<content:encoded><![CDATA[<p>A while back I was thinking about making a small board that would run it&#8217;s own OS and methodology for programming, similar to the computers of old such as the TRS-80 and the Commodore 64. Everything was on these machine for controlling simple tasks, video, audio and file stuff. All from the OS prompt. I always thought it&#8217;d be neat to have a microcontroller board that functioned similarly to the older computers but with IO.</p>
<p>Imagine my surprise when I discovered the Duinomite. I stumbled across it at dontronics and after reading a bit about it, I purchased it right away.</p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/01/IMG_3441-modified.jpg"><img class="aligncenter size-medium wp-image-1108" title="Duinomite" src="http://smackaay.com/wp-content/uploads/2012/01/IMG_3441-modified-400x300.jpg" alt="Duinomite" width="400" height="300" /></a></p>
<p>The Duinomite is basically a single board computer with a BASIC interpreter, VGA and Composite interface and a bunch of other little features which make it so awesome. It should also be noted that this idea was done first by Geoff Graham and his unit, the MaxiMite. It seems as though Olimex and Geoff were having a bit of a fight for a while but frankly, I don&#8217;t really know. All I can say is that it&#8217;s a really neat device and I&#8217;m glad that I bought it.</p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/01/IMG_3443-modified.jpg"><img class="aligncenter size-medium wp-image-1109" title="Duinomite board" src="http://smackaay.com/wp-content/uploads/2012/01/IMG_3443-modified-400x300.jpg" alt="Duinomite board" width="400" height="300" /></a></p>
<p>Anyways, like I said, it has a basic interpreter on it. It allows you to program it with a ps2 keyboard or through the console on a virtual com port. The language itself is pretty rudimentary with no labels except for line number. No functions either. However, for simpler, less time intensive stuff, this board is ideal. Here are some screenies of the video display.</p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/01/scr3.png"><img class="aligncenter size-full wp-image-1112" title="scr3" src="http://smackaay.com/wp-content/uploads/2012/01/scr3.png" alt="" width="304" height="216" /></a></p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/01/scr2.png"><img class="aligncenter size-full wp-image-1111" title="scr2" src="http://smackaay.com/wp-content/uploads/2012/01/scr2.png" alt="" width="304" height="216" /></a></p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/01/scr1.png"><img class="aligncenter size-full wp-image-1110" title="scr1" src="http://smackaay.com/wp-content/uploads/2012/01/scr1.png" alt="" width="304" height="216" /></a></p>
<p>The video is pretty rudimentary, monochrome only, 324&#215;216 or 320&#215;200 in vga mode. It does seem to work ok though. The nice thing about this device is its easy access to a sd card so you can log data as well real easily.</p>
<p>anyways, I thought it was a neat device. anyways, check it out at <a href="http://www.olimex.com/dev/index.html">http://www.olimex.com/dev/index.html</a></p>
<p><strong>Data logging</strong></p>
<p>As a side effect of trying this board out, I kept a couple of graphs. The first on is temperature versus time and the next is light level. I just wanted to try it out so I left it run overnight and here are the charts</p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/01/grphtemp.png"><img class="aligncenter size-medium wp-image-1114" title="grphtemp" src="http://smackaay.com/wp-content/uploads/2012/01/grphtemp-500x103.png" alt="" width="500" height="103" /></a></p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/01/grphlight.png"><img class="aligncenter size-medium wp-image-1113" title="grphlight" src="http://smackaay.com/wp-content/uploads/2012/01/grphlight-500x248.png" alt="" width="500" height="248" /></a></p>
<p>I did something like this earlier, like 3 years ago. I&#8217;ve always found it neat to see such variation in a controlled environment. For example, the temperature graph shows when I closed the door to my office, the temperature dropped but you could see the furnace kicking on every 20 minutes.</p>
<p>Also, with the light. You can see I had the main light on. Then I turned it off. Then i left the monitor on when I left, eventually the monitor turned off and then as day broke you could see an increase in lighting.</p>
<p>I dunno, I think that kind of thing is cool.</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2012/01/28/the-olimex-duinomite/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Many Dev Boards&#8230; what to do?</title>
		<link>http://smackaay.com/2012/01/11/many-dev-boards-what-to-do/</link>
		<comments>http://smackaay.com/2012/01/11/many-dev-boards-what-to-do/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 06:21:01 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[arduino mega]]></category>
		<category><![CDATA[arduino nano]]></category>
		<category><![CDATA[arduino uno]]></category>
		<category><![CDATA[beaglebone]]></category>
		<category><![CDATA[chipkit]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=1099</guid>
		<description><![CDATA[First, an update about the annoyo, it worked perfectly and maximized irritation while making itself difficult to find. Anyways, I just received my BeagleBone and I promptly thought to myself, what am I going to do with this? Then I thought, hmmm, I have a bunch of other boards too. These boards aren&#8217;t including the [...]]]></description>
			<content:encoded><![CDATA[<p>First, an update about the annoyo, it worked perfectly and maximized irritation while making itself difficult to find. Anyways, I just received my BeagleBone and I promptly thought to myself, what am I going to do with this? Then I thought, hmmm, I have a bunch of other boards too.</p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/01/IMG_3436-modified.jpg"><img class="aligncenter size-medium wp-image-1100" title="dev boards" src="http://smackaay.com/wp-content/uploads/2012/01/IMG_3436-modified-400x300.jpg" alt="" width="400" height="300" /></a></p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/01/IMG_3440-modified.jpg"><img class="aligncenter size-medium wp-image-1101" title="IMG_3440 modified" src="http://smackaay.com/wp-content/uploads/2012/01/IMG_3440-modified-343x300.jpg" alt="" width="343" height="300" /></a></p>
<p>These boards aren&#8217;t including the mps430 board, the pic boards, the mikroelectronika board or the Friendly ARM. Too many boards, not enough time. I&#8217;m sure I&#8217;ll use them for something I guess. Tomorrow begins the fun of interfacing the LS7166, it shouldn&#8217;t be too difficult.</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2012/01/11/many-dev-boards-what-to-do/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Another pic10f200 project, the Annoyo!</title>
		<link>http://smackaay.com/2012/01/09/another-pic10f200-project-the-annoyo/</link>
		<comments>http://smackaay.com/2012/01/09/another-pic10f200-project-the-annoyo/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 03:50:10 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[annoyo]]></category>
		<category><![CDATA[basic]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[oshonsoft]]></category>
		<category><![CDATA[pic10f200]]></category>
		<category><![CDATA[prank]]></category>
		<category><![CDATA[sound]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=1092</guid>
		<description><![CDATA[I had this cool idea for a prank at the office, a device that generate sound every 6 minutes. This device generates 4 different sounds at 6 minute intervals. The idea is that the sounds are short, familiar, difficult to find and infrequent enough to prevent a hunt for the offending noise. This device has [...]]]></description>
			<content:encoded><![CDATA[<p>I had this cool idea for a prank at the office, a device that generate sound every 6 minutes. This device generates 4 different sounds at 6 minute intervals. The idea is that the sounds are short, familiar, difficult to find and infrequent enough to prevent a hunt for the offending noise. This device has been done before and obviously much more professionally by others but it&#8217;s fun to make since all you need is 2 caps, a 10f200, a speaker and a battery.</p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/01/IMG_3432-modified.jpg"><img class="aligncenter size-medium wp-image-1094" title="Annoyo on board" src="http://smackaay.com/wp-content/uploads/2012/01/IMG_3432-modified-347x300.jpg" alt="" width="347" height="300" /></a><br />
The device itself is dead simple, simply find an old speaker you never use, preferably a small one so that you can drive it from the output pin. Using a small battery like I have there, you could probably let the device run for about 30 days. Here&#8217;s the design:</p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/01/annoyo-scheme.png"><img class="aligncenter size-medium wp-image-1097" title="annoyo scheme" src="http://smackaay.com/wp-content/uploads/2012/01/annoyo-scheme-412x300.png" alt="" width="412" height="300" /></a></p>
<p>dead simple, once again. Only one output is used on this device, I even disabled MCLR so that there is no extra resistor. Just one cap for decoupling and one cap for producing a larger waveform for the speaker. You can change the cap size if you want, you may want a larger cap for a bit of a smoother wave. So, here&#8217;s the pinout and the source code and .hex file</p>
<ul>
<li>GP0,1,3 -&gt; Not connected</li>
<li>GP2 (pin 3) -&gt; to speaker</li>
</ul>
<p>Source and hex: <a href="http://smackaay.com/wp-content/uploads/2012/01/10f200-annoyo.zip">10f200 annoyo src.zip</a></p>
<p>Anyways, a couple of notes. This program was written with Oshonsoft basic. Also, it could have been written a bit smaller if I tried but as it stands it takes up 253 of 255 bytes available in flash. <img src='http://smackaay.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Hope somebody has fun with this!</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2012/01/09/another-pic10f200-project-the-annoyo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a quadrature generator with a PIC10F222</title>
		<link>http://smackaay.com/2012/01/08/building-a-quadrature-generator-with-a-pic10f222/</link>
		<comments>http://smackaay.com/2012/01/08/building-a-quadrature-generator-with-a-pic10f222/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 05:38:40 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[circuit]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[microchip]]></category>
		<category><![CDATA[microcontroller]]></category>
		<category><![CDATA[pic10f222]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=1087</guid>
		<description><![CDATA[I need to start my new project with my digital RTJ gage and in order to do so I need to use the quadrature decoder chip LS7166. I could use the actual encoder I&#8217;m going to use for the project but it is large and unwieldy so I decided to build a generator for it. [...]]]></description>
			<content:encoded><![CDATA[<p>I need to start my new project with my digital RTJ gage and in order to do so I need to use the quadrature decoder chip LS7166. I could use the actual encoder I&#8217;m going to use for the project but it is large and unwieldy so I decided to build a generator for it.</p>
<p>The concept is simple, have a knob that produces no waveform in the middle of it&#8217;s stroke and as the pot deviates from the center, the speed of the signal increases also changing direction based on which side the knob id turned to. I couldn&#8217;t use a PIC10F200 much to my chagrin because it doesn&#8217;t have an ADC module built in, the PIC10F222 does however. It still works within my concept of low-end mcu&#8217;s doing valuable jobs since they&#8217;re still only 55 cents in quantity, from digikey of all places.</p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/01/IMG_3428-modified.jpg"><img class="aligncenter size-medium wp-image-1089" title="pic10f222 quadrature generator 2" src="http://smackaay.com/wp-content/uploads/2012/01/IMG_3428-modified-392x300.jpg" alt="" width="392" height="300" /></a></p>
<p>Overall, it&#8217;s a pretty simple design.</p>
<ul>
<li>GP3 -&gt; unconnected</li>
<li>GP2 -&gt; Channel B out (Digital output)</li>
<li>GP1 -&gt; Channel A out (Digital output)</li>
<li>GP0 -&gt; 10k Potentiometer in (Analog in)</li>
</ul>
<p>Dead simple. I did program a bit of a dead spot in the middle so that one can stop the quadrature from advancing quite easily. I put 2 LEDs on it to indicate that it is in fact working. Anyways, here&#8217;s the source (again it&#8217;s in Oshonsoft BASIC)</p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/01/10f222-quadrature.zip">10f222 quadrature src.zip</a></p>
<p>I didn&#8217;t bother drawing up a circuit diagram since it&#8217;s such an easy circuit but here&#8217;s an additional image if you&#8217;re really curious. keep in mind that the board I&#8217;m using is Stripboard (aka Veroboard) so the traces run along one direction</p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/01/IMG_3427-modified.jpg"><img class="aligncenter size-medium wp-image-1088" title="pic10f222 quadrature generator" src="http://smackaay.com/wp-content/uploads/2012/01/IMG_3427-modified-341x300.jpg" alt="" width="341" height="300" /></a></p>
<p>Now for the fun challenge of making a simple serial interface MCU to the LS7166.</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2012/01/08/building-a-quadrature-generator-with-a-pic10f222/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10f200 debouncing and a new compiler</title>
		<link>http://smackaay.com/2012/01/07/10f200-debouncing-and-a-new-compiler/</link>
		<comments>http://smackaay.com/2012/01/07/10f200-debouncing-and-a-new-compiler/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 08:54:33 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[basic compiler]]></category>
		<category><![CDATA[bounce]]></category>
		<category><![CDATA[debounce]]></category>
		<category><![CDATA[oshonsoft]]></category>
		<category><![CDATA[pic10f200]]></category>
		<category><![CDATA[switch noise]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=1080</guid>
		<description><![CDATA[I&#8217;ve noticed some people doing search terms for debouncing and I figured I would post my method of debouncing inputs from switches. Some people have a big thing with using caps and resistors and gates with hysteresis but I prefer to simply use a cheap microcontroller because the result is programmable, MCU&#8217;s are cheap and there are [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve noticed some people doing search terms for debouncing and I figured I would post my method of debouncing inputs from switches. Some people have a big thing with using caps and resistors and gates with hysteresis but I prefer to simply use a cheap microcontroller because the result is programmable, MCU&#8217;s are cheap and there are fewer parts than the usual arrangements. Here is a crude circuit diagram of the debouncer. for this circuit the arrangement is (Input GP3 -&gt; Output GP1)(Input GP2 -&gt; Output GP0)</p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/01/debounce.png"><img class="aligncenter size-medium wp-image-1081" title="debounce" src="http://smackaay.com/wp-content/uploads/2012/01/debounce-500x248.png" alt="" width="500" height="248" /></a></p>
<p>The problem with some other MCU methods is that people often try checking every 5ms to see if two successive input were high. This is a faulty approach since it can be computationally wasteful and can still produce noise. My approach is as follows:</p>
<ol>
<li>read the input on a loop</li>
<li>if the input is high, increment a counter up to a certain maximum (say 90)</li>
<li>if the counter goes above a certain amount (say 60) then turn on the output</li>
<li>if the input is low, decrement the counter until it reaches 0</li>
<li>if the counter goes below a certain amount (say 30) then turn off the output</li>
<li>Don&#8217;t change the value of the output between 30 and 60</li>
</ol>
<p>What this does is ensures that there is an area of hysteresis where the noise or bounce of the switch will not generate noise on the output. You can play with the rules to suit your specific need and improve responsiveness or make the output resilient to accidental triggering. This is the reason why for some more important things I have used this method. I have used a pic16f505 for this purpose as well with larger arrays of buttons. Having a programmed method that you can change easily can give you an easy &#8216;jellybean&#8217; solution for these kinds of problems. Mind you of course when dealing with switches in high noise environments you may need to optoisolate or run TVSs on the switch.</p>
<p>If you&#8217;ve read any of my other posts you&#8217;ll know that I like the PIC10F200 MCUs simply because of their simplicity and the fact that a lot of people write them off as useless. This design is pretty crude as you can see and that leads me into the topic of the compiler. First,  here is a sample hex file for debouncing - <a href="http://smackaay.com/wp-content/uploads/2012/01/debounce.zip">debounce</a>. This hex is programmed to premit a pressed switch to activate after 11ms.</p>
<p>I recently bought a suite of compilers from <a href="http://www.oshonsoft.com/" target="_blank">OshonSoft</a> since I drifted over there out of pure chance. This company is a one man show who sells a variety of BASIC compilers for PIC, Z80 and 8085 processors. I tried the 10f compiler and was immediately impressed with how, for so inexpensively, there was a useful tool for simulation and programming.</p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/01/oshon.png"><img class="aligncenter size-medium wp-image-1077" title="OshonSoft" src="http://smackaay.com/wp-content/uploads/2012/01/oshon-500x255.png" alt="" width="500" height="255" /></a></p>
<p>I&#8217;ve only used the 10f compiler so far but it beats the tar out of PicBASIC Pro, as far as I can tell thus far. Not a lot of frills or gimmicks but it outputs very tight code. Here&#8217;s the source for the debouncer pic10f200. You can download a demo version of the 10f simulator at his website.</p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/01/debouncesrc.zip">debouncesrc.zip</a></p>
<p>Well, anyways, that&#8217;s my little treatise on the subject. Also, for those of you on a tight budget and just getting into microcontrollers, Oshonsoft might be a good place to buy a compiler that&#8217;s reasonably simple.</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2012/01/07/10f200-debouncing-and-a-new-compiler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ugluino, the ugly Arduino powered robot</title>
		<link>http://smackaay.com/2012/01/01/ugluino-the-ugly-arduino-powered-robot/</link>
		<comments>http://smackaay.com/2012/01/01/ugluino-the-ugly-arduino-powered-robot/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 10:53:24 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[arduino nano]]></category>
		<category><![CDATA[microcontroller]]></category>
		<category><![CDATA[pic18f2685]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[Ugluino]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=1069</guid>
		<description><![CDATA[So, even though I&#8217;ve built a wide variety of crap over the last few years, all of them with varying utility, I&#8217;ve decided to build a quick robot. With oodles of free time and the feeling of having to go back to work on the horizon after what feels like an eternity of holiday (1 [...]]]></description>
			<content:encoded><![CDATA[<p>So, even though I&#8217;ve built a wide variety of crap over the last few years, all of them with varying utility, I&#8217;ve decided to build a quick robot. With oodles of free time and the feeling of having to go back to work on the horizon after what feels like an eternity of holiday (1 week) I quickly grabbed a bunch of stuff I had sitting around and put this guy together with all the grace of a kindergarten macaroni art sculpture.</p>
<div id="attachment_1073" class="wp-caption aligncenter" style="width: 410px"><a href="http://smackaay.com/wp-content/uploads/2012/01/ugluino3.jpg"><img class="size-medium wp-image-1073" title="Ugluino Being Built" src="http://smackaay.com/wp-content/uploads/2012/01/ugluino3-400x300.jpg" alt="" width="400" height="300" /></a><p class="wp-caption-text">Ugluino Being Built</p></div>
<p>Based off of an Arduino Nano, this guy works just fine. I don&#8217;t like using Arduinos for the following reasons.</p>
<ul>
<li>Perceived lack of control of what&#8217;s going on inside</li>
<li>Feels like cheating since it&#8217;s so easy</li>
<li>Arduino UI is kind of shitty, especially for larger source files.</li>
<li>When dealing with AI routines, making it difficult to use multiple files is a minus</li>
</ul>
<p>Anyways, i plugged ahead and quickly pounded this out with the following IO</p>
<ul>
<li>Input &#8211; The only one, the Echo pin on the ultrasonic sensor</li>
<li>Output &#8211; Trigger on ultrasonic sensor</li>
<li>4 Digital output &#8211; for controlling direction on SN754410 Quad half h-bridge driver. These go to two gear motors which are attached directly to wheels</li>
<li>1 PWM out for duty on motors</li>
<li>1 attached servo out of the servo to turn the sensor</li>
</ul>
<div id="attachment_1072" class="wp-caption aligncenter" style="width: 484px"><a href="http://smackaay.com/wp-content/uploads/2012/01/ugluino2.jpg"><img class="size-medium wp-image-1072" title="The back end of the Ugluino" src="http://smackaay.com/wp-content/uploads/2012/01/ugluino2-474x300.jpg" alt="" width="474" height="300" /></a><p class="wp-caption-text">The back end of the Ugluino</p></div>
<p>Most everything worked out swimmingly until I fucked around with some wiring and produced a short. I hooked the robot on to the USB supply on my computer, I noticed after a few second that the power to the unit wasn&#8217;t running&#8230; hmmm POOF! Well, as it turned out, there was a problem with the wiring to the ultrasonic dealy and it blew what I beleive was a zener diode</p>
<p><a href="http://smackaay.com/wp-content/uploads/2012/01/arduinonanoburn.jpg"><img class="aligncenter size-medium wp-image-1070" title="arduinonanoburn" src="http://smackaay.com/wp-content/uploads/2012/01/arduinonanoburn-378x300.jpg" alt="" width="378" height="300" /></a></p>
<p>I wasn&#8217;t able to figure out exactly what it was, I suspect that it is a zener diode that selects between main power and USB since it is on the output of the VReg. I could be wrong. Since I didn&#8217;t have any more Arduino Nano&#8217;s I simply tried to fix it and soldered a wire across the offending gap. The device seems to work fine&#8230;? Anyways, if anyone know what that part was on the Arduino Nano v3.0, I&#8217;d like to know &#8217;cause I couldn&#8217;t find the 3.0 Schematics and the design has moved those parts around.</p>
<p>Anyways, The robot moves around based on a very simple algorithm.</p>
<ol>
<li>Stop Moving</li>
<li>Scan from 40Deg Right to 40 Deg Left in 10 deg increments</li>
<li>return appropriate movement from a function that analyses it</li>
<li>execute proper movement (Forward, Backward, Right, Left, Hard Right and Hard Left)</li>
<li>rinse</li>
<li>repeat</li>
</ol>
<p>It seemed to work reasonably well. I&#8217;d like to build a more sturdy version for shits and giggles so that I can play with the algorithms. I&#8217;m probably gonna build one with a PIC18F2685 instead of an Arduino. Also, instead of a single sensor, I will use IR proximity sensors to detect low lying objects. Moving the sensor with the Servo make the robot seem more intelligent than it actually is like it&#8217;s &#8216;looking around&#8217;. I quite like that. <img src='http://smackaay.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Anyways, it&#8217;s my first post of the year, considering it&#8217;s January 1st and 3:52 am as I write this. maybe I should go to bed. Here&#8217;s a video of it getting around.</p>
<p>&nbsp;<br />
<iframe width="640" height="480" src="http://www.youtube.com/embed/jytW-GjFenE" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2012/01/01/ugluino-the-ugly-arduino-powered-robot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some neat devices for the hobbyist</title>
		<link>http://smackaay.com/2011/12/29/some-neat-devices-for-the-hobbyist/</link>
		<comments>http://smackaay.com/2011/12/29/some-neat-devices-for-the-hobbyist/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 05:55:27 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[arduino nano]]></category>
		<category><![CDATA[cp2102]]></category>
		<category><![CDATA[nRF24L01]]></category>
		<category><![CDATA[PIR Unit]]></category>
		<category><![CDATA[transceiver]]></category>
		<category><![CDATA[ultrasonic]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=1060</guid>
		<description><![CDATA[Ok, well, the year is coming to an end and I&#8217;ve seen a number of neat devices out there but here are some that I own. The next year coming up is a going to be an interesting year methinks especially since there&#8217;s gonna be some big changes in my life, not to mention the [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, well, the year is coming to an end and I&#8217;ve seen a number of neat devices out there but here are some that I own. The next year coming up is a going to be an interesting year methinks especially since there&#8217;s gonna be some big changes in my life, not to mention the fact that I&#8217;ve quit smoking for some time now.</p>
<p>Anyways, here they are:</p>
<p><strong>Arduino NANO</strong></p>
<div id="attachment_1063" class="wp-caption aligncenter" style="width: 410px"><a href="http://smackaay.com/wp-content/uploads/2011/12/IMG_3388.jpg"><img class="size-medium wp-image-1063" title="Arduino NANO" src="http://smackaay.com/wp-content/uploads/2011/12/IMG_3388-400x300.jpg" alt="" width="400" height="300" /></a><p class="wp-caption-text">Arduino NANO</p></div>
<p>This nifty little device is the Arduino NANO. Now, me being me I believe that the arduino&#8217;s are something akin to cheating since you don&#8217;t need a programmer, it runs right off USB and communicated directly with the computer. The small size of this device and the ease of use make it truly a neat device. Call me lewis &#8217;cause I am starting to like the arduinos. They sell for as little as $14 on EBay (they are probably knockoff but work fine) and are strangely useful for bashing out simple stuff.</p>
<p><strong>Mini PIR Unit</strong></p>
<div id="attachment_1062" class="wp-caption aligncenter" style="width: 410px"><a href="http://smackaay.com/wp-content/uploads/2011/12/IMG_3385.jpg"><img class="size-medium wp-image-1062" title="PIR Sensor" src="http://smackaay.com/wp-content/uploads/2011/12/IMG_3385-400x300.jpg" alt="" width="400" height="300" /></a><p class="wp-caption-text">PIR Sensor</p></div>
<p>This little guy can detect motion (heat difference) up to 5M away. it only draws .15mA and costs only about $4 on Ebay. The interface is simple with two trim pots, one to set the sensitivity and one to set how long the signal stays high when triggered. I bought a whole bunch of these for a project I never finished (A distributed monitoring system) and I might make something cool out of them.</p>
<p>2.4Ghz Transceiver</p>
<div id="attachment_1065" class="wp-caption aligncenter" style="width: 410px"><a href="http://smackaay.com/wp-content/uploads/2011/12/IMG_3396.jpg"><img class="size-medium wp-image-1065" title="2.4GHZ transciever" src="http://smackaay.com/wp-content/uploads/2011/12/IMG_3396-400x300.jpg" alt="" width="400" height="300" /></a><p class="wp-caption-text">2.4GHZ transciever</p></div>
<p>This little guy seems to work really well. Based off the nRF24L01 chip, this transceiver will draw about 15mA at continuous load. If you&#8217;re using it intermittently, it&#8217;ll run at about 2mA. Alos, it was really hard to get an image of the pinout for this device since the seller kept saying they&#8217;d give it to me and never did. Here&#8217;s an image of the pinout.</p>
<div id="attachment_1066" class="wp-caption aligncenter" style="width: 510px"><a href="http://smackaay.com/wp-content/uploads/2011/12/24L01Pinout-800.jpg"><img class="size-medium wp-image-1066" title="transceiver pinout" src="http://smackaay.com/wp-content/uploads/2011/12/24L01Pinout-800-500x229.jpg" alt="" width="500" height="229" /></a><p class="wp-caption-text">transceiver pinout ripped from somewhere I don&#39;t remember (sorry)</p></div>
<p>You can get these devices for about $4-5 each. A real steal.</p>
<p><strong>CP2102 USB to Serial out</strong></p>
<div id="attachment_1064" class="wp-caption aligncenter" style="width: 410px"><a href="http://smackaay.com/wp-content/uploads/2011/12/IMG_3391.jpg"><img class="size-medium wp-image-1064" title="CP2102 USB to IO" src="http://smackaay.com/wp-content/uploads/2011/12/IMG_3391-400x300.jpg" alt="" width="400" height="300" /></a><p class="wp-caption-text">CP2102 USB to IO</p></div>
<p>These guys are useful because you can plug a test device directly on to the usb port and not need a max232 or equivalent. It features a 3.3 and 5v port and works like a damn. Concievably you could use this with an intermediary to provide the SPI interface to the 2.4GHz Transceiver and use it to provide communication to other transceivers to the computer.</p>
<p><strong>UltraSonic Transducer</strong></p>
<div id="attachment_1061" class="wp-caption aligncenter" style="width: 410px"><a href="http://smackaay.com/wp-content/uploads/2011/12/IMG_3379.jpg"><img class="size-medium wp-image-1061" title="Ultrasonic Transducer" src="http://smackaay.com/wp-content/uploads/2011/12/IMG_3379-400x300.jpg" alt="" width="400" height="300" /></a><p class="wp-caption-text">Ultrasonic Transducer</p></div>
<p>This is the ultrasonic transducer. I was playing with it last night and it works really well. It measures anywhere from about 1 inch to 16 feet or so. Simply provide a short 10 to 100 us pulse to &#8216;trig&#8217; and measure how long the &#8216;echo&#8217; pin remains high. the &#8216;echo&#8217; pin will go high after a delay once the trigger pin has been pulsed. I was able to get pretty good accuracy once I calibrated it and with some averaging routines I was abble to get resolutions of about .01&#8243;. Surely it wasn&#8217;t THAT accurate but it was close. These again were only like $6 each. It should be said, that with full measuring duty this device draws about 15mA.</p>
<p>Anyways, that&#8217;s what I&#8217;ve been playing with. Hopefully other people may purchase these little trinkets and have fun. EBay sure is an awesome place for the hobbyist like myself for weird knick-knacks!</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2011/12/29/some-neat-devices-for-the-hobbyist/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Well, the project is done.</title>
		<link>http://smackaay.com/2011/12/29/well-the-project-is-done/</link>
		<comments>http://smackaay.com/2011/12/29/well-the-project-is-done/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 20:55:22 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[internet cookie]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=1056</guid>
		<description><![CDATA[I can&#8217;t say what it is because I&#8217;m sworn to secrecy but I finished another project. I&#8217;m simply posting it here for posterity. If you can guess what it is, you get an internet cookie!]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t say what it is because I&#8217;m sworn to secrecy but I finished another project. I&#8217;m simply posting it here for posterity.</p>
<p><a href="http://smackaay.com/wp-content/uploads/2011/12/IMG_3310.jpg"><img class="aligncenter size-medium wp-image-1057" title="projecta" src="http://smackaay.com/wp-content/uploads/2011/12/IMG_3310-400x300.jpg" alt="" width="400" height="300" /></a></p>
<p><a href="http://smackaay.com/wp-content/uploads/2011/12/IMG_3311.jpg"><img class="aligncenter size-medium wp-image-1058" title="projectb" src="http://smackaay.com/wp-content/uploads/2011/12/IMG_3311-400x300.jpg" alt="" width="400" height="300" /></a></p>
<p>If you can guess what it is, you get an internet cookie!</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2011/12/29/well-the-project-is-done/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

