<?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>Steve's Junk &#187; light</title>
	<atom:link href="http://smackaay.com/tag/light/feed/" rel="self" type="application/rss+xml" />
	<link>http://smackaay.com</link>
	<description>A showcase of Steven Mackaay's stuff</description>
	<lastBuildDate>Sun, 11 Mar 2012 20:11:37 +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>Temperature and light, several days</title>
		<link>http://smackaay.com/2009/01/21/temperature-and-light-several-days/</link>
		<comments>http://smackaay.com/2009/01/21/temperature-and-light-several-days/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 02:41:24 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[freebasic]]></category>
		<category><![CDATA[graphing]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[temperature]]></category>
		<category><![CDATA[tracking]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=431</guid>
		<description><![CDATA[Well, It&#8217;s been a number of days since I built the unit and all&#8217;s been tested. Here is a picture of some of the data from my living room over the past several days. The purplish is the temperature and the lighter one is the ambient light. You can see that as the light levels [...]]]></description>
			<content:encoded><![CDATA[<p>Well, It&#8217;s been a number of days since I built the unit and all&#8217;s been tested. Here is a picture of some of the data from my living room over the past several days. The purplish is the temperature and the lighter one is the ambient light. You can see that as the light levels get higher, the furnace stops, thus the temperature stops fluctuating.</p>
<p><center><br />
<div id="attachment_432" class="wp-caption aligncenter" style="width: 399px"><a href="http://smackaay.com/2009/01/21/temperature-and-light-several-days/livingroom2/" rel="attachment wp-att-432"><img src="http://smackaay.com/wp-content/uploads/2009/01/livingroom2-389x300.png" alt="The living room temperature as seen over 6 days" title="Livingroom temperature" width="389" height="300" class="size-medium wp-image-432" /></a><p class="wp-caption-text">The living room temperature as seen over 6 days</p></div></center></p>
<p>Sorry about the small scale of the temperature graph, the graphing program is still a work in progress.</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2009/01/21/temperature-and-light-several-days/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Temperature and ambient light tracking</title>
		<link>http://smackaay.com/2009/01/17/temperature-and-ambient-light-tracking/</link>
		<comments>http://smackaay.com/2009/01/17/temperature-and-ambient-light-tracking/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 03:57:43 +0000</pubDate>
		<dc:creator>smackaay</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[7014d]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[lux]]></category>
		<category><![CDATA[pic]]></category>
		<category><![CDATA[pic16f684]]></category>
		<category><![CDATA[temperature]]></category>

		<guid isPermaLink="false">http://smackaay.com/?p=391</guid>
		<description><![CDATA[So, since I&#8217;m really bored I decided to build a device that tracks ambient temperature and light levels. While this may not seem very interesting, I suspect the relationship between the two, while not directly linked, will be interesting especially when placed outside. Well, I suppose I&#8217;ll put a few pictures up and outline some [...]]]></description>
			<content:encoded><![CDATA[<p>So, since I&#8217;m really bored I decided to build a device that tracks ambient temperature and light levels. While this may not seem very interesting, I suspect the relationship between the two, while not directly linked, will be interesting especially when placed outside. Well, I suppose I&#8217;ll put a few pictures up and outline some of the stages I went through to get it to this point.</p>
<p>1. Prototyping. <center><br />
<div id="attachment_395" class="wp-caption aligncenter" style="width: 410px"><a href="http://smackaay.com/2009/01/17/temperature-and-ambient-light-tracking/dscn7841/" rel="attachment wp-att-395"><img src="http://smackaay.com/wp-content/uploads/2009/01/dscn7841-400x300.jpg" alt="The initial version of the sensor, using older stuff from viscometer project." title="Breadboarded" width="400" height="300" class="size-medium wp-image-395" /></a><p class="wp-caption-text">The initial version of the sensor, using older stuff from viscometer project.</p></div></center><br />
This didn&#8217;t take long. I already had a board with a single supply opamp (JRC 7014D) on it that was already set up for the LM335Z temperature sensor. I used a bread board, as can be seen in the picture, and used a messy bunch of wires coming from the PICKIT2 to the MCU. I chose a PIC16F684 for this job since it has some analog channels and it doesn&#8217;t have too many pins.<br />
<br />
2. Checking it out. In order to see if the Voltage range will allow for freezing temperatures and room temperature, I had to test it with some snow.</p>
<p><center><br />
<div id="attachment_392" class="wp-caption aligncenter" style="width: 410px"><a href="http://smackaay.com/2009/01/17/temperature-and-ambient-light-tracking/dscn7837/" rel="attachment wp-att-392"><img src="http://smackaay.com/wp-content/uploads/2009/01/dscn7837-400x300.jpg" alt="Cup o&#039; snow to check and see if the Opamp is biased correctly" title="Cup o&#039; snow" width="400" height="300" class="size-medium wp-image-392" /></a><p class="wp-caption-text">Cup o' snow to check and see if the Opamp is biased correctly</p></div><br />
<div id="attachment_394" class="wp-caption aligncenter" style="width: 410px"><a href="http://smackaay.com/2009/01/17/temperature-and-ambient-light-tracking/dscn7839/" rel="attachment wp-att-394"><img src="http://smackaay.com/wp-content/uploads/2009/01/dscn7839-400x300.jpg" alt="Temperature check with the IR gage" title="Temperature check" width="400" height="300" class="size-medium wp-image-394" /></a><p class="wp-caption-text">Temperature check with the IR gage</p></div><br />
</center></p>
<p>The voltages swung just fine with a bit of extra range. I have about 50C to work with in range, good enough.</p>
<p>3. Making the board. For this I used a board from measurexplorer. I have tons of these but haven&#8217;t had much luck using them. The only ones that have worked well for me are the ones with 3 holes per pad. Anyways, here are some pictures.<br />
<center><div id="attachment_396" class="wp-caption aligncenter" style="width: 410px"><a href="http://smackaay.com/2009/01/17/temperature-and-ambient-light-tracking/dscn7842/" rel="attachment wp-att-396"><img src="http://smackaay.com/wp-content/uploads/2009/01/dscn7842-400x300.jpg" alt="Start of prototyping the board" title="Proto board" width="400" height="300" class="size-medium wp-image-396" /></a><p class="wp-caption-text">Start of prototyping the board</p></div><div id="attachment_397" class="wp-caption aligncenter" style="width: 410px"><a href="http://smackaay.com/2009/01/17/temperature-and-ambient-light-tracking/dscn7843/" rel="attachment wp-att-397"><img src="http://smackaay.com/wp-content/uploads/2009/01/dscn7843-400x300.jpg" alt="Finished Sensor board with both light sensing and temperature sensing" title="Finished Sensor board" width="400" height="300" class="size-medium wp-image-397" /></a><p class="wp-caption-text">Finished Sensor board with both light sensing and temperature sensing</p></div></center></p>
<p>Anyways, This board took me a couple hours to make but it works well and required no rework, thankfully. You can see both the LM335X (TO-92) and the CDS for sensing the light. This board interfaces to an RS232 board that I&#8217;ve made and that I use for some of my other projects.</p>
<p>4. Getting &#8216;er running. While the unit itself is already programmed in terms of the MCU. it needs some adjusting for voltage on the pot and that&#8217;s about it. now to affix it to something so it doesn&#8217;t move around.<br />
<center><br />
<div id="attachment_399" class="wp-caption aligncenter" style="width: 410px"><a href="http://smackaay.com/2009/01/17/temperature-and-ambient-light-tracking/dscn7845/" rel="attachment wp-att-399"><img src="http://smackaay.com/wp-content/uploads/2009/01/dscn7845-400x300.jpg" alt="RS232 and Sensors glued to a board" title="RS232 and Sensors" width="400" height="300" class="size-medium wp-image-399" /></a><p class="wp-caption-text">RS232 and Sensors glued to a board</p></div><div id="attachment_400" class="wp-caption aligncenter" style="width: 410px"><a href="http://smackaay.com/2009/01/17/temperature-and-ambient-light-tracking/dscn7847/" rel="attachment wp-att-400"><img src="http://smackaay.com/wp-content/uploads/2009/01/dscn7847-400x300.jpg" alt="Tracking it on the computer" title="Tracking it on the computer" width="400" height="300" class="size-medium wp-image-400" /></a><p class="wp-caption-text">Tracking it on the computer</p></div></center></p>
<p>As you can see, I simply used hot glue to affix both the RS232 board and the sensor board to the block of wood. Its a temporary arrangement while I come up with a good enclosure for outside. I brought my old laptop out into service for this project, works well just for collecting data.</p>
<p>Anyways, here are some images of some collected data.<br />
<center><br />
<div id="attachment_421" class="wp-caption aligncenter" style="width: 399px"><a href="http://smackaay.com/2009/01/17/temperature-and-ambient-light-tracking/livingroom/" rel="attachment wp-att-421"><img src="http://smackaay.com/wp-content/uploads/2009/01/livingroom-389x300.png" alt="Living room temperatures (click to see description)" title="Livng room temps" width="389" height="300" class="size-medium wp-image-421" /></a><p class="wp-caption-text">Living room temperatures (click to see description)</p></div><br />
<div id="attachment_422" class="wp-caption aligncenter" style="width: 399px"><a href="http://smackaay.com/2009/01/17/temperature-and-ambient-light-tracking/basementtemp/" rel="attachment wp-att-422"><img src="http://smackaay.com/wp-content/uploads/2009/01/basementtemp-389x300.png" alt="Basement (click to see description)" title="Basement temperature" width="389" height="300" class="size-medium wp-image-422" /></a><p class="wp-caption-text">Basement (click to see description)</p></div></center></p>
<p>Well, so far so good. Now I&#8217;ll make the enclosure for outside and improve the sampling. hopefully I can leave it out all spring/summer and see the patterns.</p>
]]></content:encoded>
			<wfw:commentRss>http://smackaay.com/2009/01/17/temperature-and-ambient-light-tracking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

