<?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>PARTS Projects &#187; Arduino</title>
	<atom:link href="http://colab.portlandrobotics.org/tag/arduino/feed/" rel="self" type="application/rss+xml" />
	<link>http://colab.portlandrobotics.org</link>
	<description>Collaborative Space for PARTS</description>
	<lastBuildDate>Sun, 03 Jul 2011 07:04:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>BrushBot Comm board ISP programming</title>
		<link>http://colab.portlandrobotics.org/2010/03/31/brushbot-comm-board-isp-programming/</link>
		<comments>http://colab.portlandrobotics.org/2010/03/31/brushbot-comm-board-isp-programming/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 00:19:38 +0000</pubDate>
		<dc:creator>montyg</dc:creator>
				<category><![CDATA[PARTS Swarm]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[BrushBotComm]]></category>
		<category><![CDATA[ISP]]></category>
		<category><![CDATA[SPI]]></category>
		<category><![CDATA[tiny44]]></category>
		<category><![CDATA[USI]]></category>

		<guid isPermaLink="false">http://parts.laen.org/?p=222</guid>
		<description><![CDATA[As I mentioned in my last post, I think ISP programming of the BrushBot Comm boards is the way to go.  What&#8217;s more, it should be possible to get double-duty out of an ArudinoISP based programmer and use it as a serial link for debugging.  This requires hacking the ArduinoISP sketch and setting up some [...]]]></description>
			<content:encoded><![CDATA[<p>As I mentioned in my <a href="/2010/03/25/brushbotcomm-arduino-support/" target="_self">last post</a>, I think ISP programming of the BrushBot Comm boards is the way to go.  What&#8217;s more, it should be possible to get double-duty out of an <a href="http://arduino.cc/en/Tutorial/ArduinoISP" target="_blank">ArudinoISP</a> based programmer and use it as a serial link for debugging.  This requires hacking the ArduinoISP sketch and setting up some sort of serial comm between the BrushBot Comm board and the ArduinoISP.</p>
<p>Since the tiny44 doesn&#8217;t have a UART, we could either use the <a href="http://www.arduino.cc/en/Reference/SoftwareSerial" target="_blank">SoftwareSerial</a> library to big-bang serial on any pin, or we could make use of the SPI hardware support provided by the tiny44&#8242;s USI module.  The former is prone to timing problems, but is probably easier to setup.  The latter makes sense because the necessary SPI comm pins are the same as that used for ISP programming, and thus are already cabled, and the hardware comm support should reduce the flash and resource usage in the tiny44.  I&#8217;ve started down the SPI route and am adding USI SPI support to the BrushBot core that would more or less replicate the functionality of the HardwareSerial code found in the Arduino core.  This will allow &#8220;print&#8221; statements to work over SPI.</p>
<p>In order to do both the ISP programming and debug comm with a single device, we&#8217;ll need to use an Arduino rather than Atmel&#8217;s AVRISP.  I picked up a handful of cosmetically defective but fully functional <a href="http://www.pjrc.com/teensy/index.html" target="_blank">Teensy 2.0</a>&#8216;s at Monday&#8217;s <a href="http://dorkbotpdx.org/" target="_blank">DorkBot</a> at a very reduced price that will fit the bill.  If you need an Arduino to use for programming, then see me at Saturday or Monday&#8217;s meeting and get one for what I paid for it.</p>
<p>Monty</p>
]]></content:encoded>
			<wfw:commentRss>http://colab.portlandrobotics.org/2010/03/31/brushbot-comm-board-isp-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BrushBotComm Arduino support</title>
		<link>http://colab.portlandrobotics.org/2010/03/25/brushbotcomm-arduino-support/</link>
		<comments>http://colab.portlandrobotics.org/2010/03/25/brushbotcomm-arduino-support/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 10:08:31 +0000</pubDate>
		<dc:creator>montyg</dc:creator>
				<category><![CDATA[Group Projects]]></category>
		<category><![CDATA[PARTS Swarm]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[BrushBotComm]]></category>
		<category><![CDATA[tiny44]]></category>

		<guid isPermaLink="false">http://parts.laen.org/?p=200</guid>
		<description><![CDATA[Good news!  The latest version of Arudino (0018) makes it relatively easy to target the tiny44 we&#8217;re using on the BrushBotComm boards.   I&#8217;ll get the necessary files up tomorrow.  This update won&#8217;t include a bootloader though.  Given the limited program space of the tiny44, we&#8217;d be better off using ISP programming anyways, and obtaining a [...]]]></description>
			<content:encoded><![CDATA[<p>Good news!  The latest version of Arudino (0018) makes it relatively easy to target the tiny44 we&#8217;re using on the BrushBotComm boards.   I&#8217;ll get the necessary files up tomorrow.  This update won&#8217;t include a bootloader though.  Given the limited program space of the tiny44, we&#8217;d be better off using ISP programming anyways, and obtaining a cheap ISP programmer just got a bit easier with the ArduinoISP example sketch include in Arduino 0018!</p>
<p>Also, if you have the smaller BrushBotComm board (w/o the transistors), hold off on installing the 5-pin programming header if it&#8217;s not too late already.  It turns out that a 6-pin header can be easily installed with the tail of the extra pin bent over such that it can be soldered to the V+ pin on either the switch or D5.  This will allow the small board to match the pinout of the big board, and allow either board to be powered by the programmer.  I&#8217;ll trade your 5-pin connectors for 6-pin connector the next time we meet.</p>
<p>Monty</p>
<p><strong>Update 3/26/2010:</strong><br />
Arduino support code and instructions added here: <a href="brushbotcomm-board-software" target="_self">brushbotcomm-board-software</a></p>
]]></content:encoded>
			<wfw:commentRss>http://colab.portlandrobotics.org/2010/03/25/brushbotcomm-arduino-support/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

