<?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>JeeLabs &#187; Uncategorized</title>
	<atom:link href="http://jeelabs.org/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://jeelabs.org</link>
	<description>Computing stuff tied to the physical world</description>
	<lastBuildDate>Tue, 22 May 2012 22:18:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>X10 control</title>
		<link>http://jeelabs.org/2010/03/08/x10-control/</link>
		<comments>http://jeelabs.org/2010/03/08/x10-control/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 23:01:17 +0000</pubDate>
		<dc:creator>jcw</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Home automation]]></category>
		<category><![CDATA[JeeNode]]></category>
		<category><![CDATA[X10]]></category>

		<guid isPermaLink="false">http://news.jeelabs.org/?p=6395</guid>
		<description><![CDATA[Let&#8217;s go some more into home automation &#8211; the X10 power-line system in this case. Here&#8217;s is a sketch which turns a remote appliance on and off every 3 seconds: I used the Arduino X10 library (had to mess around with the use of headers to get rid of compile errors, and enable the pull-up [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s go some more into home automation &#8211; the X10 power-line system in this case.</p>

<p>Here&#8217;s is a sketch which turns a remote appliance on and off every 3 seconds:</p>

<p><img src="http://jeelabs.org/wp-content/uploads/2010/03/Screen-shot-2010-03-07-at-23.06.56.png" border="0" alt="Screen shot 2010-03-07 at 23.06.56.png" width="462" height="295" /></p>

<p>I used the Arduino <a href="http://www.arduino.cc/en/Tutorial/X10">X10 library</a> (had to mess around with the use of headers to get rid of compile errors, and enable the pull-up on the zero-crossing input).</p>

<p>This sketch runs @ 3.3V on a JeeNode with some stuff attached to port 1:</p>

<p><img src="http://jeelabs.org/wp-content/uploads/2010/03/DSC_1224.jpg" border="0" alt="DSC_1224.jpg" width="604" height="503" /></p>

<p>It&#8217;s just a simple re-wiring to an RJ11 connector. This in turn, plugs into the XM10E opto-isolated interface:</p>

<p><img src="http://jeelabs.org/wp-content/uploads/2010/03/DSC_1225.jpg" border="0" alt="DSC_1225.jpg" width="604" height="557" /></p>

<p>There&#8217;s also a X10 receiver built into the XM10E, which I&#8217;m going to ignore for now.</p>

<p>X10, in its simplest and oldest form, is a power-line transmission system, i.e. the signals to control a switch are sent over the same wires as the AC power itself (using a 120 KHz signal injected at the zero crossings). Proper mains isolation is essential, of course &#8211; as built into the XM10E unit.</p>

<p>The result is that you can plug this device into any outlet in the house and it&#8217;ll switch on and off as defined in the above sketch:</p>

<p><img src="http://jeelabs.org/wp-content/uploads/2010/03/DSC_1226.jpg" border="0" alt="DSC_1226.jpg" width="604" height="411" /></p>

<p>It&#8217;s hard to miss &#8211; the relay built into that thing switches on and off with a very loud &#8220;clunk&#8221;!</p>

<p>The power consumption of this switch is 0.6 W off and 0.9 W when on, according to the <a href="http://jeelabs.org/2009/11/14/energy-tracking-with-cost-control/">Cost Control</a>. Not bad, until you start installing many dozens of these switches around the house &#8230; <em>then it will add up!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://jeelabs.org/2010/03/08/x10-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sheeva &#8211; powering up</title>
		<link>http://jeelabs.org/2010/01/16/sheeva-powering-up/</link>
		<comments>http://jeelabs.org/2010/01/16/sheeva-powering-up/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 23:01:30 +0000</pubDate>
		<dc:creator>jcw</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[JeeHub]]></category>

		<guid isPermaLink="false">http://news.jeelabs.org/?p=5129</guid>
		<description><![CDATA[Yesterday, I mentioned the SheevaPlug. Today, I tried it out: Plug in Ethernet, plug in power, done. The box registers via DHCP. Figure out its IP address, and follow the New Plugger instructions. That&#8217;s it. Ubuntu 9.04, running on a pretty amazing little box. Effortless! Here are some system details, once you log into it [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, I mentioned the SheevaPlug. Today, I tried it out:</p>

<ul>
    <li>Plug in Ethernet, plug in power, done.</li>
    <li>The box registers via DHCP.</li>
    <li>Figure out its IP address, and follow the <a href="http://plugcomputer.org/plugwiki/index.php/New_Plugger_How_To">New Plugger</a> instructions.</li>
    <li>That&#8217;s it. Ubuntu 9.04, running on a pretty amazing little box. <em>Effortless!</em></li>
</ul>

<p>Here are some system details, once you log into it via SSH:</p>

<p><img src="http://jeelabs.org/wp-content/uploads/2010/01/Screen-shot-2010-01-15-at-01.23.35.png" border="0" alt="Screen shot 2010-01-15 at 01.23.35.png" width="527" height="554" /></p>

<p>Upgrading to the latest software packages went flawlessly, using the normal Debian/Ubuntu apt-get update/dist-upgrade/autoremove commands. Once done, there is still plenty of room left on the internal flash ROM:</p>

<p><img src="http://jeelabs.org/wp-content/uploads/2010/01/Screen-shot-2010-01-15-at-01.50.09.png" border="0" alt="Screen shot 2010-01-15 at 01.50.09.png" width="444" height="123" /></p>

<p>According to <a href="http://www.mail-archive.com/debian-arm@lists.debian.org/msg09589.html">this post</a>, power consumption is really low:</p>

<p><img src="http://jeelabs.org/wp-content/uploads/2010/01/Screen-shot-2010-01-15-at-01.38.07.png" border="0" alt="Screen shot 2010-01-15 at 01.38.07.png" width="323" height="66" /></p>

<p>I&#8217;m seeing about 3.5 W, doing nothing and hooked up to 100 Mbit ethernet. Close enough.</p>

<p>Mighty impressive for a 1.2 GHz processor with 512 Mb RAM. Here&#8217;s a brief <a href="http://tuxradar.com/content/reviewed-sheevaplug-development-kit">review</a> of it.</p>

<p>This could make a pretty nifty &#8220;home monitoring and control center&#8221;. I&#8217;m not going to limit my options to this, the plan is to support a wide range of platforms &#8211; but still, <em>this ShevaPlug sure is a comfy unit, almost like a desktop!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://jeelabs.org/2010/01/16/sheeva-powering-up/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>What a waste</title>
		<link>http://jeelabs.org/2009/06/19/what-a-waste/</link>
		<comments>http://jeelabs.org/2009/06/19/what-a-waste/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 22:01:03 +0000</pubDate>
		<dc:creator>jcw</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[JeeNode]]></category>

		<guid isPermaLink="false">http://jeelab.wordpress.com/?p=2048</guid>
		<description><![CDATA[What a waste&#8230; this box arrived today: Stuffed with lots of brown paper. And the contents was that single item laid out in front: a 15 ml resin flux pen! Flammable, sure. But does it really have to be delivered that way? As a separate shipment and delivery? And by UPS, those huge brown trucks [...]]]></description>
			<content:encoded><![CDATA[<p>What a waste&#8230; this box arrived today:</p>

<p><span class="removed_link" title="http://www.flickr.com/photos/32880127@N07/3638289222"><img src="http://jeelabs.org/wp-content/uploads/flickr/3573/3638289222_1314968b19_o.jpg" border="0" alt="Waste" width="604" height="545" /></span></p>

<p>Stuffed with lots of brown paper.</p>

<p>And the contents was that <em>single item</em> laid out in front: a 15 ml resin flux pen!</p>

<p>Flammable, sure. But does it really have to be delivered that way? As a separate shipment and delivery? And by UPS, those huge brown trucks &#8211; always the largest delivery vehicles coming here.</p>

<p>Does that make me a major carbon emitter, energy waster, and polluter? I guess in a way it does :(</p>
]]></content:encoded>
			<wfw:commentRss>http://jeelabs.org/2009/06/19/what-a-waste/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Regulator pinout</title>
		<link>http://jeelabs.org/2009/02/16/regulator-pinout/</link>
		<comments>http://jeelabs.org/2009/02/16/regulator-pinout/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 23:01:40 +0000</pubDate>
		<dc:creator>jcw</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[JeeNode]]></category>

		<guid isPermaLink="false">http://jeelab.wordpress.com/?p=590</guid>
		<description><![CDATA[Spot the difference: &#8230; versus: The regulator on the top is an LP2950-3.3, the regulator on the bottom is an MCP1702-33. Same voltage, same TO-92 package, different pinout. The board was designed for the LP2950, but the MCP1702 is cheaper and can supply more power (250 mA vs. 100 mA). Haven&#8217;t compared dropout voltages yet [...]]]></description>
			<content:encoded><![CDATA[<p>Spot the difference:</p>

<p><span class="removed_link" title="http://www.flickr.com/photos/32880127@N07/3296768371"><img src="http://jeelabs.org/wp-content/uploads/flickr/3334/3296768371_228494d35d_o.jpg" alt="Regulator pinout" border="0" width="604" height="341" /></span></p>

<p>&#8230; versus:</p>

<p><span class="removed_link" title="http://www.flickr.com/photos/32880127@N07/3296768425"><img src="http://jeelabs.org/wp-content/uploads/flickr/3538/3296768425_2119d8d3d8_o.jpg" alt="Regulator pinout" border="0" width="604" height="329" /></span></p>

<p>The regulator on the top is an LP2950-3.3, the regulator on the bottom is an MCP1702-33. Same voltage, same TO-92 package, different pinout. The board was designed for the LP2950, but the MCP1702 is cheaper and can supply more power (250 mA vs. 100 mA). Haven&#8217;t compared dropout voltages yet &#8211; if either one can deliver 3.3V from a 3.7 V LiPo battery or even from 3.6 V NiMh&#8217;s, then that would be a plus.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeelabs.org/2009/02/16/regulator-pinout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PCB preview</title>
		<link>http://jeelabs.org/2009/02/04/pcb-preview/</link>
		<comments>http://jeelabs.org/2009/02/04/pcb-preview/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 12:40:02 +0000</pubDate>
		<dc:creator>jcw</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[JeeNode]]></category>

		<guid isPermaLink="false">http://jeelab.wordpress.com/?p=377</guid>
		<description><![CDATA[Whee, here&#8217;s a picture of my PCB: Still in manufacturing, but it&#8217;s becoming very real now! Update, Feb 6 &#8211; the solder mask has been applied:]]></description>
			<content:encoded><![CDATA[<p>Whee, here&#8217;s a picture of my PCB:</p>

<p><img src="http://jeelabs.org/wp-content/uploads/2009/02/pcb-preview.jpg" border="0" alt="pcb-preview.jpg" width="604" height="199" /></p>

<p>Still in manufacturing, but it&#8217;s becoming very real now!</p>

<p><strong>Update, Feb 6</strong> &#8211; the solder mask has been applied:</p>

<p><img src="http://jeelabs.org/wp-content/uploads/2009/02/bie498992066efec-04-klein.jpg" border="0" alt="BIE498992066efec_04_klein.jpg" width="445" height="146" /></p>
]]></content:encoded>
			<wfw:commentRss>http://jeelabs.org/2009/02/04/pcb-preview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Energy &amp; Gas Consumption</title>
		<link>http://jeelabs.org/2008/12/14/energy-gas-consumption/</link>
		<comments>http://jeelabs.org/2008/12/14/energy-gas-consumption/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 14:49:56 +0000</pubDate>
		<dc:creator>jcw</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jeelab.wordpress.com/?p=156</guid>
		<description><![CDATA[These last few days, a little application has been running here which tracks energy (i.e. electricity) and gas consumption in the house, in a little window of its own: That’s 640 watt and 1.333 m3/hr. These values are normally updated a few times a minute. There are still some wrinkles in the software, such as [...]]]></description>
			<content:encoded><![CDATA[<p>These last few days, a little application has been running here which tracks energy (i.e. electricity) and gas consumption in the house, in a little window of its own:</p>

<p><img src="http://jeelabs.org/wp-content/uploads/2009/01/a3e7a251-c3e5-4abd-868e-d522d66731d3.jpg" alt="A3E7A251-C3E5-4ABD-868E-D522D66731D3.jpg" border="0" width="167" height="50" /></p>

<p>That’s 640 watt and 1.333 m3/hr. These values are normally updated a few times a minute. There are still some wrinkles in the software, such as the gas consumption not adjusting properly when the meter stops fully, i.e. when no pulse is received once the central heating turns off.</p>

<p>The following systems are involved in this setup:</p>

<ul>
<li>some sensors and a transmitter based on an RBBB Arduino with an RFM12B</li>
<li>a USB-powered receiver based on an Arduino Mini Pro with its own RFM12B</li>
<li>a Linux server, i.e. a modified version of the Bubba/II NAS in this case</li>
<li>the Mac notebook I usually work on, though it could be anything really</li>
</ul>

<p>Only the first 3 items above need to be always on, with a combined power usage of less than 10W. Every 3 seconds, sensor readings are transferred and stored on the server, using a trivial text format for now. This proof-of-concept setup uses rsync to transfer the log from the server to the notebook every 20 secs, so the above window isn’t yet as real-time at it could be.</p>

<p>But even with such a crude setup it is easy to keep an eye on consumption &#8211; and by simply switching appliances on and off one can deduce their approximate power consumption.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeelabs.org/2008/12/14/energy-gas-consumption/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IR Sensors</title>
		<link>http://jeelabs.org/2008/12/08/ir-sensors/</link>
		<comments>http://jeelabs.org/2008/12/08/ir-sensors/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 14:35:04 +0000</pubDate>
		<dc:creator>jcw</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Metering]]></category>
		<category><![CDATA[Sensors]]></category>

		<guid isPermaLink="false">http://jeelab.wordpress.com/?p=130</guid>
		<description><![CDATA[Here are two new home-made sensors, improving on this one they will soon replace: The top one uses a QRD1114 sensor, which produces an analog signal, whereas the lower one is based on the SY310 with a built-in comparator to generate a digital output. The intended range is around 5..15 mm, hopefully just right to [...]]]></description>
			<content:encoded><![CDATA[<p>Here are two new home-made sensors, improving on this one they will soon replace:</p>

<p><img src="http://jeelabs.org/wp-content/uploads/2009/01/8cf78cd3-58d0-48c5-9a03-97a964cb0317.jpg" alt="8CF78CD3-58D0-48C5-9A03-97A964CB0317.jpg" border="0" width="425" height="203" /></p>

<p>The top one uses a QRD1114 sensor, which produces an analog signal, whereas the lower one is based on the SY310 with a built-in comparator to generate a digital output. The intended range is around 5..15 mm, hopefully just right to detect the 0-digit reflector on the gas meter and the the rotations of the energy meter, respectively.</p>

<p>Both of these sensors are connected to a 3-wire audio jack cable: shield = ground, ring = +5V, and pin = signal. Both sensors use a 330..470 Ω resistor to drive the IR-LED and a second one of 10..100 KΩ as pull-up for the output signal.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeelabs.org/2008/12/08/ir-sensors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interface Woes</title>
		<link>http://jeelabs.org/2008/11/25/interface-woes/</link>
		<comments>http://jeelabs.org/2008/11/25/interface-woes/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 23:59:18 +0000</pubDate>
		<dc:creator>jcw</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jeelab.wordpress.com/?p=66</guid>
		<description><![CDATA[Ouch. It looks like there are two different Arduino Mini Pro’s around &#8211; a 5V @ 16 MHz and a 3.3V @ 8 MHz version. I thought I had the latter, but a quick check tells me otherwise. Which is no good when you’re trying to hook up 3.3V modules that do not tolerate 5V [...]]]></description>
			<content:encoded><![CDATA[<p>Ouch. It looks like there are two different Arduino Mini Pro’s around &#8211; a 5V @ 16 MHz and a 3.3V @ 8 MHz version. I thought I had the latter, but a quick check tells me otherwise. Which is no good when you’re trying to hook up 3.3V modules that do not tolerate 5V levels!</p>

<p><em>Oh well, just order the right one and wait for it to arrive&#8230;</em></p>

<p>Meanwhile, here’s another kind of impedance mismatch:</p>

<p><img src="http://jeelabs.org/wp-content/uploads/2009/01/aa303983-e727-4ada-bc8f-fb6f93f40e20.jpg" alt="AA303983-E727-4ADA-BC8F-FB6F93F40E20.jpg" border="0" width="425" height="278" /></p>

<p>The obnoxious 2 mm vs. 2.54 mm pinout. Yuck.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeelabs.org/2008/11/25/interface-woes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Minty Boost</title>
		<link>http://jeelabs.org/2008/11/01/minty-boost/</link>
		<comments>http://jeelabs.org/2008/11/01/minty-boost/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 23:39:02 +0000</pubDate>
		<dc:creator>jcw</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jeelab.wordpress.com/?p=14</guid>
		<description><![CDATA[Intrigued by LadyAda’s description of the Minty Boost kit, I ordered and built one. It delivers a stable 5V supply from 2 AA batteries to a USB plug, so you can use it to charge/power USB devices. Trivial to build and works as advertised.]]></description>
			<content:encoded><![CDATA[<p>Intrigued by LadyAda’s <a href="http://www.ladyada.net/make/mintyboost/process.html">description</a> of the Minty Boost kit, I ordered and built one. It delivers a stable 5V supply from 2 AA batteries to a USB plug, so you can use it to charge/power USB devices.</p>

<p><img src="http://jeelabs.org/wp-content/uploads/2009/01/7baf910a-d457-4b2e-b5ac-4c05e1587d3c.jpg" alt="7BAF910A-D457-4B2E-B5AC-4C05E1587D3C.jpg" border="0" width="425" height="296" /></p>

<p>Trivial to build and works as advertised.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeelabs.org/2008/11/01/minty-boost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Garage LED</title>
		<link>http://jeelabs.org/2008/10/31/garage-led/</link>
		<comments>http://jeelabs.org/2008/10/31/garage-led/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 23:37:58 +0000</pubDate>
		<dc:creator>jcw</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jeelab.wordpress.com/?p=11</guid>
		<description><![CDATA[Solder fumes, ahhh that brings back memories&#8230; Today, I built a little ultrasonic sensor to help me park the car. Took the easy way out and just purchased a simple kit from Conrad: Now, instead of driving the car up to the point where some cardboard boxes leaning against the wall move, and then backing [...]]]></description>
			<content:encoded><![CDATA[<p>Solder fumes, <em>ahhh that brings back memories&#8230;</em></p>

<p>Today, I built a little ultrasonic sensor to help me park the car. Took the easy way out and just purchased a simple <a href="http://shop.conrad.nl/componenten/bouwpakketten-modules/besturings-regel-bouwpakketten/sensormodules/114456.html">kit</a> from Conrad:</p>

<p><img src="http://jeelabs.org/wp-content/uploads/2009/01/7e98e6d9-a151-4df0-8c3f-95b5087bb95a.jpg" alt="7E98E6D9-A151-4DF0-8C3F-95B5087BB95A.jpg" border="0" width="425" height="321" /></p>

<p>Now, instead of driving the car up to the point where some cardboard boxes leaning against the wall move, and then backing up, I can drive until a red LED comes on, and then, ehm&#8230; back up ever so slightly until the LED goes off. Progress!</p>

<p>Well, at least it gets rid of the old cardboard junk I was using as &#8220;bumper&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeelabs.org/2008/10/31/garage-led/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.387 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-23 09:51:52 -->

