<?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 &#187; Programming</title>
	<atom:link href="http://smackaay.com/category/programming/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>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>Stuff I&#8217;m playing with</title>
		<link>http://smackaay.com/2011/09/24/stuff-im-playing-with/</link>
		<comments>http://smackaay.com/2011/09/24/stuff-im-playing-with/#comments</comments>
		<pubDate>Sat, 24 Sep 2011 22:18:06 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[chipkit uno32]]></category>
		<category><![CDATA[fpsc]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=994</guid>
		<description><![CDATA[Well, since I posted a bit of stuff yesterday I&#8217;m gonna post a couple of other things I&#8217;ve been playing with. Since I finally have a day off. may as well. The FPS I&#8217;m making I don&#8217;t know what I&#8217;m gonna call it, I don&#8217;t even like FPS&#8217;s anymore. I dunno. Anyways, heres a screenshot [...]]]></description>
			<content:encoded><![CDATA[<p>Well, since I posted a bit of stuff yesterday I&#8217;m gonna post a couple of other things I&#8217;ve been playing with. Since I finally have a day off. may as well.</p>
<p><strong>The FPS I&#8217;m making</strong></p>
<p>I don&#8217;t know what I&#8217;m gonna call it, I don&#8217;t even like FPS&#8217;s anymore. I dunno. Anyways, heres a screenshot</p>
<div id="attachment_996" class="wp-caption aligncenter" style="width: 510px"><a href="http://smackaay.com/wp-content/uploads/2011/09/game.png"><img class="size-medium wp-image-996" title="FPS a la' Steve" src="http://smackaay.com/wp-content/uploads/2011/09/game-500x281.png" alt="" width="500" height="281" /></a><p class="wp-caption-text">FPS a la&#39; Steve</p></div>
<p>Nothing spectacular.</p>
<p>Arduino and ChipKit</p>
<p>Like I mentioned yesterday, I&#8217;ve been playin with both the Arduino and ChipKit. Frankly, I need to get over my personal bias over these arduino based things. The way I feel about them is that it&#8217;s like cheating, where very little learning is required to make some sort of result.</p>
<p>I am however wrong. With the progress of technology we use technologies that are based off of previous technologies. Even using MCU&#8217;s would technically be cheating by my reckoning since we should be using a CPU and related chips. Then even deeper we should be using nothing but transistors in order to not cheat. So, by that reason, I am wrong. Using an arduino and premade shields shouldn&#8217;t reduce the feeling of accomplishment at all. Now that we don&#8217;t have to worry as much about hardware, application becomes top dog.</p>
<p>Anyways, Here are the Arduino and ChipKit</p>
<div id="attachment_999" class="wp-caption aligncenter" style="width: 235px"><a href="http://smackaay.com/wp-content/uploads/2011/09/IMG_2859.jpg"><img class="size-medium wp-image-999" title="ChipKit and Arduino" src="http://smackaay.com/wp-content/uploads/2011/09/IMG_2859-225x300.jpg" alt="" width="225" height="300" /></a><p class="wp-caption-text">ChipKit and Arduino</p></div>
<p>Now, as it might seem, the chipkit is quite a bit more advanced. It uses the same arduino software for compilation. It is also substantially faster. There was a comparison done, <a title="on hackaday" href="http://hackaday.com/2011/05/27/chipkit-uno32-first-impressions-and-benchmarks/" target="_blank">here</a> on hackaday. It is a really neat device despite the fact that the software isn&#8217;t optimized.</p>
<p>The only problem though, as I have already mentioned is the voltage difference. So, it can be said that many shields would not be compatible with the chipkit. They do have similar layouts though.</p>
<div id="attachment_1000" class="wp-caption aligncenter" style="width: 410px"><a href="http://smackaay.com/wp-content/uploads/2011/09/IMG_2862.jpg"><img class="size-medium wp-image-1000" title="ChipKit and Arduino from the top" src="http://smackaay.com/wp-content/uploads/2011/09/IMG_2862-400x300.jpg" alt="" width="400" height="300" /></a><p class="wp-caption-text">ChipKit and Arduino from the top</p></div>
<p>A problem I did have with the chipkit was that the software wouldn&#8217;t write to the chip. apparently I had to download and burn the new bootloader to the MCU that was on board. lucky thing I have a pickit3 and was able to burn it, otherwise it would&#8217;ve been a brick. I think it&#8217;s odd that they didn&#8217;t test for that (apparently it was a certain batch of pic32 mcus that had a problem)</p>
<p>Something I do like about the chipkit is the extra IO and the fact that it uses a miniB plug rather than a massive printer usb plug.</p>
<p><strong>Wireless units</strong></p>
<p>At 4$ shipped per piece, these are wireless units. they have a variable frequency selectable by software and have a range of about 100m. I was going to make some of the centerpieces with them but since people take them home, it&#8217;d be pointless.</p>
<div id="attachment_1001" class="wp-caption aligncenter" style="width: 410px"><a href="http://smackaay.com/wp-content/uploads/2011/09/IMG_2863.jpg"><img class="size-medium wp-image-1001" title="Wireless modules" src="http://smackaay.com/wp-content/uploads/2011/09/IMG_2863-400x300.jpg" alt="" width="400" height="300" /></a><p class="wp-caption-text">Wireless modules</p></div>
<p>Well, I&#8217;ll keep on truckin&#8217;</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2011/09/24/stuff-im-playing-with/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy 2011! uuh, I guess a bit late though.</title>
		<link>http://smackaay.com/2011/03/03/happy-2011-uuh-i-guess-a-bit-late-though/</link>
		<comments>http://smackaay.com/2011/03/03/happy-2011-uuh-i-guess-a-bit-late-though/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 18:10:02 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[coolant]]></category>
		<category><![CDATA[coolant nozzle]]></category>
		<category><![CDATA[edm]]></category>
		<category><![CDATA[general stuff]]></category>
		<category><![CDATA[lab]]></category>
		<category><![CDATA[refractometer]]></category>
		<category><![CDATA[spider cool]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=881</guid>
		<description><![CDATA[It&#8217;s been well over two months since I last posted. Frankly, not a lot has happened in the meantime anyways. Work is going well and life is pretty good. That said, I&#8217;ve begun to regain my inspiration for electronics again and I&#8217;ve been going hog wild building stuff in the evenings. Just some stuff to [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been well over two months since I last posted. Frankly, not a lot has happened in the meantime anyways. Work is going well and life is pretty good. That said, I&#8217;ve begun to regain my inspiration for electronics again and I&#8217;ve been going hog wild building stuff in the evenings. Just some stuff to touch on I guess&#8230;</p>
<p><strong>My Lab</strong></p>
<p>Well, again I have a secluded labratory in the shop I work at. It consists of 2 desks, two shelves and all of my equipment. It&#8217;s nice to hang around and listen to music and stuff while having access to all of the manufacturing facilities I could ask for!</p>
<p>Here&#8217;s a picture of my lab as I was setting it up.</p>
<div id="attachment_882" class="wp-caption aligncenter" style="width: 510px"><a href="http://smackaay.com/wp-content/uploads/2011/03/lab.jpg"><img class="size-medium wp-image-882" title="The new lab as of 2011" src="http://smackaay.com/wp-content/uploads/2011/03/lab-500x251.jpg" alt="The new lab as of 2011" width="500" height="251" /></a><p class="wp-caption-text">The new lab as of 2011, this is an early picture. there is more equipment, parts and shelves now</p></div>
<p>It&#8217;s a real treat here and I&#8217;ve been sitting up here for many hours on my projects lately. Yay!</p>
<p><strong>A veroboard planner PDF</strong></p>
<p>Not really a project per say, however, somebody might want it. It&#8217;s for printed pcbs from PCBIran which have a ground loop on the outside and sets of rows and columns. Somebody may find it useful. I dunno.</p>
<p><a href="http://smackaay.com/wp-content/uploads/2011/03/BOARD-PLANNER-01.pdf">BOARD PLANNER 01</a></p>
<p><strong>The Shop</strong></p>
<p>The shop I&#8217;m at is investing in new technology (IE. CNC mill and CNC Ram EDM) and I figured it&#8217;d be neat to take an overview picture. Sure is crowded though. <img src='http://smackaay.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  The mill, as was stated earlier, is a Haas VF-5 with a 40 taper and the Machine is a large CHMER EDM, more on that thing later in the post</p>
<div id="attachment_883" class="wp-caption aligncenter" style="width: 232px"><a href="http://smackaay.com/wp-content/uploads/2011/03/shop001.jpg"><img class="size-medium wp-image-883" title="Shop Growing" src="http://smackaay.com/wp-content/uploads/2011/03/shop001-222x300.jpg" alt="Shop Growing" width="222" height="300" /></a><p class="wp-caption-text">The shop I work at is growing, but not in floor space. <img src='http://smackaay.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p></div>
<p>It&#8217;s actually much tidier now, this is when we were installing the EDM.</p>
<p><strong>Rotary Table and CHMER EDM</strong></p>
<p>I am developing a rotary table interface for the CHMER Ram EDM. The fools at CHMER decided that the machine requires NO extra M-codes for interfacing to external hardware&#8230; WHY!!!??!?</p>
<p>So now I have to monitor the outrush current of the pump, turn it on and off a prescribed number of times and then the rotary table can index. I&#8217;m still kind of in shock that nobody has ever presented CHMER with this problem. Weird!</p>
<p><strong>The TI Launchpad</strong></p>
<p>I have just ordered the TI launchpad for $4.60 or whatever it cost. TI is attempting to break into the hobbyist market something fierce. unfortunately, after looking at the development tools available, they are all way overpriced.</p>
<p>While they do provide a code-size limited version, which is useful for most things, I think people like to have unfettered access to their chips and what kind they use from a particular vendor. When the development tools that allow this are in the $500 range, that&#8217;s simply too much.</p>
<p>Perhaps there will be some good 3rd party support like Atmel and Microchip has and they can really take their MCU&#8217;s to the next level. It&#8217;d be very cool. <img src='http://smackaay.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>The Rest</strong></p>
<p>Well, there is probably still more to say after such a long hiatus but I can&#8217;t think of it now. I do have some other ideas banging around in my head like a new design of the coolant refractometer which won&#8217;t foul. A robot that is machined beautifully and function on sonar. And a new coolant nozzle design that will kick Spider Cool&#8217;s ass from here to main street (I&#8217;m actually pretty stoked about this one).<strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2011/03/03/happy-2011-uuh-i-guess-a-bit-late-though/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The new Haas Mill Features</title>
		<link>http://smackaay.com/2010/12/22/the-new-haas-mill-features/</link>
		<comments>http://smackaay.com/2010/12/22/the-new-haas-mill-features/#comments</comments>
		<pubDate>Wed, 22 Dec 2010 17:36:20 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[cnc machine]]></category>
		<category><![CDATA[haas]]></category>
		<category><![CDATA[vf-5]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=860</guid>
		<description><![CDATA[The company I work for has recently purchased a Haas VF-5 40 taper machine to augment the capabilities of the shop. Seeing as they didn&#8217;t have one before, this will greatly improve the capabilities of the shop. The item of interest to me is the fact that it&#8217;s brand new and Haas has made a [...]]]></description>
			<content:encoded><![CDATA[<p>The company I work for has recently purchased a Haas VF-5 40 taper machine to augment the capabilities of the shop. Seeing as they didn&#8217;t have one before, this will greatly improve the capabilities of the shop.</p>
<p>The item of interest to me is the fact that it&#8217;s brand new and Haas has made a number of changes to their CNC mill line. Aside from their new higher contrast 2-tone paint job and sharper featured shrouding, here are some interesting changes that they&#8217;ve made. This may not be new to some people but if you haven&#8217;t used a haas made in the last 4 years or so, this may be of interest.</p>
<p><strong>The Control</strong></p>
<div id="attachment_862" class="wp-caption aligncenter" style="width: 235px"><a href="http://smackaay.com/wp-content/uploads/2010/12/IMG_1270_DxO.jpg"><img class="size-medium wp-image-862" title="Haas Control 2010" src="http://smackaay.com/wp-content/uploads/2010/12/IMG_1270_DxO-225x300.jpg" alt="Haas Control 2010" width="225" height="300" /></a><p class="wp-caption-text">The new haas control</p></div>
<p>Nothing amazing about this control aside from the fact that the screen has a lot more info packed on the screen. Selecting one of the screen buttons toggles between the panels rather than actually displaying a different screen. None of the buttons have changed their functionality otherwise. I do find the screen switchovers to be a bit laggy and difficult to read at a distance but it is otherwise OK. Also Probong has a much more integrated setup than in previous versions whereby you can offset tooling from the tooling screen.</p>
<p><strong>The Jog Pendant</strong></p>
<p><strong> </strong></p>
<div id="attachment_866" class="wp-caption aligncenter" style="width: 235px"><strong><strong><a href="http://smackaay.com/wp-content/uploads/2010/12/IMG_1274_DxO.jpg"><img class="size-medium wp-image-866" title="Haas Pendant" src="http://smackaay.com/wp-content/uploads/2010/12/IMG_1274_DxO-225x300.jpg" alt="Haas Pendant" width="225" height="300" /></a></strong></strong><p class="wp-caption-text">The Haas Jog Pendant now has an LCD screen and greater functionality</p></div>
<p><strong> </strong>Like the image says, the pendant now has an LCD screen. It also features two sets of dials and a toggle lever for axis slelection rather than the rotary switch allowing you to use it without looking too much at the labels.</p>
<p>The larger dial on the face is an analog dial that allows jogging at various speeds and goes about a quater turn left and right that springs back. the smaller one serves the original purpose of increment jogging. Increments are chosen on the screen rather than on a dial.</p>
<p>Also, things like current program, offsets, and various other minutia can be displayed.</p>
<div id="attachment_865" class="wp-caption aligncenter" style="width: 422px"><a href="http://smackaay.com/wp-content/uploads/2010/12/IMG_1273_DxO.jpg"><img class="size-medium wp-image-865" title="Haas Jog Pendant LCD" src="http://smackaay.com/wp-content/uploads/2010/12/IMG_1273_DxO-412x300.jpg" alt="Haas Jog Pendant LCD" width="412" height="300" /></a><p class="wp-caption-text">The Screen on the Haas Pendant</p></div>
<p>There are is a problem though. That being the noticable lag from the pulse encoder to motion occuring on the machine. Often times when you want to move there is a considerable time difference from when you turn either the analog wheel or the pulse encoder. Also when you use the pulse encoder at a high rate, it skips many of the ticks or gets &#8220;jumpy&#8221;. the motion is not smooth.</p>
<p>Overall though the functionality is greatly enhanced.</p>
<p><strong>The rest of the machine</strong></p>
<p>Here are some of the other changes I&#8217;ve noticed.</p>
<ul>
<li>Quieter Spindle</li>
<li>Different Coolant arrangement</li>
<li>Different design on the programmable coolant</li>
<li>Larger casting</li>
<li>Side window locks</li>
<li>an additional set of shelves on the side with a light</li>
<li>Power saving settings</li>
<li>Different Shrouding and duo-tone paint.</li>
<li>Removal of coolant tray around table</li>
<li>Shrouding around chip spigot</li>
<li>Raised handlebars for moving coolant tray</li>
</ul>
<p>There are probably more changes than are what is listed here. Here are some pictures of the machine</p>

<a href='http://smackaay.com/2010/12/22/the-new-haas-mill-features/img_1270_dxo/' title='Haas Control 2010'><img width="112" height="150" src="http://smackaay.com/wp-content/uploads/2010/12/IMG_1270_DxO-112x150.jpg" class="attachment-thumbnail" alt="Haas Control 2010" title="Haas Control 2010" /></a>
<a href='http://smackaay.com/2010/12/22/the-new-haas-mill-features/img_1271_dxo/' title='Haas Coolant nozzle'><img width="150" height="112" src="http://smackaay.com/wp-content/uploads/2010/12/IMG_1271_DxO-150x112.jpg" class="attachment-thumbnail" alt="Haas Control 2010" title="Haas Coolant nozzle" /></a>
<a href='http://smackaay.com/2010/12/22/the-new-haas-mill-features/img_1272_dxo/' title='Haas Table'><img width="112" height="150" src="http://smackaay.com/wp-content/uploads/2010/12/IMG_1272_DxO-112x150.jpg" class="attachment-thumbnail" alt="Haas Table" title="Haas Table" /></a>
<a href='http://smackaay.com/2010/12/22/the-new-haas-mill-features/img_1273_dxo/' title='Haas Jog Pendant LCD'><img width="150" height="109" src="http://smackaay.com/wp-content/uploads/2010/12/IMG_1273_DxO-150x109.jpg" class="attachment-thumbnail" alt="Haas Jog Pendant LCD" title="Haas Jog Pendant LCD" /></a>
<a href='http://smackaay.com/2010/12/22/the-new-haas-mill-features/img_1274_dxo/' title='Haas Pendant'><img width="112" height="150" src="http://smackaay.com/wp-content/uploads/2010/12/IMG_1274_DxO-112x150.jpg" class="attachment-thumbnail" alt="Haas Pendant" title="Haas Pendant" /></a>
<a href='http://smackaay.com/2010/12/22/the-new-haas-mill-features/img_1276_dxo/' title='Haas accesories mounted on machine'><img width="112" height="150" src="http://smackaay.com/wp-content/uploads/2010/12/IMG_1276_DxO-112x150.jpg" class="attachment-thumbnail" alt="Haas accesories mounted on machine" title="Haas accesories mounted on machine" /></a>
<a href='http://smackaay.com/2010/12/22/the-new-haas-mill-features/img_1279_dxo/' title='New haas probe design'><img width="150" height="112" src="http://smackaay.com/wp-content/uploads/2010/12/IMG_1279_DxO-150x112.jpg" class="attachment-thumbnail" alt="New haas probe design" title="New haas probe design" /></a>
<a href='http://smackaay.com/2010/12/22/the-new-haas-mill-features/img_1280_dxo/' title='haas window clips'><img width="112" height="150" src="http://smackaay.com/wp-content/uploads/2010/12/IMG_1280_DxO-112x150.jpg" class="attachment-thumbnail" alt="haas window clips" title="haas window clips" /></a>
<a href='http://smackaay.com/2010/12/22/the-new-haas-mill-features/img_1281_dxo/' title='Haas Control Screen'><img width="150" height="111" src="http://smackaay.com/wp-content/uploads/2010/12/IMG_1281_DxO-150x111.jpg" class="attachment-thumbnail" alt="Haas Control Screen" title="Haas Control Screen" /></a>

]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2010/12/22/the-new-haas-mill-features/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Long time no post. Machining and trying to get back on my feet.</title>
		<link>http://smackaay.com/2010/02/08/long-time-no-post-machining-and-trying-to-get-back-on-my-feet/</link>
		<comments>http://smackaay.com/2010/02/08/long-time-no-post-machining-and-trying-to-get-back-on-my-feet/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 07:57:19 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[dot peen]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[haas]]></category>
		<category><![CDATA[machining]]></category>
		<category><![CDATA[machinist]]></category>
		<category><![CDATA[marking]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=794</guid>
		<description><![CDATA[Well, it has been some time since I posted, about a month and a half or so. There have a been a number of events that have occurred in that time that have both beneficial yet disappointing. I&#8217;m not really sure where things are going right now but I hope they get better.&#160; &#160; Anyways, [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it has been some time since I posted, about a month and a half or so. There have a been a number of events that have occurred in that time that have both beneficial yet disappointing. I&#8217;m not really sure where things are going right now but I hope they get better.&nbsp;<br />
&nbsp;<br />
Anyways, on to some things I&#8217;ve been working on.<br />
&nbsp;<br />
<strong>Machining</strong><br />
While I am a decent machinist, it is a job that I vowed to myself I would never do again. Lo and behold, I am machining again in order to get some funds and to simply make it through the months in terms of rent and bills. Some of my previous stuff has left me bone dry in terms of money. Realistically, I should thank my lucky stars that I have a skill I can fall back on that pays well and is relatively easy, most others are not so lucky.<br />
&nbsp;<br />
Luckily, the shop I&#8217;m working at is pretty decent, though I&#8217;m not the machinist I once was and my machining style doesn&#8217;t really match the pace and style of the jobber shop I&#8217;m working at. Hopefully I either get better soon or find something more along the lines of what I&#8217;ve become good at.<br />
&nbsp;<br />
<strong>Stamping machine with the Haas mill</strong><br />
This is a little project that I came up with after thinking about dot-peen machines. Basically the idea is to take a Haas mill and allow full control of its machinery to turn it in to a makeshift dot-peen marking machine.<br />
This feat is accomplished through the serial port with a pass-through interpreter box connected to a computer.<center><br />
<a href="http://smackaay.com/wp-content/uploads/2010/02/haas-tool-room-mill.jpg"><img src="http://smackaay.com/wp-content/uploads/2010/02/haas-tool-room-mill-400x300.jpg" alt="Haas Tool Room Mill TM-2" title="Haas Tool Room Mill TM-2" width="400" height="300" class="aligncenter size-medium wp-image-798" /></a></center><br />
Here is how it is all achieved.<br />
&nbsp;<br />
<i>First Step: Computer -&nbsp;</i><br />
&nbsp;<br />
&nbsp;&nbsp;This is where the points and fonts are generated and created. All of the end points are sent out from the computer at a lower baud rate than the mill uses. This allows for longer cable length on the RS-232. Of course I could use USB or RS-485 but RS-232 is more common an interface. A sample output might be:<br />
&nbsp;<br />
MOVE X.455 Y1. (Basically a rapid move)<br />
STMP X.461 Y1. (Stamp here)<br />
STMP X.467 Y1. (Stamp here)<br />
HOME (Go back home)<br />
&nbsp;<br />
The communication is full duplex between the pass-through and computer so that the pass-through can request more data.<br />
&nbsp;<br />
<i>Second Step: Pass Through -&nbsp;</i><br />
&nbsp;<br />
Despite its name, it does not actually pass data through. It interprets the data and controls the stamping head. It will interpret the data and send the machine the appropriate G-codes to perform the commands. The pass through will communicate with the machine at 115200bps whereas the computer <-> passthrough is about 9600bps. a sample output might look like this (based on the above text):<br />
&nbsp;<br />
G00 X.455 Y1.;<br />
G01 X.461 Y1. F200.; (move to stamp position)<br />
DPRNT [S]; (Is at position, passthrough will stamp)<br />
G01 X.467 Y1. F200.; (move to stamp position)<br />
DPRNT [S]; (Is at position, passthrough will stamp)<br />
G28 G91 Z0;<br />
G28 G91 Y0;<br />
&nbsp;<br />
<i>Third Step: Stamping head -&nbsp;</i><br />
&nbsp;<br />
Not really a step so much as device to peen the surface of the part. Here is a picture of an earlier design I made for a stamping head.<br />
<center><a href="http://smackaay.com/wp-content/uploads/2010/02/solenoid-head.gif"><img src="http://smackaay.com/wp-content/uploads/2010/02/solenoid-head-388x300.gif" alt="Solenoid head for custom dot-peen machine" title="Solenoid head for custom dot-peen machine" width="388" height="300" class="aligncenter size-medium wp-image-797" /></a></center><br />
&nbsp;<br />
&nbsp;<br />
I don&#8217;t know if I&#8217;ll ever do this one. Macros need to be enabled in order for this to work so a lot of machines won&#8217;t be able to take advantage of it. Also, my time is limited.<br />
&nbsp;<br />
<strong>Programming a CAM system</strong><br />
&nbsp;<br />
Since the shop I&#8217;m at has no CAM system for the guys on the floor and I don&#8217;t want to use a cracked copy of say, Gibbs or MasterCAM. I&#8217;m writing my own. The going is slow but I am slowly developing a little 2.5D cam system. The math function are working and the object creation is starting to come on line. Now for an interface. I am thinking of migrating over the VB.NET for this program since it does have a lot of nice object handling functions and it is a little easier than creating a user interface from scratch.<br />
&nbsp;<br />
&nbsp;<br />
Anyways, That&#8217;s what I&#8217;ve been up to for the last while. Hopefully I get a car soon so that I don&#8217;t have to walk in this anymore. <img src='http://smackaay.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <center><br />
<a href="http://smackaay.com/wp-content/uploads/2010/02/DSCN9872-modified.jpg"><img src="http://smackaay.com/wp-content/uploads/2010/02/DSCN9872-modified-200x300.jpg" alt="Walking down 97st in edmonton" title="Walking down 97st in edmonton" width="200" height="300" class="aligncenter size-medium wp-image-799" /></a></center><br />
&nbsp;<br />
This was taken on my walk home the other day.</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2010/02/08/long-time-no-post-machining-and-trying-to-get-back-on-my-feet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grams to Krebs conversion formulae</title>
		<link>http://smackaay.com/2009/11/10/grams-to-krebs-conversion-formulae/</link>
		<comments>http://smackaay.com/2009/11/10/grams-to-krebs-conversion-formulae/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 21:02:39 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[conversion]]></category>
		<category><![CDATA[grams]]></category>
		<category><![CDATA[grams to krebs]]></category>
		<category><![CDATA[krebs]]></category>
		<category><![CDATA[Stormer viscometer]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=759</guid>
		<description><![CDATA[After many a day scratching my head as to why I can&#8217;t get my viscometer to calibrate correctly, even assuming logarithmic and quadratic relationships, I find out why I have been having so many problems. Krebs units are in not very linear! I have found an old chart with lots of grams to krebs conversions [...]]]></description>
			<content:encoded><![CDATA[<p>After many a day scratching my head as to why I can&#8217;t get my viscometer to calibrate correctly, even assuming logarithmic and quadratic relationships, I find out why I have been having so many problems.</p>
<p>Krebs units are in not very linear!</p>
<p>I have found an old chart with lots of grams to krebs conversions on it and after painstakingly transcribing them, I have come up with the following graph.<center><br />
<div id="attachment_764" class="wp-caption aligncenter" style="width: 495px"><a href="http://smackaay.com/wp-content/uploads/2009/11/gramstokrebsgraph.gif"><img src="http://smackaay.com/wp-content/uploads/2009/11/gramstokrebsgraph-485x300.gif" alt="Grams to Krebs (grams on horizontal axis, krebs vertical)" title="gramstokrebsgraph" width="485" height="300" class="size-medium wp-image-764" /></a><p class="wp-caption-text">Grams to Krebs (grams on horizontal axis, krebs vertical)</p></div></center><br />
As you can see, there are a number of points of inflection along this graph. Here are some images of the various best fit scenarios regarding this set of points. These points encompass the KU values 40.1 to 141, just for reference.<br />
<center><br />
<div id="attachment_760" class="wp-caption aligncenter" style="width: 495px"><a href="http://smackaay.com/wp-content/uploads/2009/11/gramskrebslinear.gif"><img src="http://smackaay.com/wp-content/uploads/2009/11/gramskrebslinear-485x300.gif" alt="Linear (0.0813637)*x+(64.5289)" title="gramskrebslinear" width="485" height="300" class="size-medium wp-image-760" /></a><p class="wp-caption-text">Linear (0.0813637)*x+(64.5289)</p></div><br />
<div id="attachment_761" class="wp-caption aligncenter" style="width: 495px"><a href="http://smackaay.com/wp-content/uploads/2009/11/gramskrebsquadratic.gif"><img src="http://smackaay.com/wp-content/uploads/2009/11/gramskrebsquadratic-485x300.gif" alt="Quadratic (-0.0000813007)*x^2+(0.173302)*x+(46.274)" title="gramskrebsquadratic" width="485" height="300" class="size-medium wp-image-761" /></a><p class="wp-caption-text">Quadratic (-0.0000813007)*x^2+(0.173302)*x+(46.274)</p></div><br />
<div id="attachment_765" class="wp-caption aligncenter" style="width: 495px"><a href="http://smackaay.com/wp-content/uploads/2009/11/gramskrebscubic.gif"><img src="http://smackaay.com/wp-content/uploads/2009/11/gramskrebscubic-485x300.gif" alt="Cubic (1.01193e-7)*x^3+(-0.000252971)*x^2+(0.253045)*x+(37.7895)" title="gramskrebscubic" width="485" height="300" class="size-medium wp-image-765" /></a><p class="wp-caption-text">Cubic (1.01193e-7)*x^3+(-0.000252971)*x^2+(0.253045)*x+(37.7895)</p></div><br />
<div id="attachment_762" class="wp-caption aligncenter" style="width: 495px"><a href="http://smackaay.com/wp-content/uploads/2009/11/gramskrebsquartic.gif"><img src="http://smackaay.com/wp-content/uploads/2009/11/gramskrebsquartic-485x300.gif" alt="Quartic (-2.3958e-10)*x^4+(6.42986e-7)*x^3+(-0.000653817)*x^2+(0.359922)*x+(30.3868)" title="gramskrebsquartic" width="485" height="300" class="size-medium wp-image-762" /></a><p class="wp-caption-text">Quartic (-2.3958e-10)*x^4+(6.42986e-7)*x^3+(-0.000653817)*x^2+(0.359922)*x+(30.3868)</p></div><br />
<div id="attachment_763" class="wp-caption aligncenter" style="width: 495px"><a href="http://smackaay.com/wp-content/uploads/2009/11/gramskrebsquintic.gif"><img src="http://smackaay.com/wp-content/uploads/2009/11/gramskrebsquintic-485x300.gif" alt="Quintic (1.93677e-13)*x^5+(-7.87171e-10)*x^4+(1.20087e-6)*x^3+(-0.0008998)*x^2+(0.403747)*x+(28.1763)" title="gramskrebsquintic" width="485" height="300" class="size-medium wp-image-763" /></a><p class="wp-caption-text">Quintic (1.93677e-13)*x^5+(-7.87171e-10)*x^4+(1.20087e-6)*x^3+(-0.0008998)*x^2+(0.403747)*x+(28.1763)</p></div></center></p>
<p>As you can see, a quartic relationship is quite passable though I still added a quintic relationship. It may be possible to make a simpler equation based on these values but I thought it prudent to stick to what I know.</p>
<p>You can see the dataset here. <a href='http://smackaay.com/wp-content/uploads/2009/11/kug.txt'>GramsvsKrebs.txt</a></p>
<p>Be warned, I may have made mistakes or the chart may have been wrong, Do your own research if you want to be certain of your results. Hopefully this is of help to somebody.</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2009/11/10/grams-to-krebs-conversion-formulae/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Working on new viscometer head</title>
		<link>http://smackaay.com/2009/10/06/working-on-new-viscometer-head/</link>
		<comments>http://smackaay.com/2009/10/06/working-on-new-viscometer-head/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 18:40:50 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[engineering]]></category>
		<category><![CDATA[sensor]]></category>
		<category><![CDATA[Stormer]]></category>
		<category><![CDATA[Stormer viscometer]]></category>
		<category><![CDATA[viscometer]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=735</guid>
		<description><![CDATA[&#160;&#160;Well, I&#8217;ve been designing some new stuff since having a little wind of inspiration. This head weighs in at about 700g and provisions have been made to allow an attachment to a handle and therefore a hand-held version could be made. Here are some images. &#160; &#160; &#160;&#160;I&#8217;m going to use these design concepts on [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;&nbsp;Well, I&#8217;ve been designing some new stuff since having a little wind of inspiration. This head weighs in at about 700g and provisions have been made to allow an attachment to a handle and therefore a hand-held version could be made. Here are some images.<br />
&nbsp;<br />
<center><div id="attachment_734" class="wp-caption aligncenter" style="width: 501px"><a href="http://smackaay.com/wp-content/uploads/2009/10/head-C.png"><img src="http://smackaay.com/wp-content/uploads/2009/10/head-C-491x300.png" alt="Line Drawing" title="head C" width="491" height="300" class="size-medium wp-image-734" /></a><p class="wp-caption-text">Line Drawing</p></div><br />
<div id="attachment_733" class="wp-caption aligncenter" style="width: 178px"><a href="http://smackaay.com/wp-content/uploads/2009/10/head-B.png"><img src="http://smackaay.com/wp-content/uploads/2009/10/head-B-168x300.png" alt="Fully Assembled visc head" title="head B" width="168" height="300" class="size-medium wp-image-733" /></a><p class="wp-caption-text">Fully Assembled visc head</p></div><br />
<div id="attachment_732" class="wp-caption aligncenter" style="width: 408px"><a href="http://smackaay.com/wp-content/uploads/2009/10/head-A.png"><img src="http://smackaay.com/wp-content/uploads/2009/10/head-A-398x300.png" alt="Viscometer head opened" title="head A" width="398" height="300" class="size-medium wp-image-732" /></a><p class="wp-caption-text">Viscometer head opened</p></div><br />
<div id="attachment_731" class="wp-caption aligncenter" style="width: 153px"><a href="http://smackaay.com/wp-content/uploads/2009/10/head-D.png"><img src="http://smackaay.com/wp-content/uploads/2009/10/head-D-143x300.png" alt="Viscometer head from the back" title="head D" width="143" height="300" class="size-medium wp-image-731" /></a><p class="wp-caption-text">Viscometer head from the back</p></div></center><br />
&nbsp;<br />
&nbsp;&nbsp;I&#8217;m going to use these design concepts on the next in-process version. I&#8217;m going to design the external case for the electrical portion and for possible battery storage. Since the motor only draws 100ma at 24v or 200ma with a 12v motor, a hand held version is definitely possible. This version will use a PIC16F767 for control and using a smaller LCD display to display info.<br />
&nbsp;&nbsp;Now, on to developing some other devices. I&#8217;ve wasted far too much time in the last many months, time to get busy.</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2009/10/06/working-on-new-viscometer-head/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting closer to final completion</title>
		<link>http://smackaay.com/2009/09/22/getting-closer-to-final-completion/</link>
		<comments>http://smackaay.com/2009/09/22/getting-closer-to-final-completion/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 02:11:19 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[diy viscometer]]></category>
		<category><![CDATA[process viscometer]]></category>
		<category><![CDATA[Stormer viscometer]]></category>
		<category><![CDATA[viscometer]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=721</guid>
		<description><![CDATA[A long road behind and still some ahead, here are some pic of the viscometer in its state of completion. Now to implement the ModBUS protocol and finish up this project.]]></description>
			<content:encoded><![CDATA[<p>A long road behind and still some ahead, here are some pic of the viscometer in its state of completion.<br />
<center><div id="attachment_720" class="wp-caption aligncenter" style="width: 410px"><a href="http://smackaay.com/wp-content/uploads/2009/09/DSCN9629-modified.JPG"><img src="http://smackaay.com/wp-content/uploads/2009/09/DSCN9629-modified-400x300.jpg" alt="stormer viscometer with cover looking in" title="stormer viscometer with cover looking in" width="400" height="300" class="size-medium wp-image-720" /></a><p class="wp-caption-text">stormer viscometer with cover looking in</p></div><br />
<div id="attachment_719" class="wp-caption aligncenter" style="width: 235px"><a href="http://smackaay.com/wp-content/uploads/2009/09/DSCN9638-modified.JPG"><img src="http://smackaay.com/wp-content/uploads/2009/09/DSCN9638-modified-225x300.jpg" alt="viscometer from the back" title="viscometer from the back" width="225" height="300" class="size-medium wp-image-719" /></a><p class="wp-caption-text">viscometer from the back</p></div><br />
<div id="attachment_718" class="wp-caption aligncenter" style="width: 235px"><a href="http://smackaay.com/wp-content/uploads/2009/09/DSCN9637-modified.JPG"><img src="http://smackaay.com/wp-content/uploads/2009/09/DSCN9637-modified-225x300.jpg" alt="viscometer standing up" title="viscometer standing up" width="225" height="300" class="size-medium wp-image-718" /></a><p class="wp-caption-text">viscometer standing up</p></div><br />
<div id="attachment_717" class="wp-caption aligncenter" style="width: 410px"><a href="http://smackaay.com/wp-content/uploads/2009/09/DSCN9634-modified.JPG"><img src="http://smackaay.com/wp-content/uploads/2009/09/DSCN9634-modified-400x300.jpg" alt="viscometer laying down" title="viscometer laying down" width="400" height="300" class="size-medium wp-image-717" /></a><p class="wp-caption-text">viscometer laying down</p></div><br />
<div id="attachment_716" class="wp-caption aligncenter" style="width: 410px"><a href="http://smackaay.com/wp-content/uploads/2009/09/DSCN9632-modified.JPG"><img src="http://smackaay.com/wp-content/uploads/2009/09/DSCN9632-modified-400x300.jpg" alt="stormer viscometer with cover" title="stormer viscometer with cover" width="400" height="300" class="size-medium wp-image-716" /></a><p class="wp-caption-text">stormer viscometer with cover</p></div></center><br />
Now to implement the ModBUS protocol and finish up this project.</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2009/09/22/getting-closer-to-final-completion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>In-Process Stormer Viscometer &#8211; Damn near complete</title>
		<link>http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/</link>
		<comments>http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 01:27:49 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[completed]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[diy viscometer]]></category>
		<category><![CDATA[paddles]]></category>
		<category><![CDATA[pic18f4685]]></category>
		<category><![CDATA[pictures]]></category>
		<category><![CDATA[Stormer viscometer]]></category>
		<category><![CDATA[viscometer]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=664</guid>
		<description><![CDATA[&#160;&#160;The viscometer is nearing full completion! YAY! To mark this occasion to mark the end of a long two years, I am placing a small gallery of the almost finished product. The only thing missing is the outside cover which consists of a 4&#8243; od aluminum tube. Also, the springs I&#8217;ve ordered have also not [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;&nbsp;The viscometer is nearing full completion! YAY! To mark this occasion to mark the end of a long two years, I am placing a small gallery of the almost finished product. The only thing missing is the outside cover which consists of a 4&#8243; od aluminum tube. Also, the springs I&#8217;ve ordered have also not arrived as yet, however, for now, the elastics will suffice. Here are some of the features and facts:<br />
&nbsp;</p>
<ul>
<li>Can be used in-lab or in-process
<li>Selectable RPM with a tight tolerance on RPM +/-0.5RPM
<li>User calibration routines. This allows the end user to calibrate with 3 fluids of known viscosity
<li>16 key keypad, used for calibration and settings, also for running special tests
<li>Can be used as a laboratory gel-timer
<li>Can be used for custom tests besides stormer viscometry
<li>Low power consumption <100ma or <2.4W
<li>RS-485 Serial output
<li>Control electronics have complete galvanic isolation
<li>24VDC supply required
<li>repeatability (requires further testing) +/- 1.5%
<li>Modbus protocol (not yet implemented)
<ul>
&nbsp;<br />
Here&#8217;s the Gallery!<br />

<a href='http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/dscn9606/' title='viscometer top'><img width="150" height="112" src="http://smackaay.com/wp-content/uploads/2009/08/DSCN9606-150x112.jpg" class="attachment-thumbnail" alt="viscometer top" title="viscometer top" /></a>
<a href='http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/dscn9584/' title='DSCN9584'><img width="112" height="150" src="http://smackaay.com/wp-content/uploads/2009/08/DSCN9584-112x150.jpg" class="attachment-thumbnail" alt="DSCN9584" title="DSCN9584" /></a>
<a href='http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/dscn9585/' title='DSCN9585'><img width="112" height="150" src="http://smackaay.com/wp-content/uploads/2009/08/DSCN9585-112x150.jpg" class="attachment-thumbnail" alt="DSCN9585" title="DSCN9585" /></a>
<a href='http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/dscn9586/' title='DSCN9586'><img width="112" height="150" src="http://smackaay.com/wp-content/uploads/2009/08/DSCN9586-112x150.jpg" class="attachment-thumbnail" alt="DSCN9586" title="DSCN9586" /></a>
<a href='http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/dscn9587/' title='DSCN9587'><img width="150" height="112" src="http://smackaay.com/wp-content/uploads/2009/08/DSCN9587-150x112.jpg" class="attachment-thumbnail" alt="DSCN9587" title="DSCN9587" /></a>
<a href='http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/dscn9588/' title='DSCN9588'><img width="112" height="150" src="http://smackaay.com/wp-content/uploads/2009/08/DSCN9588-112x150.jpg" class="attachment-thumbnail" alt="DSCN9588" title="DSCN9588" /></a>
<a href='http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/dscn9589/' title='look at entire viscometer'><img width="150" height="112" src="http://smackaay.com/wp-content/uploads/2009/08/DSCN9589-150x112.jpg" class="attachment-thumbnail" alt="look at entire viscometer" title="look at entire viscometer" /></a>
<a href='http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/dscn9590/' title='DSCN9590'><img width="150" height="112" src="http://smackaay.com/wp-content/uploads/2009/08/DSCN9590-150x112.jpg" class="attachment-thumbnail" alt="DSCN9590" title="DSCN9590" /></a>
<a href='http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/dscn9591/' title='DSCN9591'><img width="112" height="150" src="http://smackaay.com/wp-content/uploads/2009/08/DSCN9591-112x150.jpg" class="attachment-thumbnail" alt="DSCN9591" title="DSCN9591" /></a>
<a href='http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/dscn9592/' title='DSCN9592'><img width="112" height="150" src="http://smackaay.com/wp-content/uploads/2009/08/DSCN9592-112x150.jpg" class="attachment-thumbnail" alt="DSCN9592" title="DSCN9592" /></a>
<a href='http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/dscn9593/' title='DSCN9593'><img width="150" height="112" src="http://smackaay.com/wp-content/uploads/2009/08/DSCN9593-150x112.jpg" class="attachment-thumbnail" alt="DSCN9593" title="DSCN9593" /></a>
<a href='http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/dscn9594/' title='DSCN9594'><img width="112" height="150" src="http://smackaay.com/wp-content/uploads/2009/08/DSCN9594-112x150.jpg" class="attachment-thumbnail" alt="DSCN9594" title="DSCN9594" /></a>
<a href='http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/dscn9595/' title='DSCN9595'><img width="112" height="150" src="http://smackaay.com/wp-content/uploads/2009/08/DSCN9595-112x150.jpg" class="attachment-thumbnail" alt="DSCN9595" title="DSCN9595" /></a>
<a href='http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/dscn9596/' title='DSCN9596'><img width="112" height="150" src="http://smackaay.com/wp-content/uploads/2009/08/DSCN9596-112x150.jpg" class="attachment-thumbnail" alt="DSCN9596" title="DSCN9596" /></a>
<a href='http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/dscn9598/' title='DSCN9598'><img width="112" height="150" src="http://smackaay.com/wp-content/uploads/2009/08/DSCN9598-112x150.jpg" class="attachment-thumbnail" alt="DSCN9598" title="DSCN9598" /></a>
<a href='http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/dscn9599/' title='DSCN9599'><img width="112" height="150" src="http://smackaay.com/wp-content/uploads/2009/08/DSCN9599-112x150.jpg" class="attachment-thumbnail" alt="DSCN9599" title="DSCN9599" /></a>
<a href='http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/dscn9600/' title='DSCN9600'><img width="112" height="150" src="http://smackaay.com/wp-content/uploads/2009/08/DSCN9600-112x150.jpg" class="attachment-thumbnail" alt="DSCN9600" title="DSCN9600" /></a>
<a href='http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/dscn9601/' title='DSCN9601'><img width="112" height="150" src="http://smackaay.com/wp-content/uploads/2009/08/DSCN9601-112x150.jpg" class="attachment-thumbnail" alt="DSCN9601" title="DSCN9601" /></a>
<a href='http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/dscn9602/' title='DSCN9602'><img width="112" height="150" src="http://smackaay.com/wp-content/uploads/2009/08/DSCN9602-112x150.jpg" class="attachment-thumbnail" alt="DSCN9602" title="DSCN9602" /></a>
<a href='http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/dscn9603/' title='DSCN9603'><img width="150" height="112" src="http://smackaay.com/wp-content/uploads/2009/08/DSCN9603-150x112.jpg" class="attachment-thumbnail" alt="DSCN9603" title="DSCN9603" /></a>
<a href='http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/dscn9604/' title='DSCN9604'><img width="150" height="112" src="http://smackaay.com/wp-content/uploads/2009/08/DSCN9604-150x112.jpg" class="attachment-thumbnail" alt="DSCN9604" title="DSCN9604" /></a>
<br />
&nbsp;<br />
&nbsp;Yes, a few too many pictures, oh well.<br />
&nbsp;<br />
&nbsp;This thing took me quite a while and what I learned from it was immeasurable. Thankfully now that everything works as expected I can focus on my other projects without having this thing hanging over my head. Here&#8217;s to completion!<br />
&nbsp;<br />
As an aside, here&#8217;s an interesting document on viscosity.<br />
<a href="http://hypertextbook.com/physics/matter/viscosity/">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2009/08/24/in-process-stormer-viscometer-damn-near-complete/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programming, Drafting, Designing and whatever else&#8230;</title>
		<link>http://smackaay.com/2009/07/25/programming-drafting-designing-and-whatever-else/</link>
		<comments>http://smackaay.com/2009/07/25/programming-drafting-designing-and-whatever-else/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 22:38:56 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[enclosure]]></category>
		<category><![CDATA[fdm]]></category>
		<category><![CDATA[mold design]]></category>
		<category><![CDATA[plastic]]></category>
		<category><![CDATA[viscometer]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=606</guid>
		<description><![CDATA[Well, it&#8217;s been a busy few weeks since I left the business training program. Thankfully I have some work lined up and things may go well for the short-term. For the last while I was working on the design for a plastic enclosure for a customer. Everything went quite well and the customer is an [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it&#8217;s been a busy few weeks since I left the business training program. Thankfully I have some work lined up and things may go well for the short-term. For the last while I was working on the design for a plastic enclosure for a customer. Everything went quite well and the customer is an absolute joy to work for/with. Based on a board and taking cues from other ideas, I drafted a simple enclosure for a device. Here are some pictures of the enclosure.</p>
<p><a href="http://smackaay.com/wp-content/uploads/2009/07/enclose2-1.png"><img src="http://smackaay.com/wp-content/uploads/2009/07/enclose2-1-399x300.png" alt="enclose2-1" title="enclose2-1" width="399" height="300" class="aligncenter size-medium wp-image-608" /></a><br />
<a href="http://smackaay.com/wp-content/uploads/2009/07/enclose2-2.png"><img src="http://smackaay.com/wp-content/uploads/2009/07/enclose2-2-308x300.png" alt="enclose2-2" title="enclose2-2" width="308" height="300" class="aligncenter size-medium wp-image-609" /></a></p>
<p>Worked out well&#8230;</p>
<p>Also, I am now continuing my foray into the automation stormer viscometer as well as my auditory camera level. Things should go quite well if I bust my ass&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2009/07/25/programming-drafting-designing-and-whatever-else/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chaos game, a little program.</title>
		<link>http://smackaay.com/2009/05/21/chaos-game-a-little-program/</link>
		<comments>http://smackaay.com/2009/05/21/chaos-game-a-little-program/#comments</comments>
		<pubDate>Fri, 22 May 2009 04:09:09 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[freebbasic]]></category>
		<category><![CDATA[sierpinski]]></category>
		<category><![CDATA[triangle]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=588</guid>
		<description><![CDATA[Was bored for a little while today so I made a quick program in Freebasic to produce a Sierpinski Triangle and a some sort of pentagonal fractal. This little program uses the chaos game method to produce it. I think the result is kind of interesting, I&#8217;ll post the crummy little program. choppy.bas Nothing special [...]]]></description>
			<content:encoded><![CDATA[<p>Was bored for a little while today so I made a quick program in Freebasic to produce a Sierpinski Triangle and a some sort of pentagonal fractal. This little program uses the chaos game method to produce it.<br />
<center><div id="attachment_590" class="wp-caption aligncenter" style="width: 388px"><a href="http://smackaay.com/wp-content/uploads/2009/05/seirpinski1.png"><img src="http://smackaay.com/wp-content/uploads/2009/05/seirpinski1-378x300.png" alt="seirpinski triangle" title="seirpinski triangle" width="378" height="300" class="size-medium wp-image-590" /></a><p class="wp-caption-text">seirpinski triangle</p></div><br />
<div id="attachment_589" class="wp-caption aligncenter" style="width: 388px"><a href="http://smackaay.com/wp-content/uploads/2009/05/seirpinski2.png"><img src="http://smackaay.com/wp-content/uploads/2009/05/seirpinski2-378x300.png" alt="seirpinski at 5" title="seirpinski at 5" width="378" height="300" class="size-medium wp-image-589" /></a><p class="wp-caption-text">seirpinski at 5</p></div><br />
</center><br />
I think the result is kind of interesting, I&#8217;ll post the crummy little program.<br />
<b> <a href='http://smackaay.com/wp-content/uploads/2009/05/choppy.bas'>choppy.bas</a></b><br />
Nothing special with this, just the result of boredom. You could change the radius and the ox and oy variables to look deeper into the triangle/pentagon.</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2009/05/21/chaos-game-a-little-program/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

