<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Zklapow's Electronics Blog</title>
	<atom:link href="http://zklapow.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://zklapow.wordpress.com</link>
	<description>All About Electronics</description>
	<lastBuildDate>Mon, 07 Dec 2009 08:06:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='zklapow.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Zklapow's Electronics Blog</title>
		<link>http://zklapow.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://zklapow.wordpress.com/osd.xml" title="Zklapow&#039;s Electronics Blog" />
	<atom:link rel='hub' href='http://zklapow.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Count 1.1</title>
		<link>http://zklapow.wordpress.com/2009/12/07/count-1-1/</link>
		<comments>http://zklapow.wordpress.com/2009/12/07/count-1-1/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 08:06:23 +0000</pubDate>
		<dc:creator>zklapow</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zklapow.wordpress.com/?p=95</guid>
		<description><![CDATA[count 1.1 is here featuring the new pedometer mode! Count is a simple, yet useful, application that helps you perform the tedious task of counting. Count! allows you to easily count large volumes of items without ever losing count. Best of all is that count’s shake-to-count feature allows you to count anything with a flick [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zklapow.wordpress.com&amp;blog=6553896&amp;post=95&amp;subd=zklapow&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>count 1.1 is here  featuring the new pedometer mode!</p>
<p>Count is a simple, yet useful, application that helps you perform the tedious task of counting. Count! allows you to easily count large volumes of items without ever losing count. Best of all is that count’s shake-to-count feature allows you to count anything with a flick of the wrist. Count! can have any number of uses from counting the number of people in a room to doing inventory. And for Baseball enthusiasts Count! includes a ball and strike counter. Count even includes a pedometer to count your steps. Count has an endless number of uses.</p>
<p>Features:<a href="http://zkdev.files.wordpress.com/2009/12/screen-shot-2009-12-05-at-2-15-08-pm.png"><img class="alignright size-medium wp-image-22" title="Count 1.1" src="http://zkdev.files.wordpress.com/2009/12/screen-shot-2009-12-05-at-2-15-08-pm.png?w=161&#038;h=300" alt="" width="161" height="300" /></a></p>
<p>- Normal counter allows you to count forever</p>
<p>- People counter allows you to set a maximum count</p>
<p>- Strike counter allows you to count balls, strikes and pitches</p>
<p>-Pedometer mode allows you to use your iPhone as a pedometer</p>
<p>- Shake to count feature allows you to simply shake your iPhone to count</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zklapow.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zklapow.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zklapow.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zklapow.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zklapow.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zklapow.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zklapow.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zklapow.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zklapow.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zklapow.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zklapow.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zklapow.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zklapow.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zklapow.wordpress.com/95/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zklapow.wordpress.com&amp;blog=6553896&amp;post=95&amp;subd=zklapow&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zklapow.wordpress.com/2009/12/07/count-1-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2b192eb48a7e6aba4a0464c1e349cef6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zklapow</media:title>
		</media:content>

		<media:content url="http://zkdev.files.wordpress.com/2009/12/screen-shot-2009-12-05-at-2-15-08-pm.png?w=161" medium="image">
			<media:title type="html">Count 1.1</media:title>
		</media:content>
	</item>
		<item>
		<title>Willow Garage</title>
		<link>http://zklapow.wordpress.com/2009/11/24/willow-garage/</link>
		<comments>http://zklapow.wordpress.com/2009/11/24/willow-garage/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 04:24:43 +0000</pubDate>
		<dc:creator>zklapow</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Robotics]]></category>

		<guid isPermaLink="false">http://zklapow.wordpress.com/?p=90</guid>
		<description><![CDATA[last week I took a trip down to an open source robotics company named Willow Garage. They are working on an amazing autonomous robotics system called the PR-2, which is entirely open-source. The robot is based on software called ROS which is intended to be a platform to build other types of robots on top [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zklapow.wordpress.com&amp;blog=6553896&amp;post=90&amp;subd=zklapow&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>last week I took a trip down to an open source robotics company named <a href="http://www.willowgarage.com/" target="_blank">Willow Garage</a>. They are working on an amazing autonomous robotics system called the PR-2, which is entirely open-source. The robot is based on software called ROS which is intended to be a platform to build other types of robots on top of. My understanding is that they intend to use the ROS so that people can build different robots with different setups but still be able to share code with each other because their robots are based off ROS. ROS works on linux windows and mac.</p>
<p>Sadly I didn&#8217;t take any pictures but I did get to see some amazing stuff. I went on a friday which happens to be show-and-tell day were anyone who&#8217;s working on a cool new project can show it off. I saw a new 3-d models of the building for robot navigation, a GUI that visualizes all the data from the sensors on the robot, and new sensor optimization code to help align the data from the different sensors. It was a really great visit and I hope to see more stuff coming from them  in the near future.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zklapow.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zklapow.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zklapow.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zklapow.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zklapow.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zklapow.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zklapow.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zklapow.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zklapow.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zklapow.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zklapow.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zklapow.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zklapow.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zklapow.wordpress.com/90/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zklapow.wordpress.com&amp;blog=6553896&amp;post=90&amp;subd=zklapow&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zklapow.wordpress.com/2009/11/24/willow-garage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2b192eb48a7e6aba4a0464c1e349cef6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zklapow</media:title>
		</media:content>
	</item>
		<item>
		<title>Count!</title>
		<link>http://zklapow.wordpress.com/2009/11/11/77/</link>
		<comments>http://zklapow.wordpress.com/2009/11/11/77/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 04:36:44 +0000</pubDate>
		<dc:creator>zklapow</dc:creator>
				<category><![CDATA[Apps]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[ZKDev]]></category>

		<guid isPermaLink="false">http://zklapow.wordpress.com/?p=77</guid>
		<description><![CDATA[My second iPhone application, Count!, has landed. Count is a simple, yet useful, application that helps you perform the tedious task of counting. Count! allows you to easily count large volumes of items without ever losing count. Best of all is that count&#8217;s shake-to-count feature allows you to count anything with a flick of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zklapow.wordpress.com&amp;blog=6553896&amp;post=77&amp;subd=zklapow&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My second iPhone application, <a href="http://itunes.apple.com/us/app/count/id334606570?mt=8" target="_blank">Count!</a>, has landed. Count is a simple, yet useful, application that helps you perform the tedious task of counting. Count! allows you to easily count large volumes of items without ever losing count. Best of all is that count&#8217;s shake-to-count feature allows you to count anything with a flick of the wrist. Count! can have any number of uses from counting the number of people in a room to doing inventory. And for Baseball enthusiasts Count! includes a ball and strike counter. <a href="http://itunes.apple.com/us/app/count/id334606570?mt=8" target="_blank">Get it on the App Store.</a></p>
<p><span id="more-77"></span></p>
<p>Features:</p>
<p>- Normal counter allows you to count forever</p>
<p>- People counter allows you to set a maximum count</p>
<p>- Strike counter allows you to count balls, strikes and pitches</p>
<p>- Shake to count feature allows you to simply shake your iPhone to count</p>
<p><a href="http://itunes.apple.com/us/app/count/id334606570?mt=8"><img class="alignright size-full wp-image-6" title="Count! 1.0" src="http://zkdev.files.wordpress.com/2009/11/screen-shot-2009-11-11-at-8-00-19-pm.png?w=510" alt="Count! 1.0"   /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zklapow.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zklapow.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zklapow.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zklapow.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zklapow.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zklapow.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zklapow.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zklapow.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zklapow.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zklapow.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zklapow.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zklapow.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zklapow.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zklapow.wordpress.com/77/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zklapow.wordpress.com&amp;blog=6553896&amp;post=77&amp;subd=zklapow&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zklapow.wordpress.com/2009/11/11/77/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2b192eb48a7e6aba4a0464c1e349cef6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zklapow</media:title>
		</media:content>

		<media:content url="http://zkdev.files.wordpress.com/2009/11/screen-shot-2009-11-11-at-8-00-19-pm.png" medium="image">
			<media:title type="html">Count! 1.0</media:title>
		</media:content>
	</item>
		<item>
		<title>Photoresistor (cont.)</title>
		<link>http://zklapow.wordpress.com/2009/02/16/photoresistor-cont/</link>
		<comments>http://zklapow.wordpress.com/2009/02/16/photoresistor-cont/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 04:07:12 +0000</pubDate>
		<dc:creator>zklapow</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Photo-resistor]]></category>
		<category><![CDATA[Potentiometer]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Radioshack]]></category>

		<guid isPermaLink="false">http://zklapow.wordpress.com/?p=64</guid>
		<description><![CDATA[If you have not read my first photoresistor post, please click here to do so.&#160; After I finished up on my photo-resistor stuff last night I was thinking, there is so much more potential for stuff than just that little white to black color background. So I decided I would make and RGB color mixer. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zklapow.wordpress.com&amp;blog=6553896&amp;post=64&amp;subd=zklapow&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you have not read my first photoresistor post, please click <a href="http://zklapow.wordpress.com/2009/02/15/photoresistor/" target="_self">here</a> to do so.&nbsp;</p>
<p>After I finished up on my photo-resistor stuff last night I was thinking, there is so much more potential for stuff than just that little white to black color background. So I decided I would make and RGB color mixer.</p>
<p>I grabbed 2 more photo-resistor and hooked them up as voltage dividers with 4.7K ohm resistors ( I didn&#8217;t have any 5k). I made a quick edit to my photoresistor app to make it read analog pins 3, 4, and 5 and assign them to blue green and red, respectively. The edit looks like this (the full app is available for download <a href="http://www.mediafire.com/?3vnjomzgbyz" target="_blank">here</a>):</p>
<p style="padding-left:30px;">&nbsp;&nbsp;background(theBackground);</p>
<p style="padding-left:30px;">&nbsp;&nbsp;val1= arduino.analogRead(5);</p>
<p style="padding-left:30px;">&nbsp;&nbsp;val2= arduino.analogRead(4);</p>
<p style="padding-left:30px;">&nbsp;&nbsp;val3= arduino.analogRead(3);</p>
<p style="padding-left:30px;">&nbsp;&nbsp;theBackground= color(val1, val2, val3);</p>
<p>Where val1 is red val2 is green and val3 is blue.</p>
<p>This is the final result:</p>
<span style="text-align:center; display: block;"><a href="http://zklapow.wordpress.com/2009/02/16/photoresistor-cont/"><img src="http://img.youtube.com/vi/_uXXE8FO8i8/2.jpg" alt="" /></a></span>
<p>Feedback is not only welcome but much&nbsp;appreciated. I&#8217;m thinking of making some kind of project out of this I&#8217;m just not sure what yet. If you have any ideas please leave a comment.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zklapow.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zklapow.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zklapow.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zklapow.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zklapow.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zklapow.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zklapow.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zklapow.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zklapow.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zklapow.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zklapow.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zklapow.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zklapow.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zklapow.wordpress.com/64/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zklapow.wordpress.com&amp;blog=6553896&amp;post=64&amp;subd=zklapow&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zklapow.wordpress.com/2009/02/16/photoresistor-cont/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2b192eb48a7e6aba4a0464c1e349cef6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zklapow</media:title>
		</media:content>
	</item>
		<item>
		<title>Photoresistor</title>
		<link>http://zklapow.wordpress.com/2009/02/15/photoresistor/</link>
		<comments>http://zklapow.wordpress.com/2009/02/15/photoresistor/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 06:40:15 +0000</pubDate>
		<dc:creator>zklapow</dc:creator>
				<category><![CDATA[Apps]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Photo-resistor]]></category>
		<category><![CDATA[Potentiometer]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Radioshack]]></category>

		<guid isPermaLink="false">http://zklapow.wordpress.com/?p=52</guid>
		<description><![CDATA[This morning I had to stop by radioshack to pick up&#160;some&#160;tools and&#160;components&#160;and while I was there I noticed that they had five packs of photo-resitors for 3 bucks, so I grabbed a pack. When I got home I decided to play around with them. I decided that it would be cool to have a potentiometer [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zklapow.wordpress.com&amp;blog=6553896&amp;post=52&amp;subd=zklapow&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This morning I had to stop by radioshack to pick up&nbsp;some&nbsp;tools and&nbsp;components&nbsp;and while I was there I noticed that they had five packs of photo-resitors for 3 bucks, so I grabbed a pack.</p>
<p><span id="more-52"></span></p>
<p>When I got home I decided to play around with them. I decided that it would be cool to have a potentiometer that adjusts based on light so I grabbed one of the larger&nbsp;photo-resistors&nbsp;to test out its&nbsp;resistance&nbsp;with my multimeter, what I found is that the resistance varies from about 70 ohms in very bright light, to about 200K ohms in a very dark environment. So I decided to go with about 10K ohms as the second resistor, this means that in a fairly averagely lit room (which causes a resistance of about 7-10k ohms on the photo-resistor) you will get a reading of around 2.5v (assuming your using a 5v source). As it gets darker that value will go up (this actually depends on the configuration of your voltage-divider circuit if you have the 10K reistor connetcted to 5v with the photo-resistor connected to GND this will be true if not it will be reversed, light will make the value go up dark will make it go down) and as it gets lighter the value will go down.</p>
<p>Now what I have said here requires some knowledge of how a voltage divider (or potentiometer). A voltage divider is essentially just 2 resistors wired in series and a test point between them. The&nbsp;voltage&nbsp;is then divided based on the ratio of the value of the resistors. For example: if I have a 5v source with a voltage divider consisting of a 10K and 5K resistor like this:</p>
<p> </p>
<div id="attachment_56" class="wp-caption aligncenter" style="width: 215px"><img class="size-full wp-image-56" title="voltage divider" src="http://zklapow.files.wordpress.com/2009/02/voltage_div.png?w=510" alt="A simple voltage divider"   /><p class="wp-caption-text">A simple voltage divider</p></div>
<p>This would read a voltage of 1.666666V. Why? Because 5/15(sum of resistor values)=.3333333. That means that .33333333 = 1K on a resistor. since the resistor we&#8217;re reading is 5K ohms we need to multiply .33333*5=1.666666. This same thing could be&nbsp;achieved&nbsp;with a&nbsp;2K and 1K&nbsp;resistor&nbsp;(5/3=1.666666)&nbsp;because&nbsp;the ratio is&nbsp;still&nbsp;the same 5/10=1/2.</p>
<p>The the&nbsp;photo-resistor&nbsp;circuit works by varying one of the resistance values so when its light and the resistance of the photo-resistor equals about 5K we get the same result as above but when it gets darker and the resistance increases to 10K we get a reading of 2.5 volts because 10/10=1/1 and 5/2=2.5.&nbsp;</p>
<p>I&nbsp;mentioned&nbsp;above that if we switched the resistors around we would get an increase in voltage under light and a decrease in dark. Why is this? It is because if we read the voltage across the 10K resistor rather than the photo-resistor, than as the resistance of the photo-resistor drops below 10K under light we get an increase in voltage because 10/5=2/1 and so we would get 3.33333 rather than 1.666666. An increase from 2.5 volts rather than a decrease.</p>
<p>Now that we understand how potentiometers work lets continue. As I was thinking of what I could do with this I decide on the simplest thing. I already had an app that displayed the value of a potentiometer, so why not just start with that(you can view the post for the Potentiometer App <a href="http://zklapow.wordpress.com/2009/02/11/potentiometer-app/" target="_blank">here</a> and download the source code <a href="http://www.mediafire.com/?t3oo1ymztul" target="_blank">here</a>). Below is a video of it in action.</p>
<span style="text-align:center; display: block;"><a href="http://zklapow.wordpress.com/2009/02/15/photoresistor/"><img src="http://img.youtube.com/vi/9BbAlEi2bfQ/2.jpg" alt="" /></a></span>
<p>But this didn&#8217;t really seem to make sense to me. Why display light as a circle, it make sense when you are turning a nob but not when you are measuring light. So I decide to make a simple app that changes background color based on the value of the resistor. The only problem with this was that the screen got lighter as the photo-resistor got darker so I flipped around the circuit and this is the result:</p>
<span style="text-align:center; display: block;"><a href="http://zklapow.wordpress.com/2009/02/15/photoresistor/"><img src="http://img.youtube.com/vi/q5W75D_KRPI/2.jpg" alt="" /></a></span>
<p>The source code is available <a href="http://www.mediafire.com/?lmyocmta22n" target="_blank">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zklapow.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zklapow.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zklapow.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zklapow.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zklapow.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zklapow.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zklapow.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zklapow.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zklapow.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zklapow.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zklapow.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zklapow.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zklapow.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zklapow.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zklapow.wordpress.com&amp;blog=6553896&amp;post=52&amp;subd=zklapow&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zklapow.wordpress.com/2009/02/15/photoresistor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2b192eb48a7e6aba4a0464c1e349cef6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zklapow</media:title>
		</media:content>

		<media:content url="http://zklapow.files.wordpress.com/2009/02/voltage_div.png" medium="image">
			<media:title type="html">voltage divider</media:title>
		</media:content>
	</item>
		<item>
		<title>Potentiometer App</title>
		<link>http://zklapow.wordpress.com/2009/02/11/potentiometer-app/</link>
		<comments>http://zklapow.wordpress.com/2009/02/11/potentiometer-app/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 07:59:06 +0000</pubDate>
		<dc:creator>zklapow</dc:creator>
				<category><![CDATA[Apps]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Potentiometer]]></category>
		<category><![CDATA[Processing]]></category>

		<guid isPermaLink="false">http://zklapow.wordpress.com/?p=33</guid>
		<description><![CDATA[So the other night i was bored and decided it might be fun to play around with processing. I was writing a bunch of different things that really did nothing. So I sat down at my desk and tried to come up with something that could do more and I came up with an app [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zklapow.wordpress.com&amp;blog=6553896&amp;post=33&amp;subd=zklapow&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So the other night i was bored and decided it might be fun to play around with processing. I was writing a bunch of different things that really did nothing. So I sat down at my desk and tried to come up with something that could do more and I came up with an app to display the value (in degrees) and a circle to represent a potentiometer.</p>
<p><span id="more-33"></span></p>
<p>Below is a photo of my arduino with the Pot hooked up</p>
<p><img class="alignnone size-full wp-image-32" title="POTENTIOMETER" src="http://zklapow.files.wordpress.com/2009/02/photo-1.jpg?w=510" alt="POTENTIOMETER"   /></p>
<p>The source code is available <a href="http://www.mediafire.com/?t3oo1ymztul" target="_blank">here</a>.</p>
<p>Here is a video of the app in action</p>
<span style="text-align:center; display: block;"><a href="http://zklapow.wordpress.com/2009/02/11/potentiometer-app/"><img src="http://img.youtube.com/vi/4JUlJBVpLRE/2.jpg" alt="" /></a></span>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zklapow.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zklapow.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zklapow.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zklapow.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zklapow.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zklapow.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zklapow.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zklapow.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zklapow.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zklapow.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zklapow.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zklapow.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zklapow.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zklapow.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zklapow.wordpress.com&amp;blog=6553896&amp;post=33&amp;subd=zklapow&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zklapow.wordpress.com/2009/02/11/potentiometer-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2b192eb48a7e6aba4a0464c1e349cef6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">zklapow</media:title>
		</media:content>

		<media:content url="http://zklapow.files.wordpress.com/2009/02/photo-1.jpg" medium="image">
			<media:title type="html">POTENTIOMETER</media:title>
		</media:content>
	</item>
	</channel>
</rss>
