<?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>robotguy.net/Blog &#187; Electronics</title>
	<atom:link href="http://robotguy.net/blog/index.php/category/electronics/feed/" rel="self" type="application/rss+xml" />
	<link>http://robotguy.net/blog</link>
	<description>Robotics &#038; Electronics gone bad</description>
	<lastBuildDate>Wed, 23 Jun 2010 02:44:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>#mazetrix video 1</title>
		<link>http://robotguy.net/blog/2009/06/25/mazetrix-video-1/</link>
		<comments>http://robotguy.net/blog/2009/06/25/mazetrix-video-1/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 04:03:08 +0000</pubDate>
		<dc:creator>Robotguy</dc:creator>
				<category><![CDATA[AVR]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[mazetrix]]></category>

		<guid isPermaLink="false">http://robotguy.net/blog/?p=78</guid>
		<description><![CDATA[I spent about 4 hours programming last night trying to simulate the physics of a rolling ball on the AVR. I think it turned out pretty well: Here&#8217;s the timer interrupt that services the analog to digital converter and the multiplexing of the LEDs: ISR(TIMER2_OVF_vect){ static unsigned char activeLine=0; static unsigned char adcChannel=0; PORTC=0xFF; PORTA=0xFF; [...]]]></description>
			<content:encoded><![CDATA[<p>I spent about 4 hours programming last night trying to simulate the physics of a rolling ball on the AVR. I think it turned out pretty well:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="275" height="226" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/a1ueQ7cmRw4" /><embed type="application/x-shockwave-flash" width="275" height="226" src="http://www.youtube.com/v/a1ueQ7cmRw4"></embed></object></p>
<p>Here&#8217;s the timer interrupt that services the analog to digital converter and the multiplexing of the LEDs:</p>
<blockquote><p>ISR(TIMER2_OVF_vect){<br />
static unsigned char activeLine=0;<br />
static unsigned char adcChannel=0;<br />
PORTC=0xFF;<br />
PORTA=0xFF;<br />
selectLine(activeLine);<br />
PORTC=~green_display[activeLine];<br />
PORTA=~red_display[activeLine];<br />
activeLine++;<br />
if(activeLine&gt;7){<br />
activeLine=0;<br />
}<br />
switch(adcChannel){<br />
case 0: x_accel=(ADCH-x_flat)/10;<br />
if((x_loc&lt;500)&amp;&amp;(x_accel&lt;0)){ 					x_accel=0; 				} 				if((x_loc&gt;7500)&amp;&amp;(x_accel&gt;0)){<br />
x_accel=0;<br />
}<br />
x_vel=limit(x_vel+x_accel,-MAXVELOCITY,MAXVELOCITY);<br />
ADMUX=0xE1;<br />
adcChannel=1;<br />
break;<br />
case 1: y_accel=(y_flat-ADCH)/10;<br />
if((y_loc&lt;500)&amp;&amp;(y_accel&lt;0)){ 					y_accel=0; 				} 				if((y_loc&gt;7500)&amp;&amp;(y_accel&gt;0)){<br />
y_accel=0;<br />
}<br />
//if((abs(y_accel)&gt;1)||(abs(y_vel)&gt;20)){<br />
y_vel=limit(y_vel+y_accel,-MAXVELOCITY,MAXVELOCITY);<br />
//}else{<br />
//	y_vel=0;<br />
//}<br />
ADMUX=0xE2;<br />
adcChannel=2;<br />
break;<br />
case 2: z_accel=(ADCH-125);<br />
ADMUX=0xE0;<br />
adcChannel=0;<br />
break;<br />
default: adcChannel=0;<br />
}</p>
<p>}</p></blockquote>
<p>And the main loop:</p>
<blockquote><p>while(1){</p>
<p>if((abs(x_vel)&gt;STICTION)||(abs(y_vel)&gt;STICTION)){<br />
x_vel=(int)((ELASTICNUMERATOR*(long int)x_vel)/ELASTICDENOMINATOR);<br />
x_loc+=x_vel;<br />
y_vel=(int)((ELASTICNUMERATOR*(long int)y_vel)/ELASTICDENOMINATOR);<br />
y_loc+=y_vel;<br />
}<br />
if(x_loc&lt;0){ 			x_loc=-x_loc; 			x_vel=-x_vel; 		} 		if(x_loc&gt;7999){<br />
x_loc=7999;<br />
x_vel=-x_vel;<br />
}<br />
if(y_loc&lt;0){ 			y_loc=-y_loc; 			y_vel=-y_vel; 		} 		if(y_loc&gt;7999){<br />
y_loc=7999;<br />
y_vel=-y_vel;<br />
}<br />
x_pos=(unsigned char)(x_loc/1000);<br />
y_pos=(unsigned char)(y_loc/1000);<br />
plotBall(x_pos,y_pos);<br />
_delay_ms(50);</p>
<p>}</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://robotguy.net/blog/2009/06/25/mazetrix-video-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mazetrix Update</title>
		<link>http://robotguy.net/blog/2009/06/22/mazetrix-update/</link>
		<comments>http://robotguy.net/blog/2009/06/22/mazetrix-update/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 02:01:14 +0000</pubDate>
		<dc:creator>Robotguy</dc:creator>
				<category><![CDATA[AVR]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[mazetrix]]></category>

		<guid isPermaLink="false">http://robotguy.net/blog/?p=73</guid>
		<description><![CDATA[I received the pcbs for Mazetrix and started the build. After 4 1/2 hours of troubleshooting I realized that I connected the SCK line to the wrong pin and finally managed to get AVR Studio to recognize the processor. Then I wrote enough code to verify the LEDs would all light up.  However I then [...]]]></description>
			<content:encoded><![CDATA[<p>I received the pcbs for Mazetrix and started the build. After 4 1/2 hours of troubleshooting I realized that I connected the SCK line to the wrong pin and finally managed to get AVR Studio to recognize the processor. Then I wrote enough code to verify the LEDs would all light up.  However I then started having problems with the firmware. Finally, during my 15 minute lunch today, I found the problem was the fuse settings in the ATMEGA128 (either 103 comaptibility mode or JTAG enabled).</p>
<p>I just added the 3-axis accelerometer, but haven&#8217;t soldered on the supporting components. Also I still need to add the Li-Po charge IC. I am currently using the STK500 both to power and program the board.</p>
<p>So without further ado, here are some pics&#8230;</p>
<div class="wp-caption alignnone" style="width: 260px"><a href="http://robotguy.net/mazetrix1.jpg"><img title="Mazetrix1" src="http://robotguy.net/tn_mazetrix1.jpg" alt="Mazetrix project" width="250" height="255" /></a><p class="wp-caption-text">Mazetrix project</p></div>
<div class="wp-caption alignnone" style="width: 260px"><a href="http://robotguy.net/mazetrix2.jpg"><img title="Mazetrix2" src="http://robotguy.net/tn_mazetrix2.jpg" alt="Mazetrix Bottom" width="250" height="255" /></a><p class="wp-caption-text">Mazetrix Bottom</p></div>
<div class="wp-caption alignnone" style="width: 340px"><a href="http://robotguy.net/mazetrix3.jpg"><img title="Mazetrix3" src="http://robotguy.net/mazetrix3.jpg" alt="Mazetrix Top" width="330" height="200" /></a><p class="wp-caption-text">Mazetrix Top</p></div>
]]></content:encoded>
			<wfw:commentRss>http://robotguy.net/blog/2009/06/22/mazetrix-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome to the Mazetrix</title>
		<link>http://robotguy.net/blog/2009/06/17/welcome-to-the-mazetrix/</link>
		<comments>http://robotguy.net/blog/2009/06/17/welcome-to-the-mazetrix/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 04:55:24 +0000</pubDate>
		<dc:creator>Robotguy</dc:creator>
				<category><![CDATA[AVR]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[mazetrix]]></category>

		<guid isPermaLink="false">http://robotguy.net/blog/?p=64</guid>
		<description><![CDATA[So, I just got an email from BatchPCB that my board has been shipped, so it looks like I&#8217;m switching gears again. My board is for a project based on the Tiletoy, and incidentally not unlike the Space Invaders Button, the Awesome and 64Pixels. Many moons ago I managed to score several 8&#215;64 Red-Green matrix [...]]]></description>
			<content:encoded><![CDATA[<p>So, I just got an email from BatchPCB that my board has been shipped, so it looks like I&#8217;m switching gears again.</p>
<p>My board is for a project based on the <a title="Tiletoy" href="http://www.tiletoy.org/" target="_blank">Tiletoy</a>, and incidentally not unlike the <a title="Space Invaders Button" href="http://interactive-matter.org/2009/04/space-invaders-button/" target="_blank">Space Invaders Button</a>, the <a title="Awesome" href="http://bringtheawesome.tumblr.com/page/1" target="_blank">Awesome</a> and <a title="64Pixels" href="http://tinkerlog.com/2009/03/21/64pixels-are-enough/" target="_blank">64Pixels</a>.</p>
<p>Many moons ago I managed to score several 8&#215;64 Red-Green matrix displays salvaged, evidently, from a casino display. Even though I had managed to reverse engineer them and figure out how to display nifty messages, they were just too large and too <a title="COTS" href="http://en.wikipedia.org/wiki/Commercial_off-the-shelf" target="_blank">COTS</a> for me. I removed the 8&#215;8 LED matrices (matrixes?) and designed a small board to run them. The display is run directly from an ATMega128, using a half-H bridge on each column so I can <a title="LEDSensor" href="http://cs.nyu.edu/~jhan/ledtouch/index.html" target="_blank">use the entire matrix as a sensor</a>. Additionally, I have added a <a title="Accelerometer" href="http://www.sparkfun.com/commerce/product_info.php?products_id=308" target="_blank">MMA7260 triple axis accelerometer</a>. Last but not least is an IR LED pointed in each of the cardinal directions, also connected to be<a title="LEDComms" href="http://www.merl.com/papers/docs/TR2003-35.pdf" target="_blank"> used as an input and an output, for communicating to neighbor modules</a>(PDF link).</p>
<p>The ultimate goal is to create tiles with a red maze and a green &#8220;ball&#8221; than you can manipulate by tilting, just like the good old <a title="labyrinth" href="http://www.amazon.com/Brio-34000-Labyrinth/dp/B000XQ4VE2/" target="_blank">labyrinth game</a>. When you get to the edge of a tile, you can connect another, which will attach magnetically, and the maze will continue on the new tile.</p>
<p>I&#8217;ll add more updates when I start building.</p>
<p>Here&#8217;s a few images to satisfy the curious:</p>
<div class="wp-caption alignnone" style="width: 260px"><a href="http://robotguy.net/Mazetrix-schematic.jpg"><img title="schematic" src="http://robotguy.net/tn_Mazetrix-schematic.jpg" alt="schematic" width="250" height="135" /></a><p class="wp-caption-text">schematic</p></div>
<div class="wp-caption alignnone" style="width: 138px"><a href="http://robotguy.net/mazetrix-top.png"><img title="Mazetrix Layout" src="http://robotguy.net/tn_mazetrix-top.png" alt="Mazetrix Layout" width="128" height="128" /></a><p class="wp-caption-text">Mazetrix Layout</p></div>
]]></content:encoded>
			<wfw:commentRss>http://robotguy.net/blog/2009/06/17/welcome-to-the-mazetrix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Design Goals for Deskpet</title>
		<link>http://robotguy.net/blog/2009/06/14/design-goals-for-deskpet/</link>
		<comments>http://robotguy.net/blog/2009/06/14/design-goals-for-deskpet/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 04:25:03 +0000</pubDate>
		<dc:creator>Robotguy</dc:creator>
				<category><![CDATA[Deskpet]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Robotics]]></category>

		<guid isPermaLink="false">http://robotguy.net/blog/?p=56</guid>
		<description><![CDATA[I have decided to limit myself to 3 projects; Deskpet, Tiletoy and notebooks. I just built some notebooks, and my Tiletoy PCB is on the way (maybe more about that later), so I&#8217;d like to get back to Deskpet. Deskpet is a project that I am working on to create a small robot to live [...]]]></description>
			<content:encoded><![CDATA[<p>I have decided to limit myself to 3 projects; <a title="Deskpet" href="http://robotguy.net/blog/category/deskpet/" target="_blank">Deskpet</a>, <a title="Tiletoy" href="http://www.tiletoy.org/" target="_blank">Tiletoy</a> and <a title="notebooks" href="http://robotguy.net/blog/category/notebooks/" target="_blank">notebooks</a>. I just built some notebooks, and my Tiletoy PCB is on the way (maybe more about that later), so I&#8217;d like to get back to Deskpet.</p>
<p>Deskpet is a project that I am working on to create a small robot to live on my desk as a pet. One of the things I have learned at work is that it is much harder to build something if you don&#8217;t know exactly what it is supposed to do. So here goes; high level design goals for Deskpet:</p>
<ol>
<li>The major goal for the Deskpet is to construct a pet. It needs to live on my desk and generate an emotional attachment.
<ul>
<li>Sufficient output to be &#8220;interesting&#8221; &#8211; If all it has is a pair of motors, I can make it dance, but it would be much easier to generate an emotional attachment if it has other methods of expressing itself.</li>
</ul>
<ul>
<li>Sufficient input to be interactive &#8211; I want to be able to play with my pet, so it needs to be able to sense it&#8217;s surroundings, toys and possibly me.</li>
</ul>
</li>
<li>Automatic recharge &#8211; If it is going to seem alive, I can&#8217;t keep having to put it on the charger.</li>
<li>Wireless communication and bootloading &#8211; This is going to require A LOT of firmware work on my part, so it ould be easiest if I could download new firmware without even toucing the &#8216;bot.</li>
<li>I will not be concerning myself with availablilty or cost of components with respect to eventually making kits available. This will be a project for me.</li>
</ol>
<p>Well, that should be enough to keep me busy&#8230;&#8230;..</p>
]]></content:encoded>
			<wfw:commentRss>http://robotguy.net/blog/2009/06/14/design-goals-for-deskpet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Driving Miss Daisy-wheel</title>
		<link>http://robotguy.net/blog/2008/06/19/46/</link>
		<comments>http://robotguy.net/blog/2008/06/19/46/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 20:18:05 +0000</pubDate>
		<dc:creator>Robotguy</dc:creator>
				<category><![CDATA[Deskpet]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[NRF24L01]]></category>
		<category><![CDATA[RF]]></category>
		<category><![CDATA[Robotics]]></category>

		<guid isPermaLink="false">http://robotguy.net/blog/2008/06/19/46/</guid>
		<description><![CDATA[I got the wireless key-fob working: Family and friends have been having a lot of fun driving it around. My end goal is to let the &#8216;bot talk to a base station connected to a PC. I REALLY want to write an RF bootloader, so I can reprogram without touching the &#8216;bot. This is the [...]]]></description>
			<content:encoded><![CDATA[<p>I got the wireless key-fob working:</p>
<p><a title="remote controlled robot" target="_blank" href="http://robotguy.net/deskpet/dp_proto_rc.jpg"><img src="http://robotguy.net/deskpet/tn_dp_proto_rc.jpg" /></a></p>
<p>Family and friends have been having a lot of fun driving it around.</p>
<p>My end goal is to let the &#8216;bot talk to a base station connected to a PC. I REALLY want to write an RF bootloader, so I can reprogram without touching the &#8216;bot. This is the hardware for the base station ( Still need to write the software and firmware):</p>
<p><a target="_blank" href="http://robotguy.net/deskpet/nordic_rx.jpg"><img src="http://robotguy.net/deskpet/tn_nordic_rx.jpg" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://robotguy.net/blog/2008/06/19/46/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deskpet pre-proto</title>
		<link>http://robotguy.net/blog/2008/06/17/deskpet-pre-proto/</link>
		<comments>http://robotguy.net/blog/2008/06/17/deskpet-pre-proto/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 15:04:36 +0000</pubDate>
		<dc:creator>Robotguy</dc:creator>
				<category><![CDATA[Deskpet]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[NRF24L01]]></category>
		<category><![CDATA[RF]]></category>
		<category><![CDATA[Robotics]]></category>

		<guid isPermaLink="false">http://robotguy.net/blog/2008/06/17/deskpet-pre-proto/</guid>
		<description><![CDATA[I ordered a Nordic-FOB from Sparkfun to make the coding for the wireless module easier. While I&#8217;m waiting, I decided to hack together a pre-prototype of the deskpet using a Baby Orangutan from Pololu, that has an ATMega168 and an LB1836M, the same motor driver that the real board will use. If you want one [...]]]></description>
			<content:encoded><![CDATA[<p>I ordered a <a target="_blank" href="http://www.sparkfun.com/commerce/product_info.php?products_id=8602#">Nordic-FOB</a> from <a target="_blank" href="http://www.sparkfun.com/">Sparkfun</a> to make the coding for the wireless module easier. While I&#8217;m waiting, I decided to hack together a pre-prototype of the deskpet using a <a target="_blank" href="http://www.pololu.com/catalog/product/216">Baby Orangutan</a> from <a target="_blank" href="http://www.pololu.com/">Pololu</a>, that has an ATMega168 and an LB1836M, the same motor driver that the real board will use. If you want one of those Baby-O&#8217;s, get it quick, because they <a target="_blank" href="http://www.pololu.com/catalog/product/1216">upgraded the motor controller</a> on it, and the old version is going fast. On a good note, they added the <a target="_blank" href="http://www.pololu.com/catalog/product/399">LB1836M</a> to their IC page for me, so they should be much easier to get now.</p>
<p>Here&#8217;s a pic of the prototype:</p>
<p><a target="_blank" href="http://robotguy.net/deskpet/dp_proto.jpg"><img src="http://robotguy.net/deskpet/tn_dp_proto.jpg" /></a></p>
<p>P.S. If you are looking for a cool off-the shelf &#8216;bot, the <a target="_blank" href="http://forum.pololu.com/viewtopic.php?f=2&#038;t=983">3pi</a> from Pololu looks really nifty. Can&#8217;t wait until it comes out&#8230;</p>
<p><img src="http://robotguy.net/tn_3pi.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://robotguy.net/blog/2008/06/17/deskpet-pre-proto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deskpet Update &amp; Pics</title>
		<link>http://robotguy.net/blog/2008/06/10/deskpet-update-pics/</link>
		<comments>http://robotguy.net/blog/2008/06/10/deskpet-update-pics/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 04:26:20 +0000</pubDate>
		<dc:creator>Robotguy</dc:creator>
				<category><![CDATA[Deskpet]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Robotics]]></category>

		<guid isPermaLink="false">http://robotguy.net/blog/2008/06/10/deskpet-update-pics/</guid>
		<description><![CDATA[I finished laying out the PCB during lunch today. Maybe I can clean it up and get it out to BatchPCB for fab by tomorrow morning: I finally got around to taking some pictures of the base:]]></description>
			<content:encoded><![CDATA[<p>I finished laying out the PCB during lunch today. Maybe I can clean it up and get it out to BatchPCB for fab by tomorrow morning:</p>
<p><a target="_blank" href="http://robotguy.net/dp_pcb1.jpg"><img src="http://robotguy.net/tn_dp_pcb1.jpg" /></a> I finally got around to taking some pictures of the base:</p>
<p><a target="_blank" href="http://robotguy.net/deskpet/dp_trio.jpg"><img src="http://robotguy.net/deskpet/tn_dp_trio.jpg" /></a></p>
<p><a target="_blank" href="http://robotguy.net/deskpet/dp_front.jpg"><img src="http://robotguy.net/deskpet/tn_dp_front.jpg" /></a>    <a target="_blank" href="http://robotguy.net/deskpet/dp_green_front.jpg"><img src="http://robotguy.net/deskpet/tn_dp_green_front.jpg" /></a><br />
<a target="_blank" href="http://robotguy.net/deskpet/dp_green_back.jpg"><img src="http://robotguy.net/deskpet/tn_dp_green_back.jpg" /></a>   <a target="_blank" href="http://robotguy.net/deskpet/dp_green_bottom.jpg"><img src="http://robotguy.net/deskpet/tn_dp_green_bottom.jpg" /></a></p>
<p><a target="_blank" href="http://robotguy.net/deskpet/dp_green_iso.jpg"><img src="http://robotguy.net/deskpet/tn_dp_green_iso.jpg" /></a>   <a target="_blank" href="http://robotguy.net/deskpet/dp_face1.jpg"><img src="http://robotguy.net/deskpet/tn_dp_face1.jpg" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://robotguy.net/blog/2008/06/10/deskpet-update-pics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deskpet Planning &#8211; Part B</title>
		<link>http://robotguy.net/blog/2008/05/29/deskpet-planning-part-b/</link>
		<comments>http://robotguy.net/blog/2008/05/29/deskpet-planning-part-b/#comments</comments>
		<pubDate>Thu, 29 May 2008 23:07:24 +0000</pubDate>
		<dc:creator>Robotguy</dc:creator>
				<category><![CDATA[Deskpet]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Robotics]]></category>

		<guid isPermaLink="false">http://robotguy.net/blog/2008/05/29/deskpet-planning-part-b/</guid>
		<description><![CDATA[1) I picked a battery: 230 mAh LiPo from All-Battery. If I raise the standoffs by about 0.05&#8243; I can fit it between the motors and the PCB or I could add a small shelf to the back end of the frame, kinda like a penny-racer. 2) The IS471F requires 4.5V but I want to [...]]]></description>
			<content:encoded><![CDATA[<p>1) I picked a battery: <a target="_blank" href="http://www.all-battery.com/index.asp?PageAction=VIEWPROD&#038;ProdID=1639">230 mAh LiPo from All-Battery</a>. If I raise the standoffs by about 0.05&#8243; I can fit it between the motors and the PCB or I could add a small shelf to the back end of the frame, kinda like a penny-racer.</p>
<p>2) The IS471F requires 4.5V but I want to run from a max of 3.3V. Looks like I&#8217;m going to need to find another solution for proximity detection.</p>
<p>3) Charge pump for the color sensor LED&#8217;s: <a target="_blank" href="http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3061/t/or">MAX1595</a>? I have used some of the Maxim capacitor charge pumps in the past and they work well.</p>
]]></content:encoded>
			<wfw:commentRss>http://robotguy.net/blog/2008/05/29/deskpet-planning-part-b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deskpet Planning &#8211; Part A</title>
		<link>http://robotguy.net/blog/2008/05/28/deskpet-planning-part-a/</link>
		<comments>http://robotguy.net/blog/2008/05/28/deskpet-planning-part-a/#comments</comments>
		<pubDate>Wed, 28 May 2008 19:54:59 +0000</pubDate>
		<dc:creator>Robotguy</dc:creator>
				<category><![CDATA[Deskpet]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[oLED]]></category>

		<guid isPermaLink="false">http://robotguy.net/blog/2008/05/28/deskpet-planning-part-a/</guid>
		<description><![CDATA[I am working on the design for the Deskpet, and decided to build a prototype with a minimal configuration to get started. I plan to use an ATMega128 processor because I have several laying around. Here are the required input and outputs: Input Color/Line sensor Linear Hall effect sensor 2 way IR proximity sensor Ambient [...]]]></description>
			<content:encoded><![CDATA[<p>I am working on the design for the Deskpet, and decided to build a prototype with a minimal configuration to get started. I plan to use an ATMega128 processor because I have several laying around. Here are the required input and outputs:</p>
<p><u>Input</u></p>
<ul>
<li>Color/Line sensor</li>
<li>Linear Hall effect sensor</li>
<li>2 way IR proximity sensor</li>
<li>Ambient light level sensor</li>
<li>Wireless data</li>
<li>Battery level sensing</li>
<li>Battery charge input</li>
<li>Pushbutton</li>
</ul>
<p><u>Output</u></p>
<ul>
<li>2X Motors</li>
<li>Speaker</li>
<li>Wireless Data</li>
<li>OLED &#8220;face&#8221;</li>
</ul>
<p>And here&#8217;s what I have so far for each:</p>
<p><strong>Color/Line Sensor:</strong></p>
<p>NECM005 RGB LED and <a target="_blank" href="http://www.sparkfun.com/commerce/product_info.php?products_id=8348">TEMT6000</a> light sensor</p>
<p><strong>Linear Hall Sensor:</strong></p>
<p>Not sure yet. I like the 3 pin SIP devices from Allegro, but they need 4.5V. I would like to keep everything possible running from a 3V or maybe 3.3V supply.</p>
<p><strong>IR Proximity Detect</strong></p>
<p>2X IR LED&#8217;s and <a target="_blank" href="http://www.junun.org/MarkIII/Info.jsp?item=46">IS471F</a> modulated detector. Could also be used for IR homing beacon for charging station. To avoid interference with the proximity detect, sending a specific pulse from the LEDs would trigger the charging station to transmit a response.</p>
<p><strong>Light Level</strong></p>
<p>CDS Cell or TEMT6000 light level sensor</p>
<p><strong>Wireless Data:</strong></p>
<p><a target="_blank" href="http://www.sparkfun.com/commerce/product_info.php?products_id=691">Nordic nRF24L01 board from Sparkfun</a></p>
<p><strong>Battery Level:</strong></p>
<p>Voltage divider to ADC on the main processor</p>
<p><strong>Battery Charging Circuit:</strong></p>
<p><a target="_blank" href="http://www.sparkfun.com/commerce/product_info.php?products_id=674">MAX1555</a> Lithium charge controller</p>
<p><strong>Pushbutton:</strong></p>
<p><a target="_blank" href="http://www.sparkfun.com/commerce/product_info.php?products_id=8720">SMT Momentary Normally Open SPST</a></p>
<p><strong>2X Motors:</strong></p>
<p><a target="_blank" href="http://www.semiconductor-sanyo.com/search/property.asp?clcd=41&#038;prod=LB1836M">LB1836M</a> Low Voltage Dual H-Bridge and 2X <a target="_blank" href="http://www.solarbotics.com/products/gm10w_deal/">GM10 geared pager motors</a></p>
<p><strong>Speaker:</strong></p>
<p><a target="_blank" href="http://www.goldmine-elec-products.com/prodinfo.asp?number=G13780">Citizen Micro Speaker</a> from Electronics Goldmine.</p>
<p><strong>OLED &#8220;face&#8221;:</strong></p>
<p><a target="_blank" href="http://www.4dsystems.com.au/prod.php?id=9">uOLED96 from 4DSystems</a>. I have an older version than the one shown in the link with 8MB internal flash, and no uSD slot.</p>
<p>Still left to work on:</p>
<ul>
<li>Battery &#8211; Size and mounting locations</li>
<li>Charging method &#8211; How does the robot find &#038; connect to the charger?</li>
<li>Decide on a Hall Sensor</li>
<li>Find an LED charge pump since the G and B LEDs require 3.6 V</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://robotguy.net/blog/2008/05/28/deskpet-planning-part-a/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Route 66</title>
		<link>http://robotguy.net/blog/2007/08/08/route-66/</link>
		<comments>http://robotguy.net/blog/2007/08/08/route-66/#comments</comments>
		<pubDate>Thu, 09 Aug 2007 05:43:50 +0000</pubDate>
		<dc:creator>Robotguy</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[pda]]></category>

		<guid isPermaLink="false">http://robotguy.net/blog/2007/08/08/route-66/</guid>
		<description><![CDATA[I received the display (no pics yet :&#8217;( ). It is teeny, but the contrast is really nice. Last but not least, I just finished the routing of the PCB and should be sending it out for fab at BatchPCB by Friday. I have three &#8220;airwires&#8221; left. The auto router choked on this board, so [...]]]></description>
			<content:encoded><![CDATA[<p>I received the display (no pics yet :&#8217;( ). It is teeny, but the contrast is really nice. Last but not least, I just finished the routing of the PCB and should be sending it out for fab at <a target="_blank" title="BatchPCB" href="http://www.batchpcb.com/about_us.php?osCsid=262ba881525d17aeaca1b22d07f5843e">BatchPCB</a> by Friday.<br />
<a target="_blank" href="http://robotguy.net/pw_board_top1.gif"><img src="http://robotguy.net/tn_pw_board_top1.gif" />  </a>        <a target="_blank" href="http://robotguy.net/pw_board_1.gif"><img src="http://robotguy.net/tn_pw_board_1.gif" /></a></p>
<p><a target="_blank" href="http://robotguy.net/pw_board_bot1.gif"><img src="http://robotguy.net/tn_pw_board_bot1.gif" /></a>       <a target="_blank" href="http://robotguy.net/pw_schematic.jpg"><img src="http://robotguy.net/tn_pw_schematic.jpg" /></a><br />
I have three &#8220;airwires&#8221; left. The auto router choked on this board, so this was the best I could do manually. I added some vias so I could solder a jumper in to connect the nets.</p>
]]></content:encoded>
			<wfw:commentRss>http://robotguy.net/blog/2007/08/08/route-66/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
