<?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>Invalid Function &#187; Projects</title>
	<atom:link href="http://invalidfunction.com/index.php/category/projects/feed/" rel="self" type="application/rss+xml" />
	<link>http://invalidfunction.com</link>
	<description>We're all insane.</description>
	<lastBuildDate>Wed, 10 Mar 2010 19:54: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>Xbee/Zigbee notes</title>
		<link>http://invalidfunction.com/index.php/2009/12/xbeezigbee-notes/</link>
		<comments>http://invalidfunction.com/index.php/2009/12/xbeezigbee-notes/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 00:41:05 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://invalidfunction.com/?p=124</guid>
		<description><![CDATA[I&#8217;ve been using the XBee and the XBee Pro over the last couple of weeks and I&#8217;d thought I would share my notes on them:
1. The maximum &#8220;recommended&#8221; baud rate is 115200 baud.  The specifications says that the max baud rate is 250000, but that is for RF transmission. You can set nonstandard baud rates [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using the <a href="http://www.digi.com/products/wireless/point-multipoint/xbee-series1-module.jsp#overview">XBee and the XBee Pro</a> over the last couple of weeks and I&#8217;d thought I would share my notes on them:<img class="alignright" title="Xbee" src="http://www.rogercom.com/ZigBee/XBee-Pro.gif" alt="" width="160" height="151" /></p>
<p><strong>1.</strong> The maximum &#8220;recommended&#8221; <a href="http://en.wikipedia.org/wiki/Baud">baud rate</a> is 115200 baud.  The specifications says that the max baud rate is 250000, but that is for RF transmission. You can set nonstandard baud rates and even go higher than 115200 using the API or AT commands, but it could lead to corrupt data and lost packets.</p>
<p><strong>2.</strong> <a href="http://www.lammertbies.nl/comm/info/RS-232_flow_control.html">Hardware &#8220;Flow Control&#8221;</a> is a MUST. Always check the CTS (Cear to Send) line to see if the XBee is even ready to send a new packet. If you don&#8217;t, the Xbee&#8217;s send buffer will fill up quickly and packets will be lost.</p>
<p><strong>3.</strong> You can actually use two different baud rates on both sides. Lets say you have a device (such as a <a href="http://www.seeedstudio.com/depot/uart-camera-module-with-jpeg-compression-c328-p-209.html">USART camer</a>a) that communicates at 9600 baud. You can configure the Xbee to run at 9600bps , and send it to another Xbee that is configured to say 38400 baud. Sending to a device with a higher baud rate is usually not a problem, but sending to a lower baud rate device can lead to packet loss if you don&#8217;t use flow control.</p>
<p><span id="more-124"></span><strong>4.</strong> 1 and 2mW Xbees sometimes are  just not good enough indoors.. They work, but you really need to be in line-of-sight. If you cant see the other XBee module, you probably will have some problems. Because of this limitation, I now use  <a href="http://www.sparkfun.com/commerce/product_info.php?products_d=8876">50mW xBee Pro</a> modules for almost everything. The difference is awesome &#8211; from across the room to across the street.</p>
<p><strong>5.</strong> The wire whip antennae is pretty fragile. Don&#8217;t be surprised if it pops off. (It did within the first 10 minutes of owning one with a wire whip.) The simple solution was to simply solder it back on. I&#8217;m not sure if this can affect the signal strength, but I&#8217;ve seen no problems.</p>
<p><strong>6.</strong> Use the chip antenna only if you need a lower profile. I&#8217;ve had some weird problems where my chip antennae xbee wouldn&#8217;t receive unless I pointed the top of the antennae towards the source. No problems with the wire whip.</p>
<p><strong>7. </strong>Xbee&#8217;s are <a href="http://en.wikipedia.org/wiki/Duplex_%28telecommunications%29#Half-duplex">half duplex</a>. This means it can either send or receive at any given point, and not at the same time. If you need a full duplex device, check into other wireless technologies.</p>
<p><strong>8.</strong> If you are having &#8220;lag&#8221; even though there is a good connection, then check how you are sending data and receive data from the Xbee. I was using Java and kept writing directly to the stream when I noticed a significant lag in sending and receiving data. I thought it was the Xbee until I wrote to the stream&#8217;s buffer instead of directly to the stream output.</p>
<p><strong>9.</strong> Xbees can generate quite a bit of noise in your power supply, so always use with a good low pass filter on VCC and ground.</p>
<p>Hope this helps whenever you are choosing the right Xbee module for your next project. Hit up the comments if you have any questions!</p>
]]></content:encoded>
			<wfw:commentRss>http://invalidfunction.com/index.php/2009/12/xbeezigbee-notes/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Blinder Progress Report</title>
		<link>http://invalidfunction.com/index.php/2009/12/blinder-progress-report/</link>
		<comments>http://invalidfunction.com/index.php/2009/12/blinder-progress-report/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 03:24:54 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://invalidfunction.com/?p=110</guid>
		<description><![CDATA[So, to continue with my obsession with lighting, I wanted to design my own high brightness wall washer. It had to be overkill though, that&#8217;s just how I roll! My project is named the &#8220;Blinder,&#8221; for obvious reasons. One unit has 8 high brightness 3W multicolor LED&#8217;s mounted to a long aluminum backplating. The system [...]]]></description>
			<content:encoded><![CDATA[<p>So, to continue with my obsession with lighting, I wanted to design my own high brightness <a href="http://images.google.com/images?q=wall+washer&amp;oe=utf-8&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a&amp;um=1&amp;ie=UTF-8&amp;ei=308oS7jvHdPNlAeireGbDQ&amp;sa=X&amp;oi=image_result_group&amp;ct=title&amp;resnum=1&amp;ved=0CBwQsAQwAA">wall washer</a>. It had to be overkill though, that&#8217;s just how I roll! My project is named the &#8220;Blinder,&#8221; for obvious reasons. One unit has 8 high brightness <a href="http://www.dealextreme.com/details.dx/sku.4530">3W multicolor LED&#8217;s</a> mounted to a long aluminum backplating. The system pulls approximately 8.4 amps at 5V (42 watts) during full brightness. Since I am cheap, I&#8217;m using a 300w ATX power supply I ripped from an old computer. I can control the unit wirelessly using <a href="http://www.digi.com/products/wireless/point-multipoint/xbee-series1-module.jsp#overview">Xbee</a> which talks to an <a href="http://www.atmel.com/dyn/products/Product_card.asp?part_id=3303">AVR microcontroller</a> which controls the LEDs via an LED Driver (<a href="http://focus.ti.com/docs/prod/folders/print/tlc5947.html">Texas Instrument&#8217;s TLC5947</a>). All of these components are mounted onto a custom-designed PCB I had manufactured at <a href="http://www.goldphoenixpcb.biz">Gold Phoneix PCB</a>. To top all of the insanity, I&#8217;m making 3 of these! Yea, you&#8217;re right.. I just cranked it to 11.</p>
<p>The build is currently a work in progress. I have only started to finish one of them. Since it is final&#8217;s week, I haven&#8217;t had much time to work on them. I will post the full source code, schematics, and videos sometime after Christmas break. Until then, enjoy the timelapse footage of me building the LED drivers one at a time with a short video of one set running the demo software. </p>
<p><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/_DVFzuZh9VQ&#038;hl=en_US&#038;fs=1&#038;color1=0x3a3a3a&#038;color2=0x999999"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/_DVFzuZh9VQ&#038;hl=en_US&#038;fs=1&#038;color1=0x3a3a3a&#038;color2=0x999999" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object><br />
<br/></p>
<p>So far I would like to thank <a href="http://orgs.tntech.edu/baja/">TNTech&#8217;s Baja Team</a> (specifically Frank Smith) for letting me use their shop and helping me with the metal forming. Mwhaha</p>
<p><strong>Edit: </strong>I found a bug in my firmware used in testing that reduces the brightness by a half (I needed one more bit shift!) &#8211; so the video at the end of the timelapse doesn&#8217;t do much justice anymore!<br />
<br/></p>
]]></content:encoded>
			<wfw:commentRss>http://invalidfunction.com/index.php/2009/12/blinder-progress-report/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
