<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2105153139695571936</id><updated>2012-02-16T03:53:05.722-08:00</updated><title type='text'>Musings and Hobbies</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://musingsandhobbies.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2105153139695571936/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://musingsandhobbies.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Nikita Nicholas</name><uri>https://profiles.google.com/109905271719708679606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-blGCHA21iNk/AAAAAAAAAAI/AAAAAAAAAYs/5Xe4PaGbhL4/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2105153139695571936.post-1187687476658126172</id><published>2010-07-18T20:12:00.001-07:00</published><updated>2010-08-01T04:32:29.022-07:00</updated><title type='text'>Recycled Volvo Amps provide 130 watts of sonic power for the desktop</title><content type='html'>&lt;img src="http://4.bp.blogspot.com/_zFUJ-wz948U/TEPDUGTa7tI/AAAAAAAAAOk/S8LB9PCmz00/s320/DSC03227.JPG" style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 240px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5495450720379006674" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;A couple weeks ago I was cleaning my garage and came across these Volvo amplifiers from my 86 Volvo 760 (wonderful car worth every penny!)  I was about to trash them but I decided to build a portable desktop power amplifier. &lt;br /&gt;The smaller amplifier is HA-3121 and rated at 25 Watts per channel, the rear amplifier HA-3141 is rated 40 watts per channel.  Ok, a 130 watts desktop power amplifier!&lt;br /&gt;Since I was in the recycling mood I salvage an assortment of RCA inputs, speaker connectors, switches, LEDs, from my garage cleanup.  I also used rails and nuts and bolts left over from my flat panel TV mount.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;I temporarily hook up all the wires to a 12 volt wall transformer and was disappointed that nothing works (very low current). I then quickly connect a 12 automotive battery and only the HA-3141 came alive, the HA-3121 did not. The problem was traced to a faulty relay, probably the reason the amps were out of the car in the first place. A few taps on the relay and a few minutes of activating deactivating it and now the relay works trouble free.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_zFUJ-wz948U/TEPFc9Oli7I/AAAAAAAAAO0/Wk1fzI5pBos/s1600/DSC03232.JPG"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_zFUJ-wz948U/TEPFc9Oli7I/AAAAAAAAAO0/Wk1fzI5pBos/s320/DSC03232.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5495453071584889778" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_zFUJ-wz948U/TEPF3PHG_VI/AAAAAAAAAO8/nlph6IW-HY8/s1600/DSC03233.JPG"&gt;&lt;img style="float:right; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_zFUJ-wz948U/TEPF3PHG_VI/AAAAAAAAAO8/nlph6IW-HY8/s320/DSC03233.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5495453523061964114" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;Bolted the rails to the main power amp. &lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_zFUJ-wz948U/TEPGFPUvoYI/AAAAAAAAAPE/q5NuLJD6vrI/s1600/DSC03236.JPG"&gt;&lt;img style="float:right; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_zFUJ-wz948U/TEPGFPUvoYI/AAAAAAAAAPE/q5NuLJD6vrI/s320/DSC03236.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5495453763637322114" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;Bolted the secondary amp to the main amp.  The main amp had a mounting plate allows for a 1/4 inch air gap. &lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_zFUJ-wz948U/TEPGSClpGaI/AAAAAAAAAPM/25iVUpsA1Hk/s1600/DSC03237.JPG"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_zFUJ-wz948U/TEPGSClpGaI/AAAAAAAAAPM/25iVUpsA1Hk/s320/DSC03237.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5495453983556835746" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_zFUJ-wz948U/TEPGb8ic8zI/AAAAAAAAAPU/NfwvodQFlyo/s1600/DSC03240.JPG"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_zFUJ-wz948U/TEPGb8ic8zI/AAAAAAAAAPU/NfwvodQFlyo/s320/DSC03240.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5495454153731535666" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_zFUJ-wz948U/TEPGnb_1BgI/AAAAAAAAAPc/pTM3KNzRELA/s1600/DSC03241.JPG"&gt;&lt;img style="float:right; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_zFUJ-wz948U/TEPGnb_1BgI/AAAAAAAAAPc/pTM3KNzRELA/s320/DSC03241.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5495454351154808322" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A piece of Plexiglas foundation for the input, power and output connectors.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_zFUJ-wz948U/TEPG1coezEI/AAAAAAAAAPk/so9IC_3DIPM/s1600/DSC03243.JPG"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_zFUJ-wz948U/TEPG1coezEI/AAAAAAAAAPk/so9IC_3DIPM/s320/DSC03243.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5495454591843486786" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_zFUJ-wz948U/TEPHCzu91wI/AAAAAAAAAPs/hEQDVj4-FgA/s1600/DSC03245.JPG"&gt;&lt;img style="float:right; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_zFUJ-wz948U/TEPHCzu91wI/AAAAAAAAAPs/hEQDVj4-FgA/s320/DSC03245.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5495454821383001858" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The 12 automotive battery provided plenty clean current which the wall transformer could not.  I hooked up my bench top power supply recycled from a computer power supply. The plans are here http://www.wikihow.com/Convert-a-Computer-ATX-Power-Supply-to-a-Lab-Power-Supply&lt;br /&gt;*** Of course be very careful when working with electricity, line voltage can and will kill!  ***&lt;br /&gt;The computer power supply yields approximately 11.7 volts plenty of oomph as I take the amplifier to max.  There is a limited amount of voltage available in an automobile (approximately 13.5 volts). This means that the amplifiers have fewer than 12 volts to apply to the speaker leads after factoring internal system resistance. If we have only 12 volts to drive into a speaker, there may not be sufficient volume output if the speaker has high impedance; therefore I wire my 8 ohms speakers in parallel for 4 ohms to maximize the output power to the speakers. (Ohm’s law)&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_zFUJ-wz948U/TEPHOrQgiMI/AAAAAAAAAP0/L1PCQKVNuAQ/s1600/DSC03256.JPG"&gt;&lt;img style="float:right; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_zFUJ-wz948U/TEPHOrQgiMI/AAAAAAAAAP0/L1PCQKVNuAQ/s320/DSC03256.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5495455025266198722" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_zFUJ-wz948U/TEPHcXGZW5I/AAAAAAAAAP8/kRUA3AM6o3I/s1600/DSC03257.JPG"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_zFUJ-wz948U/TEPHcXGZW5I/AAAAAAAAAP8/kRUA3AM6o3I/s320/DSC03257.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5495455260373244818" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Wiring for the HA-3121&lt;br /&gt;Speaker wires&lt;br /&gt;&lt;br /&gt;left output: green/yellow - &lt;br /&gt;left output: green/white +&lt;br /&gt;&lt;br /&gt;Right output: gray/yellow - &lt;br /&gt;Right output: gray/white + &lt;br /&gt;&lt;br /&gt;Power &lt;br /&gt;Yellow constant 12 Volt&lt;br /&gt;Black (thick) Negative ground&lt;br /&gt;black (small) not connected&lt;br /&gt;&lt;br /&gt;Input (shielded bundle)&lt;br /&gt;Orange 12 volt remote on &lt;br /&gt;&lt;br /&gt;left input: Blue (contains 2 wire, unshielded is negative)&lt;br /&gt;&lt;br /&gt;Right Input: Green (contains 2 wire, unshielded is negative)&lt;br /&gt;&lt;br /&gt;Ignore all other wires ( red, black etc)&lt;br /&gt;&lt;br /&gt;---------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Wiring for the HA-3141&lt;br /&gt;Speaker wires&lt;br /&gt;&lt;br /&gt;left output: Black - &lt;br /&gt;left output: Yellow +&lt;br /&gt;&lt;br /&gt;Right output: black - &lt;br /&gt;Right output: white + &lt;br /&gt;&lt;br /&gt;Power &lt;br /&gt;Yellow constant 12 Volt&lt;br /&gt;Black (thick) Negative ground&lt;br /&gt;black (small) not connected&lt;br /&gt;&lt;br /&gt;Input (shielded bundle)&lt;br /&gt;Orange 12 volt remote on &lt;br /&gt;&lt;br /&gt;left input: Blue (contains 2 wires, unshielded is negative)&lt;br /&gt;&lt;br /&gt;Right Input: Green (contains 2 wires, unshielded is negative)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ignore all other wires ( red, black etc)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;!--&lt;br /&gt;google_ad_client = "pub-2372610837540350";&lt;br /&gt;/* 300x250, created 7/21/10 */&lt;br /&gt;google_ad_slot = "3316908533";&lt;br /&gt;google_ad_width = 300;&lt;br /&gt;google_ad_height = 250;&lt;br /&gt;//--&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;script type="text/javascript"&lt;br /&gt;src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://s07.flagcounter.com/more/xPYk"&gt;&lt;img src="http://s07.flagcounter.com/count/xPYk/bg=FFFFFF/txt=000000/border=CCCCCC/columns=2/maxflags=12/viewers=0/labels=0/" alt="free counters" border="0"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2105153139695571936-1187687476658126172?l=musingsandhobbies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://musingsandhobbies.blogspot.com/feeds/1187687476658126172/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://musingsandhobbies.blogspot.com/2010/07/recycled-volvo-amps-provide-130-wats-of.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2105153139695571936/posts/default/1187687476658126172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2105153139695571936/posts/default/1187687476658126172'/><link rel='alternate' type='text/html' href='http://musingsandhobbies.blogspot.com/2010/07/recycled-volvo-amps-provide-130-wats-of.html' title='Recycled Volvo Amps provide 130 watts of sonic power for the desktop'/><author><name>Nikita Nicholas</name><uri>https://profiles.google.com/109905271719708679606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-blGCHA21iNk/AAAAAAAAAAI/AAAAAAAAAYs/5Xe4PaGbhL4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_zFUJ-wz948U/TEPDUGTa7tI/AAAAAAAAAOk/S8LB9PCmz00/s72-c/DSC03227.JPG' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2105153139695571936.post-2412990077775150728</id><published>2009-11-22T09:32:00.000-08:00</published><updated>2009-11-22T10:47:40.787-08:00</updated><title type='text'>Arduino, Vex receiver and signal splitter</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_zFUJ-wz948U/Swl1twhXTII/AAAAAAAAAMs/92HjwijK4aI/s1600/DSCI0341.JPG"&gt;&lt;img style="margin: 0px 10px 10px 0px; float: left; clear: both;" alt="" src="http://2.bp.blogspot.com/_zFUJ-wz948U/Swl1twhXTII/AAAAAAAAAMs/92HjwijK4aI/s320/DSCI0341.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Setup : The Arduino powers the vex decoder via 5v which in turn powers the vex receiver, no other external power required.&lt;br /&gt;&lt;br /&gt;5 volts is sent from the arduino to the signal splitter via the positive output of one the the channel connection. The signal splitte ground connection is connected to the arduino ground.&lt;br /&gt;The 5 volts also flows to the receiver - splitter connection.&lt;br /&gt;&lt;br /&gt;Vex Properties via the signal splitter&lt;br /&gt;Channel 1,2,3 &amp;amp; 4&lt;br /&gt;range : from  753  to 2241&lt;br /&gt;Center stick position  varies between 1480 and 1510&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Channel 5 &amp;amp; 6 (digital Channels)&lt;br /&gt;range : off = 753  on =  2241&lt;br /&gt;&lt;br /&gt;arduino Code&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/*&lt;br /&gt;nikitanicholas@gmail.com&lt;br /&gt;Use freely&lt;br /&gt;&lt;br /&gt;Vex transmitter &amp; Vex receiver kit : http://www.vexrobotics.com/vex-robotics-transmitter-receiver-add-on-kit.shtml&lt;br /&gt;Vex signal splitter : http://www.vexrobotics.com/vex-robotics-signal-splitter.shtml&lt;br /&gt;&lt;br /&gt;Vex Properties via the signal splitter&lt;br /&gt;Channel 1,2,3 &amp; 4&lt;br /&gt;range : from  753  to 2241&lt;br /&gt;Center stick position  varies between 1480 and 1510&lt;br /&gt;&lt;br /&gt;Channel 5 &amp; 6 (digital Channels)&lt;br /&gt;range : off = 753  on =  2241&lt;br /&gt;not activated:  1500&lt;br /&gt;&lt;br /&gt;The Setup&lt;br /&gt;The Arduino powers the vex decoder via 5v which in turn powers the vex receiver, no other external power required.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;*/&lt;br /&gt;#define channelNumber 6 // 6 Channels on the vex&lt;br /&gt;&lt;br /&gt;int value[channelNumber];&lt;br /&gt;int val;&lt;br /&gt;int adrinoPin;&lt;br /&gt;void setup()&lt;br /&gt;{&lt;br /&gt;  Serial.println("init");&lt;br /&gt;  Serial.begin(57600); //Serial Begin&lt;br /&gt;  pinMode(2, INPUT); //Pin 2 as input&lt;br /&gt;  pinMode(3, INPUT); //Pin 3 as input&lt;br /&gt;  pinMode(4, INPUT); //Pin 4 as input&lt;br /&gt;  pinMode(5, INPUT); //Pin 5 as input&lt;br /&gt;  pinMode(6, INPUT); //Pin 6 as input&lt;br /&gt;  pinMode(7, INPUT); //Pin 7 as input&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;void loop()&lt;br /&gt;{&lt;br /&gt;  adrinoPin = 2;  //  start with pin 2&lt;br /&gt;  Serial.println("looping......");&lt;br /&gt;&lt;br /&gt;for(int x=0; x&lt;=channelNumber-1; x++)//Loop to print the channel readings&lt;br /&gt;{&lt;br /&gt;   if (pulseIn(adrinoPin, HIGH)  == 0 )&lt;br /&gt;   {&lt;br /&gt;     Serial.print("No signal on Channel" );&lt;br /&gt;     Serial.print(" ");&lt;br /&gt;     Serial.print(adrinoPin -1); //Print channel&lt;br /&gt;     Serial.println("");&lt;br /&gt;   }&lt;br /&gt;   else&lt;br /&gt;   {&lt;br /&gt;     Serial.print("Channel" );&lt;br /&gt;     Serial.print(" ");&lt;br /&gt;     Serial.print(adrinoPin -1); //Print out the channel number&lt;br /&gt;     Serial.print(" = ");&lt;br /&gt;     //val = .pulseIn(adrinoPin, HIGH);&lt;br /&gt;     val = normalizedPPM(pulseIn(adrinoPin, HIGH));&lt;br /&gt;     Serial.print(val); //Print out the value&lt;br /&gt;     Serial.print(" ");&lt;br /&gt;   }&lt;br /&gt;   value[x]=0; //Clear the array after printing&lt;br /&gt;   adrinoPin++;  // increment pin count&lt;br /&gt;   &lt;br /&gt;   /*                 Future Project&lt;br /&gt;    * Output PWM voltage based on Vex signal pulsein &lt;br /&gt;    *  The pins marked PWM (pins 3, 5, 6, 9, 10, and 11) can be pulsed using the analogOut() &lt;br /&gt;    *  Pulsewidth is a value from 0 - 255. 0 corresponds to 0 volts, and 255 corresponds to ~5 volts. &lt;br /&gt;    *  Every change of one point changes the pseudo-analog output voltage by 5/255, or  0.0196 volts.&lt;br /&gt;    &lt;br /&gt;     When no signal is received from the Vex transmitter or stick prosition are centered&lt;br /&gt;     the following should occur : arduino output 50% duty cycle  corresponding to approx. 2.5v ( PWM to output pin is 127)&lt;br /&gt;     &lt;br /&gt;     When Pulsein is between 1550 and 2200  &lt;br /&gt;     the following should occur : arduino output 75% duty cycle  corresponding to approx. 3.5v (PWM to output pin is 178)&lt;br /&gt;     &lt;br /&gt;     When Pulsein is between 750 and 1450  &lt;br /&gt;     the following should occur  : arduino output 25% duty cycle  corresponding to approx. 1.5v (PWM to output pin is 76)&lt;br /&gt;     &lt;br /&gt;     Available pins  9, 10 , 11&lt;br /&gt;   */&lt;br /&gt;   &lt;br /&gt;   &lt;br /&gt;}&lt;br /&gt; &lt;br /&gt; Serial.println("");&lt;br /&gt;&lt;br /&gt; delay(500);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/*&lt;br /&gt; Smoothing out the center channel ( software trimming)&lt;br /&gt;*/&lt;br /&gt;int normalizedPPM(int ppm)&lt;br /&gt;{&lt;br /&gt;   if ( ppm &gt; 1480 &amp;&amp; ppm &lt; 1510)&lt;br /&gt;    return 1500;&lt;br /&gt;    else&lt;br /&gt;    return ppm;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;a href="http://picasa.google.com/blogger/" target="ext"&gt;&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2105153139695571936-2412990077775150728?l=musingsandhobbies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://musingsandhobbies.blogspot.com/feeds/2412990077775150728/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://musingsandhobbies.blogspot.com/2009/11/arduino-vex-receiver-and-signal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2105153139695571936/posts/default/2412990077775150728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2105153139695571936/posts/default/2412990077775150728'/><link rel='alternate' type='text/html' href='http://musingsandhobbies.blogspot.com/2009/11/arduino-vex-receiver-and-signal.html' title='Arduino, Vex receiver and signal splitter'/><author><name>Nikita Nicholas</name><uri>https://profiles.google.com/109905271719708679606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-blGCHA21iNk/AAAAAAAAAAI/AAAAAAAAAYs/5Xe4PaGbhL4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_zFUJ-wz948U/Swl1twhXTII/AAAAAAAAAMs/92HjwijK4aI/s72-c/DSCI0341.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2105153139695571936.post-8968088302065939941</id><published>2009-11-21T18:41:00.000-08:00</published><updated>2010-08-01T04:39:51.490-07:00</updated><title type='text'>Robot building</title><content type='html'>&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt; &lt;br /&gt;In my earlier blogs I hinted on a robot built with a posting of  &lt;br /&gt;&lt;a href="http://musingsandhobbies.blogspot.com/2009/11/arduino-vex-receiver-and-signal.html"&gt; Arduino, Vex receiver and signal splitter.&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p style="font-family:arial;color:red;font-size:20px;"&gt;Electric wheelchair inspection and breakdown&lt;/p&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;I picked up a broken electric wheelchair &lt;a href="http://www.spinlife.com/Pride-Jet-3-Ultra-Indoor-Power-Wheelchair/spec.cfm?productID=71695"&gt;Jet3 Ultra&lt;/a&gt; from the local flea market for $50. It was complete with a broken chair support but not running. I began to strip it down to the bare essentials i.e. remove the seat and support, leg rest arms, fenders and bumpers.  I replace the fuse and tinkered around with the controller and finally got it to power up.  Here you have it! a complete, powered, really sturdy robot base that can really cut down on development time.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_zFUJ-wz948U/TEt0XI2IMjI/AAAAAAAAAQo/WuMqihZs7Nw/s1600/DSC03263.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 266px; height: 199px;" src="http://2.bp.blogspot.com/_zFUJ-wz948U/TEt0XI2IMjI/AAAAAAAAAQo/WuMqihZs7Nw/s320/DSC03263.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5497615710996148786" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_zFUJ-wz948U/TEt0lwm9fZI/AAAAAAAAAQw/se8E7xkiHoY/s1600/DSC03265.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 266px; height: 199px;" src="http://2.bp.blogspot.com/_zFUJ-wz948U/TEt0lwm9fZI/AAAAAAAAAQw/se8E7xkiHoY/s320/DSC03265.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5497615962188119442" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_zFUJ-wz948U/TEx-JFd0v5I/AAAAAAAAARw/MfX8oDYI4po/s1600/DSC03275.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 266px; height: 199px;" src="http://3.bp.blogspot.com/_zFUJ-wz948U/TEx-JFd0v5I/AAAAAAAAARw/MfX8oDYI4po/s320/DSC03275.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5497907939663724434" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;p style="font-family:arial;color:red;font-size:20px;"&gt;High Level design parameters&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;1.  Keep original wheel chair controller:  The controller have a number of built in safe guards such as locking the wheel when not  active,  power on test, speed control  especially when turning at high speeds.&lt;br /&gt;&lt;br /&gt;2. Incorporate a wireless control :  Arduino, Vex receiver and signal splitter.&lt;br /&gt;&lt;br /&gt;3. Computer control: Automation with various sensors such as digital compass, accelerometers, vision, maps, internet, LCD display and whatever I can throw at it.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;p style="font-family:arial;color:red;font-size:20px;"&gt;The original motor controller&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_zFUJ-wz948U/TEw6wm9mn5I/AAAAAAAAARg/-Go1SkQ4aGw/s1600/DSC03271.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_zFUJ-wz948U/TEw6wm9mn5I/AAAAAAAAARg/-Go1SkQ4aGw/s320/DSC03271.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5497833851879595922" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_zFUJ-wz948U/TEw90T9DnCI/AAAAAAAAARo/KsVphSqaQh0/s1600/DSC03272.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_zFUJ-wz948U/TEw90T9DnCI/AAAAAAAAARo/KsVphSqaQh0/s320/DSC03272.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5497837214031387682" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;The key to success in interfacing with  wheelchair motor controller is to tap into the joystick input.&lt;br /&gt;&lt;br /&gt;First, we will need a switch to flip between joystick and an alternate source of input: computer and or remote control.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;!--google_ad_client = "pub-2372610837540350";/* 300x250, created 7/21/10 */google_ad_slot = "3316908533";google_ad_width = 300;google_ad_height = 250;//--&gt;&lt;/script&gt;&lt;br /&gt;&lt;script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;script src="http://www.assoc-amazon.com/s/link-enhancer?tag=widgetsamazon-20&amp;amp;o=1" type="text/javascript"&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://s07.flagcounter.com/more/xPYk"&gt;&lt;img src="http://s07.flagcounter.com/count/xPYk/bg=FFFFFF/txt=000000/border=CCCCCC/columns=2/maxflags=12/viewers=0/labels=0/" alt="free counters" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2105153139695571936-8968088302065939941?l=musingsandhobbies.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://musingsandhobbies.blogspot.com/feeds/8968088302065939941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://musingsandhobbies.blogspot.com/2009/11/robot-building.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2105153139695571936/posts/default/8968088302065939941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2105153139695571936/posts/default/8968088302065939941'/><link rel='alternate' type='text/html' href='http://musingsandhobbies.blogspot.com/2009/11/robot-building.html' title='Robot building'/><author><name>Nikita Nicholas</name><uri>https://profiles.google.com/109905271719708679606</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-blGCHA21iNk/AAAAAAAAAAI/AAAAAAAAAYs/5Xe4PaGbhL4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_zFUJ-wz948U/TEt0XI2IMjI/AAAAAAAAAQo/WuMqihZs7Nw/s72-c/DSC03263.JPG' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
