<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Boscos.org</title>
	<atom:link href="http://boscos.org/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://boscos.org</link>
	<description>-- The world of Bosco's</description>
	<lastBuildDate>Mon, 23 Aug 2010 02:19:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>We just got back from Deep Creek Lake</title>
		<link>http://boscos.org/?p=201</link>
		<comments>http://boscos.org/?p=201#comments</comments>
		<pubDate>Mon, 23 Aug 2010 02:19:06 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Family]]></category>

		<guid isPermaLink="false">http://boscos.org/?p=201</guid>
		<description><![CDATA[What a fun place! I can&#8217;t believe we&#8217;ve never been there after so many years of living in the area. The kids and I had a blast. And I managed to take some great shots of water falls. Check out more pictures in the family section.

]]></description>
			<content:encoded><![CDATA[<p>What a fun place! I can&#8217;t believe we&#8217;ve never been there after so many years of living in the area. The kids and I had a blast. And I managed to take some great shots of water falls. Check out more pictures in the family section.</p>
<p style="text-align: center;"><a href="http://boscos.org/wp-content/uploads/2010/08/DSC_0189.jpg"><img class="size-medium wp-image-202  aligncenter" title="DSC_0189" src="http://boscos.org/wp-content/uploads/2010/08/DSC_0189-300x199.jpg" alt="" width="300" height="199" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://boscos.org/?feed=rss2&amp;p=201</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduino Glow Buddy Project</title>
		<link>http://boscos.org/?p=194</link>
		<comments>http://boscos.org/?p=194#comments</comments>
		<pubDate>Sun, 15 Aug 2010 13:15:53 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Hobbies]]></category>

		<guid isPermaLink="false">http://boscos.org/?p=194</guid>
		<description><![CDATA[I&#8217;ve been wanting to experiment with Arduino&#8217;s for a long time. They are little micro controllers that are easily programmed and able to perform many tasks and projects. The first project I decided to take on was to make a home brew Glow Buddy. We&#8217;ve had a couple and they always broke, so I wanted [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been wanting to experiment with <a href="http://www.arduino.cc/" target="_blank">Arduino&#8217;s</a> for a long time. They are little micro controllers that are easily programmed and able to perform many tasks and projects. The first project I decided to take on was to make a home brew Glow Buddy. We&#8217;ve had a couple and they always broke, so I wanted to see if I could build one. To make it even better, I decided two add two RGB Leds, not just one.  I ended up using two <a href="http://www.macetech.com/blog/node/54" target="_blank">ShiftBrites</a> and a push button to select various color schemes including a random mood light scheme. I ordered everything from <a href="http://www.adafruit.com/">AdaFruit</a>, great customer service! The case is a carboard box used for storing 5&#8243;x7&#8243; pictures and I used two ping pong balls as the LED diffusers.</p>
<p>Check it out:</p>
<p style="text-align: center;"><a href="http://boscos.org/gallery2/main.php?g2_itemId=51112"><img class="aligncenter" src="http://boscos.org/gallery2/main.php?g2_view=core.DownloadItem&amp;g2_itemId=51117&amp;g2_serialNumber=2" alt="" width="150" height="100" /></a></p>
<p>The code is here:</p>
<p><span id="more-194"></span><br />
<code>#define clockpin 13 // CI<br />
#define enablepin 10 // EI<br />
#define latchpin 9 // LI<br />
#define datapin 11 // DI</code></p>
<p><code>#define NumLEDs 2<br />
#define MaxColors 10<br />
#define RED 0<br />
#define GREEN 1<br />
#define BLUE 2<br />
#define BLACK 3<br />
#define wait 1000</code></p>
<p><code>int LEDChannels[NumLEDs][3] = {0};<br />
int ColorArray[MaxColors][3] = {0};<br />
int PrimaryColors[4][3] = {0};<br />
int SB_CommandMode;<br />
int SB_RedCommand;<br />
int SB_GreenCommand;<br />
int SB_BlueCommand;<br />
int buttonPin = 7;<br />
int val = 0;</code></p>
<p><code>void setup() {</code></p>
<p><code>pinMode(datapin, OUTPUT);<br />
pinMode(latchpin, OUTPUT);<br />
pinMode(enablepin, OUTPUT);<br />
pinMode(clockpin, OUTPUT);<br />
SPCR = (1&lt;&lt;&lt;&lt;<br />
digitalWrite(latchpin, LOW);<br />
digitalWrite(enablepin, LOW);</p>
<p>// Initialize color Array<br />
ColorArray[0][0]= 1023;  ColorArray[0][1]= 0;    ColorArray[0][2]= 0; //Red<br />
ColorArray[1][0]= 1023;  ColorArray[1][1]= 600;  ColorArray[1][2]= 600; //Pink<br />
ColorArray[2][0]= 1023;  ColorArray[2][1]= 0;    ColorArray[2][2]= 1023; //Magenta<br />
ColorArray[3][0]= 0;     ColorArray[3][1]= 0;    ColorArray[3][2]= 1023; //Blue<br />
ColorArray[4][0]= 510;   ColorArray[4][1]= 510;  ColorArray[4][2]= 1023; //Royal Blue<br />
ColorArray[5][0]= 0;    ColorArray[5][1]= 1023; ColorArray[5][2]= 500; //Spring Green<br />
ColorArray[6][0]= 0;    ColorArray[6][1]= 1023; ColorArray[6][2]= 0; //Green<br />
ColorArray[7][0]= 510;  ColorArray[7][1]= 1023; ColorArray[7][2]= 0; //Green Yellow<br />
ColorArray[8][0]= 1023; ColorArray[8][1]= 1023; ColorArray[8][2]= 0; //Yellow<br />
ColorArray[9][0]= 1023; ColorArray[9][1]= 512;  ColorArray[9][2]= 0; //Orange</p>
<p>//Initialize Primary Colors<br />
PrimaryColors[RED][0]=1023;<br />
PrimaryColors[GREEN][1]=1023;<br />
PrimaryColors[BLUE][2]=1023;</p>
<p>//Setup Button<br />
pinMode(buttonPin, INPUT);    // declare pushbutton as input</p>
<p>randomSeed(89793);<br />
}</p>
<p>void SB_SendPacket() {</p>
<p>if (SB_CommandMode == B01) {<br />
SB_RedCommand = 120;<br />
SB_GreenCommand = 100;<br />
SB_BlueCommand = 100;<br />
}</p>
<p>SPDR = SB_CommandMode &lt;&lt; 6 | SB_BlueCommand&gt;&gt;4;<br />
while(!(SPSR &amp; (1&lt;<br />
SPDR = SB_BlueCommand&lt;&lt;4 | SB_RedCommand&gt;&gt;6;<br />
while(!(SPSR &amp; (1&lt;<br />
SPDR = SB_RedCommand &lt;&lt; 2 | SB_GreenCommand&gt;&gt;8;<br />
while(!(SPSR &amp; (1&lt;<br />
SPDR = SB_GreenCommand;<br />
while(!(SPSR &amp; (1&lt;</p>
<p>}</p>
<p>void WriteLEDArray() {</p>
<p>SB_CommandMode = B00; // Write to PWM control registers<br />
for (int h = 0;h<br />
SB_RedCommand = LEDChannels[h][0];<br />
SB_GreenCommand = LEDChannels[h][1];<br />
SB_BlueCommand = LEDChannels[h][2];<br />
SB_SendPacket();<br />
}</p>
<p>delayMicroseconds(15);<br />
digitalWrite(latchpin,HIGH); // latch data into registers<br />
delayMicroseconds(15);<br />
digitalWrite(latchpin,LOW);</p>
<p>SB_CommandMode = B01; // Write to current control registers<br />
for (int z = 0; z &lt; NumLEDs; z++) SB_SendPacket();<br />
delayMicroseconds(15);<br />
digitalWrite(latchpin,HIGH); // latch data into registers<br />
delayMicroseconds(15);<br />
digitalWrite(latchpin,LOW);</p>
<p>}</p>
<p>void ChangeToNew(int new_r1,int new_g1,int new_b1,int step_delay)<br />
{<br />
while ( LEDChannels[0][0] != new_r1 &amp;&amp;<br />
LEDChannels[0][1] != new_g1 &amp;&amp;<br />
LEDChannels[0][2] != new_b1  )<br />
{<br />
if ( LEDChannels[0][0] &lt; new_r1 )              { LEDChannels[0][0]++;} else if ( LEDChannels[0][0] &gt; new_r1 )<br />
{ LEDChannels[0][0]--;}<br />
if ( LEDChannels[0][1] &lt; new_g1 )              { LEDChannels[0][1]++;} else if ( LEDChannels[0][1] &gt; new_g1 )<br />
{ LEDChannels[0][1]--;}<br />
if ( LEDChannels[0][2] &lt; new_b1 )              { LEDChannels[0][2]++;} else if ( LEDChannels[0][2] &gt; new_b1 )<br />
{ LEDChannels[0][2]--;}</p>
<p>// Shift Values on other led to do something interesting<br />
LEDChannels[1][1] = LEDChannels[0][0];<br />
LEDChannels[1][2] = LEDChannels[0][1];<br />
LEDChannels[1][0] = LEDChannels[0][2];</p>
<p>WriteLEDArray();<br />
delay (step_delay);<br />
val = digitalRead(buttonPin);  // read input value</p>
<p>if (val == HIGH ) return;<br />
}<br />
}</p>
<p>void FadeToRandom()<br />
{<br />
long r;</p>
<p>r = random(MaxColors);<br />
ChangeToNew(ColorArray[r][0],ColorArray[r][1],ColorArray[r][2], 5 );<br />
}</p>
<p>void WaitForButton()<br />
{<br />
while ( val == LOW )<br />
{<br />
val = digitalRead(buttonPin);  // read input value<br />
}<br />
val = LOW;<br />
}</p>
<p>void SetColor(int c1, int c2)<br />
{<br />
LEDChannels[0][0]=PrimaryColors[c1][0];<br />
LEDChannels[0][1]=PrimaryColors[c1][1];<br />
LEDChannels[0][2]=PrimaryColors[c1][2];<br />
LEDChannels[1][0]=PrimaryColors[c2][0];<br />
LEDChannels[1][1]=PrimaryColors[c2][1];<br />
LEDChannels[1][2]=PrimaryColors[c2][2];<br />
WriteLEDArray();<br />
}</p>
<p>void loop() {<br />
val = LOW;<br />
int i;</p>
<p>SetColor(RED,RED);<br />
delay (wait);<br />
WaitForButton();</p>
<p>SetColor(RED,GREEN);<br />
delay (wait);<br />
WaitForButton();</p>
<p>SetColor(GREEN,GREEN);<br />
delay (wait);<br />
WaitForButton();</p>
<p>SetColor(GREEN,BLUE);<br />
delay (wait);<br />
WaitForButton();</p>
<p>SetColor(BLUE,BLUE);<br />
delay (wait);<br />
WaitForButton();</p>
<p>SetColor(RED,BLUE);<br />
delay (wait);<br />
WaitForButton();</p>
<p>SetColor(GREEN,RED);<br />
delay (wait);<br />
WaitForButton();</p>
<p>SetColor(BLUE,RED);<br />
delay (wait);<br />
WaitForButton();</p>
<p>SetColor(BLUE,GREEN);<br />
delay (wait);<br />
WaitForButton();</p>
<p>delay (wait/2);<br />
while (val == LOW )<br />
{<br />
FadeToRandom();<br />
delay (wait);<br />
}<br />
val = LOW;</p>
<p></code></p>
<p><code> SetColor(BLACK,BLACK);<br />
delay(wait);<br />
WaitForButton();<br />
}</code></p>
]]></content:encoded>
			<wfw:commentRss>http://boscos.org/?feed=rss2&amp;p=194</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New York 2010</title>
		<link>http://boscos.org/?p=184</link>
		<comments>http://boscos.org/?p=184#comments</comments>
		<pubDate>Sat, 14 Aug 2010 21:15:32 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Family]]></category>

		<guid isPermaLink="false">http://boscos.org/?p=184</guid>
		<description><![CDATA[I added pictures of our New York trip in the family section including a new HDR shot that came out pretty nice:

]]></description>
			<content:encoded><![CDATA[<p>I added pictures of our New York trip in the family section including a new HDR shot that came out pretty nice:</p>
<p style="text-align: center;"><a href="http://boscos.org/wp-content/uploads/2010/08/DSC_0160_1_2_HDR.jpg"><img class="size-medium wp-image-185  aligncenter" title="DSC_0160_1_2_HDR" src="http://boscos.org/wp-content/uploads/2010/08/DSC_0160_1_2_HDR-300x199.jpg" alt="" width="300" height="199" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://boscos.org/?feed=rss2&amp;p=184</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ferrari in Motion shots</title>
		<link>http://boscos.org/?p=177</link>
		<comments>http://boscos.org/?p=177#comments</comments>
		<pubDate>Sat, 14 Aug 2010 21:05:42 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Hobbies]]></category>

		<guid isPermaLink="false">http://boscos.org/?p=177</guid>
		<description><![CDATA[I taught my son how to take pictures of cars in motion with a fixed low shutter speed like 1/80th of a sec and panning with the car while depressing the trigger. I think the results came out quite good. Check them out:

]]></description>
			<content:encoded><![CDATA[<p>I taught my son how to take pictures of cars in motion with a fixed low shutter speed like 1/80th of a sec and panning with the car while depressing the trigger. I think the results came out quite good. Check them out:</p>
<p style="text-align: center;"><a href="http://boscos.org/gallery2/main.php?g2_itemId=51088"><img class="size-full wp-image-178  aligncenter" title="DSC_0148" src="http://boscos.org/wp-content/uploads/2010/08/DSC_0148.jpg" alt="" width="320" height="213" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://boscos.org/?feed=rss2&amp;p=177</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Many new pictures in the family section</title>
		<link>http://boscos.org/?p=171</link>
		<comments>http://boscos.org/?p=171#comments</comments>
		<pubDate>Mon, 09 Aug 2010 19:38:53 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Family]]></category>

		<guid isPermaLink="false">http://boscos.org/?p=171</guid>
		<description><![CDATA[I&#8217;ve been delinquent updating our family blog &#8212; lots of other things going on. But I did manage to upload pictures from the past 2-3 months in the family section including pictures of our trip to the Outerbanks of North Carolina. Check them out in the family section.


]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been delinquent updating our family blog &#8212; lots of other things going on. But I did manage to upload pictures from the past 2-3 months in the family section including pictures of our trip to the Outerbanks of North Carolina. Check them out in the family section.<a href="http://boscos.org/wp-content/uploads/2010/08/IMG_0311.jpg"><br />
</a></p>
<p style="text-align: center;"><img class="size-medium wp-image-172  aligncenter" title="IMG_0311" src="http://boscos.org/wp-content/uploads/2010/08/IMG_0311-300x71.jpg" alt="" width="300" height="71" /></p>
]]></content:encoded>
			<wfw:commentRss>http://boscos.org/?feed=rss2&amp;p=171</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easter weekend pictures uploaded to the family section</title>
		<link>http://boscos.org/?p=166</link>
		<comments>http://boscos.org/?p=166#comments</comments>
		<pubDate>Mon, 05 Apr 2010 16:25:34 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Family]]></category>

		<guid isPermaLink="false">http://boscos.org/?p=166</guid>
		<description><![CDATA[Lot&#8217;s of great shots of this great weekend with wonderful weather and cherry blossoms in full bloom.

]]></description>
			<content:encoded><![CDATA[<p>Lot&#8217;s of great shots of this great weekend with wonderful weather and cherry blossoms in full bloom.</p>
<p style="text-align: center;"><a href="http://boscos.org/wp-content/uploads/2010/04/cherryblossom.jpg"><img class="size-medium wp-image-167  aligncenter" title="cherryblossom" src="http://boscos.org/wp-content/uploads/2010/04/cherryblossom-300x199.jpg" alt="" width="300" height="199" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://boscos.org/?feed=rss2&amp;p=166</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nice pictures of the scale heli</title>
		<link>http://boscos.org/?p=163</link>
		<comments>http://boscos.org/?p=163#comments</comments>
		<pubDate>Mon, 05 Apr 2010 16:15:10 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Hobbies]]></category>

		<guid isPermaLink="false">http://boscos.org/?p=163</guid>
		<description><![CDATA[Dominic and I flew the scale heli this weekend and he took some nice shots of the action.

]]></description>
			<content:encoded><![CDATA[<p>Dominic and I flew the scale heli this weekend and he took some nice shots of the action.</p>
<p style="text-align: center;"><a href="http://boscos.org/photos/main.php?g2_itemId=36427"><img class="aligncenter" src="http://boscos.org/photos/main.php?g2_view=core.DownloadItem&amp;g2_itemId=36428&amp;g2_serialNumber=2" alt="" width="150" height="100" border="0"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://boscos.org/?feed=rss2&amp;p=163</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First attempt at HDR Photography</title>
		<link>http://boscos.org/?p=153</link>
		<comments>http://boscos.org/?p=153#comments</comments>
		<pubDate>Thu, 01 Apr 2010 00:40:20 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Hobbies]]></category>

		<guid isPermaLink="false">http://boscos.org/?p=153</guid>
		<description><![CDATA[The Macupdate bundle included Hydra, an HDR plugin for Aperture and I decided to buy it. It works great!!! I had take a shot of downtown San Francisco a couple of years ago with a tripod and with a few different exposures. Not one of the 3 shots looked that good, but combined in HDR, [...]]]></description>
			<content:encoded><![CDATA[<p>The Macupdate bundle included <a href="http://www.creaceed.com/hydra/" target="_blank">Hydra</a>, an <a href="http://en.wikipedia.org/wiki/High_dynamic_range_imaging" target="_blank">HDR</a> plugin for Aperture and I decided to buy it. It works great!!! I had take a shot of downtown San Francisco a couple of years ago with a tripod and with a few different exposures. Not one of the 3 shots looked that good, but combined in HDR, they look amazing. Check it out:</p>
<p style="text-align: center;"><a href="http://boscos.org/gallery2/main.php?g2_itemId=34880"><img class="aligncenter" src="http://boscos.org/gallery2/main.php?g2_view=core.DownloadItem&amp;g2_itemId=34881&amp;g2_serialNumber=2" alt="" width="150" height="100" /></a></p>
<p>You can also see in the same version of this Picture created with a trial version of Photomatix <a href="http://boscos.org/gallery2/main.php?g2_itemId=34884" target="_blank">here</a>. It does not look anywhere near as nice. Both were using default settings. Hydra wins in my opinion. Next, I&#8217;m going to try using a single Raw image to see what results that gives.</p>
]]></content:encoded>
			<wfw:commentRss>http://boscos.org/?feed=rss2&amp;p=153</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Caught the Watchman Goby</title>
		<link>http://boscos.org/?p=149</link>
		<comments>http://boscos.org/?p=149#comments</comments>
		<pubDate>Tue, 23 Mar 2010 13:21:11 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Reef]]></category>

		<guid isPermaLink="false">http://boscos.org/?p=149</guid>
		<description><![CDATA[The Yellow watchman Goby in my reef tank is an elusive fish, it tends to hide a lot. For a while, I hadn&#8217;t seen it in months and I thought it was dead. Recently it has been coming out into the open more and I got a good picture of him finally:

]]></description>
			<content:encoded><![CDATA[<p>The Yellow watchman Goby in my reef tank is an elusive fish, it tends to hide a lot. For a while, I hadn&#8217;t seen it in months and I thought it was dead. Recently it has been coming out into the open more and I got a good picture of him finally:</p>
<p style="text-align: center;"><a href="http://boscos.org/wp-content/uploads/2010/03/DSC_7292.jpg"><img class="size-medium wp-image-150  aligncenter" title="DSC_7292" src="http://boscos.org/wp-content/uploads/2010/03/DSC_7292-300x199.jpg" border="0" alt="" width="300" height="199" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://boscos.org/?feed=rss2&amp;p=149</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>January to March pictures in the Family Section</title>
		<link>http://boscos.org/?p=142</link>
		<comments>http://boscos.org/?p=142#comments</comments>
		<pubDate>Tue, 23 Mar 2010 13:15:23 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Family]]></category>

		<guid isPermaLink="false">http://boscos.org/?p=142</guid>
		<description><![CDATA[I just uploaded a lot of pictures including plenty of pics of snowmaggedon in DC. Click on the family link to the right.

]]></description>
			<content:encoded><![CDATA[<p>I just uploaded a lot of pictures including plenty of pics of snowmaggedon in DC. Click on the family link to the right.</p>
<p style="text-align: center;"><a href="http://boscos.org/wp-content/uploads/2010/03/DSC_7131.jpg"><img class="size-medium wp-image-143  aligncenter" title="DSC_7131" src="http://boscos.org/wp-content/uploads/2010/03/DSC_7131-300x199.jpg" border="0" alt="" width="300" height="199" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://boscos.org/?feed=rss2&amp;p=142</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
