<?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>Brett&#039;s Build Log &#187; uln2803</title>
	<atom:link href="http://brettinman.com/tag/uln2803/feed/" rel="self" type="application/rss+xml" />
	<link>http://brettinman.com</link>
	<description>Hardware tinkering with the occasional bit of software</description>
	<lastBuildDate>Thu, 11 Mar 2010 09:24:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Woot-Off Lights Schematic and Hardware</title>
		<link>http://brettinman.com/2009/05/18/woot-off-lights-schematic-and-hardware/</link>
		<comments>http://brettinman.com/2009/05/18/woot-off-lights-schematic-and-hardware/#comments</comments>
		<pubDate>Tue, 19 May 2009 05:58:18 +0000</pubDate>
		<dc:creator>brettinman</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Woot-Off Lights Project]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[schematic]]></category>
		<category><![CDATA[uln2803]]></category>
		<category><![CDATA[wootofflights]]></category>

		<guid isPermaLink="false">http://brettinman.com/?p=46</guid>
		<description><![CDATA[Here&#8217;s some details about the hardware setup for the woot-off lights. It&#8217;s exactly as I described in the first post &#8211; this just includes the schematic and goes a little more in depth. Let&#8217;s take it from left to right. USB input to the Arduino to send serial data. The current from the USB port [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s some details about the hardware setup for the woot-off lights. It&#8217;s exactly as I described in the first post &#8211; this just includes the schematic and goes a little more in depth.</p>
<div id="attachment_47" class="wp-caption aligncenter" style="width: 610px"><img src="http://brettinman.com/blog/wp-content/uploads/2009/05/schematic.jpg" alt="Quick and Dirty Schematic for Woot-Off Light Control" title="Woot-Off Lights Schematic" width="600" height="238" class="size-full wp-image-47" /><p class="wp-caption-text">Quick and Dirty Schematic for Woot-Off Light Control</p></div>
<p>Let&#8217;s take it from left to right. USB input to the Arduino to send serial data. The current from the USB port is not sufficient to start the motors (they require a bit of boost when turned on and consume less current during normal operation), therefore we use the DC input on the Arduino board to supplement the USB. Feed it somewhere between 7-10V (up to 12V should be fine). The Arduino contains a regulator to lower the Vin down to 5V.</p>
<p>The 5V is then connected to the V+ of the lights (red wire). The GND of the lights is connected to Pin 18 of the ULN2803 IC. The ULN2803 also has it&#8217;s own 5V/GND connections (the 5V connection is necessary in this application because of the inductance of the motors). When the ULN2803 receives a HIGH input on Pin 1 (coming from Pin 9 on Arduino), it connects Pin 18 to GND (note that this is the same for all pins on the IC except 9/10 &#8211; i.e., Pin 2 controls Pin 17, etc). Thus, the lights are now fully connected to both 5V and GND, the circuit is complete, and we have spinny lights.</p>
<p>Work continues on reading a Woot-Off Tracker from a C++ application &#8211; if anyone has tips or ideas, they&#8217;d be appreciated.</p>
]]></content:encoded>
			<wfw:commentRss>http://brettinman.com/2009/05/18/woot-off-lights-schematic-and-hardware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intelligent Control of Woot-Off Lights</title>
		<link>http://brettinman.com/2009/05/16/intelligent-control-of-woot-off-lights/</link>
		<comments>http://brettinman.com/2009/05/16/intelligent-control-of-woot-off-lights/#comments</comments>
		<pubDate>Sat, 16 May 2009 08:32:01 +0000</pubDate>
		<dc:creator>brettinman</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Woot-Off Lights Project]]></category>
		<category><![CDATA[communications]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[led]]></category>
		<category><![CDATA[motor]]></category>
		<category><![CDATA[serial]]></category>
		<category><![CDATA[uln2803]]></category>
		<category><![CDATA[wootofflights]]></category>

		<guid isPermaLink="false">http://brettinman.com/?p=11</guid>
		<description><![CDATA[Please see the WootOff Lights Project category for the most up-to-date posts about this project. Occasionally, Woot has extravaganzas where they post item after item in what is known as a woot-off. Little .gif lights spin round and round to alert visitors to this spectacle. Playing on this, Woot occasionally sells physical woot-off lights. They [...]]]></description>
			<content:encoded><![CDATA[<p><em>Please see the <a href="http://brettinman.com/category/woot-off-lights-project/">WootOff Lights Project category</a> for the most up-to-date posts about this project.</em></p>
<p>Occasionally, <a href="http://www.woot.com">Woot</a> has extravaganzas where they post item after item in what is known as a woot-off. Little .gif lights spin round and round to alert visitors to this spectacle. Playing on this, Woot occasionally sells physical woot-off lights. They run off of USB power, with a switch in each light/motor piece. Since it&#8217;s a standard 5V connection, this opens the doors for all sorts of hackery.</p>
<p>The ultimate goal of this project is to have these lights come on whenever there is a woot-off.</p>
<p>If you aren&#8217;t already familiar with the <a href="http://www.arduino.cc/">Arduino</a>, become familiar now. I&#8217;ll wait.</p>
<p>Ok, so the Arduino is a microcontroller system with a USB-serial input communication, a microprocessor with a bootloader to run &#8220;sketches&#8221;, and the ability to control over a dozen digital logic pins (including a few with PWM or Analog-In). </p>
<p>The setup will use a PC application for monitoring a &#8220;<a href="http://www.brettinman.com/woot">Woot Tracker</a>&#8221; (many of these are available online to reduce load on Woot&#8217;s own servers). The application will check for the presence of the woot-off lights logo, indicating a woot-off &#8211; in the future, the lights will be activated by each changing of an item. The application will then send a byte over serial to indicate the woot-off status to the Arduino. Based on the input from the computer, the Arduino will turn the lights on or off.</p>
<p>Great &#8211; so in order to turn on the lights all we have to do is turn on one of the Arduino&#8217;s pins (they are 5V at digital high). Unfortunately each pin is only capable of supplying at most 50mA, and these lights run on over 100mA. Luckily, the 5V power regulator on the Arduino is capable of supplying much more current &#8211; up to 500mA or so if a good DC power supply is used. So if we hook up the positive lead of these unit to the 5V, we now need to control the ground connection to control the circuit &#8211; connect the ground and the lights go on because the circuit completes.</p>
<p>The ULN2803 chip provides this exact function. The chip is connected to 5V and ground. The ground from the device to be controlled is connected to a pin (remember that the positive of the device is already connected to 5V), and the control signal from the Arduino is connected to the corresponding control pin. When the control pin sees 5V (from the Arduino control signal), the ground lead from the device is connected to the ground of the chip, completing the circuit and sending current to the device. In this case, the lights spin up.</p>
<div id="attachment_14" class="wp-caption aligncenter" style="width: 610px"><img src="http://brettinman.com/blog/wp-content/uploads/2009/05/wootoff1.jpg" alt="Early Woot-Off Light Software/Arduino Control" title="Early Woot-Off Light Software/Arduino Control" width="600" height="450" class="size-full wp-image-14" /><p class="wp-caption-text">Early Woot-Off Light Software/Arduino Control</p></div>
<p>So far I have the hardware running, and have used the Arduino PC software to send input down the serial connection, turning the lights on and off. The next step will be to write an application to send serial information, and then to expand that application to search the textfile of the woot tracker for the lights.gif. The final stage will be to integrate all the hardware into a small package so the device can be used permanently.</p>
]]></content:encoded>
			<wfw:commentRss>http://brettinman.com/2009/05/16/intelligent-control-of-woot-off-lights/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
