<?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>Larry&#039;s Blog &#187; Experiments</title>
	<atom:link href="http://sketchbooks.com/blog/category/experiments/feed/" rel="self" type="application/rss+xml" />
	<link>http://sketchbooks.com/blog</link>
	<description>Larry Keegan of Stoneham, MA.</description>
	<lastBuildDate>Mon, 18 Jan 2010 07:10:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CLOCK  ESCAPEMENT</title>
		<link>http://sketchbooks.com/blog/2007/02/clock-escapement/</link>
		<comments>http://sketchbooks.com/blog/2007/02/clock-escapement/#comments</comments>
		<pubDate>Tue, 27 Feb 2007 22:08:03 +0000</pubDate>
		<dc:creator>larrykeegan</dc:creator>
				<category><![CDATA[Experiments]]></category>

		<guid isPermaLink="false">http://sketchbooks.com/blog/wordpress/?p=65</guid>
		<description><![CDATA[Here is a look at my Verge &#038; Foliot escapement
in action


]]></description>
			<content:encoded><![CDATA[<p>Here is a look at my Verge &#038; Foliot escapement<br />
in action<br />
<object<br />
width="425" height="350"><param name="movie"<br />
value="http://www.youtube.com/v/YZE_34NTkZ8"></param>
<embed src="http://www.youtube.com/v/YZE_34NTkZ8"<br />
type="application/x-shockwave-flash" width="425" height="350"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://sketchbooks.com/blog/2007/02/clock-escapement/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>KEYBOARD INTERFACE FOR MICROCONTROLLER</title>
		<link>http://sketchbooks.com/blog/2006/02/keyboard-interface-for-microcontroller/</link>
		<comments>http://sketchbooks.com/blog/2006/02/keyboard-interface-for-microcontroller/#comments</comments>
		<pubDate>Sun, 26 Feb 2006 20:23:50 +0000</pubDate>
		<dc:creator>larrykeegan</dc:creator>
				<category><![CDATA[Experiments]]></category>

		<guid isPermaLink="false">http://sketchbooks.com/blog/wordpress/?p=60</guid>
		<description><![CDATA[Here is a look at how I am hooking up a PC KEYBOARD to my microcontroller &#8211; the PIC16F628.

I found an article on the inernet that explained the protocol of a PC keyboard. Not as bad as I thought! Only 2 lines for CLOCK and DATA. Other 2 lines for +5 volts and a return. [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a look at how I am hooking up a PC KEYBOARD to my microcontroller &#8211; the PIC16F628.<br />
<img alt="KEYBOARD" src="http://sketchbooks.com/blog/archives/KEYBOARD" width="406" height="228" border="0" /><br />
I found an article on the inernet that explained the protocol of a PC keyboard. Not as bad as I thought! Only 2 lines for CLOCK and DATA. Other 2 lines for +5 volts and a return.  The keyboard sends serially, but not the asciii codes themselvesw, but scan codes, which have to be translated. I had to do a lot of debugging of my code but I&#8217;m having success now.<br />
I can also display alphanumeric data on my LCD, make it blink, and have it  rotate across the screen.  Much fun!!</p>
]]></content:encoded>
			<wfw:commentRss>http://sketchbooks.com/blog/2006/02/keyboard-interface-for-microcontroller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ALPHANUMERIC LCD DISPLAY</title>
		<link>http://sketchbooks.com/blog/2006/02/alphanumeric-lcd-display/</link>
		<comments>http://sketchbooks.com/blog/2006/02/alphanumeric-lcd-display/#comments</comments>
		<pubDate>Thu, 09 Feb 2006 14:53:53 +0000</pubDate>
		<dc:creator>larrykeegan</dc:creator>
				<category><![CDATA[Experiments]]></category>

		<guid isPermaLink="false">http://sketchbooks.com/blog/wordpress/?p=59</guid>
		<description><![CDATA[SUCCESS with programming my alphanumeric LCD display!!!

]]></description>
			<content:encoded><![CDATA[<p>SUCCESS with programming my alphanumeric LCD display!!!<br />
<img alt="hello world.jpg" src="http://sketchbooks.com/blog/archives/hello world.jpg" width="500" height="375" border="0" /></p>
]]></content:encoded>
			<wfw:commentRss>http://sketchbooks.com/blog/2006/02/alphanumeric-lcd-display/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FERROMAGNETIC CORE MEMORY</title>
		<link>http://sketchbooks.com/blog/2006/01/ferromagnetic-core-memory/</link>
		<comments>http://sketchbooks.com/blog/2006/01/ferromagnetic-core-memory/#comments</comments>
		<pubDate>Fri, 27 Jan 2006 19:45:25 +0000</pubDate>
		<dc:creator>larrykeegan</dc:creator>
				<category><![CDATA[Experiments]]></category>

		<guid isPermaLink="false">http://sketchbooks.com/blog/wordpress/?p=55</guid>
		<description><![CDATA[Here is a picture of setup for experimenting with Ferromagnetic Core Memory.
On the left you will see a composition electronic card containing ferrite cores
which have been cemented right in the card.  I have removed all the original wires from it. The next circuit to the right of it is a latching circuit with an [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a picture of setup for experimenting with Ferromagnetic Core Memory.<br />
On the left you will see a composition electronic card containing ferrite cores<br />
which have been cemented right in the card.  I have removed all the original wires from it. The next circuit to the right of it is a latching circuit with an LED which is designed to latch a signal coming in on the sense wire. There is other circuitry for  the WRITE signal which magnetizes the core in one or the other polarity.<br />
<img alt="magnets.jpg" src="http://sketchbooks.com/blog/archives/magnets.jpg" width="499" height="358" border="0" /></p>
<p><span id="more-55"></span><br />
My purpose in doing these experiments is not for any practical reason such as using the core memory for data storage.  Computer memory storage is already very much available today.  But  I wish to implement all the steps that are used in reading and writing this kind of memory. I have already a long list of terms and phenomena that are connected with magnetism in general, and ferrite cores in particular.<br />
Hysteresis loop, domains, permeability, saturation, flux density, residual magnetism. A few years back, I was excited to learn that magnetism lies within the electromagnetic  force, and actually stems from the spin of electrons in atoms, in very small areas called domains. In certain materials, the electrons can be forced to have the same spin, and this produces the magnetic force.<br />
I am really excited in this new study and want to learn all about it. I might mention here coincident current, which is used to write to a particular core in a memory, by sending part of magnetizing current on one wire and part of it on another.  Only where the 2 currents cross, is the threshold reached which is adequate to flip the core to the desired polarity.<br />
Any way, there will be more!</p>
]]></content:encoded>
			<wfw:commentRss>http://sketchbooks.com/blog/2006/01/ferromagnetic-core-memory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SUCCESS  WITH  A/D !!</title>
		<link>http://sketchbooks.com/blog/2005/07/success-with-ad/</link>
		<comments>http://sketchbooks.com/blog/2005/07/success-with-ad/#comments</comments>
		<pubDate>Mon, 25 Jul 2005 21:40:13 +0000</pubDate>
		<dc:creator>larrykeegan</dc:creator>
				<category><![CDATA[Experiments]]></category>

		<guid isPermaLink="false">http://sketchbooks.com/blog/wordpress/?p=53</guid>
		<description><![CDATA[I set up a circuit using one of my PIC microcontrollers to control an ADC0804LCN analog to digiital conversion chip. I measured the voltage on 2 AA batteries I had lying around.  When I measured the batteries in series with my voltmeter, I got 2.81 volts. So after considerable circuit debugging and also debugging [...]]]></description>
			<content:encoded><![CDATA[<p>I set up a circuit using one of my PIC microcontrollers to control an ADC0804LCN analog to digiital conversion chip. I measured the voltage on 2 AA batteries I had lying around.  When I measured the batteries in series with my voltmeter, I got 2.81 volts. So after considerable circuit debugging and also debugging of my simple PIC program called ADPGM.ASM, I got the output which for the time was displayed in 8 LEDs.  The output was as follows:<br />
&#8212;MSB&#8212;&#8212;&#8212;-LSB<br />
&#8212;-1 0 0 1 0 0 0 1&#8212;&#8211;<br />
In decimal that is 145.  So:<br />
&#8212;&#8211;145&#8212;- &#8212;X&#8212;&#8211;<br />
&#8212;&#8212;&#8212;&#8212; = &#8212;&#8212;&#8212;&#8212;&#8212;and X =  2.84<br />
&#8212;&#8211;255&#8212; &#8212;-5&#8212;&#8211;<br />
Not bad !   My A/D chip can make a conversion in 100 usecs. So if I allow about 25 usecs for my computer pgm to store each sample voltage of an incoming signal, I could take 8000 samples a second !!!!  Of course, my PIC program controls the number of samples I choose to take.  I will be using this A/D converter to analyze speech and compare spoken words to some kind of template for comparing and identifying the words.</p>
]]></content:encoded>
			<wfw:commentRss>http://sketchbooks.com/blog/2005/07/success-with-ad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SPEECH  RECOGNITION</title>
		<link>http://sketchbooks.com/blog/2005/07/speech-recognition/</link>
		<comments>http://sketchbooks.com/blog/2005/07/speech-recognition/#comments</comments>
		<pubDate>Thu, 14 Jul 2005 21:43:35 +0000</pubDate>
		<dc:creator>larrykeegan</dc:creator>
				<category><![CDATA[Experiments]]></category>

		<guid isPermaLink="false">http://sketchbooks.com/blog/wordpress/?p=51</guid>
		<description><![CDATA[Well, I was looking for a new project, and decided I would use several PIC microcontrollers  connected together.  There would be some kinds of displays which would show menus to the users  But the main thing would be that the computer would talk to the user, and the user would reply by [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I was looking for a new project, and decided I would use several PIC microcontrollers  connected together.  There would be some kinds of displays which would show menus to the users  But the main thing would be that the computer would talk to the user, and the user would reply by voice.<br />
So I have already mastered using the Chipcorder with which the computer can voice a variety of messages. But I also want the computer to be able to recognize &#8220;yes&#8221;, &#8220;no&#8221; and maybe up to a dozen words and numbers.<br />
So what is SPEECH RECOGNITION ?</p>
<p><span id="more-51"></span><br />
Well, it entails accepting words spoken into a microphone, which will then be somehow processed electronically. So the analog sounds can be amplified and some kind of comparison made with a previously recorded template of some kind.  One approach is to identify phonemes of which there are about 40 in the English language. Phonemes are the basic vowel and consonant sounds like oo,ah oh,ee, uh and k,t,p,ch,z,s sounds.  Now I suspect my best tool for  speech recognition will be DSP (digital signal processing).  This involves changing the analog sounds to digitized form.  It has been found that any analog values like<br />
temperature, pressure, voltage can be processed much more effectively when they have been digitized. One computer byte of data has a binary range of value of from 0 to 255. So 2.5 volts on a scale of  5 volts might  become a byte value of 127.  After computer processing, the values can be changed back to regular voltage values.<br />
So with analog sounds, we can digitize by taking numerous samples of the familiar waveforms. Sometimes it is hard to believe that the sounds of an entire symphony orchestra can be carried in a complex analog wave form.  This sound<br />
can evidently be effiiciently sampled and digitized as we realize when we listen to music on our IPOD.<br />
I plan to experiment using my PIC microcontroller to sample sound signatures and find ways of comparing the digitized templates. It may even get to a case of pattern recogniton, since you can hardly expect to find exact matches. But it will be fun seeing what I find out.<br />
I have already found there is a 40 pin speech recogniton chip for about $10. I may eventually wind up with something like that, but even setting that up will be  very challenging as far as hardware and software implementation.<br />
I&#8217;ll let everyone know if I am having fun with this next project.</p>
]]></content:encoded>
			<wfw:commentRss>http://sketchbooks.com/blog/2005/07/speech-recognition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GRAPHIC  LCD  IMAGES</title>
		<link>http://sketchbooks.com/blog/2005/07/graphic-lcd-images/</link>
		<comments>http://sketchbooks.com/blog/2005/07/graphic-lcd-images/#comments</comments>
		<pubDate>Sun, 10 Jul 2005 12:33:04 +0000</pubDate>
		<dc:creator>larrykeegan</dc:creator>
				<category><![CDATA[Experiments]]></category>

		<guid isPermaLink="false">http://sketchbooks.com/blog/wordpress/?p=50</guid>
		<description><![CDATA[Here are some images I&#8217;ve generated on my
64 X 128 Graphic LCD



]]></description>
			<content:encoded><![CDATA[<p>Here are some images I&#8217;ve generated on my<br />
64 X 128 Graphic LCD<br />
<img alt="sqrs.JPG" src="http://sketchbooks.com/blog/archives/sqrs.JPG" width="199" height="161" border="0" /><br />
<img alt="diag.JPG" src="http://sketchbooks.com/blog/archives/diag.JPG" width="183" height="198" border="0" /><br />
<img alt="sqrwv.JPG" src="http://sketchbooks.com/blog/archives/sqrwv.JPG" width="199" height="138" border="0" /></p>
]]></content:encoded>
			<wfw:commentRss>http://sketchbooks.com/blog/2005/07/graphic-lcd-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HANDHELD INFRARED REMOTES AND  THE BINARY CODES</title>
		<link>http://sketchbooks.com/blog/2005/05/handheld-infrared-remotes-and-the-binary-codes/</link>
		<comments>http://sketchbooks.com/blog/2005/05/handheld-infrared-remotes-and-the-binary-codes/#comments</comments>
		<pubDate>Fri, 20 May 2005 07:41:00 +0000</pubDate>
		<dc:creator>larrykeegan</dc:creator>
				<category><![CDATA[Experiments]]></category>

		<guid isPermaLink="false">http://sketchbooks.com/blog/wordpress/?p=46</guid>
		<description><![CDATA[I have been using the PIC microcontroller to read the codes sent out from handheld remotes. I was even inspired to construct a maching that woulkd print out the various codes when I pressed one of the buttons on the remote. Here it is!


I got involved with this recently when Harold Parker of Parker Products [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using the PIC microcontroller to read the codes sent out from handheld remotes. I was even inspired to construct a maching that woulkd print out the various codes when I pressed one of the buttons on the remote. Here it is!<br />
<img alt="remote.JPG" src="http://sketchbooks.com/blog/archives/remote.JPG" width="216" height="202" border="0" /></p>
<p><span id="more-46"></span><br />
I got involved with this recently when Harold Parker of Parker Products in Reading, MA gave me a handheld remote and an IR receiver on a very small board to play with.  I also found a good article in SERVO magazine for January 2005 on this subject. The IR signals are modulated on a 38khz carrier so that other stray signals can be filtered out. Other carrier frequencies are also used.<br />
One favorite mode of sending the codes is PWM (pulse width modulation). In this method the 0&#8217;s are send as a 400 usec pulse and the 1&#8217;s are sent as a 1200 usec pulse. I programmed my PIC microcontroller to read these pulses and store the resulting data in memory. Note that this takes place in about 40 msecs. Once I have stored the data I can display it at my lesure with any means available.  With my machine I chose to print out a red line on a strip of paper. Below is a sample.<br />
<img alt="codes.jpg" src="http://sketchbooks.com/blog/archives/codes.jpg" width="400" height="112" border="0" /></p>
]]></content:encoded>
			<wfw:commentRss>http://sketchbooks.com/blog/2005/05/handheld-infrared-remotes-and-the-binary-codes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CREATING BELL SOUNDS</title>
		<link>http://sketchbooks.com/blog/2005/04/creating-bell-sounds/</link>
		<comments>http://sketchbooks.com/blog/2005/04/creating-bell-sounds/#comments</comments>
		<pubDate>Sat, 30 Apr 2005 09:38:45 +0000</pubDate>
		<dc:creator>larrykeegan</dc:creator>
				<category><![CDATA[Experiments]]></category>

		<guid isPermaLink="false">http://sketchbooks.com/blog/wordpress/?p=45</guid>
		<description><![CDATA[Just yesterday I determined to find a way of producingelectronic bell sounds.
There are some challenges here. A bell sound is a damped oscillation, that is,  the frequency remains the same but the amplitude diminishes to zero. Also, can I use simple square wave for frequency or do I have to produce a sine wave?
There [...]]]></description>
			<content:encoded><![CDATA[<p>Just yesterday I determined to find a way of producingelectronic bell sounds.<br />
There are some challenges here. A bell sound is a damped oscillation, that is,  the frequency remains the same but the amplitude diminishes to zero. Also, can I use simple square wave for frequency or do I have to produce a sine wave?<br />
There is also the question of attack. I believe this is the high amplitude of the beginning of the bell sound.</p>
<p><span id="more-45"></span><br />
What I invision are some very loud speakers and effectivey an electronic carillon system. Other challenges will be to set up one or more of my PIC microcontrollers  to generate the original frequencies for different tones, and signals to drive relays that will turn power on and off in parts of the circuit to achieve the decay. I will be working with a range of big fat electrolytic capacitors<br />
to provide a source of diminishing power when the main power is removed.<br />
I will display some of my circuits as I go along. Eventually I hope to present some sound clips here on my blog. This should really be fun!!</p>
]]></content:encoded>
			<wfw:commentRss>http://sketchbooks.com/blog/2005/04/creating-bell-sounds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PROXIMITY DETECTION FOR ROBOTS</title>
		<link>http://sketchbooks.com/blog/2004/07/proximity-detection-for-robots/</link>
		<comments>http://sketchbooks.com/blog/2004/07/proximity-detection-for-robots/#comments</comments>
		<pubDate>Sun, 11 Jul 2004 12:25:38 +0000</pubDate>
		<dc:creator>larrykeegan</dc:creator>
				<category><![CDATA[Experiments]]></category>

		<guid isPermaLink="false">http://sketchbooks.com/blog/wordpress/?p=39</guid>
		<description><![CDATA[Here is an e-mail I just sent to my friend George Gallant
all about a new area for me:
OBJECT DETECTION AND AVOIDANCE FOR ROBOTS

hi George
Last night I was writing some notes in my
journal and when I headed back to bed I
was saying to myself
&#8220;Larry Keegan &#8211;  welcome to the world
of object detection and avoidance,
distance measuring,
wall-following [...]]]></description>
			<content:encoded><![CDATA[<p>Here is an e-mail I just sent to my friend George Gallant<br />
all about a new area for me:<br />
OBJECT DETECTION AND AVOIDANCE FOR ROBOTS</p>
<p><span id="more-39"></span><br />
hi George<br />
Last night I was writing some notes in my<br />
journal and when I headed back to bed I<br />
was saying to myself<br />
&#8220;Larry Keegan &#8211;  welcome to the world<br />
of object detection and avoidance,<br />
distance measuring,<br />
wall-following and  room corner navigating!!&#8221;<br />
What I suddenly had a vision of was endless<br />
complexities of working with 1,2 or 3 or more sensors<br />
and the possible motions of the robot in identifying<br />
and avoiding objects.<br />
Yesterday I had just received in the mail<br />
4 Sharp GP2Y0D340K sensors. You may be familiar with<br />
this. It goes active low when it encounters an<br />
object less than 40 centimeters in front of it.<br />
I soldered one to a PC board, added a couple of components<br />
and it tested nicely (but not hooked up to a robot yet).<br />
What you have already been dealing with is<br />
the vast amounts of software and accompanying algorithms<br />
that may be necessary to utilize the sensing signals<br />
and determine on a course of action for the robot.<br />
There is also the possibility of one rotating sensing element<br />
and the  corresponding calculations that would be necessary<br />
to ascertain the existing environment.<br />
It also occurred to me that this might be an excellent area<br />
for pattern recognition and neural network technology<br />
which I have dabbled in years past.<br />
After all this I will probably start out with a single<br />
sensor up front, but I foresee a more practical<br />
arrangement will be 3 sensors in front pointed in different<br />
directions.<br />
Well, George, if you don&#8217;t mind I am going to throw this whole letter<br />
out onto my BLOG, to let people interested know where I am<br />
with the robots these days<br />
Maybe you will share with me just how big a deal this business<br />
of sensing obstructions and walls and mazes has been for you<br />
and your sophisticated robot.<br />
Hoping to hear from you,<br />
Larry Keegan in Stoneham,MA</p>
]]></content:encoded>
			<wfw:commentRss>http://sketchbooks.com/blog/2004/07/proximity-detection-for-robots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
