<?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>Jeon&#039;s laboratory</title>
	<atom:link href="http://jeonlab.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jeonlab.wordpress.com</link>
	<description></description>
	<lastBuildDate>Wed, 15 May 2013 23:31:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='jeonlab.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/d6ab2df847eecf31c63c77d9dd6c954d?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Jeon&#039;s laboratory</title>
		<link>http://jeonlab.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jeonlab.wordpress.com/osd.xml" title="Jeon&#039;s laboratory" />
	<atom:link rel='hub' href='http://jeonlab.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Digital Car Compass and Thermometer</title>
		<link>http://jeonlab.wordpress.com/2013/04/16/digital-car-compass-and-thermometer/</link>
		<comments>http://jeonlab.wordpress.com/2013/04/16/digital-car-compass-and-thermometer/#comments</comments>
		<pubDate>Wed, 17 Apr 2013 00:03:06 +0000</pubDate>
		<dc:creator>jeonlab</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[JeonLab mini]]></category>

		<guid isPermaLink="false">http://jeonlab.wordpress.com/?p=449</guid>
		<description><![CDATA[My car doesn&#8217;t have a compass which I wish to have one. So I started making one using my JeonLab mini v1.3 (minimalist Arduino compatible board), popular 16&#215;2 LCD panel with a back light LED, and a 3 axis magnetometer.  &#8230; <a href="http://jeonlab.wordpress.com/2013/04/16/digital-car-compass-and-thermometer/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jeonlab.wordpress.com&#038;blog=17841211&#038;post=449&#038;subd=jeonlab&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>My car doesn&#8217;t have a compass which I wish to have one. So I started making one using my JeonLab mini v1.3 (minimalist Arduino compatible board), popular 16&#215;2 LCD panel with a back light LED, and a 3 axis magnetometer.  Here is the part list and pictures of the LCD, JeonLab mini v1.3 and the prototyping board.</p>
<ul>
<li>LCD: 16&#215;2 HD44780 LCD (white text on blue background)</li>
<li><a title="Introducing JeonLab mini v1.3" href="http://jeonlab.wordpress.com/jeonlab-mini/introducing-jeonlab-mini-v1-3/">JeonLab mini v1.3</a></li>
<li>Digital compass: MAG3110 (bought an assembled from ebay)</li>
<li>Temperature sensor: <a href="http://www.digikey.com/product-search/en/sensors-transducers/temperature-sensors-transducers/1966391?k=tmp36">TMP36</a></li>
<li>Phototransistor: <a href="http://www.digikey.com/scripts/DkSearch/dksus.dll?WT.z_header=search_go&amp;lang=en&amp;keywords=LTR-4206E&amp;x=0&amp;y=0&amp;cur=USD">LTR-4206E</a></li>
<li>7805 regulator</li>
<li>resistors and capacitors (see schematic diagram)</li>
<li>Car battery jack</li>
<li>prototyping board</li>
<li>push button switch</li>
<li>solid copper wire (1mm in diameter) for bracket</li>
<li>cable ties</li>
</ul>
<p><a href="http://s1249.photobucket.com/user/JeonLab/media/20130203_162415.jpg.html" target="_blank"><img alt="parts photo 20130203_162415.jpg" src="http://i1249.photobucket.com/albums/hh514/JeonLab/20130203_162415.jpg" width="500" border="0" /></a></p>
<p>The JeonLab mini v1.3 is so small that can be attached to the back of the LCD.</p>
<p><a href="http://s1249.photobucket.com/user/JeonLab/media/20121228_174420.jpg.html" target="_blank"><img alt="compass &amp; LCD test photo 20121228_174420.jpg" src="http://i1249.photobucket.com/albums/hh514/JeonLab/20121228_174420.jpg" width="500" border="0" /></a></p>
<p>First of all, the LCD, JeonLab mini and the magnetometer, MAG3110 have been assembled on a breadboard and tested. The magnetometer has 3 axis sensor, but because, fortunately, the most roads where I live and commute to work are relatively level. So I didn&#8217;t bother to use complicated equations, but decided to calculate simply the heading angle using ATAN from X and Y readings. And it really works just good enough. Take a look at the source Arduino code below.<br />
<code>/*<br />
JeonLab Car Digital Compass &amp; Thermometer</code></p>
<p>Functions:<br />
LCD display<br />
Digital compass (MAG3110)<br />
Interior temperature<br />
LCD backlight brightness automatic adjust</p>
<p>MAG3110 read: Original code from Sparkfun example code<br />
(<a href="https://www.sparkfun.com/products/10619" rel="nofollow">https://www.sparkfun.com/products/10619</a>)<br />
*/</p>
<p>#include<br />
#include #include &lt;avr/eeprom.h&gt;</p>
<p>#define MAG_ADDR 0x0E<br />
int avgX, avgY;</p>
<p>struct settings_t<br />
{<br />
long maxX, minX, maxY, minY;<br />
}<br />
settings;</p>
<p>LiquidCrystal lcd(2,3,6,7,8,9);</p>
<p>void setup()<br />
{<br />
Wire.begin();<br />
config(); //configuration of the magnetometer, MAG3110<br />
pinMode(10,INPUT); //temperature sensor<br />
pinMode(5,OUTPUT); //LCD backlight LED<br />
analogWrite(5, 100);</p>
<p>//read previously stored calibration data from EEPROM<br />
eeprom_read_block((void*)&amp;settings, (void*)0, sizeof(settings));<br />
avgX=(settings.maxX+settings.minX)/2;<br />
avgY=(settings.maxY+settings.minY)/2;</p>
<p>lcd.begin(16, 2);<br />
}</p>
<p>void loop()<br />
{<br />
//read the magnetometer and calculate heading<br />
float heading = (atan2(readx()-avgX, ready()-avgY))*180/PI;</p>
<p>//read and calculate the interior temperature in celcius<br />
float temp = (analogRead(0)/1024.0*5000.0-500)/10;</p>
<p>//read ambient brightness from the photo-transistor<br />
int brightness = map(analogRead(1), 900, 1023, 50, 255);<br />
analogWrite(5,brightness); //LCD backlight LED voltage control by PWM</p>
<p>//diaplay compass bearing<br />
lcd.setCursor(0,0);<br />
lcd.print(&#8221; &#8220;);<br />
lcd.setCursor(0,0);<br />
if (abs(heading) &lt;= 22.5) lcd.print(&#8220;N &#8220;); if (abs(heading) &gt;= 157.5) lcd.print(&#8220;S &#8220;);<br />
if (heading &gt;= 67.5 &amp;&amp; heading &lt;= 112.5) lcd.print(&#8220;E &#8220;);<br />
if (heading &lt;= -67.5 &amp;&amp; heading &gt;= -112.5) lcd.print(&#8220;W &#8220;);<br />
if (heading &gt; 22.5 &amp;&amp; heading &lt; 67.5) lcd.print(&#8220;NE&#8221;);<br />
if (heading &lt; -22.5 &amp;&amp; heading &gt; -67.5) lcd.print(&#8220;NW&#8221;);<br />
if (heading &gt; 112.5 &amp;&amp; heading &lt; 157.5) lcd.print(&#8220;SE&#8221;);<br />
if (heading &lt; -112.5 &amp;&amp; heading &gt; -157.5) lcd.print(&#8220;SW&#8221;);</p>
<p>if (heading &lt; 0) heading += 360.0; //display heading lcd.setCursor(3,0); lcd.print(int(heading)); lcd.setCursor(7,0); lcd.print(int(temp)); lcd.print(&#8220;\337C&#8221;); lcd.setCursor(0,1); lcd.print(&#8221; &#8220;); lcd.setCursor(0,1); lcd.print(&#8220;Brightness: &#8220;); //show PWM value for a reference lcd.print(brightness); if (digitalRead(10) == HIGH) //monitor calibration button status { analogWrite(5,200); lcd.setCursor(0,1); lcd.print(&#8220;calibrating&#8230;..&#8221;); delay(1000); calXY(); } delay(1000); } void calXY() //magnetometer calibration: finding max and min of X, Y axis { int tempXmax, tempXmin, tempYmax, tempYmin, newX, newY; lcd.setCursor(0,1); lcd.print(&#8220;Rotate the car &#8220;); delay(1000); lcd.setCursor(0,1); lcd.print(&#8220;and press button&#8221;); delay(1000); lcd.setCursor(0,1); lcd.print(&#8220;Now, begin! &#8220;); delay(500); tempXmax = tempXmin = readx(); tempYmax = tempYmin = ready(); while(digitalRead(10) == LOW) { newX = readx(); newY = ready(); if (newX &gt; tempXmax) tempXmax = newX;<br />
if (newX &lt; tempXmin) tempXmin = newX; if (newY &gt; tempYmax) tempYmax = newY;<br />
if (newY &lt; tempYmin) tempYmin = newY;<br />
}<br />
settings.maxX = tempXmax;<br />
settings.minX = tempXmin;<br />
settings.maxY = tempYmax;<br />
settings.minY = tempYmin;</p>
<p>//store new X, Y values in the EEPROM<br />
eeprom_write_block((const void*)&amp;settings, (void*)0, sizeof(settings));</p>
<p>avgX=(settings.maxX+settings.minX)/2;<br />
avgY=(settings.maxY+settings.minY)/2;</p>
<p>lcd.setCursor(0,1);<br />
lcd.print(&#8220;Calibration done&#8221;);<br />
delay(3000);<br />
lcd.setCursor(0,1);<br />
lcd.print(&#8221; &#8220;);</p>
<p>}</p>
<p>void config(void) //MAG3110 config taken from Sparkfun example<br />
{<br />
Wire.beginTransmission(MAG_ADDR); // transmit to device 0x0E<br />
Wire.write(0&#215;10); // cntrl register1<br />
Wire.write(0); // send 0&#215;00, standby mode<br />
Wire.endTransmission(); // stop transmitting</p>
<p>delay(15);</p>
<p>Wire.beginTransmission(MAG_ADDR); // transmit to device 0x0E<br />
Wire.write(0&#215;11); // cntrl register2<br />
Wire.write(0&#215;80); // send 0&#215;80, enable auto resets<br />
Wire.endTransmission(); // stop transmitting</p>
<p>delay(15);</p>
<p>Wire.beginTransmission(MAG_ADDR); // transmit to device 0x0E<br />
Wire.write(0&#215;10); // cntrl register1<br />
Wire.write(0&#215;19); // send 0&#215;01, active mode<br />
Wire.endTransmission(); // stop transmitting</p>
<p>delay(15);<br />
}</p>
<p>void print_values(void)<br />
{<br />
}</p>
<p>int readx(void) //MAG3110 read X value taken from Sparkfun example<br />
{<br />
int xl, xh; //define the MSB and LSB</p>
<p>Wire.beginTransmission(MAG_ADDR); // transmit to device 0x0E<br />
Wire.write(0&#215;01); // x MSB reg<br />
Wire.endTransmission(); // stop transmitting</p>
<p>delayMicroseconds(2); //needs at least 1.3us free time between start and stop</p>
<p>Wire.requestFrom(MAG_ADDR, 1); // request 1 byte<br />
while(Wire.available()) // slave may send less than requested<br />
{<br />
xh = Wire.read(); // receive the byte<br />
}</p>
<p>delayMicroseconds(2); //needs at least 1.3us free time between start and stop</p>
<p>Wire.beginTransmission(MAG_ADDR); // transmit to device 0x0E<br />
Wire.write(0&#215;02); // x LSB reg<br />
Wire.endTransmission(); // stop transmitting</p>
<p>delayMicroseconds(2); //needs at least 1.3us free time between start and stop</p>
<p>Wire.requestFrom(MAG_ADDR, 1); // request 1 byte<br />
while(Wire.available()) // slave may send less than requested<br />
{<br />
xl = Wire.read(); // receive the byte<br />
}</p>
<p>int xout = (xl|(xh &lt;&lt; 8)); //concatenate the MSB and LSB<br />
return abs(xout);<br />
}</p>
<p>int ready(void) //MAG3110 read Y value taken from Sparkfun example<br />
{<br />
int yl, yh; //define the MSB and LSB</p>
<p>Wire.beginTransmission(MAG_ADDR); // transmit to device 0x0E<br />
Wire.write(0&#215;03); // y MSB reg<br />
Wire.endTransmission(); // stop transmitting</p>
<p>delayMicroseconds(2); //needs at least 1.3us free time between start and stop</p>
<p>Wire.requestFrom(MAG_ADDR, 1); // request 1 byte<br />
while(Wire.available()) // slave may send less than requested<br />
{<br />
yh = Wire.read(); // receive the byte<br />
}</p>
<p>delayMicroseconds(2); //needs at least 1.3us free time between start and stop</p>
<p>Wire.beginTransmission(MAG_ADDR); // transmit to device 0x0E<br />
Wire.write(0&#215;04); // y LSB reg<br />
Wire.endTransmission(); // stop transmitting</p>
<p>delayMicroseconds(2); //needs at least 1.3us free time between start and stop</p>
<p>Wire.requestFrom(MAG_ADDR, 1); // request 1 byte<br />
while(Wire.available()) // slave may send less than requested<br />
{<br />
yl = Wire.read(); // receive the byte<br />
}</p>
<p>int yout = (yl|(yh &lt;&lt; 8)); //concatenate the MSB and LSB<br />
return abs(yout);<br />
}</p>
<p>And the schematic diagram is below.<br />
<a href="http://s1249.photobucket.com/user/JeonLab/media/JeonLabCarDigitalCompassThermometer-1.png.html" target="_blank"><img alt="Schematic photo JeonLabCarDigitalCompassThermometer-1.png" src="http://i1249.photobucket.com/albums/hh514/JeonLab/JeonLabCarDigitalCompassThermometer-1.png" width="500" border="0" /></a></p>
<p>I have introduced a step-by-step assembling procedure on <a href="http://www.instructables.com/id/Car-Digital-Compass-Thermometer/">Instructable</a>, and here are some pictures of assembling and mounting on top of the interior mirror of my car.</p>
<p><a href="http://s1249.photobucket.com/user/JeonLab/media/20130203_165903.jpg.html" target="_blank"><img alt="assembling JeonLab mini v1.3 photo 20130203_165903.jpg" src="http://i1249.photobucket.com/albums/hh514/JeonLab/20130203_165903.jpg" width="500" border="0" /></a></p>
<p>Note that there is no LED attached. A 6-pin header is attached upwards for the FTDI USB interface and 3 single header pins are attached at the bottom of the JeonLab mini to support on the prototyping board which will be attached to the back of the LCD.</p>
<p><a href="http://s1249.photobucket.com/user/JeonLab/media/20130209_122723.jpg.html" target="_blank"><img alt="JeonLab mini on the back of the LCD photo 20130209_122723.jpg" src="http://i1249.photobucket.com/albums/hh514/JeonLab/20130209_122723.jpg" width="500" border="0" /></a></p>
<p><a href="http://s1249.photobucket.com/user/JeonLab/media/20130217_124514.jpg.html" target="_blank"><img alt=" photo 20130217_124514.jpg" src="http://i1249.photobucket.com/albums/hh514/JeonLab/20130217_124514.jpg" width="500" border="0" /></a><br />
The temperature sensor (TO-92 package), a voltage regulator, and a calibration switch are assembled.</p>
<p><a href="http://s1249.photobucket.com/user/JeonLab/media/20130317_163954.jpg.html" target="_blank"><img alt="finished assembly photo 20130317_163954.jpg" src="http://i1249.photobucket.com/albums/hh514/JeonLab/20130317_163954.jpg" width="500" border="0" /></a><br />
Next to the temperature sensor, the phototransistor (looks like a 3mm LED in black) is added to adjust the LED backlight of the LCD automatically.</p>
<p><a href="http://s1249.photobucket.com/user/JeonLab/media/20130409_193307.jpg.html" target="_blank"><img alt="wrapping heat shrink tube photo 20130409_193307.jpg" src="http://i1249.photobucket.com/albums/hh514/JeonLab/20130409_193307.jpg" width="500" border="0" /></a><br />
A thick solid copper wire (appx. 1mm in diameter) is used to form a simple bracket on top of the interior mirror.</p>
<p><a href="http://s1249.photobucket.com/user/JeonLab/media/20130409_194316.jpg.html" target="_blank"><img alt="finalizing bracket photo 20130409_194316.jpg" src="http://i1249.photobucket.com/albums/hh514/JeonLab/20130409_194316.jpg" width="500" border="0" /></a><br />
A heat shrink tube is used to insulate the copper wire bracket where it touches the LCD PCB.</p>
<p><a href="http://s1249.photobucket.com/user/JeonLab/media/20130409_194552.jpg.html" target="_blank"><img alt="attched to the mirror photo 20130409_194552.jpg" src="http://i1249.photobucket.com/albums/hh514/JeonLab/20130409_194552.jpg" width="500" border="0" /></a><br />
Two short cable ties are used to fix the assembled LCD and bracket on top of the mirror.</p>
<p><a href="http://s1249.photobucket.com/user/JeonLab/media/20130413_153144.jpg.html" target="_blank"><img alt="magnetometer fix photo 20130413_153144.jpg" src="http://i1249.photobucket.com/albums/hh514/JeonLab/20130413_153144.jpg" width="500" border="0" /></a><br />
The magnetometer is held by a small suction cup on the wind shield at the back of the mirror.</p>
<p><a href="http://s1249.photobucket.com/user/JeonLab/media/20130410_174041.jpg.html" target="_blank"><img alt="in my car photo 20130410_174041.jpg" src="http://i1249.photobucket.com/albums/hh514/JeonLab/20130410_174041.jpg" width="500" border="0" /></a><br />
Finally, it works!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jeonlab.wordpress.com/449/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jeonlab.wordpress.com/449/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jeonlab.wordpress.com&#038;blog=17841211&#038;post=449&#038;subd=jeonlab&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jeonlab.wordpress.com/2013/04/16/digital-car-compass-and-thermometer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da228a243adc7fce700382b318cba17b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jeonlab</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20130203_162415.jpg" medium="image">
			<media:title type="html">parts photo 20130203_162415.jpg</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20121228_174420.jpg" medium="image">
			<media:title type="html">compass &#38; LCD test photo 20121228_174420.jpg</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/JeonLabCarDigitalCompassThermometer-1.png" medium="image">
			<media:title type="html">Schematic photo JeonLabCarDigitalCompassThermometer-1.png</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20130203_165903.jpg" medium="image">
			<media:title type="html">assembling JeonLab mini v1.3 photo 20130203_165903.jpg</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20130209_122723.jpg" medium="image">
			<media:title type="html">JeonLab mini on the back of the LCD photo 20130209_122723.jpg</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20130217_124514.jpg" medium="image">
			<media:title type="html"> photo 20130217_124514.jpg</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20130317_163954.jpg" medium="image">
			<media:title type="html">finished assembly photo 20130317_163954.jpg</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20130409_193307.jpg" medium="image">
			<media:title type="html">wrapping heat shrink tube photo 20130409_193307.jpg</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20130409_194316.jpg" medium="image">
			<media:title type="html">finalizing bracket photo 20130409_194316.jpg</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20130409_194552.jpg" medium="image">
			<media:title type="html">attched to the mirror photo 20130409_194552.jpg</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20130413_153144.jpg" medium="image">
			<media:title type="html">magnetometer fix photo 20130413_153144.jpg</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20130410_174041.jpg" medium="image">
			<media:title type="html">in my car photo 20130410_174041.jpg</media:title>
		</media:content>
	</item>
		<item>
		<title>Sunny day afternoon at Jackson park</title>
		<link>http://jeonlab.wordpress.com/2012/11/22/sunny-day-afternoon-at-jackson-park/</link>
		<comments>http://jeonlab.wordpress.com/2012/11/22/sunny-day-afternoon-at-jackson-park/#comments</comments>
		<pubDate>Thu, 22 Nov 2012 21:09:37 +0000</pubDate>
		<dc:creator>jeonlab</dc:creator>
				<category><![CDATA[Photograph]]></category>

		<guid isPermaLink="false">http://jeonlab.wordpress.com/?p=441</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jeonlab.wordpress.com&#038;blog=17841211&#038;post=441&#038;subd=jeonlab&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://jeonlab.files.wordpress.com/2012/11/jackson-park-in-windsor-nov-22-2012.jpg"><img class="aligncenter size-medium wp-image-440" title="Jackson Park in Windsor Nov 22 2012" alt="" src="http://jeonlab.files.wordpress.com/2012/11/jackson-park-in-windsor-nov-22-2012.jpg?w=209&#038;h=300" height="300" width="209" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jeonlab.wordpress.com/441/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jeonlab.wordpress.com/441/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jeonlab.wordpress.com&#038;blog=17841211&#038;post=441&#038;subd=jeonlab&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jeonlab.wordpress.com/2012/11/22/sunny-day-afternoon-at-jackson-park/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da228a243adc7fce700382b318cba17b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jeonlab</media:title>
		</media:content>

		<media:content url="http://jeonlab.files.wordpress.com/2012/11/jackson-park-in-windsor-nov-22-2012.jpg?w=209" medium="image">
			<media:title type="html">Jackson Park in Windsor Nov 22 2012</media:title>
		</media:content>
	</item>
		<item>
		<title>Cheap and simple digital TV antenna</title>
		<link>http://jeonlab.wordpress.com/2012/10/07/429/</link>
		<comments>http://jeonlab.wordpress.com/2012/10/07/429/#comments</comments>
		<pubDate>Sun, 07 Oct 2012 19:30:02 +0000</pubDate>
		<dc:creator>jeonlab</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[TV antenna]]></category>

		<guid isPermaLink="false">http://jeonlab.wordpress.com/?p=429</guid>
		<description><![CDATA[It&#8217;s been a long time since I posted the last one.  I got a new job and had to move to a new place in Windsor, Ontario and have been really busy with everything. Now I think I can resume &#8230; <a href="http://jeonlab.wordpress.com/2012/10/07/429/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jeonlab.wordpress.com&#038;blog=17841211&#038;post=429&#038;subd=jeonlab&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>It&#8217;s been a long time since I posted the last one.  I got a new job and had to move to a new place in Windsor, Ontario and have been really busy with everything. Now I think I can resume this blogging with exciting projects.</p>
<p>Since I moved to this brand new house, I made a temporary TV antenna as shown below.<br />
<a href="http://s1249.photobucket.com/albums/hh514/JeonLab/?action=view&amp;current=20121007_111454.jpg" target="_blank"><img src="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_111454.jpg" alt="Photobucket" border="0" width="500" /></a></p>
<p>I found this TV antenna design from internet some time ago and it really works quite well. A matching transformer in the middle in this picture is missing since I have already removed it to a new design. This one works fine but I don&#8217;t want to put this one on top of the roof because I don&#8217;t want to take any risk of thunder or even climbing up to the roof, nor to hang it on the living room wall because it is not that small (about 1m high) and doesn&#8217;t look pretty. So I decided to test very simple antenna that is cheap, small enough to be hidden behind a picture frame, and indoor.</p>
<p>The aluminum foil in the kitchen is always handy. I needed a support to attach two pieces of aluminum foil and found a piece of cardboard box. The size of each side of the aluminum foil is 250mm x 215mm. I didn&#8217;t test other than this size but it works good enough. You may want to try different size and shape of similar design for your TV. I could get over 20 channels with this.</p>
<p><a href="http://s1249.photobucket.com/albums/hh514/JeonLab/?action=view&amp;current=20121007_111511.jpg" target="_blank"><img src="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_111511.jpg" alt="Photobucket" border="0" width="500" /></a></p>
<p>Since it is a brand new house, all the cable outlets on the walls in the living room (over the fireplace), in the master bedroom, and in the basement remain unconnected and exposed in front of the switch panel (power distribution panel) in the basement.</p>
<p><a href="http://s1249.photobucket.com/albums/hh514/JeonLab/?action=view&amp;current=20121007_113146.jpg" target="_blank"><img src="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_113146.jpg" alt="Photobucket" border="0" width="500" /></a></p>
<p>I wanted to put the TV in the basement and wanted to put the antenna as high as possible and hopefully to be able to hide the antenna such as behind a picture frame (I don&#8217;t have it yet though.) above the fireplace. So I tested all the cables using my multimeter and identified which one was which and connected the two cables, one from the living room and one from the basement, and connected together as shown pictures below.</p>
<p><a href="http://s1249.photobucket.com/albums/hh514/JeonLab/?action=view&amp;current=20121007_113210.jpg" target="_blank"><img src="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_113210.jpg" alt="Photobucket" border="0" width="500" /></a></p>
<p><a href="http://s1249.photobucket.com/albums/hh514/JeonLab/?action=view&amp;current=20121007_113647.jpg" target="_blank"><img src="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_113647.jpg" alt="Photobucket" border="0" width="500" /></a></p>
<p><a href="http://s1249.photobucket.com/albums/hh514/JeonLab/?action=view&amp;current=20121007_113932.jpg" target="_blank"><img src="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_113932.jpg" alt="Photobucket" border="0" width="500" /></a></p>
<p><a href="http://s1249.photobucket.com/albums/hh514/JeonLab/?action=view&amp;current=20121007_114213.jpg" target="_blank"><img src="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_114213.jpg" alt="Photobucket" border="0" width="500" /></a></p>
<p>Two pieces of the aluminum foil are connected to the TV antenna matching transformer and attached between the foil by using a hot glue.</p>
<p><a href="http://s1249.photobucket.com/albums/hh514/JeonLab/?action=view&amp;current=20121007_115056.jpg" target="_blank"><img src="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_115056.jpg" alt="Photobucket" border="0" width="500" /></a></p>
<p><a href="http://s1249.photobucket.com/albums/hh514/JeonLab/?action=view&amp;current=20121007_115336.jpg" target="_blank"><img src="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_115336.jpg" alt="Photobucket" border="0" width="500" /></a></p>
<p>A short TV cable connects the antenna matching transformer and the outlet on the wall like this.</p>
<p><a href="http://s1249.photobucket.com/albums/hh514/JeonLab/?action=view&amp;current=20121007_123857.jpg" target="_blank"><img src="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_123857.jpg" alt="Photobucket" border="0" width="500" /></a></p>
<p><a href="http://s1249.photobucket.com/albums/hh514/JeonLab/?action=view&amp;current=20121007_123845.jpg" target="_blank"><img src="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_123845.jpg" alt="Photobucket" border="0" width="500" /></a></p>
<p>Auto scanning of the DTV (digital TV) channels gave me 23 channels!<br />
<a href="http://s1249.photobucket.com/albums/hh514/JeonLab/?action=view&amp;current=20121007_124142.jpg" target="_blank"><img src="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_124142.jpg" alt="Photobucket" border="0" width="500" /></a></p>
<p>Now I need a picture frame to hide the antenna.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jeonlab.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jeonlab.wordpress.com/429/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jeonlab.wordpress.com&#038;blog=17841211&#038;post=429&#038;subd=jeonlab&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jeonlab.wordpress.com/2012/10/07/429/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da228a243adc7fce700382b318cba17b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jeonlab</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_111454.jpg" medium="image">
			<media:title type="html">Photobucket</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_111511.jpg" medium="image">
			<media:title type="html">Photobucket</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_113146.jpg" medium="image">
			<media:title type="html">Photobucket</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_113210.jpg" medium="image">
			<media:title type="html">Photobucket</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_113647.jpg" medium="image">
			<media:title type="html">Photobucket</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_113932.jpg" medium="image">
			<media:title type="html">Photobucket</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_114213.jpg" medium="image">
			<media:title type="html">Photobucket</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_115056.jpg" medium="image">
			<media:title type="html">Photobucket</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_115336.jpg" medium="image">
			<media:title type="html">Photobucket</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_123857.jpg" medium="image">
			<media:title type="html">Photobucket</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_123845.jpg" medium="image">
			<media:title type="html">Photobucket</media:title>
		</media:content>

		<media:content url="http://i1249.photobucket.com/albums/hh514/JeonLab/20121007_124142.jpg" medium="image">
			<media:title type="html">Photobucket</media:title>
		</media:content>
	</item>
		<item>
		<title>Albert Einstein Quotes</title>
		<link>http://jeonlab.wordpress.com/2012/04/12/albert-einstein-quotes/</link>
		<comments>http://jeonlab.wordpress.com/2012/04/12/albert-einstein-quotes/#comments</comments>
		<pubDate>Thu, 12 Apr 2012 16:55:58 +0000</pubDate>
		<dc:creator>jeonlab</dc:creator>
				<category><![CDATA[Else]]></category>
		<category><![CDATA[Einstein]]></category>
		<category><![CDATA[quotes]]></category>

		<guid isPermaLink="false">http://jeonlab.wordpress.com/?p=424</guid>
		<description><![CDATA[You may have heard a lot of quotes Albert Einstein said as I have. Here are my favorites. - Most people say that is it is the intellect which makes a great scientist. They are wrong: it is character. - &#8230; <a href="http://jeonlab.wordpress.com/2012/04/12/albert-einstein-quotes/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jeonlab.wordpress.com&#038;blog=17841211&#038;post=424&#038;subd=jeonlab&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>You may have heard a lot of quotes Albert Einstein said as I have. Here are my favorites.</p>
<p><strong>- Most people say that is it is the intellect which makes a great scientist. They are wrong: it is character.</strong></p>
<p><strong>- Imagination is more important than knowledge.</strong></p>
<p><strong>- Gravitation is not responsible for people falling in love.</strong></p>
<p><strong>- Peace cannot be kept by force; it can only be achieved by understanding.</strong></p>
<p><strong>- The hardest thing in the world to understand is the income tax.</strong>(I totally agree.)<br />
<strong><br />
- Science without religion is lame. Religion without science is blind.</strong></p>
<p><strong>- Anyone who has never made a mistake has never tried anything new.</strong><br />
<strong> If you can&#8217;t explain it simply, you don&#8217;t understand it well enough.</strong></p>
<p><strong>- Information is not knowledge.</strong></p>
<p><strong>- Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning.</strong></p>
<p><strong>- The world is a dangerous place to live; not because of the people who are evil, but because of the people who don&#8217;t do anything about it.</strong></p>
<p><strong>- If the facts don&#8217;t fit the theory, change the facts.</strong> (I disagree this one. One can not change or modify facts.)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jeonlab.wordpress.com/424/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jeonlab.wordpress.com/424/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jeonlab.wordpress.com&#038;blog=17841211&#038;post=424&#038;subd=jeonlab&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jeonlab.wordpress.com/2012/04/12/albert-einstein-quotes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da228a243adc7fce700382b318cba17b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jeonlab</media:title>
		</media:content>
	</item>
		<item>
		<title>Wii Nunchuck hack: making an electronic level with Arduino compatible JeonLab mini v1.3</title>
		<link>http://jeonlab.wordpress.com/2012/03/11/wii-nunchuck-hack-making-an-electronic-level-with-arduino-compatible-jeonlab-mini-v1-3/</link>
		<comments>http://jeonlab.wordpress.com/2012/03/11/wii-nunchuck-hack-making-an-electronic-level-with-arduino-compatible-jeonlab-mini-v1-3/#comments</comments>
		<pubDate>Sun, 11 Mar 2012 22:17:17 +0000</pubDate>
		<dc:creator>jeonlab</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[JeonLab mini]]></category>
		<category><![CDATA[Modification]]></category>

		<guid isPermaLink="false">http://jeonlab.wordpress.com/?p=402</guid>
		<description><![CDATA[I have posted a project on using the accelerometer chip in the broken Wii Nunchuck. It was broken: the joystick did&#8217;t work. However, the accelerometer chip in the Nunchuck was intact and it also has the I2C interface which can &#8230; <a href="http://jeonlab.wordpress.com/2012/03/11/wii-nunchuck-hack-making-an-electronic-level-with-arduino-compatible-jeonlab-mini-v1-3/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jeonlab.wordpress.com&#038;blog=17841211&#038;post=402&#038;subd=jeonlab&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I have posted a project on using the <a title="Wii Nunchuck + 2 servos + JeonLab mini" href="http://jeonlab.wordpress.com/2011/04/20/wii-nunchuck-2-servos-jeonlab-mini/">accelerometer chip in the broken Wii Nunchuck</a>. It was broken: the joystick did&#8217;t work. However, the accelerometer chip in the Nunchuck was intact and it also has the I2C interface which can be easily communicate with Arduino (or compatible board) with the Wire.h library.</p>
<p>I have seen those applications on iPod touch or Android tablets that can be used as a level using their built-in accelerometer sensor chip with a nice graphic showing bubble level.  I thought I could make one like that with the Wii Nunchuck and started building one.  I had bought a Wii Nunchuck from ebay to replace my kids&#8217; broken Nunchuck for less than $10 (I don&#8217;t remember exactly) and I thought it was much cheaper to buy them than to buy the accelerometer with I2C interface or breakout boards so I bought a couple more at that time.</p>
<p>The joystick and the PCB look like this.<br />
<a title="Wii Nunchuck PCB-Joystick by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6972689701/"><img src="http://farm8.staticflickr.com/7176/6972689701_19f0a3fe8e.jpg" alt="Wii Nunchuck PCB-Joystick" width="500" height="375" /></a></p>
<p>I don&#8217;t need the (broken) joystick part, so I cut off that part.<br />
<a title="Accelerometer part of the Wii Nunchuck PCB top by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6826572492/"><img src="http://farm8.staticflickr.com/7070/6826572492_2925292997.jpg" alt="Accelerometer part of the Wii Nunchuck PCB top" width="500" height="400" /></a><br />
The accelerometer chip (A7260) is shown.</p>
<p>The I2C converter is at the bottom of the PCB.<br />
<a title="Accelerometer part of the Wii Nunchuck PCB bottom by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6972689861/"><img src="http://farm8.staticflickr.com/7210/6972689861_264b9b3931.jpg" alt="Accelerometer part of the Wii Nunchuck PCB bottom" width="500" height="400" /></a></p>
<p>Now I need a case for this project and found perfect size clear acrylic case from my junk box. I don&#8217;t even remember where I got it.<br />
<a title="Clear case by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6972688489/"><img src="http://farm8.staticflickr.com/7070/6972688489_6f5108c49e.jpg" alt="Clear case" width="500" height="400" /></a><br />
<a title="Clear case width by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6972688527/"><img src="http://farm8.staticflickr.com/7069/6972688527_417eac8114.jpg" alt="Clear case width" width="500" height="400" /></a><br />
<a title="Clear case height by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6826571262/"><img src="http://farm8.staticflickr.com/7176/6826571262_99b5e2982a.jpg" alt="Clear case height" width="500" height="400" /></a></p>
<p>The width inside of the case was almost perfect for the JeonLab mini v1.3. I had to file off about half mm of the PCB. I also thought to use a 3.0V CR123A battery for this project.<br />
<a title="JeonLab mini v1.3 in clear case with CR123A by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6972688685/"><img src="http://farm8.staticflickr.com/7067/6972688685_bd10ac5766.jpg" alt="JeonLab mini v1.3 in clear case with CR123A" width="500" height="400" /></a></p>
<p>But later I changed the power supply to a 3.3V regulated with a 12V A23 battery for better stability.</p>
<p>The cut PCB from the Nunchuck was glued on top of the ATmega328P chip on the JeonLab mini v1.3.<br />
<a title="Wii Nunchuck PCB on JeonLab mini v1.3 in case by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6972688761/"><img src="http://farm8.staticflickr.com/7041/6972688761_b0d9c5d783.jpg" alt="Wii Nunchuck PCB on JeonLab mini v1.3 in case" width="500" height="400" /></a></p>
<p>The I2C wires, clock and data, are connected to the analog pin 5 and 4 on the JeonLab mini v1.3, respectively.<br />
<a title="I2C wiring between Wii Nunchuck PCB and JeonLab mini v1.3 by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6972688847/"><img src="http://farm8.staticflickr.com/7191/6972688847_ec1bf66f5f.jpg" alt="I2C wiring between Wii Nunchuck PCB and JeonLab mini v1.3" width="500" height="400" /></a></p>
<p>I also connected the power for the Nunchuck board to the JeonLab mini v1.3 board as shown below, but this was my mistake.<br />
<a title="Power sharing between Wii and JeonLab mini by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6826571720/"><img src="http://farm8.staticflickr.com/7188/6826571720_e0eb58d7e7.jpg" alt="Power sharing between Wii and JeonLab mini" width="500" height="400" /></a></p>
<p>The power supply I thought was 3.0V battery, so I thought sharing the power should be fine. BUT I forgot the program upload through the FTDI. The accelerometer chip and the I2C interface need 3.3V (3.0-3.6V) and the ATmega328 on the JeonLab mini v1.3 (and other Arduino compatible boards as well) can work 3-5V. The Nunchuck data reading header, nunchuck_funcs.h (<a href="http://todbot.com/blog/2008/02/18/wiichuck-wii-nunchuck-adapter-available/" target="_blank">from WiiChuckDemo by Tod E. Kurt</a>) provides the settings for utilizing the analog pins 3 and 2 as power source for the Nunchuck board but this provides 5V, not 3.3V. The problem is that 5V supply to the Nunchuck board could damage the chip(s) either the accelerometer or the I2C chip or both.  Actually, the first one I used had been unstable and noisy, so it had to be replaced with a new one. That&#8217;s when I decided to change the power source from the 3V battery to 12V battery with a 3.3V regulator and added a Schottky diode (1N5819) to protect the Nunchuck board from FTDI 5V supply.</p>
<p>Now, let me explain the design. Using the accelerometer sensor on the Nunchuck board, it detects which side is tilted and send the 3 axis data to the Arduino program loaded JeonLab mini board through the I2C protocol. The program compares the current data to the stored (in EEPROM of the ATmega328P) calibration data. There are three stages of displaying: 1) If the value is within certain range, it will turn on the central red LED connected to the digital pin 7; 2) If the value is greater than the range (sens in the program) and less than 2 times of the range (sens), it will turn on the red LED and one green LED at the opposite (in order to simulate the bubble direction) side of the tilt; 3) If the value is greater than 2 times of the range (sens), then only the green LED is turned on.</p>
<p>The calibration values are the neutral value of each axis reading when it is leveled on that axis. For example, the Nunchuck data reading is between 60-70 (these values are different from sensor to sensor) at -g (upside down) on that axis and is over 170 at g (up right). So the neutral (leveled) value of each axis is about 120-130. The calibration begins when the pin 10 goes HIGH by connected to V+ with a small push button switch pressed. One the calibration process begins, in order to give the user some time to put the device down on a flat surface, it waits until the central red LED blinks a few times. The actual calibration is done really quickly and followed by a few quicker blinks. </p>
<p>Here is the whole program.</p>
<pre class="brush: plain; title: ; notranslate">
/*
 * Wii_Nunchuck_Level
 * Feb-Mar 2012, Jinseok Jeon
 * http://jeonlab.wordpress.com
 * 
 * Wii Nunchuck data read:
 *  nunchuck_funcs.h from WiiChuckDemo by Tod E. Kurt, 
 *  http://todbot.com/blog/2008/02/18/wiichuck-wii-nunchuck-adapter-available/
 */

#include 
#include 
#include &quot;nunchuck_funcs.h&quot;

byte accl[3]; //accelerometer readings for x, y, z axis
int calPin = 10; //calibration pin
int sens = 1; //sensitivity
int orient;

void setup()
{
  nunchuck_init();
  for (int i=5;i&amp;lt;10;i++) { 
    pinMode(i, OUTPUT);
  } //9 left, 8 up, 7 center, 6 down, 5 right
  pinMode(calPin, INPUT);
  delay(100);
}

void loop()
{
  //if the calibration pin is pressed, jump to funcion calibrate()
  if (digitalRead(calPin) == HIGH) calibrate();

  getData();
  
  if (orient == 1 || orient == 2) {
    if (abs(accl[0]-EEPROM.read(0 + orient*10))  sens) digitalWrite(5, HIGH);
    if (EEPROM.read(0 + orient*10)-accl[0] &amp;gt; sens) digitalWrite(9, HIGH);
  }
  if (orient == 3 || orient == 4) {
    if (abs(accl[1]-EEPROM.read(1 + orient*10))  sens) digitalWrite(8, HIGH);
    if (EEPROM.read(1 + orient*10)-accl[1] &amp;gt; sens) digitalWrite(6, HIGH);
  }
  if (orient == 5 || orient == 6) {
    if (abs(accl[0]-EEPROM.read(0 + orient*10)) &amp;lt;= 2*sens &amp;amp;&amp;amp; abs(accl[1]-EEPROM.read(1 + orient*10))  sens) digitalWrite(5, HIGH);
    if (EEPROM.read(0 + orient*10)-accl[0] &amp;gt; sens) digitalWrite(9, HIGH);
    if (accl[1]-EEPROM.read(1 + orient*10) &amp;gt; sens) digitalWrite(8, HIGH);
    if (EEPROM.read(1 + orient*10)-accl[1] &amp;gt; sens) digitalWrite(6, HIGH);
  }

  delay(50);
  for (int i=5;i&amp;lt;10;i++) { //turn off all LEDs
    digitalWrite(i, LOW);
  }
}

void getData()
{
  nunchuck_get_data();
  accl[0] = nunchuck_accelx();
  accl[1] = nunchuck_accely();
  accl[2] = nunchuck_accelz();

  orient = orientation(); //get orientation
}

void calibrate()
{
  for (int i=0;i&amp;lt;3;i++) {
    digitalWrite(7, HIGH);
    delay(500);           
    digitalWrite(7, LOW); 
    delay(500);
  }

  getData();

  for (int i=0;i&amp;lt;3;i++) {
    EEPROM.write(i + orient*10, accl[i]);
  }

  for (int i=0;i 125 &amp;amp;&amp;amp; accl[0]  110 &amp;amp;&amp;amp; accl[2]  170) orient = 1; //bottom on floor
    else if (accl[1]  110 &amp;amp;&amp;amp; accl[1]  110 &amp;amp;&amp;amp; accl[2]  180) orient = 3; //left on floor
    else if (accl[0]  110 &amp;amp;&amp;amp; accl[1]  125 &amp;amp;&amp;amp; accl[0]  170) orient = 5; //back on floor
    else if (accl[2] &amp;lt; 80) orient = 6; //front on floor
  } 
  return orient;
}

</pre>
<p>Some pictures below show the assembling procedure of the LEDs and the tiny switch from a broken camera. Here I want to give all of you a note: don&#8217;t throw away any broken electronics. Because they don&#8217;t work doesn&#8217;t mean they are garbage. There are a lot of good parts you can use for other projects.</p>
<p><a href="http://www.flickr.com/photos/7746495@N07/6826571958/" title="Bubble LEDs by JeonLab, on Flickr"><img src="http://farm8.staticflickr.com/7041/6826571958_bc84a677dd.jpg" width="500" height="400" alt="Bubble LEDs"></a><br />
<a href="http://www.flickr.com/photos/7746495@N07/6972689451/" title="assembled bubble LEDs and resistors by JeonLab, on Flickr"><img src="http://farm8.staticflickr.com/7186/6972689451_480ed206fd.jpg" width="500" height="400" alt="assembled bubble LEDs and resistors"></a><br />
<a href="http://www.flickr.com/photos/7746495@N07/6826572240/" title="assembled JeonLabmini v1.3 - Wii Nunchuck - bubble LEDs by JeonLab, on Flickr"><img src="http://farm8.staticflickr.com/7190/6826572240_46930d3e73.jpg" width="500" height="400" alt="assembled JeonLabmini v1.3 - Wii Nunchuck - bubble LEDs"></a></p>
<p>The tiny switch found from a broken camera.<br />
<a href="http://www.flickr.com/photos/7746495@N07/6972689357/" title="micro switch for calibration by JeonLab, on Flickr"><img src="http://farm8.staticflickr.com/7037/6972689357_391cb11c2e.jpg" width="500" height="400" alt="micro switch for calibration"></a></p>
<p>A 10k resistor is used to pull down the pin 10 and this tiny switch is connected to the pin 10 and V+ to trigger the calibration.<br />
<a href="http://www.flickr.com/photos/7746495@N07/6972689625/" title="Calibration switch connection by JeonLab, on Flickr"><img src="http://farm8.staticflickr.com/7200/6972689625_4b2bd6d726.jpg" width="500" height="400" alt="Calibration switch connection"></a></p>
<p>Now these are the parts for the power supply. There are a piece of prototype board, a Schottky diode (from a broken power adapter), 0.1uF ceramic capacitor, a 10uF electrolyte capacitor, 12V A23 battery, 3.3V regulator LD33V, and battery contacts also found from the broken camera.<br />
<a href="http://www.flickr.com/photos/7746495@N07/6972690127/" title="Power supply parts by JeonLab, on Flickr"><img src="http://farm8.staticflickr.com/7194/6972690127_b9b2578411.jpg" width="500" height="400" alt="Power supply parts"></a><br />
<a href="http://www.flickr.com/photos/7746495@N07/6826572936/" title="Battery contacts from broken camera by JeonLab, on Flickr"><img src="http://farm8.staticflickr.com/7205/6826572936_34b6bb0309.jpg" width="500" height="400" alt="Battery contacts from broken camera"></a></p>
<p>The battery contacts were modified a little bit and soldered on the board. The regulator doesn&#8217;t need the big heat sink so the metal part was cut on top and soldered on the board and it also form a perfect battery holder.<br />
<a href="http://www.flickr.com/photos/7746495@N07/6972690393/" title="battery holder with 3.3V regulator by JeonLab, on Flickr"><img src="http://farm8.staticflickr.com/7204/6972690393_c29a5aa360.jpg" width="500" height="400" alt="battery holder with 3.3V regulator"></a></p>
<p>This is assembled power supply in the case.<br />
<a href="http://www.flickr.com/photos/7746495@N07/6972690947/" title="power supply with rearragned caps by JeonLab, on Flickr"><img src="http://farm8.staticflickr.com/7051/6972690947_4b7155212d.jpg" width="500" height="400" alt="power supply with rearragned caps"></a></p>
<p>Fully assembled Wii Nunchuck Level:<br />
<a href="http://www.flickr.com/photos/7746495@N07/6826573778/" title="Completed Wii Nunchuck Level top by JeonLab, on Flickr"><img src="http://farm8.staticflickr.com/7208/6826573778_5d63e35c43.jpg" width="500" height="375" alt="Completed Wii Nunchuck Level top"></a></p>
<p>When it is leveled:<br />
<a href="http://www.flickr.com/photos/7746495@N07/6826574134/" title="Wii Nunchuck Level leveled by JeonLab, on Flickr"><img src="http://farm8.staticflickr.com/7201/6826574134_18ca139341.jpg" width="500" height="375" alt="Wii Nunchuck Level leveled"></a></p>
<p>When it is tiled to left:<br />
<a href="http://www.flickr.com/photos/7746495@N07/6972691489/" title="Wii Nunchuck Level tilted left by JeonLab, on Flickr"><img src="http://farm8.staticflickr.com/7045/6972691489_63efefc89b.jpg" width="500" height="375" alt="Wii Nunchuck Level tilted left"></a></p>
<p>When it is tilted to right:<br />
<a href="http://www.flickr.com/photos/7746495@N07/6826574318/" title="Wii Nunchuck Level tilted right by JeonLab, on Flickr"><img src="http://farm8.staticflickr.com/7051/6826574318_fe58deecc8.jpg" width="500" height="375" alt="Wii Nunchuck Level tilted right"></a></p>
<p>And here is the Youtube video showing how it works.</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='420' height='315' src='http://www.youtube.com/embed/xRJObYe52zE?version=3&#038;rel=0&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jeonlab.wordpress.com/402/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jeonlab.wordpress.com/402/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jeonlab.wordpress.com&#038;blog=17841211&#038;post=402&#038;subd=jeonlab&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jeonlab.wordpress.com/2012/03/11/wii-nunchuck-hack-making-an-electronic-level-with-arduino-compatible-jeonlab-mini-v1-3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da228a243adc7fce700382b318cba17b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jeonlab</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7176/6972689701_19f0a3fe8e.jpg" medium="image">
			<media:title type="html">Wii Nunchuck PCB-Joystick</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7070/6826572492_2925292997.jpg" medium="image">
			<media:title type="html">Accelerometer part of the Wii Nunchuck PCB top</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7210/6972689861_264b9b3931.jpg" medium="image">
			<media:title type="html">Accelerometer part of the Wii Nunchuck PCB bottom</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7070/6972688489_6f5108c49e.jpg" medium="image">
			<media:title type="html">Clear case</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7069/6972688527_417eac8114.jpg" medium="image">
			<media:title type="html">Clear case width</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7176/6826571262_99b5e2982a.jpg" medium="image">
			<media:title type="html">Clear case height</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7067/6972688685_bd10ac5766.jpg" medium="image">
			<media:title type="html">JeonLab mini v1.3 in clear case with CR123A</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7041/6972688761_b0d9c5d783.jpg" medium="image">
			<media:title type="html">Wii Nunchuck PCB on JeonLab mini v1.3 in case</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7191/6972688847_ec1bf66f5f.jpg" medium="image">
			<media:title type="html">I2C wiring between Wii Nunchuck PCB and JeonLab mini v1.3</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7188/6826571720_e0eb58d7e7.jpg" medium="image">
			<media:title type="html">Power sharing between Wii and JeonLab mini</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7041/6826571958_bc84a677dd.jpg" medium="image">
			<media:title type="html">Bubble LEDs</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7186/6972689451_480ed206fd.jpg" medium="image">
			<media:title type="html">assembled bubble LEDs and resistors</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7190/6826572240_46930d3e73.jpg" medium="image">
			<media:title type="html">assembled JeonLabmini v1.3 - Wii Nunchuck - bubble LEDs</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7037/6972689357_391cb11c2e.jpg" medium="image">
			<media:title type="html">micro switch for calibration</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7200/6972689625_4b2bd6d726.jpg" medium="image">
			<media:title type="html">Calibration switch connection</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7194/6972690127_b9b2578411.jpg" medium="image">
			<media:title type="html">Power supply parts</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7205/6826572936_34b6bb0309.jpg" medium="image">
			<media:title type="html">Battery contacts from broken camera</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7204/6972690393_c29a5aa360.jpg" medium="image">
			<media:title type="html">battery holder with 3.3V regulator</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7051/6972690947_4b7155212d.jpg" medium="image">
			<media:title type="html">power supply with rearragned caps</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7208/6826573778_5d63e35c43.jpg" medium="image">
			<media:title type="html">Completed Wii Nunchuck Level top</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7201/6826574134_18ca139341.jpg" medium="image">
			<media:title type="html">Wii Nunchuck Level leveled</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7045/6972691489_63efefc89b.jpg" medium="image">
			<media:title type="html">Wii Nunchuck Level tilted left</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7051/6826574318_fe58deecc8.jpg" medium="image">
			<media:title type="html">Wii Nunchuck Level tilted right</media:title>
		</media:content>
	</item>
		<item>
		<title>Earth Hour 2012: Mar 31, 8:30pm</title>
		<link>http://jeonlab.wordpress.com/2012/02/23/385/</link>
		<comments>http://jeonlab.wordpress.com/2012/02/23/385/#comments</comments>
		<pubDate>Thu, 23 Feb 2012 20:57:56 +0000</pubDate>
		<dc:creator>jeonlab</dc:creator>
				<category><![CDATA[Energy Saving]]></category>

		<guid isPermaLink="false">http://jeonlab.wordpress.com/?p=385</guid>
		<description><![CDATA[Turn off lights for just 1 hour and save the energy, save the Earth!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jeonlab.wordpress.com&#038;blog=17841211&#038;post=385&#038;subd=jeonlab&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><img src="http://awsassets.wwf.ca/img/eh_logo_2012_en_23071.jpg" alt="Earth Hour_8:30pm Mar 31, 2012" /></p>
<p>Turn off lights for just 1 hour and save the energy, save the Earth!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jeonlab.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jeonlab.wordpress.com/385/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jeonlab.wordpress.com&#038;blog=17841211&#038;post=385&#038;subd=jeonlab&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jeonlab.wordpress.com/2012/02/23/385/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da228a243adc7fce700382b318cba17b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jeonlab</media:title>
		</media:content>

		<media:content url="http://awsassets.wwf.ca/img/eh_logo_2012_en_23071.jpg" medium="image">
			<media:title type="html">Earth Hour_8:30pm Mar 31, 2012</media:title>
		</media:content>
	</item>
		<item>
		<title>TV-B-Gone_JeonLab power source</title>
		<link>http://jeonlab.wordpress.com/2012/02/11/tv-b-gone_jeonlab-power-source/</link>
		<comments>http://jeonlab.wordpress.com/2012/02/11/tv-b-gone_jeonlab-power-source/#comments</comments>
		<pubDate>Sat, 11 Feb 2012 22:34:08 +0000</pubDate>
		<dc:creator>jeonlab</dc:creator>
				<category><![CDATA[ATtiny]]></category>
		<category><![CDATA[Modification]]></category>
		<category><![CDATA[TV-B-Gone]]></category>

		<guid isPermaLink="false">http://jeonlab.wordpress.com/?p=375</guid>
		<description><![CDATA[As same as Adafruit&#8217;s original TV-B-Gone kit, my modified TV-B-Gone_JeonLab accepts any DC power source within 3-5V. The micro-controller, ATtiny85V, runs within 1.8-5.5V, but the IR LEDs consumes more power than the micro-controller, you need to keep the source voltage &#8230; <a href="http://jeonlab.wordpress.com/2012/02/11/tv-b-gone_jeonlab-power-source/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jeonlab.wordpress.com&#038;blog=17841211&#038;post=375&#038;subd=jeonlab&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>As same as <a href="http://www.adafruit.com/products/73" target="_blank">Adafruit&#8217;s original TV-B-Gone kit</a>, my modified TV-B-Gone_JeonLab accepts any DC power source within 3-5V. The micro-controller, ATtiny85V, runs within 1.8-5.5V, but the IR LEDs consumes more power than the micro-controller, you need to keep the source voltage at least 3V.</p>
<p>Adafruit includes 2 AA battery holder in their kit, but I will not include any battery holder or connector in my kit in order to give more flexibility of choice of power source.  As long as the voltage of the source is within 3-5.5V, any battery or supercap can be used.  For example, 2-3 AA or AAA alkaline batteries, 3-4 rechargeable batteries like NiCd or NiMH, Li-ion (or Li-PO) rechargeable batteries or 2 of 2.5V (0r 2.7V) supercap (at least 10F).</p>
<p>As I mentioned a few times before, I like supercaps. Even though they can not hold much charge compared to batteries, they can be charged quickly (less than a minute) through USB or 5V wall adapter and small and light.  So I decided to attach two supercaps to my TV-B-Gone_JeonLab, but I wanted to compare the sizes of 4 and 2 AA battery holder and AAA batteries.</p>
<p><a title="TV-B-Gone_JeonLab size_4AA by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6858553977/"><img src="http://farm8.staticflickr.com/7209/6858553977_365ef4a3d8.jpg" alt="TV-B-Gone_JeonLab size_4AA" width="500" height="375" /></a></p>
<p><a title="TV-B-Gone_JeonLab size_2AA by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6858554129/"><img src="http://farm8.staticflickr.com/7047/6858554129_c42768a599.jpg" alt="TV-B-Gone_JeonLab size_2AA" width="500" height="375" /></a></p>
<p><a title="TV-B-Gone_JeonLab size 3AAA &amp; 1A by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6858554305/"><img src="http://farm8.staticflickr.com/7176/6858554305_49095a96cc.jpg" alt="TV-B-Gone_JeonLab size 3AAA &amp; 1A" width="500" height="375" /></a></p>
<p>The actual size of my modified PCB is slightly smaller than Adafruit&#8217;s which fits nicely at the back of 2 AA battery holder. Anyway, I figured someone would be interested in having supercaps as a power source and here is how I did.</p>
<p>First thing I did was to attach a male header a guide (plastic piece on one side) for assuring correct polarity of connection.</p>
<p><a title="connector male header by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6858554389/"><img src="http://farm8.staticflickr.com/7180/6858554389_e1bb513e43.jpg" alt="connector male header" width="500" height="375" /></a></p>
<p>But this one was too tall compared to the other components.<br />
<a title="connector male header before cut by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6858554475/"><img src="http://farm8.staticflickr.com/7194/6858554475_623010f781.jpg" alt="connector male header before cut" width="500" height="375" /></a></p>
<p>So I cut the plastic guide and pins a little bit.<br />
<a title="connector male header after cut by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6858554585/"><img src="http://farm8.staticflickr.com/7042/6858554585_cc7ddb5fc8.jpg" alt="connector male header after cut" width="500" height="375" /></a></p>
<p>Using a small piece of double sided tap with foam two supercaps (2.5V, 10F) were attached to the bottom of the PCB and soldered in series together.<br />
<a title="TV-B-Gone_JeonLab supercap soldered by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6858554875/"><img src="http://farm8.staticflickr.com/7048/6858554875_a9ef086ed4.jpg" alt="TV-B-Gone_JeonLab supercap soldered" width="500" height="375" /></a></p>
<p><a title="TV-B-Gone_JeonLab sideview with supercap by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6858555003/"><img src="http://farm8.staticflickr.com/7063/6858555003_237e945fc0.jpg" alt="TV-B-Gone_JeonLab sideview with supercap" width="500" height="375" /></a></p>
<p>In order for ensuring the supercaps in place securely, a thin cable tie was used.<br />
<a title="TV-B-Gone_JeonLab top view cable tied by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6858555407/"><img src="http://farm8.staticflickr.com/7204/6858555407_f2fbba5b91.jpg" alt="TV-B-Gone_JeonLab top view cable tied" width="500" height="375" /></a></p>
<p><a title="TV-B-Gone_JeonLab cable tied bottom by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6858555571/"><img src="http://farm8.staticflickr.com/7060/6858555571_7c25b9be2c.jpg" alt="TV-B-Gone_JeonLab cable tied bottom" width="500" height="375" /></a></p>
<p>Now it&#8217;s time to make the USB cable connector. I cut one of those USB cable found from my junk box.<br />
<a title="USB cable wires by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6858555695/"><img src="http://farm8.staticflickr.com/7061/6858555695_e02a3e1595.jpg" alt="USB cable wires" width="500" height="375" /></a></p>
<p>And attached female connector to the red (+) and black (-) wires of the USB cable.<br />
<a title="USB cable power wires red and black by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6858555793/"><img src="http://farm8.staticflickr.com/7038/6858555793_236d7db72c.jpg" alt="USB cable power wires red and black" width="500" height="375" /></a></p>
<p><a title="female connector before finishing by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6858555879/"><img src="http://farm8.staticflickr.com/7065/6858555879_f570e002c6.jpg" alt="female connector before finishing" width="500" height="375" /></a></p>
<p>When you insert those spring pins in the connector housing, make sure the stopper to be inserted all the way in until it makes click sound (blue arrows in the picture below).<br />
<a title="female connector assembled_click by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6858555983/"><img src="http://farm8.staticflickr.com/7196/6858555983_b63a778515.jpg" alt="female connector assembled_click" width="500" height="375" /></a></p>
<p>Finished with a heat shrink tube.<br />
<a title="female connector shrink tubed by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6858556217/"><img src="http://farm8.staticflickr.com/7056/6858556217_88ed8ec68a.jpg" alt="female connector shrink tubed" width="500" height="375" /></a></p>
<p>Charging from my laptop computer.<br />
<a title="TV-B-Gone_JeonLab with supercap USB charging by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6858556391/"><img src="http://farm8.staticflickr.com/7069/6858556391_e66442d0fc.jpg" alt="TV-B-Gone_JeonLab with supercap USB charging" width="500" height="375" /></a></p>
<p>Look how small it is in my hand.<br />
<a title="TV-B-Gone_JeonLab size in hand by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6858556543/"><img src="http://farm8.staticflickr.com/7182/6858556543_19575efcb2.jpg" alt="TV-B-Gone_JeonLab size in hand" width="500" height="367" /></a></p>
<p>And it works!!<br />
<a title="TV-B-Gone_JeonLab_supercap in hand by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6858556679/"><img src="http://farm8.staticflickr.com/7203/6858556679_33d1be2a96.jpg" alt="TV-B-Gone_JeonLab_supercap in hand" width="500" height="375" /></a></p>
<p>With one full charge (about one minute), I could turn one of my TVs on and off more than 40 times from about 6.5m (21 feet) away. Of course I used STOP button right after it turned on (or off) the TV. It does save power!</p>
<p><strong>If you want to buy the kit (without supercap or battery holder), PCB, or firmware loaded ATtiny85V or any combination, <a title="email to JeonLab" href="mailto:jinseok.jeon@gmail.com">email me</a> for a quote.</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jeonlab.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jeonlab.wordpress.com/375/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jeonlab.wordpress.com&#038;blog=17841211&#038;post=375&#038;subd=jeonlab&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jeonlab.wordpress.com/2012/02/11/tv-b-gone_jeonlab-power-source/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da228a243adc7fce700382b318cba17b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jeonlab</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7209/6858553977_365ef4a3d8.jpg" medium="image">
			<media:title type="html">TV-B-Gone_JeonLab size_4AA</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7047/6858554129_c42768a599.jpg" medium="image">
			<media:title type="html">TV-B-Gone_JeonLab size_2AA</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7176/6858554305_49095a96cc.jpg" medium="image">
			<media:title type="html">TV-B-Gone_JeonLab size 3AAA &#38; 1A</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7180/6858554389_e1bb513e43.jpg" medium="image">
			<media:title type="html">connector male header</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7194/6858554475_623010f781.jpg" medium="image">
			<media:title type="html">connector male header before cut</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7042/6858554585_cc7ddb5fc8.jpg" medium="image">
			<media:title type="html">connector male header after cut</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7048/6858554875_a9ef086ed4.jpg" medium="image">
			<media:title type="html">TV-B-Gone_JeonLab supercap soldered</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7063/6858555003_237e945fc0.jpg" medium="image">
			<media:title type="html">TV-B-Gone_JeonLab sideview with supercap</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7204/6858555407_f2fbba5b91.jpg" medium="image">
			<media:title type="html">TV-B-Gone_JeonLab top view cable tied</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7060/6858555571_7c25b9be2c.jpg" medium="image">
			<media:title type="html">TV-B-Gone_JeonLab cable tied bottom</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7061/6858555695_e02a3e1595.jpg" medium="image">
			<media:title type="html">USB cable wires</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7038/6858555793_236d7db72c.jpg" medium="image">
			<media:title type="html">USB cable power wires red and black</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7065/6858555879_f570e002c6.jpg" medium="image">
			<media:title type="html">female connector before finishing</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7196/6858555983_b63a778515.jpg" medium="image">
			<media:title type="html">female connector assembled_click</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7056/6858556217_88ed8ec68a.jpg" medium="image">
			<media:title type="html">female connector shrink tubed</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7069/6858556391_e66442d0fc.jpg" medium="image">
			<media:title type="html">TV-B-Gone_JeonLab with supercap USB charging</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7182/6858556543_19575efcb2.jpg" medium="image">
			<media:title type="html">TV-B-Gone_JeonLab size in hand</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7203/6858556679_33d1be2a96.jpg" medium="image">
			<media:title type="html">TV-B-Gone_JeonLab_supercap in hand</media:title>
		</media:content>
	</item>
		<item>
		<title>Soldering tips</title>
		<link>http://jeonlab.wordpress.com/2012/02/10/soldering-tips/</link>
		<comments>http://jeonlab.wordpress.com/2012/02/10/soldering-tips/#comments</comments>
		<pubDate>Fri, 10 Feb 2012 16:46:59 +0000</pubDate>
		<dc:creator>jeonlab</dc:creator>
				<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[soldering]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://jeonlab.wordpress.com/?p=371</guid>
		<description><![CDATA[I have heard complaints from many people that they couldn&#8217;t get the solder melted immediately on the spot where they want to solder. That&#8217;s because either the tip is not clean because of oxidant and burnt flux from the previous &#8230; <a href="http://jeonlab.wordpress.com/2012/02/10/soldering-tips/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jeonlab.wordpress.com&#038;blog=17841211&#038;post=371&#038;subd=jeonlab&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I have heard complaints from many people that they couldn&#8217;t get the solder melted immediately on the spot where they want to solder. That&#8217;s because either the tip is not clean because of oxidant and burnt flux from the previous soldering or it is clean like the picture below after cleaning on a wet sponge but in this case, the contact surface of the tip and solder is not large enough to initiate melting the solder and while you are struggling to melt it, it starts form an oxidized layer (not shinny).</p>
<p><a title="clean soldering iron tip by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6823842387/"><img src="http://farm8.staticflickr.com/7019/6823842387_9af70e999c.jpg" alt="clean soldering iron tip" width="500" height="375" /></a></p>
<p>So, right after you clean the tip on a wet sponge, touch the tip immediately to the solder gently and this will make a small blob of solder as shown in the picture below.  Now there is melted solder on the tip, it is easy to start soldering.  Give it a try!  You will see what I mean.</p>
<p><a title="soldering iron tip with a blob of solder by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6823842541/"><img src="http://farm8.staticflickr.com/7028/6823842541_093421cbd1.jpg" alt="soldering iron tip with a blob of solder" width="500" height="375" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jeonlab.wordpress.com/371/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jeonlab.wordpress.com/371/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jeonlab.wordpress.com&#038;blog=17841211&#038;post=371&#038;subd=jeonlab&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jeonlab.wordpress.com/2012/02/10/soldering-tips/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da228a243adc7fce700382b318cba17b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jeonlab</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7019/6823842387_9af70e999c.jpg" medium="image">
			<media:title type="html">clean soldering iron tip</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7028/6823842541_093421cbd1.jpg" medium="image">
			<media:title type="html">soldering iron tip with a blob of solder</media:title>
		</media:content>
	</item>
		<item>
		<title>Finally &#8220;TV-B-Gone JeonLab mod&#8221; is assembled!</title>
		<link>http://jeonlab.wordpress.com/2012/02/05/finally-tv-b-gone-jeonlab-mod-assembled/</link>
		<comments>http://jeonlab.wordpress.com/2012/02/05/finally-tv-b-gone-jeonlab-mod-assembled/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 03:51:37 +0000</pubDate>
		<dc:creator>jeonlab</dc:creator>
				<category><![CDATA[ATtiny]]></category>
		<category><![CDATA[Modification]]></category>
		<category><![CDATA[TV-B-Gone]]></category>
		<category><![CDATA[mod]]></category>

		<guid isPermaLink="false">http://jeonlab.wordpress.com/?p=356</guid>
		<description><![CDATA[Finally, the PCBs (revised) I ordered for the TV-B-Gone JeonLab mod have arrived. It&#8217;s always exciting to see actually fabricated PCBs I designed. It was not an exception this time. As I mentioned before, I made a couple of mistakes &#8230; <a href="http://jeonlab.wordpress.com/2012/02/05/finally-tv-b-gone-jeonlab-mod-assembled/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jeonlab.wordpress.com&#038;blog=17841211&#038;post=356&#038;subd=jeonlab&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Finally, the PCBs (revised) I ordered for the TV-B-Gone JeonLab mod have arrived. It&#8217;s always exciting to see actually fabricated PCBs I designed. It was not an exception this time. As I mentioned before, I made a couple of mistakes and had to order the revised one. Which means that the new PCB itself doesn&#8217;t look different from the faulty one, but it did look different. Funny.</p>
<p>For those who don&#8217;t have a clue what I&#8217;m talking about, please take look at my previous <a title="TV-B-Gone Mod v1.0" href="http://jeonlab.wordpress.com/tv-b-gone-mod/tv-b-gone-mod-v1-0/" target="_blank">post</a>.</p>
<p>Anyway, I quickly started making one and wanted to share the procedure and brief test results.</p>
<p>Here is the look of the PCB.<br />
<a title="TV-B-Gone_JeonLab_PCB top-bottom by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6823844141/"><img src="http://farm8.staticflickr.com/7144/6823844141_a61cea5013.jpg" alt="TV-B-Gone_JeonLab_PCB top-bottom" width="500" height="446" /></a></p>
<p>As you may have noticed from above picture of the PCB, it is &#8220;universal&#8221; version meaning it has a region (NA-North American models, EU-European models) selection switch.</p>
<p>First thing I did was to solder a 8-DIP socket for the ATtiny85V chip.<br />
<a title="8DIP socket on TV-B-Gone Jeonlab PCB by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6822830209/"><img src="http://farm8.staticflickr.com/7148/6822830209_8361978902.jpg" alt="8DIP socket on TV-B-Gone Jeonlab PCB" width="500" height="375" /></a></p>
<p>The ATtiny85V chip is flashed with my modification from the <a href="http://www.ladyada.net/make/tvbgone/download.html">Adafruit&#8217;s firmware v1.2</a> as below.</p>
<pre class="brush: plain; title: ; notranslate">// exit do loop if REGIONSWITCH is pressed
 if ((region == US &amp;&amp; !(PINB &amp; _BV(REGIONSWITCH)))
|| (region == EU &amp;&amp; (PINB &amp; _BV(REGIONSWITCH)))) break;// delay 100 milliseconds before transmitting next POWER code (it was 250ms, but found 100ms works fine and faster)
 delay_ten_us(10000);</pre>
<p>Before assembling it fully, in order to check whether or not the ATtiny85V chip was flashed correctly, the indicator LED (green or red, I chose green), an 8MHz ceramic resonator, and a 1k ohm resistor for the LED were soldered first.  With my favorite power source (two 10F super-caps, 5V, USB charged), I checked the LED was blinking as below and it worked fine.<br />
<a title="assembling TV-B-Gone_JeonLab: ATtiny85V and indicator LED check by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6822831043/"><img src="http://farm8.staticflickr.com/7004/6822831043_94f9e1411b.jpg" alt="assembling TV-B-Gone_JeonLab: ATtiny85V and indicator LED check" width="500" height="375" /></a></p>
<p>Some photos after fully assembled:<br />
<a title="assembled TV-B-Gone_JeonLab 1 by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6822832341/"><img src="http://farm8.staticflickr.com/7147/6822832341_21153623a3.jpg" alt="assembled TV-B-Gone_JeonLab 1" width="500" height="375" /></a></p>
<p><a title="assembled TV-B-Gone_JeonLab by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6822832743/"><img src="http://farm8.staticflickr.com/7159/6822832743_147e73f2e3.jpg" alt="assembled TV-B-Gone_JeonLab" width="454" height="500" /></a></p>
<p><a title="components of TV-B-Gone_JeonLab by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6823843857/"><img src="http://farm8.staticflickr.com/7154/6823843857_364306e01d.jpg" alt="components of TV-B-Gone_JeonLab" width="500" height="317" /></a></p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='500' height='312' src='http://www.youtube.com/embed/NTSDifkC-Tc?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<p>Further test results and assembly instruction will be posted soon.</p>
<p>If you want to buy the PCB, the ATtiny85V with JeonLab mod firmware, or a full kit, <a href="mailto:jinseok.jeon@gmail.com">email me</a>.</p>
<p>Thanks.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jeonlab.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jeonlab.wordpress.com/356/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jeonlab.wordpress.com&#038;blog=17841211&#038;post=356&#038;subd=jeonlab&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jeonlab.wordpress.com/2012/02/05/finally-tv-b-gone-jeonlab-mod-assembled/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da228a243adc7fce700382b318cba17b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jeonlab</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7144/6823844141_a61cea5013.jpg" medium="image">
			<media:title type="html">TV-B-Gone_JeonLab_PCB top-bottom</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7148/6822830209_8361978902.jpg" medium="image">
			<media:title type="html">8DIP socket on TV-B-Gone Jeonlab PCB</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7004/6822831043_94f9e1411b.jpg" medium="image">
			<media:title type="html">assembling TV-B-Gone_JeonLab: ATtiny85V and indicator LED check</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7147/6822832341_21153623a3.jpg" medium="image">
			<media:title type="html">assembled TV-B-Gone_JeonLab 1</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7159/6822832743_147e73f2e3.jpg" medium="image">
			<media:title type="html">assembled TV-B-Gone_JeonLab</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7154/6823843857_364306e01d.jpg" medium="image">
			<media:title type="html">components of TV-B-Gone_JeonLab</media:title>
		</media:content>
	</item>
		<item>
		<title>TV-B-Gone mod for battery saving and region/range selection</title>
		<link>http://jeonlab.wordpress.com/2011/11/23/tv-b-gone-mod-for-battery-saving-and-regionrange-selection/</link>
		<comments>http://jeonlab.wordpress.com/2011/11/23/tv-b-gone-mod-for-battery-saving-and-regionrange-selection/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 19:29:50 +0000</pubDate>
		<dc:creator>jeonlab</dc:creator>
				<category><![CDATA[ATtiny]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Modification]]></category>
		<category><![CDATA[TV-B-Gone]]></category>

		<guid isPermaLink="false">http://jeonlab.wordpress.com/?p=316</guid>
		<description><![CDATA[TV-B-Gone is a small gadget that can turn on and off virtually any TV in the world developed and sold as a kit by Adafruit. They also provide the source code and compiled firmware under Creative Common Share Alike license. &#8230; <a href="http://jeonlab.wordpress.com/2011/11/23/tv-b-gone-mod-for-battery-saving-and-regionrange-selection/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jeonlab.wordpress.com&#038;blog=17841211&#038;post=316&#038;subd=jeonlab&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.ladyada.net/make/tvbgone/" target="_blank">TV-B-Gone</a> is a small gadget that can turn on and off virtually any TV in the world developed and sold as a kit by <a href="http://www.ladyada.net/make/tvbgone/" target="_blank">Adafruit</a>. They also provide the source code and compiled firmware under Creative Common Share Alike license.<br />
I would like to thank original developers at Adafruit for this great work and sharing ideas.</p>
<p>At first, I downloaded the firmware v1.1 and flashed an ATtiny85-20 and made it with only one transistor and two wide angle IR LEDs with two supercaps as shown below. The switch is connected to the supercap + so it will beam only when you press the button.<br />
<a title="simple TV-B-Gone with supercaps by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6390278045/"><img src="http://farm7.staticflickr.com/6116/6390278045_593b5609f7.jpg" alt="simple TV-B-Gone with supercaps" width="500" height="375" /></a></p>
<p>It worked fine, but the problem was it drained the supercaps too quickly.  The first reason is, of course, low capacity (compared to batteries) of the supercaps, but there are other reasons, too. I didn&#8217;t have a resonator at 8MHz, so I burned the oscillator selection  fuse bit of the ATtiny85-20 as internal 8MHz.  The internal oscillator has benefits of omitting an external component and programmable, but there are serious down side; its frequency can be unstable and varies depending on the temperature and power supply, AND it consumes more power at high frequency settings.</p>
<p>I also tried v1.2 on a tiny bread board as shown below.</p>
<p><a title="TV-B-Gone on breadboard by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6358648529/"><img src="http://farm7.staticflickr.com/6102/6358648529_b5f4698aaf.jpg" alt="TV-B-Gone on breadboard" width="500" height="400" /></a></p>
<p>I haven&#8217;t taken a picture, but on the breadboard shown above, I added a 8MHz ceramic resonator and uploaded v1.2 firmware on an ATtiny85V-10 and found it can last double the time. One full cycle of pulsing all the codes takes a little less than a minute and with this latest testing configuration, more than 30 times of full cycle worked with 2 supercaps before the voltage dropped below 1.7V (two in series).</p>
<p>I have thought about to turn off the device before the full cycle finished. I thought about to add a power switch but that wasn&#8217;t very attractive to me.</p>
<p>A couple days ago, I suddenly got a good idea to utilize the Region Detection pin6. Once the program detects the region from the level of pin 6 (float (internal pull-up): US, pull-down: EU), it is not used until all the code pulsing is finished. So, in US mode for example, after it started pulsing and when you want to stop it, forcing the pin6 to ground will exit the do loop  in software and the device will go sleep. I tested both US and EU mode with modified code and worked fine. This way, you can save battery.</p>
<p>Here is the schematic for the US version. I also added a slide switch to select IR LEDs between 2 wide but short ones and 1 narrow but long beam LED.</p>
<p><a title="TV-B-Gone JeonLab Mod-US by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6539827325/"><img src="http://farm8.staticflickr.com/7020/6539827325_29774ef41e.jpg" alt="TV-B-Gone JeonLab Mod-US" width="459" height="500" /></a></p>
<p>And EU version:</p>
<p><a title="TV-B-Gone JeonLab Mod-EU by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6539827261/"><img src="http://farm8.staticflickr.com/7175/6539827261_3531511292.jpg" alt="TV-B-Gone JeonLab Mod-EU" width="459" height="500" /></a></p>
<p>If you want to have both in hand like me, you can use following design with a DPDT slide switch to change region.</p>
<p><a title="TV-B-Gone JeonLab Mod-Uni by JeonLab, on Flickr" href="http://www.flickr.com/photos/7746495@N07/6539827295/"><img src="http://farm8.staticflickr.com/7027/6539827295_c1c38e4dc7.jpg" alt="TV-B-Gone JeonLab Mod-Uni" width="459" height="500" /></a></p>
<p>More updates will be followed.</p>
<p>If you want to buy an ATtiny85v-10 chip with this modified firmware loaded, send me an <a href="mailto:jinseok.jeon@gmail.com">email </a>with your location.  It will be $5.00 + shipping.</p>
<p>The full kit will be ready soon, too.</p>
<p>Jinseok</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jeonlab.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jeonlab.wordpress.com/316/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jeonlab.wordpress.com&#038;blog=17841211&#038;post=316&#038;subd=jeonlab&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jeonlab.wordpress.com/2011/11/23/tv-b-gone-mod-for-battery-saving-and-regionrange-selection/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da228a243adc7fce700382b318cba17b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jeonlab</media:title>
		</media:content>

		<media:content url="http://farm7.staticflickr.com/6116/6390278045_593b5609f7.jpg" medium="image">
			<media:title type="html">simple TV-B-Gone with supercaps</media:title>
		</media:content>

		<media:content url="http://farm7.staticflickr.com/6102/6358648529_b5f4698aaf.jpg" medium="image">
			<media:title type="html">TV-B-Gone on breadboard</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7020/6539827325_29774ef41e.jpg" medium="image">
			<media:title type="html">TV-B-Gone JeonLab Mod-US</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7175/6539827261_3531511292.jpg" medium="image">
			<media:title type="html">TV-B-Gone JeonLab Mod-EU</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7027/6539827295_c1c38e4dc7.jpg" medium="image">
			<media:title type="html">TV-B-Gone JeonLab Mod-Uni</media:title>
		</media:content>
	</item>
	</channel>
</rss>
