<?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>cyborgworkshop.org &#187; Arduino</title>
	<atom:link href="http://cyborgworkshop.org/category/arduino/feed/" rel="self" type="application/rss+xml" />
	<link>http://cyborgworkshop.org</link>
	<description>Blurring the line</description>
	<lastBuildDate>Wed, 18 May 2011 13:57:09 +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>WHIA v2 outline</title>
		<link>http://cyborgworkshop.org/2009/10/05/whia-v2-outline/</link>
		<comments>http://cyborgworkshop.org/2009/10/05/whia-v2-outline/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 03:17:19 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[WHIA]]></category>
		<category><![CDATA[V2]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=563</guid>
		<description><![CDATA[First off, WHIA v1 code is in the WHIA FAQ. It sucks, I know. that&#8217;s why I&#8217;m doing v2. Here is an outline of what I&#8217;m doing for v2. Communication is now query/response based instead of the arduino constantly chattering. Individual sensors can be queried or all sensors. No  more pressure sensors.  Too variable, instead [...]]]></description>
			<content:encoded><![CDATA[<p>First off, WHIA v1 code is  in the WHIA FAQ. It sucks, I know. that&#8217;s why I&#8217;m doing v2.  Here is an outline of what I&#8217;m doing for v2.</p>
<ul>
<li>Communication is now query/response based instead of the arduino constantly chattering.</li>
<li>Individual sensors can be queried or all sensors.</li>
<li>No  more pressure sensors.  Too variable, instead my safety gear focuses on the number of registers open and inlet/outlet temperature. I&#8217;m considering a hot wire anemometer.</li>
<li>I went back and forth on it, but I&#8217;m using two Arduinos talking I2C. One controls the inputs, one controls the outputs.</li>
<li>Thanks to I2C, we have lots and lots of blinky lights this go around. Two for each sensor and one for each servo.</li>
<li>I&#8217;ve stubbed in support for controlling the mini-blinds in each room via xbee or cheap 900mhz radio.</li>
<li>I actually control registers instead of dampers in some of the rooms, chiefly the basement.</li>
<li>Water sensors have been added in the basement and under the washing machine (long story).</li>
<li>The big one, a web based gui for feedback and control this time.</li>
</ul>
<p>It&#8217;ll be well into winter before this one is done and a few more weeks before I&#8217;m even at a stage where I can post code, but I&#8217;m going to stand up the v2 page anyways and just start putting everything out there. I did a really poor job of getting my code and schematics in shape and online for v1, so I figure the best way to remedy that is just to hang it all out for v2.</p>
<p>Thanks again all of you google ads clickers, you bought me servos and micros and are funding the work on v2!</p>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2009/10/05/whia-v2-outline/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Squee!</title>
		<link>http://cyborgworkshop.org/2009/06/05/squee/</link>
		<comments>http://cyborgworkshop.org/2009/06/05/squee/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 02:54:07 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[WHIA]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=426</guid>
		<description><![CDATA[Christmas has come early! Fedex brought me a whole bunch of packages today stuffed full of pressure sensors, audio amplifiers, LED controllers and all sorts of  geek candy.  I&#8217;m playing with the freescale MPX5999D right now and the MPX4250.  I thought the 5999 was going to be my sensor of choice, but it looks lke [...]]]></description>
			<content:encoded><![CDATA[<p>Christmas has come early! Fedex brought me a whole bunch of packages today stuffed full of pressure sensors, audio amplifiers, LED controllers and all sorts of  geek candy.  I&#8217;m playing with the freescale MPX5999D right now and the MPX4250.  I thought the 5999 was going to be my sensor of choice, but it looks lke the 4250 will be better.  Its more sensitive and it has a nice port connector so I dont have to mount the sensor in the plenum.  More to come!</p>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2009/06/05/squee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WHIA work done for the day.</title>
		<link>http://cyborgworkshop.org/2009/05/17/whia-work-done-for-the-day/</link>
		<comments>http://cyborgworkshop.org/2009/05/17/whia-work-done-for-the-day/#comments</comments>
		<pubDate>Sun, 17 May 2009 20:24:23 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[WHIA]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=344</guid>
		<description><![CDATA[To update the last post.. Port 8 seems to be dead. Yeah, port 8 wasn&#8217;t hooked up. I accidentally connected port 9. It works much better now that it&#8217;s connected. Need to find a new home for the board somewhere in the basement Home has been found in the basement next to where the upstairs [...]]]></description>
			<content:encoded><![CDATA[<p>To update the last post..</p>
<p><em>Port 8 seems to be dead.</em></p>
<p>Yeah, port 8 wasn&#8217;t hooked up. I accidentally connected port 9. It works much better now that it&#8217;s connected.</p>
<p><em>Need to find a new home for the board somewhere in the basement</em></p>
<p>Home has been found in the basement next to where the upstairs data and phone lines come in.</p>
<p><em>Need to add another sensor connection</em></p>
<p>Added, plus I tacked an onboard sensor into the mix. It&#8217;s serving as the basement probe.</p>
<p><em>I need to recover port 4 and remap it&#8230;</em></p>
<p>I haven&#8217;t done this yet. I&#8217;m looking into whether or not i2c is even in the this boards future or if that is going to hold off until I get a PCB made.</p>
<p><em>PC code seems to have gone squirrely&#8230;</em></p>
<p>This one has been fun.  It seems that the process consumes more and more CPU, slowly, over time. It starts off at .1%, then .2%, then .3% etc, all of the time getting a larger and larger back log of temperature updates. It&#8217;s obviously something with how Im using Perl&#8217;s Serial::Device module.  So running with that, I added a flush routine in to clear out the serial buffers after each read and I altered the update time to only look at the serial port every 1 second.  So far, it seems to be working well and the process is now showing as using 0% cpu. We&#8217;ll see.</p>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2009/05/17/whia-work-done-for-the-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>This bug might not be mine</title>
		<link>http://cyborgworkshop.org/2009/05/15/this-bug-might-not-be-mine/</link>
		<comments>http://cyborgworkshop.org/2009/05/15/this-bug-might-not-be-mine/#comments</comments>
		<pubDate>Fri, 15 May 2009 14:05:35 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[WHIA]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=294</guid>
		<description><![CDATA[External powered arduino]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve switched my arduino from bus powered to an external power supply in an effort to get the darn thing to stop reseting it&#8217;s FTDI Serial-&gt;USB adapter.  Every time it does that, my code loses it&#8217;s connection to the arduino and I get big holes in my data. Not cool.  I made the swap this morning, if it can run 24 hours without reseting, I&#8217;m calling this one done.</p>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2009/05/15/this-bug-might-not-be-mine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Squishing bugs</title>
		<link>http://cyborgworkshop.org/2009/05/14/squishing-bugs/</link>
		<comments>http://cyborgworkshop.org/2009/05/14/squishing-bugs/#comments</comments>
		<pubDate>Fri, 15 May 2009 02:56:16 +0000</pubDate>
		<dc:creator>jason</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[WHIA]]></category>
		<category><![CDATA[1-wire]]></category>
		<category><![CDATA[switched]]></category>

		<guid isPermaLink="false">http://cyborgworkshop.org/?p=290</guid>
		<description><![CDATA[Working with a switched 1-wire network on an arduino]]></description>
			<content:encoded><![CDATA[<p>I ran into a small problem with <a href="http://cyborgworkshop.org/projects/whole-home-information-awareness/">WHIA</a> recently that seemed to be fairly serious.  I could only attach two sensors at a time without the whole 1-wire network going dark.  After doing some research and being pointed by <a href="http://www.maxim-ic.com">Maxim</a> to <a href="http://pdfserv.maxim-ic.com/en/an/AN148.pdf">app note 148</a> I found that my trouble was based on using a star type topology and parasitic powered sensors. The star topology was necessary simply due to the layout of the sensors. I guess I could have done some weird loop with the cables once they were in the basement, but that was far from ideal. The parasitic power was a requirement because, well, those sensors are free from maxim and it&#8217;s what I had on hand.  In the end, I decided to go with a switched 1-wire network. What this means is that currently, each sensor is on it&#8217;s own isolated 1-wire network. I tell the arduino to do a 1-wire discovery, read the sensor it finds, then disconnect that sensor and move on to the next network. The whole process only takes 1 second, so not problem at all there.  I wanted to use a common source analog switch of some sort, but had a hard time finding one cheaply that would do what I wanted, so instead I chose to use 1 digital IO pin on the arduino for each network.  My sensor read loop then simply moves from one pin to the next looking for 1-wire devices.  It&#8217;s not great and it won&#8217;t scale like a true 1-wire network will, but it&#8217;s doing a darn fine job at the moment.  I am having one lingering problem. The boarduino that Im using seems to like to reset its usb bus and change what device it&#8217;s attached to, so my update script stops working. I think that is just power related though and Im going to try to address it tomorrow.</p>
]]></content:encoded>
			<wfw:commentRss>http://cyborgworkshop.org/2009/05/14/squishing-bugs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

