<?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>Dual Elephants &#187; Christmas Lights</title>
	<atom:link href="http://www.adebenham.com/category/arduino/christmas-lights/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adebenham.com</link>
	<description>Always keep a spare for redundancy</description>
	<lastBuildDate>Sun, 21 Feb 2010 22:18:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Arduino controlled lights &#8211; The Hardware</title>
		<link>http://www.adebenham.com/2009/03/arduino-controlled-lights-the-hardware/</link>
		<comments>http://www.adebenham.com/2009/03/arduino-controlled-lights-the-hardware/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 06:53:09 +0000</pubDate>
		<dc:creator>cjd</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Christmas Lights]]></category>

		<guid isPermaLink="false">http://www.adebenham.com/blog/?p=5</guid>
		<description><![CDATA[
Okay &#8211; now that I have a box it is time to wire it all up.
After playing around with various methods of switching I settled on a bunch of solid-state relays connected to the arduino.
The advantage of solid-state relays over mechanical onese are that they switched quicker, are less likely to arc and don&#8217;t require [...]]]></description>
			<content:encoded><![CDATA[<p>
Okay &#8211; now that I have a box it is time to wire it all up.</p>
<p>After playing around with various methods of switching I settled on a bunch of solid-state relays connected to the arduino.</p>
<p>The advantage of solid-state relays over mechanical onese are that they switched quicker, are less likely to arc and don&#8217;t require any additional components to up the voltage in order to throw them.&nbsp; I ended up with a bunch of FSS1-102Z relays which can be bought from jaycar for about $12 each as part SY4088.</p>
<p>These relays can switch 250VAC happily with only a 5V switch current.&nbsp; This means I could wire them straight to the arduino.</p>
<div align="center"><a href="http://www.flickr.com/photos/74003126@N00/3385977271/"><img width="377" height="251" src="http://farm4.static.flickr.com/3585/3385977271_cc4c2ce5d5.jpg?v=0" /></a></div>
<p>Power comes into the box from the side goes to two distribution blocks.</p>
<p>One block splits the earth (green) and neutral (blue) lines into three sets with one set going to the internal powerpoint (used to power the arduino plugpack) and the other two sets going up the left and right columns of power points.&nbsp; Each powerpoint is linked to the one above it which helped to keep the wiring minimal and tidy.</p>
<p>The other, much larger, block provides a bunch of points for connecting the live (brown) wires.&nbsp; From here power is sent to the internal powerpoint and one live wire to each row of powerpoints.</p>
<p align="center"><a href="http://www.flickr.com/photos/74003126@N00/3385978447/"><img width="323" height="219" src="http://farm4.static.flickr.com/3653/3385978447_3e92029953.jpg?v=0" /></a></p>
<p>The live wires go up to each row and are split in two at the<br />
last moment to each connect to one point on the load side of a relay.&nbsp;<br />
The other point on the load side of the relay connects to the live plug<br />
on the powerpoint.</p>
<p>On the input side of the relays the negatives are all linked together and head down to ground on the arduino.</p>
<p> The positives are kept separate and go down to the digital outputs on the arduino.</p>
<p align="center"><a href="http://www.flickr.com/photos/74003126@N00/3385977905/"><img width="252" height="169" src="http://farm4.static.flickr.com/3586/3385977905_41a08b25ae.jpg?v=0" /></a></p>
<p align="left">To make things a bit easier for testing I soldered each of the incoming lines to a row of pin headers.&nbsp; This means I can quickly unplug/plug in the lines to the arduino in case I need to use it elsewhere.&nbsp; It also helps to keep them in order <img src='http://www.adebenham.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Because this box is running 240V I added a small 240v light to the top of the box that is lit up whenever the box has power (even if the arduino is not running)&nbsp; This just serves as a little warning.</p>
<p align="left">The final result is seen below</p>
<p align="center"><a href="http://www.flickr.com/photos/74003126@N00/3385976651/"><img src="http://farm4.static.flickr.com/3459/3385976651_1f79b55ba8.jpg?v=0" /></a></p>
<p>Next up &#8211; the software! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.adebenham.com/2009/03/arduino-controlled-lights-the-hardware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduino controlled lights &#8211; The Box</title>
		<link>http://www.adebenham.com/2009/03/arduino-controlled-lights-the-box/</link>
		<comments>http://www.adebenham.com/2009/03/arduino-controlled-lights-the-box/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 10:46:51 +0000</pubDate>
		<dc:creator>cjd</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Christmas Lights]]></category>

		<guid isPermaLink="false">http://www.adebenham.com/blog/?p=6</guid>
		<description><![CDATA[The aim was to start with 10 outlets and build out from there.
To make things easier I decided to make a box with room for 10 standard 240V wall powerpoints.
Each powerpoint is 117&#215;70mm so allowing for two columns of five points (with space between each to allow for plugpacks)I ended up with a base of [...]]]></description>
			<content:encoded><![CDATA[<p>The aim was to start with 10 outlets and build out from there.</p>
<p>To make things easier I decided to make a box with room for 10 standard 240V wall powerpoints.</p>
<p>Each powerpoint is 117&#215;70mm so allowing for two columns of five points (with space between each to allow for plugpacks)I ended up with a base of 250&#215;460mm.&nbsp; I ended up making the box 220mm deep so that it wouldn&#8217;t fall over (the exact dimension was mostly determined by the size of the piece of wood I had)</p>
<p>In the end I needed the following cuts:</p>
<ul>
<li> 2 * 250&#215;460 for front/back</li>
<li>2 * 220&#215;460 for sides</li>
<li>2 * 250&#215;210 for top/bottom</li>
</ul>
<p>I cut the sides out of a sheet of melamine MDF and assembled by connecting with small right-angle brackets.&nbsp; I then finished it up by applying some melamine lining to the exposed wood for aestetics.&nbsp; The back panel was attached by a large hinge and a small handle was added.</p>
<p>Here is the final result:</p>
<p> <a href="http://www.flickr.com/photos/74003126@N00/3385976155/"><img src="http://farm4.static.flickr.com/3644/3385976155_24fe88d5c0.jpg?v=0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.adebenham.com/2009/03/arduino-controlled-lights-the-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduino controlled lights</title>
		<link>http://www.adebenham.com/2009/03/arduino-controlled-lights/</link>
		<comments>http://www.adebenham.com/2009/03/arduino-controlled-lights/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 10:12:33 +0000</pubDate>
		<dc:creator>cjd</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Christmas Lights]]></category>

		<guid isPermaLink="false">http://www.adebenham.com/blog/?p=7</guid>
		<description><![CDATA[Last Christmas was my first Christmas in my very own house (was renting before) and so I was able to put up more lights than before.&#160; In the process of setting up the lights I thought about making them computer controlled (so as to sync to music etc)
I had some X10 appliance modules which did [...]]]></description>
			<content:encoded><![CDATA[<p>Last Christmas was my first Christmas in my very own house (was renting before) and so I was able to put up more lights than before.&nbsp; In the process of setting up the lights I thought about making them computer controlled (so as to sync to music etc)</p>
<p>I had some X10 appliance modules which did the job for turning them on/off at the right times of day, but there was so much lag that I couldn&#8217;t use it for anything fancy.&nbsp; As such I started looking around for how to do this properly.&nbsp; Most of the stuff I found was only available in the US and/or was very expensive so I figured I&#8217;d just do it myself <img src='http://www.adebenham.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>To that end for Christmas my wife bought me an <a href="http://arduino.cc">Arduino</a> and various little bits.&nbsp; I then spent a while learning how to program it.&nbsp; Then after a bit more time I began work on an arduino controlled power box.&nbsp; At long last I have finished it (hardware-wise &#8211; better software is still to come)</p>
<p>So that others may get some benefit from my testing I figured I&#8217;d blog how I made it. I&#8217;ll split the build up into a few posts for easier digestion &#8211; The box, the hardware and finally the software.</p>
<p>Here goes nothing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.adebenham.com/2009/03/arduino-controlled-lights/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
