<?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>Synthetos</title>
	<atom:link href="http://blog.synthetos.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.synthetos.com</link>
	<description>Complex Ideas...</description>
	<lastBuildDate>Wed, 17 Feb 2010 15:09:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>RFID and Heat Detector Arduino Project</title>
		<link>http://blog.synthetos.com/rfid-and-heat-detector-arduino-project/</link>
		<comments>http://blog.synthetos.com/rfid-and-heat-detector-arduino-project/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 15:07:42 +0000</pubDate>
		<dc:creator>Ril3y</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[heat detector]]></category>
		<category><![CDATA[pyro sensor]]></category>
		<category><![CDATA[rfid]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/rfid-and-heat-detector-arduino-project/</guid>
		<description><![CDATA[Flickr Tags: arduino,rfid,parallax,heat,pyro sensor,sensor,heat detector
 
I know everyone has done this before.&#160; RFID and arduino that is.&#160; But looking at the example code it looks like the antenna is always in receive mode.&#160; I am not sure how this affects the life of the chip / reader but I thought of adding a way to [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.synthetos.com%2Frfid-and-heat-detector-arduino-project%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.synthetos.com%2Frfid-and-heat-detector-arduino-project%2F" height="61" width="51" /></a></div><div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:f89cc055-3f57-4582-8899-1d9d13f3a0c7" class="wlWriterEditableSmartContent">Flickr Tags: <a href="http://flickr.com/photos/tags/arduino" rel="tag">arduino</a>,<a href="http://flickr.com/photos/tags/rfid" rel="tag">rfid</a>,<a href="http://flickr.com/photos/tags/parallax" rel="tag">parallax</a>,<a href="http://flickr.com/photos/tags/heat" rel="tag">heat</a>,<a href="http://flickr.com/photos/tags/pyro+sensor" rel="tag">pyro sensor</a>,<a href="http://flickr.com/photos/tags/sensor" rel="tag">sensor</a>,<a href="http://flickr.com/photos/tags/heat+detector" rel="tag">heat detector</a></div>
<p><a href="http://www.flickr.com/photos/31697990@N00/4349933862/"><img style="margin: 0px; display: inline" align="right" src="http://farm5.static.flickr.com/4005/4349933862_8f198bce76.jpg" width="240" height="160" /></a> </p>
<p>I know everyone has done this before.&#160; RFID and arduino that is.&#160; But looking at the example code it looks like the antenna is always in receive mode.&#160; I am not sure how this affects the life of the chip / reader but I thought of adding a way to detect human presence before activating the receiver. </p>
<p>I found some little IR heat detector (HERE: <a href="http://www.allelectronics.com/make-a-store/item/IRD-10/INFRARED-DETECTOR-MODULE/-/1.html">http://www.allelectronics.com/make-a-store/item/IRD-10/INFRARED-DETECTOR-MODULE/-/1.html</a> and tossed together some analog read code and viola.&#160; Now when the IR detector detects over a certain variable heat temp it activates the RFID reader.</p>
<p><a href="http://www.flickr.com/photos/31697990@N00/4349185833/"><img src="http://farm5.static.flickr.com/4016/4349185833_c37f7b0104.jpg" /></a></p>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/rfid-and-heat-detector-arduino-project/&title=RFID+and+Heat+Detector+Arduino+Project&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/rfid-and-heat-detector-arduino-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PCB Cyborg Art</title>
		<link>http://blog.synthetos.com/pcb-cyborg-art/</link>
		<comments>http://blog.synthetos.com/pcb-cyborg-art/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 02:32:40 +0000</pubDate>
		<dc:creator>Ril3y</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Laser Cutting]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[defcon]]></category>
		<category><![CDATA[etching]]></category>
		<category><![CDATA[laser]]></category>
		<category><![CDATA[pcb]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/?p=278</guid>
		<description><![CDATA[

So I had some free time while waiting for Alden to proof my xproto breakout board I designed for the tinyG system that we are working on.  So I took some time to try to mimic the results that Joe Grand of Grand Idea Studios did on his professional PCB mill.  I think the results [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.synthetos.com%2Fpcb-cyborg-art%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.synthetos.com%2Fpcb-cyborg-art%2F" height="61" width="51" /></a></div><p><br class="spacer_" /></p>
<p><a title="DSC_5473.JPG" href="http://www.flickr.com/photos/31697990@N00/4363840522/"><img class="alignleft" style="float: left;" src="http://farm5.static.flickr.com/4009/4363840522_92434e12e3_m.jpg" alt="DSC_5473.JPG" /></a></p>
<p>So I had some free time while waiting for Alden to proof my <a href="http://www.flickr.com/photos/31697990@N00/4361473660/">xproto</a> breakout board I designed for the tinyG system that we are working on.  So I took some time to try to mimic the results that <a href="http://www.grandideastudio.com/portfolio/circuit-board-artwork/" target="_blank">Joe Grand of Grand Idea Studios</a> did on his professional PCB mill.  I think the results were pretty good.  In fact they were even better than you see on the final version.  I say this because currently I have a very coarse wire brush on my grinder and did not take the time to switch it to a much finer wire gauge.  I was lazy.  As you can see some of the building is coming off.</p>
<p><br class="spacer_" /></p>
<p>Also in the middle there was some &#8220;over burn&#8221; where I left it in contact too long.</p>
<p><a title="DSC_5477.JPG" href="http://www.flickr.com/photos/31697990@N00/4364245330/"><img class="alignright" style="float: right;" src="http://farm5.static.flickr.com/4069/4364245330_854f88c530_m.jpg" alt="DSC_5477.JPG" /></a></p>
<p>This has kind of inspired me to do some neat graphic / electronics.  Not sure what I am going to do but this would have been much cooler if the cyborg&#8217;s eye lit up and would blink faster / slower based off of the temp in the room etc&#8230; <img src='http://blog.synthetos.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p style="text-align: center;"><a title="DSC_5473.JPG" href="http://www.flickr.com/photos/31697990@N00/4363840522/"><img class="alignnone" src="http://farm5.static.flickr.com/4009/4363840522_92434e12e3.jpg" alt="DSC_5473.JPG" /></a></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/pcb-cyborg-art/&title=PCB+Cyborg+Art&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/pcb-cyborg-art/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>The Robot Arm is Working!</title>
		<link>http://blog.synthetos.com/the-robot-arm-is-working/</link>
		<comments>http://blog.synthetos.com/the-robot-arm-is-working/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 02:16:06 +0000</pubDate>
		<dc:creator>rmadams</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[open source hardware]]></category>
		<category><![CDATA[robotarm]]></category>
		<category><![CDATA[Robotics]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/?p=274</guid>
		<description><![CDATA[One marathon hacking session later, and the robot arm is complete and functional.  Thanks to a whole uninterrupted stretch of time, I was able to complete the assembly of the arm- including the most problematic part, the gripper.  It is so problematic that Ril3y and I are quickly fabbing up a replacement that [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.synthetos.com%2Fthe-robot-arm-is-working%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.synthetos.com%2Fthe-robot-arm-is-working%2F" height="61" width="51" /></a></div><div class="wp-caption alignleft" style="width: 250px"><a href="http://www.flickr.com/photos/42433826@N00/4357409397/in/set-72157623181917014/"><img alt="Picture of the complete robot arm with controller" src="http://farm5.static.flickr.com/4063/4357409397_e69dbf7ecf_m.jpg" title="Robot Arm Complete" width="240" height="180" /></a><p class="wp-caption-text">Complete Robot Arm</p></div>
<p>One marathon hacking session later, and the robot arm is complete and functional.  Thanks to a whole uninterrupted stretch of time, I was able to complete the assembly of the arm- including the most problematic part, the gripper.  It is so problematic that Ril3y and I are quickly fabbing up a replacement that will be much more flexible, robust, and easier to assemble.  For now, though, the robot structural framework is complete, and matches the photos that have been posted by the Oomlaut Labs guys.  Of course, my arm is in the cool, racy red color, which is very nice.</P></p>
<p>Complementing the hardware, I took a few bits and pieces of software discovered on the net, and mashed it together into a manual control program for the Arduino board and the Pololu motor control board.  The code is really messy, and all in Wiring, so not very elegant or compact.  But it is pretty clear and easy to understand- nothing hidden, and should work on every Arduino variant.  By using a readily-available Playstation PS1 controller, the interface is both familiar and cheap!</p>
<p>Basically, I mapped each pair of buttons to the motor axes, and hard-wired in reasonable limits, to make it harder to completely crash the machine.  I also set up the &#8220;select&#8221; button to change the speed.  It works great, and as you can see from the video, you can pick up and drop things with ease. </P><br />
<object type="application/x-shockwave-flash" width="400" height="300" data="http://www.flickr.com/apps/video/stewart.swf?v=71377" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="flashvars" value="intl_lang=en-us&#038;photo_secret=1bc01d3107&#038;photo_id=4358156548"></param><param name="movie" value="http://www.flickr.com/apps/video/stewart.swf?v=71377"></param><param name="bgcolor" value="#000000"></param><param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/video/stewart.swf?v=71377" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=en-us&#038;photo_secret=1bc01d3107&#038;photo_id=4358156548" height="300" width="400"></embed></object></p>
<p>Next steps are:</p>
<p></p>
<p>1) Get the documentation completed so others can build them too, easily, if desired.  Post the programs, such as they are for the same reason.</P><br />
<P>2) Add a &#8220;learning mode&#8221; using the &#8220;Start&#8221; button and L1/L2 to allow the user to program a series of way-points and then play them back.  I may add a little EEPROM memory, too, for non-volatile storage of the programs.  I have room on the breadboard and pins to spare.</p>
<p>4) Work with Ril3y to design and integrate a better gripper.  As mentioned above, the one currently implemented is suboptimal.</P></p>
<p>5) Develop the framework for the kinematics programming.  This will (at least at first) probably be hosted in Processing, to simplify development.  There are a number of existing Open Source kinematics packages for 5DOF arms, so I am hoping to leverage (read steal) an existing one and work from that.</p>
<p>6) Redesign the arm to use high-torque and fine-grained stepper motors instead of the servos.  This will require some position feedback.  Both of these goals will nicely match what Ril3y and Alden are doing in the motion control space.  Hopefully, the arm will evolve into a simple test-bed for those concepts.</p>
<p>Lots of fun- and a great, great weekend!</p>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/the-robot-arm-is-working/&title=The+Robot+Arm+is+Working!&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/the-robot-arm-is-working/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Progress on the Robot Arm!</title>
		<link>http://blog.synthetos.com/progress-on-the-robot-arm/</link>
		<comments>http://blog.synthetos.com/progress-on-the-robot-arm/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 02:39:02 +0000</pubDate>
		<dc:creator>rmadams</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Fabrication]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[lasercut]]></category>
		<category><![CDATA[robotarm]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/?p=267</guid>
		<description><![CDATA[


Thanks to the Hong Kong Parcel Post, I got my metal-gear servomotors last week, and then thanks to work commitments, they had to sit taunting me  on my workbench the whole week.  Luckily, I had a chance to do some assembly work this weekend, and got a couple of the major subassemblies put [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.synthetos.com%2Fprogress-on-the-robot-arm%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.synthetos.com%2Fprogress-on-the-robot-arm%2F" height="61" width="51" /></a></div><p><br class="spacer_" /></p>
<div class="wp-caption alignleft" style="width: 250px"><a href="http://www.flickr.com/photos/42433826@N00/4320366811/"><img title="First joint of the Open Source Robot Arm" src="http://farm5.static.flickr.com/4003/4320366811_42bb1c512f_m.jpg" alt="A picture of the open source robot arm, first joint  assembled with servos" width="240" height="159" /></a><p class="wp-caption-text">First joint of the Open Source Robot Arm</p></div>
<p><br class="spacer_" /></p>
<p>Thanks to the Hong Kong Parcel Post, I got my metal-gear servomotors last week, and then thanks to work commitments, they had to sit taunting me  on my workbench the whole week.  Luckily, I had a chance to do some assembly work this weekend, and got a couple of the major subassemblies put together.  As you could see from the earlier post, I had the base assembled, and it was short work to put the base rotation servomotor in place.</p>
<p>You have to make sure that when you assemble the deck, you put the servo in so that it is at the center of its rotation when the arm is facing forward.  Once that was done it was short work to get the deck put on.  I went ahead and clipped the little screws that hold the servo horn on short, so they won&#8217;t rub on the acrylic frame and scratch it. I also added a trio of modified furniture casters to provide a bearing surface for the rotating platform.  The oomlaut guys used M8 screws with acorn nuts, but that would also scratch up my beautiful red acrylic, so I chose to go another way.  If you look at the <a href="http://www.flickr.com/photos/42433826@N00/sets/72157623181917014/">flickr set</a>, you can see how I did it.  I had to trim them a bit to allow for the small M3 nuts on the bottom of the platform to have sufficient clearance.</p>
<p>You can see that the first joint of the arm is supported by two servos- note that in order to make the parts fit without undue stress on the lasercut plastic, I put one servo inside and one outside the mounts.  I also had to make sure that the motors were both turned to the same degree of rotation before mounting them. The way I mounted them, the first joint can swing from fully to the back of the platform all the way to fully front.  This should be perfect, and maximize the reach of the arm. </p>
<p>Assembling the second joint turned out to be much more problematic, and necessitated several tear-downs and re-assemblies.  As far as I can tell from the (albeit sparse) pictures on the oomlaut website, it appears that the motors are mounted on the outside of the arm assembly, but as far as I can tell, this will not fit without really bending the lasercut frame.  I don&#8217;t want to do this as I do not want to break the plastic, but I am at a loss about what to do.  I am planning on sleeping on it, and ordering a couple of the motors that the oomlaut guys suggest and see if they fit better.  According to the specs posted on the motor source website, they are exactly the same size as the ones that I have now, so I am kind of puzzled. </p>
<p>Next up- second arms joint, gripper (which is its own puzzle, to be sure) and the control mechanism.  (Yes, I am still hacking around with my old Playstation2 controller!)</p>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/progress-on-the-robot-arm/&title=Progress+on+the+Robot+Arm!&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/progress-on-the-robot-arm/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>1Wire Real Time Clock With Arduino</title>
		<link>http://blog.synthetos.com/1wire-real-time-clock-with-arduino/</link>
		<comments>http://blog.synthetos.com/1wire-real-time-clock-with-arduino/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 01:17:16 +0000</pubDate>
		<dc:creator>Ril3y</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[1wire]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[ds1904]]></category>
		<category><![CDATA[one wire]]></category>
		<category><![CDATA[onewire]]></category>
		<category><![CDATA[rtc]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/?p=261</guid>
		<description><![CDATA[So I ordered a 1-Wire RTC (real time clock) from the maxim corporation.  To be exact its a ds1904.  What is really cool about the 1-Wire protocol is it only needs 1 wire to send data on.  It is a bit misleading however since it does need a ground as well.  You really need to [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.synthetos.com%2F1wire-real-time-clock-with-arduino%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.synthetos.com%2F1wire-real-time-clock-with-arduino%2F" height="61" width="51" /></a></div><p>So I ordered a 1-Wire RTC (real time clock) from the maxim corporation.  To be exact its a <a href="http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2817" target="_blank">ds1904</a>.  What is really cool about the 1-Wire protocol is it only needs 1 wire to send data on.  It is a bit misleading however since it does need a ground as well.  You really need to read the data sheet on these guys to understand fully how they work.  But in the mean time basically one button gets to talk at a time.  Every button has a unique serial number which is kind of a cool feature in it self.  Since its in a steel &#8220;can&#8221; its really rugged so you could place it on say a card, keychain etc?  It would be cool to use as a key FOB to get into my workshop.  However no time for a new project at the moment.  The reason I am messing with this stuff is I had to take a break from the project I have been working on for work.  Call it a mind break.</p>
<p>I created a DIY (with a laser cutter that is) OneWire button mount as you can see it just holds 2 wires against the top and bottom of the steel can.  Pretty simple.  Not really useful as an end solution but good for testing.</p>
<p><a title="DSC_5387.JPG" href="http://www.flickr.com/photos/31697990@N00/4288965073/"><img class="alignleft" style="float: left;" src="http://farm3.static.flickr.com/2717/4288965073_478b4245b6_m.jpg" alt="DSC_5387.JPG" /></a></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p>Anyhow there is a nice Arduino lib for the 1-wire stuff <a href="http://homepage.mac.com/wtpollard/Software/FileSharing7.html">here</a>.  Just extract this to your arduinoxxx/hardware/lib/OneWire folder.</p>
<p><br class="spacer_" /></p>
<div id="_mcePaste">This is the source code that I used and edited to get the RTC DS1904 working.  Note that you need to uncomment the //write Section upload it to the board let it run then re-comment it and upload it again.  Otherwise the oscillators will not turn on and it does not &#8220;count seconds&#8221; or more to the point at as a normal clock.</div>
<p>This is the source code that I used and edited to get the RTC DS1904 working.  Note that you need to uncomment the //write Section upload it to the board let it run then re-comment it and upload it again.  Otherwise the oscillators will not turn on and it does not &#8220;count seconds&#8221; or more to the point at as a normal clock.</p>
<p><br class="spacer_" /></p>

<div class="wp_syntax"><div class="code"><pre class="arduino" style="font-family:monospace;"><span style="color: #339933;">#include </span>
&nbsp;
<span style="color: #666666; font-style: italic;">// DS1904 Real Time Clock iButton I/O</span>
OneWire ds<span style="color: #009900;">&#40;</span><span style="color: #0000dd;">10</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// on pin 10</span>
&nbsp;
<span style="color: #993333;">void</span> setup<span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000066;">Serial</span>.<span style="color: #202020;">begin</span><span style="color: #009900;">&#40;</span><span style="color: #0000dd;">9600</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #993333;">void</span> loop<span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #993333;">byte</span> i<span style="color: #339933;">;</span>
  <span style="color: #993333;">byte</span> present <span style="color: #339933;">=</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
  <span style="color: #993333;">byte</span> data<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">8</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
  <span style="color: #993333;">byte</span> addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">8</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span>ds.<span style="color: #202020;">search</span><span style="color: #009900;">&#40;</span>addr<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000066;">Serial</span>.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;No more addresses found.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      ds.<span style="color: #202020;">reset_search</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000066;">delay</span><span style="color: #009900;">&#40;</span><span style="color: #0000dd;">500</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// for readability</span>
      <span style="color: #b1b100;">return</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #000066;">Serial</span>.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;ROM: &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span> i <span style="color: #339933;">=</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> <span style="color: #0000dd;">8</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">Serial</span>.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span>addr<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> HEX<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000066;">Serial</span>.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> OneWire<span style="color: #339933;">::</span><span style="color: #202020;">crc8</span><span style="color: #009900;">&#40;</span> addr<span style="color: #339933;">,</span> <span style="color: #0000dd;">7</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!=</span> addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">7</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000066;">Serial</span>.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;CRC is not valid!<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #b1b100;">return</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> addr<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">!=</span> <span style="color: #208080;">0x24</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000066;">Serial</span>.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\t</span><span style="color: #000099; font-weight: bold;">\t</span>Device is not a DS1904 family device.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #b1b100;">return</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/*
  // write!
  Serial.println(&quot;writing to RTC...&quot;);
  present = ds.reset();
  ds.select(addr);
  ds.write(0x99,1);   // write RTC - this is the write code
  ds.write(0xAC);  //This is the control byte.  AC in hex = 10101100
                   //read the datasheet and you will see that this is important
                   //to start the internal osc's... Or to make the clock start
                   //counting seconds.  --ril3y
  ds.write(0x02);  //0x02 is a random time set it with your own
  ds.write(0x03);  //same with this
  ds.write(0x05);  //this
  ds.write(0x08);  //and this
  present = ds.reset();
  delay(1500);     // unknown if wait needed
*/</span>
&nbsp;
  <span style="color: #666666; font-style: italic;">// read!</span>
  present <span style="color: #339933;">=</span> ds.<span style="color: #202020;">reset</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  ds.<span style="color: #202020;">select</span><span style="color: #009900;">&#40;</span>addr<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  ds.<span style="color: #202020;">write</span><span style="color: #009900;">&#40;</span><span style="color: #208080;">0x66</span><span style="color: #339933;">,</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>   <span style="color: #666666; font-style: italic;">// read RTC</span>
&nbsp;
  <span style="color: #000066;">Serial</span>.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;PR: &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000066;">Serial</span>.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span>present<span style="color: #339933;">,</span> HEX<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span> i <span style="color: #339933;">=</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> <span style="color: #0000dd;">5</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    data<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> ds.<span style="color: #202020;">read</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #000066;">Serial</span>.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot; CTRL BYTE:  &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000066;">Serial</span>.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> BIN<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000066;">Serial</span>.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\t</span>time:  &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span> i <span style="color: #339933;">=</span> <span style="color: #0000dd;">1</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> <span style="color: #0000dd;">5</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">Serial</span>.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> HEX<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000066;">Serial</span>.<span style="color: #202020;">print</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot; &quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  <span style="color: #000066;">Serial</span>.<span style="color: #202020;">println</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Note that I did not write most of this code.  You can see the original thread <a href="http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1248727122/0">here</a>:  This should be enough to get you starting using a 1Wire RTC.  Enjoy!</p>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/1wire-real-time-clock-with-arduino/&title=1Wire+Real+Time+Clock+With+Arduino&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/1wire-real-time-clock-with-arduino/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Serial Servo Controller</title>
		<link>http://blog.synthetos.com/255/</link>
		<comments>http://blog.synthetos.com/255/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 02:15:58 +0000</pubDate>
		<dc:creator>rmadams</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Robotics]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/?p=255</guid>
		<description><![CDATA[
Since I am still waiting for my servomotors to arrive from across the ocean, I went ahead and assembled the servo controller.  I decided to use the Pololu Micro Serial Servo Controller, which I ordered on Free Day from SparkFun electronics.  I did not end up getting it for free, however, as I [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.synthetos.com%2F255%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.synthetos.com%2F255%2F" height="61" width="51" /></a></div><div class="wp-caption alignleft" style="width: 198px"><a href="http://www.sparkfun.com/commerce/product_info.php?products_id=8897"><img alt="Picture of a semi-assembled Micro Serial Servo Controller" src="http://static.sparkfun.com/images/products/08897-03-L_i_ma.jpg" title="Micro Serial Servo Controller" width="188" height="188" /></a><p class="wp-caption-text">Pololu Micro Serial Servo Controller, from SparkFun Electronics</p></div>
<p>Since I am still waiting for my servomotors to arrive from across the ocean, I went ahead and assembled the servo controller.  I decided to use the <a href="http://www.sparkfun.com/commerce/product_info.php?products_id=8897">Pololu Micro Serial Servo Controller</a>, which I ordered on Free Day from SparkFun electronics.  I did not end up getting it for free, however, as I am too slow on the &#8220;reload&#8221; key.  Nevertheless, I ordered it anyway, which is exactly what several Internet curmudgeons would rather I didn&#8217;t do- &#8220;don&#8217;t encourage them!&#8221; they claim.  I like SFU, though, and I have to support my Colorado brethren.  Maybe I will move back to Colorado one day and become a combined snowboard bum / electronics guru!</p>
<p>The Micro SSC, despite being the size of a postage stamp, is not the latest technology, and is being threatened with extinction itself by a slightly more expensive USB-connecting version.  In fact, it implements the serial protocol from an even older controller, the SSC from Scott Edwards Electronics, which had it&#8217;s debut way back when &#8220;Nuts and Volts&#8221; magazine was in that weird large tabloid format.  I  used it successfully on several projects, mostly interfaced to an HC11 Miniboard (thank you Fred Martin and MIT Media Lab!) or a Basic Stamp BS1.  It had a remarkably easy command structure, and you could string several of the boards together to get even more servos online.  Neat!</p>
<p>The Pololu unit implements the old SSC interface, but also a much-improved interface of its own that has lots of nice features like travel limits and travel rates, etc., all of which make for a much nicer robot arm.  I will probably start off using the old SSC language that I am familiar with, and then move to the new framework as I need the additional features (or as I break servos doing the usual stupid stuff&#8230;)</p>
<p>Next step is to set up the pendant for programming the robot.  Ultimately, I am planning on integrating one of the several open source inverse kinematics frameworks available or path planning, but for now I am going to integrate a simple &#8220;do as I do&#8221; training system, using an old Playstation 2 joypad that I have sitting around.  While I am waiting for the servos to come in, I will set that up- watch for a post on that topic in the next couple of days.</p>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/255/&title=Serial+Servo+Controller&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/255/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First steps to a complete robot arm</title>
		<link>http://blog.synthetos.com/first-steps-to-a-complete-robot-arm/</link>
		<comments>http://blog.synthetos.com/first-steps-to-a-complete-robot-arm/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 01:07:00 +0000</pubDate>
		<dc:creator>rmadams</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Laser Cutting]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[robotics arduino lasercut]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/?p=235</guid>
		<description><![CDATA[



Thanks to Riley, I am the proud owner of a pile of lasercut parts for the uber-cool oomlaut open source robot arm.  The details can be had from both the original blog post and a thingiverse.com post that has the necessary design files (nicely laid out for the lasercutter, although Riley was able to [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.synthetos.com%2Ffirst-steps-to-a-complete-robot-arm%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.synthetos.com%2Ffirst-steps-to-a-complete-robot-arm%2F" height="61" width="51" /></a></div><p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<div class="wp-caption alignleft" style="width: 292px"><a href="http://www.flickr.com/photos/42433826@N00/4264117050/"><img class=" " title="RARM Robot Arm Base Assembled" src="http://farm3.static.flickr.com/2782/4264117050_c602cb5226_o.jpg" alt="oomlaut robot arm base shown assembled" width="282" height="187" /></a><p class="wp-caption-text">The oomlaut open source robot arm base assembled easily and looks slick and professional.</p></div>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p>Thanks to Riley, I am the proud owner of a pile of lasercut parts for the uber-cool oomlaut open source robot arm.  The details can be had from both the original blog <a href="http://oomlout.co.uk/?p=49">post</a> and a thingiverse.com <a href="http://www.thingiverse.com/thing:387">post</a> that has the necessary design files (nicely laid out for the lasercutter, although Riley was able to get the layout down to a single 12&#215;24in sheet, which was great.  He said he will upload it as a derivative on thingiverse ASAP, so others can benefit, too.)  My daughter and I both thought watching it cut was the coolest thing ever.  She has taken all the scrap and has it proudly displayed in her room, too.  It helps that the color we chose was bright red- gives it a gem-like (and somewhat sinister!) appearance.  Can&#8217;t beat that!</p>
<p>I have most of the electronics already- I will be using a barebones Arduino as the controller, and a Pololu servo interface board to maximize the precision.  I did have to order some good metal-gear servos, which I got for a steal at dealextreme.com  The total cost of the project will be about 70$US, and if I had to buy everything fresh, closer to 100$US.  Pretty good for a flexible robot arm and experimental hacking platform.  My intent is to incorporate it into some work that colleagues and I have been doing around automated lab testing.  I intend to borrow an existing reverse kinetics framework and use that for path planning.  I am also going to rework the gripper, as I think it is the weakest part of the design.</p>
<p>Next up will be an illustrated build diary, here on the Synthetos blog, and a compete set of instructions, ordering guide, etc., over at Instructables.  The goal is to get the arm built and tested, and to validate the design, as well as get others interested in building their own.  Who knows- if it works out well, I may even take a crack at a derivative design that can be built using only RepRap-ed parts!</p>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/first-steps-to-a-complete-robot-arm/&title=First+steps+to+a+complete+robot+arm&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/first-steps-to-a-complete-robot-arm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Arduino Boot Loader Party&#8230;.</title>
		<link>http://blog.synthetos.com/arduino-boot-loader-party/</link>
		<comments>http://blog.synthetos.com/arduino-boot-loader-party/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 15:48:47 +0000</pubDate>
		<dc:creator>Ril3y</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[atmega168p]]></category>
		<category><![CDATA[atmega168v]]></category>
		<category><![CDATA[tqfp]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/?p=228</guid>
		<description><![CDATA[Well I was the only one there&#8230;.  BUT! I did have a few different ATMEGA&#8217;s guests.  I had purchased about 10x  ATMEGA168V&#8217;s and 5x ATMEGA168P&#8217;s both in the SMD packages for some upcoming projects.  My goal was to get a TQFP (which is just the name of the chip foot print or size if you [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.synthetos.com%2Farduino-boot-loader-party%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.synthetos.com%2Farduino-boot-loader-party%2F" height="61" width="51" /></a></div><p>Well I was the only one there&#8230;.  BUT! I did have a few different ATMEGA&#8217;s guests.  I had purchased about 10x  ATMEGA168V&#8217;s and 5x ATMEGA168P&#8217;s both in the SMD packages for some upcoming projects.  My goal was to get a TQFP (which is just the name of the chip foot print or size if you will) socket hook it up to the SPI programming ports that ATMEL uses to flash their chips and then burn the Arduino Boot loader on to them.  Well this turned out to be harder than I though.</p>
<p>First, the wayyyy too cheap <a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&amp;name=336-1505-ND" target="_blank">TQFP Socket Breakout Board</a> $25 actually when most are around $150 &#8211; $200 was too good to be true.  I assumed and did not RTFM (google if it you dont know that one) that it had a standard male breadboard socket headers on the bottom to &#8220;breakout&#8221; the pins.  It actually had this:</p>
<p style="text-align: center;"><a title="Mystery Connector HELP!" href="http://www.flickr.com/photos/31697990@N00/4252674276/"><img class="alignnone" src="http://farm3.static.flickr.com/2789/4252674276_23276ca3bc.jpg" alt="Mystery Connector HELP!" /></a> So after realizing that my whole &#8220;good idea&#8221; of removing the 6 pin headers needed to flash and arduino bootloader off of any future design and just use the &#8220;breakout board&#8221; to quickly flash these guys was starting to seem like it was not going to work.  After about 4 hours of searching for the counterpart of this connector I gave up and got crazy.  I went ahead and desoldered the whole enclosure popped it off solder 6 wires to the right corresponding pins needed to flash the AVR&#8217;s.  I needed this to be done quickly as I had a project that&#8217;s deadline is approaching so I had to breadboard</p>
<p><a title="Arduino Boot Loader PARTY!" href="http://www.flickr.com/photos/31697990@N00/4252490413/"><img class="alignright" src="http://farm5.static.flickr.com/4066/4252490413_f480929c6e.jpg" alt="Arduino Boot Loader PARTY!" width="500" height="334" /></a></p>
<p>this design rather than make a nice custom eagle footprint for this part and do a <a href="http://blog.synthetos.com/laser-etched-pcbs-take-2/">DIY PCB via the Laser</a>.</p>
<p>This is where the real trouble started.  I thought I had bought all ATMEGAxx8P&#8217;s when in reality I had bought ATMEGA168V&#8217;s.  So my trouble was through the arduino IDE I had selected to flash these chips with the Arduino mini pro as the board selected.  All this means is through the IDE the mini pro has the smd atmega168p chip which is what you would have wanted if you had the right chip.</p>
<p>Issuing the avrdude -c tinyisp -p m168 told me that everything was good.  So then I proceeded to select Burn Boot Loader through the Arduino IDE.  This failed and now I was no longer able to talk to these chips.  After reading more I realized they were ATMEGA168V&#8217;s which is the same chip the lillypad uses.  I selected that board on a new chip burned the bootloader and now its all working.  However I did &#8220;screw up&#8221; about 6 other chips.</p>
<p>I posted a <a href="http://chiphacker.com/questions/1402/atmega168-p-v-10-20-au-arduino-booloader-flashing-via-avrdude" target="_blank">question on chiphackers</a> to see if anyone could help me out.  It turns out that the Arduino IDE seems to have changed the fuses on the chip to need an external oscillator.  This is ok if the hex file that the arduino was trying to burn was the right one.  Which it was not as I described above.  So I am in the process now of trying to fix these &#8220;screwed up chips&#8221;  by adding an oscillator to the xtal pins and then trying to burn them again with the right bootloader.  I will update with more info when I know its fixed.  Here is some more pics of the process.</p>
<p><br class="spacer_" /></p>
<p style="text-align: center;"><a title="Arduino Boot Loader PARTY!" href="http://www.flickr.com/photos/31697990@N00/4253259794/"><img class="alignnone" src="http://farm3.static.flickr.com/2681/4253259794_c8dfff0e26_m.jpg" alt="Arduino Boot Loader PARTY!" /></a> <a title="DSC_5281.JPG" href="http://www.flickr.com/photos/31697990@N00/4251897355/"><img class="alignnone" src="http://farm3.static.flickr.com/2745/4251897355_eab75bfab1_m.jpg" alt="DSC_5281.JPG" /></a> <a title="DSC_5283.JPG" href="http://www.flickr.com/photos/31697990@N00/4251899397/"><img class="alignnone" src="http://farm3.static.flickr.com/2762/4251899397_39a05d2c3c_m.jpg" alt="DSC_5283.JPG" /></a></p>
<p><br class="spacer_" /></p>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/arduino-boot-loader-party/&title=Arduino+Boot+Loader+Party&#8230;.&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/arduino-boot-loader-party/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The new year and beyond.. Upcoming goals for Synthetos Labs</title>
		<link>http://blog.synthetos.com/the-new-year-and-beyond-upcoming-goals-for-synthetos-labs/</link>
		<comments>http://blog.synthetos.com/the-new-year-and-beyond-upcoming-goals-for-synthetos-labs/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 13:42:20 +0000</pubDate>
		<dc:creator>Ril3y</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/?p=220</guid>
		<description><![CDATA[

So its a new year.  This blog should attempt to paint a picture as to the road map of Synthetos projects.




Get the store.synthetos.com up and running.
Finish a work hardware project.  (hush hush until its released)
Finish up contraptor mini-cnc
Finish new stepper driver board. (Including the linear encoders)
Finish Atenna Bot.
Start the DIY pick and place.
Convert the mill [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.synthetos.com%2Fthe-new-year-and-beyond-upcoming-goals-for-synthetos-labs%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.synthetos.com%2Fthe-new-year-and-beyond-upcoming-goals-for-synthetos-labs%2F" height="61" width="51" /></a></div><p><br class="spacer_" /></p>
<p><a title="The G33k3d up laser cutter" href="http://www.flickr.com/photos/31697990@N00/4025293028/"><img class="alignleft" style="float: left; " src="http://farm4.static.flickr.com/3503/4025293028_346b55d54d_m.jpg" alt="The G33k3d up laser cutter" /></a></p>
<p>So its a new year.  This blog should attempt to paint a picture as to the road map of Synthetos projects.</p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<ol>
<li>Get the store.synthetos.com up and running.</li>
<li>Finish a work hardware project.  (hush hush until its released)</li>
<li>Finish up contraptor mini-cnc</li>
<li>Finish new stepper driver board. (Including the linear encoders)</li>
<li>Finish Atenna Bot.</li>
<li>Start the DIY pick and place.</li>
<li>Convert the mill to a cnc metal mill.</li>
</ol>
<p>If we were to finish all of this by June that would rock!  So if anyone is interested in contributing to any of the above projects please let me know.</p>
<p>Ril3y</p>
<ol> </ol>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/the-new-year-and-beyond-upcoming-goals-for-synthetos-labs/&title=The+new+year+and+beyond..+Upcoming+goals+for+Synthetos+Labs&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/the-new-year-and-beyond-upcoming-goals-for-synthetos-labs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Headless VirtualBox</title>
		<link>http://blog.synthetos.com/headless-virtualbox/</link>
		<comments>http://blog.synthetos.com/headless-virtualbox/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 01:54:55 +0000</pubDate>
		<dc:creator>Omer Osman</dc:creator>
				<category><![CDATA[HowTo]]></category>

		<guid isPermaLink="false">http://blog.synthetos.com/?p=215</guid>
		<description><![CDATA[I&#8217;m currently laying out a DSP/FPGA board to interface to the MUSAMP board below for real-time signal processing. I&#8217;m laying out the schematics and PCB layout using gEDA (GPL Electronic Design Automation) tools. I originally started working on gEDA through a SuSE VirtualBox virtual machine on a Mac OSX host.
The Mac OSX host is on [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.synthetos.com%2Fheadless-virtualbox%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.synthetos.com%2Fheadless-virtualbox%2F" height="61" width="51" /></a></div><p style="text-align: left">I&#8217;m currently laying out a DSP/FPGA board to interface to the <a title="MUSAMP" href="http://blog.synthetos.com/MUSAMP">MUSAMP</a> board below for real-time signal processing. I&#8217;m laying out the schematics and PCB layout using <a title="gEDA" href="http://www.gpleda.org/sources.html">gEDA</a> (GPL Electronic Design Automation) tools. I originally started working on gEDA through a SuSE <a title="VirtualBox" href="http://www.virtualbox.org/">VirtualBox</a> virtual machine on a Mac OSX host.</p>
<p style="text-align: left">The Mac OSX host is on a Macbook Pro, which is naturally somewhat limited in resources compared to desktops. In addition, I tend to have my spec sheets open through <a title="Spaces" href="http://www.apple.com/macosx/what-is-macosx/apps-and-utilities.html#spaces">spaces</a>. Zooming in and out in gschem and flipping between spec sheets wasn&#8217;t as responsive as I hoped.</p>
<p style="text-align: left">After some trouble migrating the VirtualBox &#8216;Appliance&#8217; to my Windows 7 desktop (required an NTFS partition), I started using &#8216;Headless&#8217; mode in VirtualBox. &#8216;Headless&#8217; starts the virtual machine in the background, which can then be accessed using Windows&#8217; RDP protocol (the standard windows remote desktop software).</p>
<p style="text-align: left">A few things of note, Windows 7 uses port 3389 for remote desktop, which is the same as the default port in VirtualBox. Change the port, and make sure your firewall lets the chosen port (in TCP) through.</p>
<p style="text-align: left">Execute in command prompt</p>
<p style="text-align: left">%VirtualBox Installation%/VBoxHeadless &#8211;startvm &#8220;VirtualMachineNameHere&#8221; &#8211;vrdp=config</p>
<p style="text-align: left">Choose a remote desktop <a title="client" href="http://en.wikipedia.org/wiki/Comparison_of_remote_desktop_software">client</a> for your remote computer (TSclientX is the only Mac OSX client that worked with VirtualBox, CoRD worked only for getting to Windows 7).</p>
<p style="text-align: left">If it works, make a shortcut to the above command with cmd.exe as a prefix.</p>
<p style="text-align: left"> </p>
<p style="text-align: left">EDIT #1: make sure to install VBoxGuestAdditions. You can then change the resolution from your RDP client by</p>
<p style="text-align: left">$ sudo /opt/VBoxGuestAdditions-3.x.x/bin/VBoxControl guestproperty set /VirtualBox/GuestAdd/Vbgl/Video/SavedMode 848&#215;480x32</p>
<a class="google_buzz"  
href="http://www.google.com/reader/link?url=http://blog.synthetos.com/headless-virtualbox/&title=Headless+VirtualBox&srcURL=http://blog.synthetos.com" target="_blank" rel="nofollow"><img
src="http://blog.synthetos.com/wp-content/plugins/google-buzz-button-for-wordpress/images/google-buzz.png" alt="Google Buzz" /></a>]]></content:encoded>
			<wfw:commentRss>http://blog.synthetos.com/headless-virtualbox/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
