<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<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/"
	>

<channel>
	<title>Kinetic Tech Art (and stuff)</title>
	<link>http://cratel.wichita.edu/blogs/tommcguire</link>
	<description>by Tom McGuire</description>
	<pubDate>Tue, 29 Apr 2008 01:10:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>The Latest Projects 2008</title>
		<link>http://cratel.wichita.edu/blogs/tommcguire/2008/04/26/the-latest-projects-2008/</link>
		<comments>http://cratel.wichita.edu/blogs/tommcguire/2008/04/26/the-latest-projects-2008/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 15:45:34 +0000</pubDate>
		<dc:creator>tommcguire</dc:creator>
		
		<category><![CDATA[Simple Fun]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[Arts Partners]]></category>

		<category><![CDATA[Wichita Art Museum]]></category>

		<guid isPermaLink="false">http://cratel.wichita.edu/blogs/tommcguire/2008/04/26/the-latest-projects-2008/</guid>
		<description><![CDATA[I&#8217;ve been so busy this year, I haven&#8217;t had time to update this blog. The two big projects I&#8217;ve been working on were &#8220;interACTIVE&#8221; an exhibition at the Wichita Art Museum and A Technology Art Sculpture with the 5th grade class of Beech Elementary School. You can see a video documentary of the Beech School [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been so busy this year, I haven&#8217;t had time to update this blog. The two big projects I&#8217;ve been working on were &#8220;interACTIVE&#8221; an exhibition at the Wichita Art Museum and A Technology Art Sculpture with the 5th grade class of Beech Elementary School. You can see a video documentary of the Beech School project here (click on the picture).</p>
<p align="center"><a href="http://www.youtube.com/watch?v=7B5ipODG250" title="BeechSchoolProject"><img width="418" src="http://cratel.wichita.edu/blogs/tommcguire/files/2008/04/imgp1635a.JPG" alt="BeechSculp" height="283" /></a><br />
You might notice the absence of kids in the video. When ever I was with the kids I didn&#8217;t have time to take pictures.</p>
<p align="left">Prior to that was the Wichita Art Museum. Lee Shiney Chris Gulick and I started in September and worked out tails off to get it up and running by February. You can see pictures and blogs of this project <a href="http://wam08.wordpress.com/" title="WAM">(here).</a></p>
<p align="left">Â Â Â  <a href="http://wam08.wordpress.com/" title="WAM"><img width="211" src="http://cratel.wichita.edu/blogs/tommcguire/files/2008/04/circle.jpg" alt="WAM-circle" height="215" /></a></p>
<p align="left">More to come&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://cratel.wichita.edu/blogs/tommcguire/2008/04/26/the-latest-projects-2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Infrared Transmit and Receive with a Logochip</title>
		<link>http://cratel.wichita.edu/blogs/tommcguire/2007/11/30/infrared-transmit-and-receive-with-a-logochip/</link>
		<comments>http://cratel.wichita.edu/blogs/tommcguire/2007/11/30/infrared-transmit-and-receive-with-a-logochip/#comments</comments>
		<pubDate>Sat, 01 Dec 2007 05:06:01 +0000</pubDate>
		<dc:creator>tommcguire</dc:creator>
		
		<category><![CDATA[Logochip]]></category>

		<guid isPermaLink="false">http://cratel.wichita.edu/blogs/tommcguire/2007/11/30/infrared-transmit-and-receive-with-a-logochip/</guid>
		<description><![CDATA[    When ever I find an easy way to do something I just have to make a record of it. There are some projects where you might want to do something wireless with the Logochip. This little circuit makes it pretty easy.
    First an explination of the Radioshack 276-640, the IR Receiver Module. [...]]]></description>
			<content:encoded><![CDATA[<p>    When ever I find an easy way to do something I just have to make a record of it. There are some projects where you might want to do something wireless with the Logochip. This little circuit makes it pretty easy.</p>
<p>    First an explination of the Radioshack 276-640, the IR Receiver Module. It will receive signals from an IR(940nm) LED that is oscillating at 38killoherts. So if we want to send a series of 1&#8217;s and 0&#8217;s we modulate this 38KHz signal on and off.</p>
<p>    Fortunately the Logochip can produce the 38KHz signal and modulate it with very little effort from the software.Â  We&#8217;re going to set up the internal timer module to produce the signal and set up the serial UART to modulate it. So here let&#8217;s look at the schematic.</p>
<p>            <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/11/irtranceiver.jpg" title="LogoIRtranceiver"><img width="191" src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/11/irtranceiver.thumbnail.jpg" alt="LogoIRtranceiver" height="120" /></a></p>
<p>   This schematic shows the Logochip circuit to the left and the IR transmit and receive circuits to the right. There are two transistors involved in the in the transmit. The one that drives the LED is driven by the timer output PORTC bit 2 which is producing a 38KHz square wave. But most of the time it is being held off by the other transistor which is being driven by the transmit pin (TX) PORTC bit 6. Now when you tell the serial port to transmit an 8 bit byte the serial data comes out of the TX pin and modulates the 38KHz signal on and off to the LED.</p>
<p>   On the receiver side (this is really easy) the Radioshack part is simply hooked up to the 5 volt power and ground and the output signal runs right into the receiver input (RX) PORTC bit 7. I put a resistor to ground just in case the output drifts. That&#8217;s it.</p>
<p>    Here&#8217;s a picture of my bread board. <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/11/imgp1395a.JPG" title="IRlogoProtoBoard">IRlogoProtoBoard</a>Â . The transmit LED and the receiver module are pointing straight up and I just help my hand above it to reflect the signal back. I can&#8217;t wait to use it in something.</p>
<p>    So here&#8217;s the Logochip code. I hope I commented it well enough for everyone to follow.</p>
<p>                      <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/11/irtranceiver.txt" title="LogoCode"><img src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/03/textpage.thumbnail.jpg" alt="TextPage" /></a></p>
<p>Have fun&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://cratel.wichita.edu/blogs/tommcguire/2007/11/30/infrared-transmit-and-receive-with-a-logochip/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Comm Port Error Handeling</title>
		<link>http://cratel.wichita.edu/blogs/tommcguire/2007/11/07/comm-port-error-handeling/</link>
		<comments>http://cratel.wichita.edu/blogs/tommcguire/2007/11/07/comm-port-error-handeling/#comments</comments>
		<pubDate>Wed, 07 Nov 2007 21:14:34 +0000</pubDate>
		<dc:creator>tommcguire</dc:creator>
		
		<category><![CDATA[Logochip]]></category>

		<guid isPermaLink="false">http://cratel.wichita.edu/blogs/tommcguire/2007/11/07/comm-port-error-handeling/</guid>
		<description><![CDATA[If I were to describe the proccess of implementing a sreial port communication with a microcontroller I&#8217;d say It&#8217;s a shot in the dark. There are a fairly large number of variables that come into play when data is transmitted and received. I just wanted to touch on error handeling here just as sort of [...]]]></description>
			<content:encoded><![CDATA[<p>If I were to describe the proccess of implementing a sreial port communication with a microcontroller I&#8217;d say It&#8217;s a shot in the dark. There are a fairly large number of variables that come into play when data is transmitted and received. I just wanted to touch on error handeling here just as sort of note to my self if nothing else. Presuming you get the baud rate and the number of bits set right and you are able to get the basic communication working there are a couple of things that can still happen that will put a damper on the whole thing.</p>
<p>Framing Errors</p>
<p>If you send a whole string of data to a microcontroller and the controller software isn&#8217;t paying a lot of attention to the comm port one of the things that can happen is called a framing error. In the PIC18F2320 chip there is the &#8220;rcsta&#8221; (receive status register) which is at address $fab. Bit 2 of this register will go high on a framing error. The best resolution for this error that I have found is to go ahead and read the data from the &#8220;rcreg&#8221; receive register but keep in mind that it may be bad data.</p>
<p>Over Run Errors</p>
<p>Another kind of error you can get is called over run error. This can be a serious problem because it will cause the reciever to stop working until the problem is resolved. Bit 1 of the rcsta will go high (1) on an over run error. To resolve this error turn off the continuois recieve bit (bit 4) of the rcsta (set it to 0) and then turn it back on (set it to 1). This will flush out data that is held in the receive buffer and reset the reciever to run again.</p>
<p><strong>CORRECTION It will flush out the receive buffer but itÂ will notÂ clear the error. So don&#8217;t keep doing it in a loop because the error will clear only after the next byte is received. If you keep reseting the receiver it will never receive the next transmition.</strong></p>
<p>So here is a code example for the Logochip to handle the comm port:</p>
<p>;CommErrorTest.txt</p>
<p>constants [<br />
Â [rcreg $fae][rcsta $fab]<br />
Â [spbrg $faf][pir1 $f9e][txsta $fac]<br />
Â [txreg $fad][t2con $fca]<br />
Â ]Â </p>
<p>global[ comand ]</p>
<p>to powerup<br />
Â prs &#8220;CommErrorTest.txt&#8221;<br />
Â write spbrg 25Â Â ; sets baud rate to 19200<br />
Â write rcsta $90<br />
Â write txsta $24<br />
Â write t2con 6<br />
end</p>
<p>to startup<br />
Â loop[<br />
Â Â if testbit 1 rcsta [Â ;check overrun Error<br />
Â Â clearbit 4 rcsta<br />
Â Â prs &#8220;overrun&#8221;<br />
Â Â setbit 4 rcsta<br />
Â Â ]<br />
Â Â if testbit 5 pir1 [<br />
Â Â Â setcomand uart-receive<br />
Â Â Â print comand<br />
Â Â Â ]<br />
Â wait 10<br />
Â ]<br />
end</p>
<p>to uart-send :n<br />
Â  waituntil [testbit 1 txsta]<br />
Â  write txreg :n<br />
end</p>
<p>to uart-receive<br />
Â if testbit 2 rcsta [Â Â ;check frame Error<br />
Â Â prs &#8220;framing&#8221;<br />
Â Â ]<br />
Â output read rcreg<br />
end</p>
]]></content:encoded>
			<wfw:commentRss>http://cratel.wichita.edu/blogs/tommcguire/2007/11/07/comm-port-error-handeling/feed/</wfw:commentRss>
		</item>
		<item>
		<title>After a week at art camp&#8230;</title>
		<link>http://cratel.wichita.edu/blogs/tommcguire/2007/06/10/after-a-week-at-art-camp/</link>
		<comments>http://cratel.wichita.edu/blogs/tommcguire/2007/06/10/after-a-week-at-art-camp/#comments</comments>
		<pubDate>Sun, 10 Jun 2007 22:22:23 +0000</pubDate>
		<dc:creator>tommcguire</dc:creator>
		
		<category><![CDATA[Simple Fun]]></category>

		<guid isPermaLink="false">http://cratel.wichita.edu/blogs/tommcguire/2007/06/10/after-a-week-at-art-camp/</guid>
		<description><![CDATA[Wow! that was great. Sorry I didn&#8217;t post pictures along the way but it was a very busy week at the CityArts Teen Extreme 2007. Jodi, Kendra, and I (Tom) worked with a hand full of teen aged kids to put on a show of kinetic sculptures using these simple fun technics. Each of them [...]]]></description>
			<content:encoded><![CDATA[<p>Wow! that was great. Sorry I didn&#8217;t post pictures along the way but it was a very busy week at the CityArts Teen Extreme 2007. Jodi, Kendra, and I (Tom) worked with a hand full of teen aged kids to put on a show of kinetic sculptures using these simple fun technics. Each of them got to take there work home but before it was over they all sat down and animated their works together with the help ofÂ a Logochip controller. For the last couple of hours people, including their parents, wandered through the gallery while their sculptures danced before their eyes. It was great, everyone was thrilled and amazed. The Kids also made video of the art camp experience which is posted on You Tube -( <a href="http://www.youtube.com/watch?v=HSSTyn_8xLo" title="YouTube">click here</a> )-</p>
<p><a href="http://www.youtube.com/watch?v=HSSTyn_8xLo" title="Teenextreme"><img src="http://cratel.wichita.edu/blogs/tommcguire/files/2008/04/teen.JPG" alt="Teenextreme1" /></a></p>
<p>Â Here&#8217;s a movie I made:</p>
<p>(click it)Â <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/artcamp2007.wmv" title="ArtCamp the movie"><img src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/theshow.jpg" alt="theshow" /></a></p>
<p>And pictures: <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1020a.JPG" title="IMGP1020a"><img src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1020a.thumbnail.JPG" alt="IMGP1020a" /></a>Â  <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1021a.JPG" title="imgp1021a.JPG"><img src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1021a.thumbnail.JPG" alt="imgp1021a.JPG" /></a>Â  <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1023a.JPG" title="imgp1023a.JPG"><img src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1023a.thumbnail.JPG" alt="imgp1023a.JPG" /></a>Â <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1024a.JPG" title="imgp1024a.JPG"><img src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1024a.thumbnail.JPG" alt="imgp1024a.JPG" /></a>Â <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1025a.JPG" title="imgp1025a.JPG"><img src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1025a.thumbnail.JPG" alt="imgp1025a.JPG" /></a>Â <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1026a.JPG" title="imgp1026a.JPG"><img src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1026a.thumbnail.JPG" alt="imgp1026a.JPG" /></a>Â  <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1027a.JPG" title="imgp1027a.JPG"><img src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1027a.thumbnail.JPG" alt="imgp1027a.JPG" /></a>Â <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1028a.JPG" title="imgp1028a.JPG"><img src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1028a.thumbnail.JPG" alt="imgp1028a.JPG" /></a>Â  <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1029a.JPG" title="imgp1029a.JPG"><img src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1029a.thumbnail.JPG" alt="imgp1029a.JPG" /></a>Â  <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1031a.JPG" title="imgp1031a.JPG"><img src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1031a.thumbnail.JPG" alt="imgp1031a.JPG" /></a>Â  <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1032a.JPG" title="imgp1032a.JPG"><img src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/imgp1032a.thumbnail.JPG" alt="imgp1032a.JPG" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://cratel.wichita.edu/blogs/tommcguire/2007/06/10/after-a-week-at-art-camp/feed/</wfw:commentRss>
<enclosure url="http://cratel.wichita.edu/blogs/tommcguire/files/2007/06/artcamp2007.wmv" length="0" type="video/asf" />
		</item>
		<item>
		<title>A Scary Spider</title>
		<link>http://cratel.wichita.edu/blogs/tommcguire/2007/04/21/a-scary-spider/</link>
		<comments>http://cratel.wichita.edu/blogs/tommcguire/2007/04/21/a-scary-spider/#comments</comments>
		<pubDate>Sun, 22 Apr 2007 03:12:20 +0000</pubDate>
		<dc:creator>tommcguire</dc:creator>
		
		<category><![CDATA[Simple Fun]]></category>

		<guid isPermaLink="false">http://cratel.wichita.edu/blogs/tommcguire/2007/04/21/a-scary-spider/</guid>
		<description><![CDATA[Spiders are good for the garden but they scare me. Here&#8217;s a good way to have fun with your older sister. Attach some kind of spool to a toy motor shaft and mount it up high. Then tie a string to a creepy bug and run it up to the spool. When the motor runs [...]]]></description>
			<content:encoded><![CDATA[<p>Spiders are good for the garden but they scare me. Here&#8217;s a good way to have fun with your older sister. Attach some kind of spool to a toy motor shaft and mount it up high. Then tie a string to a creepy bug and run it up to the spool. When the motor runs the bug goes up. Disconnect the motor and the bug comes back down.</p>
<p>Click the picture for a video.</p>
<p>Â Â Â Â Â Â  <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/04/pidy_0001.wmv"><img src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/04/imgp0960a.JPG" alt="Spider" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://cratel.wichita.edu/blogs/tommcguire/2007/04/21/a-scary-spider/feed/</wfw:commentRss>
<enclosure url="http://cratel.wichita.edu/blogs/tommcguire/files/2007/04/pidy_0001.wmv" length="0" type="video/asf" />
		</item>
		<item>
		<title>Slap Stick</title>
		<link>http://cratel.wichita.edu/blogs/tommcguire/2007/04/17/slap-stick/</link>
		<comments>http://cratel.wichita.edu/blogs/tommcguire/2007/04/17/slap-stick/#comments</comments>
		<pubDate>Wed, 18 Apr 2007 00:48:24 +0000</pubDate>
		<dc:creator>tommcguire</dc:creator>
		
		<category><![CDATA[Simple Fun]]></category>

		<guid isPermaLink="false">http://cratel.wichita.edu/blogs/tommcguire/2007/04/17/slap-stick/</guid>
		<description><![CDATA[Â Â Â  Sometimes you just want to smack something. Ya know what I mean. Don&#8217;t take it personal. It&#8217;s real easy to do. If you want to make some noise or knock something over just stick a stick on a motor shaft and let fly. A word of caution once the motor stops turning don&#8217;t leave [...]]]></description>
			<content:encoded><![CDATA[<p>Â Â Â  Sometimes you just want to smack something. Ya know what I mean. Don&#8217;t take it personal. It&#8217;s real easy to do. If you want to make some noise or knock something over just stick a stick on a motor shaft and let fly. A word of caution once the motor stops turning don&#8217;t leave the battery connected too long. It may smoke.</p>
<p>Click for video:</p>
<p>Â Â Â Â  Â Â Â Â Â Â  <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/04/slapstick.wmv" title="Slapstick"><img src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/04/slap.JPG" alt="SlapPict" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://cratel.wichita.edu/blogs/tommcguire/2007/04/17/slap-stick/feed/</wfw:commentRss>
<enclosure url="http://cratel.wichita.edu/blogs/tommcguire/files/2007/04/slapstick.wmv" length="0" type="video/asf" />
		</item>
		<item>
		<title>Extra Memory EEPROM for the Logochip</title>
		<link>http://cratel.wichita.edu/blogs/tommcguire/2007/04/15/extra-memory-eeprom-for-the-logochip/</link>
		<comments>http://cratel.wichita.edu/blogs/tommcguire/2007/04/15/extra-memory-eeprom-for-the-logochip/#comments</comments>
		<pubDate>Sun, 15 Apr 2007 18:34:32 +0000</pubDate>
		<dc:creator>tommcguire</dc:creator>
		
		<category><![CDATA[Logochip]]></category>

		<guid isPermaLink="false">http://cratel.wichita.edu/blogs/tommcguire/2007/04/15/extra-memory-eeprom-for-the-logochip/</guid>
		<description><![CDATA[Using the lab notes from Prof. Robbie Berg I hooked up a memory chip to a Logochip using an I2C interface. So if somebody would want their Logochip to remember a bunch of numbers like a data pattern or say an audio track this could help. It could also be helpful if you wanted to [...]]]></description>
			<content:encoded><![CDATA[<p><font size="2">Using the lab notes from Prof. Robbie Berg I hooked up a memory chip to a Logochip using an I2C interface. So if somebody would want their Logochip to remember a bunch of numbers like <u>a data pattern </u>or say <u>an audio track</u> this could help. It could also be helpful if you wanted to use another device that had an I^2C (also called&#8221;2 WIRE&#8221;) interface. Memory is saved when the power is off too. The PDF formatting of his lab notes kind of screwed the line feeds so I tried to tidy things up. But itâ€™s real easy to hook up. The part only costs a buck. You can paste this code in, load, and go. Might be a good thing to put in the wiki.</font></p>
<p><font size="2">Â  <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/04/eeprom.jpg" title="LogoEEPROM"><img width="492" src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/04/eeprom.jpg" alt="LogoEEPROM" height="406" /></a>Â  </font></p>
<p><font size="2"><font size="2" color="#231f20" face="Helvetica"><span></span></font></font><font size="2"><font size="2" color="#231f20" face="Helvetica"><span></span></font><strong><font size="4" color="#000000" face="Times New Roman"><span>Logo code for reading and writing data to a 24LC64</span></font></strong><font size="4" color="#000000" face="Times New Roman"><span>The Logo code below (also stored in the course conference is the file called</span></font><font size="4" color="#000000" face="Times New Roman"><span>eeprom.txt) contains the procedures needed for a <span class="SpellE">LogoChip</span> to be able to write and read data to and from a 24LC64.</span></font><font size="4" color="#000000" face="Times New Roman"><span>To write a byte of data to the 24LC64 use</span></font><span class="GramE"><font size="3" color="#000000" face="Courier"><span>write-<span class="SpellE">eeprom</span></span></font></span><font color="#000000" face="Courier"><span> </span></font><font size="4" color="#000000" face="Courier"><span>&lt;address&gt; &lt;value&gt;</span></font><span class="GramE"><font size="4" color="#000000" face="Times New Roman"><span>where</span></font></span><font size="4" color="#000000"><span> </span></font><em><font size="4" color="#000000" face="Courier New"><span>&lt;address&gt; </span></font></em><font size="4" color="#000000"><span>is an integer from 0 to 8191 and </span></font><em><font size="4" color="#000000" face="Courier New"><span>&lt;value&gt; </span></font></em><font size="4" color="#000000"><span>is an integer from 0 to 255.</span></font><font size="3" color="#000000" face="Symbol"><span>â€¢ </span></font><font size="4" color="#000000"><span>For example try</span></font><span class="GramE"><font size="4" color="#000000" face="Courier New"><span>write-<span class="SpellE">eeprom</span></span></font></span><font size="4" color="#000000" face="Courier New"><span> 100 57</span></font><font size="4" color="#000000" face="Times New Roman"><span>This command stores the number 57 in memory location 100 in the 24LC64</span></font><font size="4" color="#000000" face="Times New Roman"><span>Â </span></font></font><font size="4" color="#000000" face="Times New Roman"><span><font size="4" color="#000000" face="Times New Roman"><span>To read a byte of data from the 24LC64 use</span></font><span class="GramE"><font size="4" color="#000000" face="Courier New"><span>read-<span class="SpellE">eeprom</span></span></font></span><font size="4" color="#000000" face="Courier New"><span> <em><span>&lt;address&gt;</span></em></span></font><span class="GramE"><font size="4" color="#000000" face="Times New Roman"><span>where</span></font></span><font size="4" color="#000000"><span> </span></font><em><font size="4" color="#000000" face="Courier New"><span>&lt;address&gt; </span></font></em><font size="4" color="#000000"><span>is an integer from 0 to 8191 and </span></font><em><font size="4" color="#000000" face="Courier New"><span>&lt;value&gt; </span></font></em><font size="4" color="#000000"><span>is an integer from 0 to 255.</span></font><font size="3" color="#000000" face="Symbol"><span>â€¢ </span></font><font size="4" color="#000000"><span>If you try</span></font><span class="GramE"><font size="4" color="#000000" face="Courier New"><span>print</span></font></span><font size="4" color="#000000" face="Courier New"><span> read-<span class="SpellE">eeprom</span> 100</span></font><span class="GramE"><font size="4" color="#000000" face="Times New Roman"><span>you</span></font></span><font size="4" color="#000000"><span> should see the number 57 print in monitor window.</span></font><font size="2" color="#000000"><span></span></font><font size="3" face="Times New Roman"><span><br />
</span></font></span></font><font size="4" color="#000000" face="Times New Roman"><span>Here&#8217;s the code:</p>
<p></span></font><font size="2" face="Arial">Â Â Â Â Â Â Â Â Â Â Â Â Â  <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/04/logoeeprom.txt" title="LogoEEPROMcode"><img src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/03/textpage.jpg" alt="TextPage" /></a>Â </font></p>
]]></content:encoded>
			<wfw:commentRss>http://cratel.wichita.edu/blogs/tommcguire/2007/04/15/extra-memory-eeprom-for-the-logochip/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flying in Circles</title>
		<link>http://cratel.wichita.edu/blogs/tommcguire/2007/04/13/flying-in-circles/</link>
		<comments>http://cratel.wichita.edu/blogs/tommcguire/2007/04/13/flying-in-circles/#comments</comments>
		<pubDate>Sat, 14 Apr 2007 03:26:01 +0000</pubDate>
		<dc:creator>tommcguire</dc:creator>
		
		<category><![CDATA[Simple Fun]]></category>

		<guid isPermaLink="false">http://cratel.wichita.edu/blogs/tommcguire/2007/04/13/flying-in-circles/</guid>
		<description><![CDATA[Here&#8217;s something that was popular a few years ago. You could have a pot of flowers with a bumble bee or a butterfly flittering around it. It&#8217;s a neat tick. Mount a toy motor in the middle of the flowers. A wheel mounted on the motor shaftÂ has a small hole drilled off center. A thin [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s something that was popular a few years ago. You could have a pot of flowers with a bumble bee or a butterfly flittering around it. It&#8217;s a neat tick. Mount a toy motor in the middle of the flowers. A wheel mounted on the motor shaftÂ has a small hole drilled off center. A thin wire stuck in the hole extends out to the bug. Click this picture for a video.</p>
<p>Â Â Â Â Â Â Â Â Â Â Â Â Â Â  <a target="_blank" href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/04/fliteringbug.wmv" title="Fluterby"><img width="372" src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/04/imgp0927a.JPG" alt="Fluterby" height="245" /></a>Â Â Â </p>
]]></content:encoded>
			<wfw:commentRss>http://cratel.wichita.edu/blogs/tommcguire/2007/04/13/flying-in-circles/feed/</wfw:commentRss>
<enclosure url="http://cratel.wichita.edu/blogs/tommcguire/files/2007/04/fliteringbug.wmv" length="0" type="video/asf" />
		</item>
		<item>
		<title>More Than One LCD&#8230;LCD&#8230;LCD</title>
		<link>http://cratel.wichita.edu/blogs/tommcguire/2007/04/12/more-than-one-lcdlcdlcd/</link>
		<comments>http://cratel.wichita.edu/blogs/tommcguire/2007/04/12/more-than-one-lcdlcdlcd/#comments</comments>
		<pubDate>Fri, 13 Apr 2007 03:00:11 +0000</pubDate>
		<dc:creator>tommcguire</dc:creator>
		
		<category><![CDATA[Logochip]]></category>

		<guid isPermaLink="false">http://cratel.wichita.edu/blogs/tommcguire/2007/04/12/more-than-one-lcdlcdlcd/</guid>
		<description><![CDATA[This is in response to a previous error and also to make sure that parallel data lines to multiple LCD modules would work. I haven&#8217;t built the whole circuit but enough to conferm that it will work. Earlier I posted a schematic if a single line LCD module that had pin 3 grounded and it [...]]]></description>
			<content:encoded><![CDATA[<p>This is in response to a previous error and also to make sure that parallel data lines to multiple LCD modules would work. I haven&#8217;t built the whole circuit but enough to conferm that it will work. Earlier I posted a schematic if a single line LCD module that had pin 3 grounded and it should have been tied high. Here&#8217;s a picture ofÂ what I wired up:</p>
<p>Â Â Â Â Â Â Â  <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/01/imgp0761.JPG" title="WD-C2401P"><img width="308" src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/01/imgp0761.thumbnail.JPG" alt="WD-C2401P" height="208" /></a>Â Â Â </p>
<p>And here is a schematic of a Logochip and 3 LCD Modules wired up to it:</p>
<p>Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â Â Â Â Â  <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/04/lcdddd.jpg" title="schem"><img src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/03/schem.jpg" alt="Schem" /></a></p>
<p>And here is some code that sets up the Logochip and initializes the LCDs and prints aome characters on each LCD.</p>
<p>Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/04/lcd3.txt" title="code"><img src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/03/textpage.jpg" alt="TextPage" /></a>Â Â Â </p>
<p>Here are some links to more useful information on the LCD Modules</p>
<p>Â Â Â Â Â Â Â  <a href="http://www.serialwombat.com/parts/LCD-111.pdf" title="LCD-111">A real crummy copy of the manule (LCD-111)</a></p>
<p>Â Â Â Â Â Â  <a href="http://www.serialwombat.com/parts/hd66717.pdf" title="hd66717">More info than you want to know about the LCD controller</a></p>
<p>Â Â Â Â Â  <a href="http://www.serialwombat.com/channel_mode_lcd111.htm" title="SerialWombat">A site with other applications using this LCD display</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cratel.wichita.edu/blogs/tommcguire/2007/04/12/more-than-one-lcdlcdlcd/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A Flexable Joint</title>
		<link>http://cratel.wichita.edu/blogs/tommcguire/2007/04/10/a-flexable-joint/</link>
		<comments>http://cratel.wichita.edu/blogs/tommcguire/2007/04/10/a-flexable-joint/#comments</comments>
		<pubDate>Tue, 10 Apr 2007 13:37:23 +0000</pubDate>
		<dc:creator>tommcguire</dc:creator>
		
		<category><![CDATA[Simple Fun]]></category>

		<guid isPermaLink="false">http://cratel.wichita.edu/blogs/tommcguire/2007/04/10/a-flexable-joint/</guid>
		<description><![CDATA[Â Â Â Â Â Â Â Â Â  You can make any sort of flexible joint move with a little gear driven motor out of a toy robot or car.Â  Just wrap some fishing line around the drive wheel and then thread it up and around the joint. You can run one string through several joints. Here I made a worm out [...]]]></description>
			<content:encoded><![CDATA[<p>Â Â Â Â Â Â Â Â Â  You can make any sort of flexible joint move with a little gear driven motor out of a toy robot or car.Â  Just wrap some fishing line around the drive wheel and then thread it up and around the joint. You can run one string through several joints. Here I made a worm out of sections of pink foam plastic and then taped them together.Â </p>
<p>Click the picture to see it work.</p>
<p>Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â <a href="http://cratel.wichita.edu/blogs/tommcguire/files/2007/03/artcampworm.wmv" title="Worm"><img width="481" src="http://cratel.wichita.edu/blogs/tommcguire/files/2007/03/worm.JPG" alt="artworm" height="238" /></a>Â </p>
]]></content:encoded>
			<wfw:commentRss>http://cratel.wichita.edu/blogs/tommcguire/2007/04/10/a-flexable-joint/feed/</wfw:commentRss>
<enclosure url="http://cratel.wichita.edu/blogs/tommcguire/files/2007/03/artcampworm.wmv" length="0" type="video/asf" />
		</item>
	</channel>
</rss>
