<?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-6917772835185546901</id><updated>2011-04-21T13:22:20.778-07:00</updated><title type='text'>Zany Kooky  Smatterings.....</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>34</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-4734380077922059195</id><published>2008-05-22T17:27:00.001-07:00</published><updated>2008-05-22T17:31:53.080-07:00</updated><title type='text'>Flash code...</title><content type='html'>I forgot to submit my flash code for the mentioned project&lt;br /&gt;&lt;br /&gt;There is un-exciting (its code! :-) and long to just post it here so i am going to link them&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://people.rit.edu/pww4298/Flash/YellingDubaPack/YellingDubaAppManager.as"&gt;document class&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://people.rit.edu/pww4298/Flash/YellingDubaPack/ShipController.as"&gt;avatar class&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://people.rit.edu/pww4298/Flash/YellingDubaPack/PolarTurtle.as"&gt;avatar parent class&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://people.rit.edu/pww4298/Flash/YellingDubaPack/BallController.as"&gt;bouncing ball class&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-4734380077922059195?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/4734380077922059195/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=4734380077922059195' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/4734380077922059195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/4734380077922059195'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/05/flash-code.html' title='Flash code...'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-8816678472331601133</id><published>2008-05-22T15:24:00.001-07:00</published><updated>2008-05-22T15:26:36.605-07:00</updated><title type='text'>New direction...</title><content type='html'>Ok, so capacitance sensing isn't working so well, (aka, at all)  so we can try a parallel route: light sensing!&lt;br /&gt;&lt;br /&gt;This could work by having 2 sensors, and using the analog input change the speed!&lt;br /&gt;&lt;br /&gt;I think this will be a better option than hacking firmata and AS3 glue.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-8816678472331601133?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/8816678472331601133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=8816678472331601133' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/8816678472331601133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/8816678472331601133'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/05/new-direction.html' title='New direction...'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-525957203828108295</id><published>2008-05-22T13:53:00.000-07:00</published><updated>2008-05-22T14:02:23.592-07:00</updated><title type='text'>Forward progress...</title><content type='html'>Still having problems with the capacitance testing, but i did find the reason why my faked microphone input (via a potentiometer) wasn't working.&lt;br /&gt;It seems i was taking in 2 inputs, one for the slider that i used to build it with initially and then another from the potentiometer.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The problem with my capacitance code is one little delay. Here is the stripped down Arduino code that i found will work.  (Anything less than this won't work)&lt;br /&gt;&lt;br /&gt;&lt;blockquote style="font-style: italic; color: rgb(255, 255, 51);"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;  y = 0;        // clear out variables&lt;br /&gt;&lt;br /&gt;// LOW-to-HIGH transition&lt;br /&gt;digitalWrite(sensorPin - 1, HIGH);&lt;br /&gt;delay(1);&lt;br /&gt;&lt;br /&gt;//  HIGH-to-LOW transition&lt;br /&gt;digitalWrite(sensorPin - 1, LOW);&lt;br /&gt;&lt;br /&gt;if(digitalRead(sensorPin) != LOW ) y++;&lt;br /&gt;&lt;br /&gt;Serial.println()(y)&lt;/span&gt;  &lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;It is ugly an un-optimized code, but it will work.&lt;br /&gt;&lt;br /&gt;My issue is that I can't get flash to wait for one millisecond. In the arduino code it is the &lt;span style="font-style: italic;font-size:85%;" &gt;&lt;span style="color: rgb(255, 255, 51);"&gt;delay(1)&lt;/span&gt;&lt;/span&gt; part of the code&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-525957203828108295?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/525957203828108295/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=525957203828108295' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/525957203828108295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/525957203828108295'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/05/forward-progress.html' title='Forward progress...'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-6111909053011792831</id><published>2008-05-21T10:00:00.000-07:00</published><updated>2008-05-21T10:27:41.013-07:00</updated><title type='text'>Final project....</title><content type='html'>It wasn't clear during my final presentation, so here was the intent of my project&lt;br /&gt;&lt;br /&gt;&lt;iframe src="http://people.rit.edu/pww4298/Flash/YellingDuba3.html" height="400" width="600"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;ul&gt;&lt;li&gt;Have capacitence sensors on either side of my monitor that would make your avatar react when you touch them. There was one on the left and the right. (Right now it is being faked by arrow keys)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Have a microphone that took input and made the avatar's mouth open in a loud Operatic note. LLaaaaaaahhhhhhhhhh!!!! This will cause the bouncing balls to be gently removed from the stage.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;When the avatar crossed the bouncing balls and it wasn't in its "singing state" send the vibrating motor on so that it would vibrate the back of your shirt to simulate that you have bumped into another object&lt;/li&gt;&lt;/ul&gt;Even though i am mostly pleased with my outcome, I fell short of what i intended. That part was pretty frustrating.&lt;br /&gt;&lt;br /&gt;The major issues I ran into: (Luckily just two)&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Over focusing on one solution: Instead of going out and buying a mircophone I kept trying to build one from scratch. (How hard can it be? Was my crazy little mantra). No matter how I made it, I couldn't get anything besides random noise as output. When i realized that I should switch strategy, i just talked myself back into it with more "how hard can it be" fixative silliness.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Flash doesn't do capacitance sensing very well. I needed to send a guard pin high and take a digital reading (to fight impedance) in a while loop. The while loop depended on a swift and timely relay of info back from arduino, which didn't happen. Since you can't do threads in Arduino, it chooooocked.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;Ideas for resolving them:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Paul, just buy a silly microphone you silly putz!&lt;/li&gt;&lt;li&gt;I read somewhere that we didn't need to take an average of the capacitence sensor in order to get a proper reading. (I tried this but at the moment, am not savvy enough to pull it off)&lt;/li&gt;&lt;/ul&gt;Final thoughts: this was a fun project.&lt;br /&gt;&lt;br /&gt;It seemed to be a frustrating and recurring thing that I arrived short of my intended targets on both my projects.  Usually I am pretty good at picking things up, so doing something that doesn't come easy for me is tough but also character building (lol, i am going to be much more of a character now :-) .&lt;br /&gt;&lt;br /&gt;It became part of my process to remind myself that I didn't need to talented in this domain yet. That it was ok to be not so talented and just enjoy the process.&lt;br /&gt;&lt;br /&gt;It was eye opening to see all the ability that we had in our class. "Bull Rider" and "Dancing Muppet" were my favorites from this class.&lt;br /&gt;&lt;br /&gt;As far as the issues i ran into, i think i need to check out a basic electronics book from the library to become more savvy so i can tweak electronics more.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-6111909053011792831?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/6111909053011792831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=6111909053011792831' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/6111909053011792831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/6111909053011792831'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/05/final-project.html' title='Final project....'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-7408984308581285690</id><published>2008-05-18T08:32:00.001-07:00</published><updated>2008-05-18T08:40:48.887-07:00</updated><title type='text'>capcitence and flash...</title><content type='html'>Running into problems porting the capacitance sensing code from arduino to flash :-(&lt;br /&gt;It should be working correctly, but because of the delay in the callbacks with flash, my app is just locking up. Also there is an issue with interference. I have to send the gaurd pin high to get a clear reading on the input pins for my left and right sensors. &lt;br /&gt;&lt;br /&gt;There must be a secret somewhere. Just have to delve more.&lt;br /&gt;&lt;br /&gt;On the up side, with Michelles help i figured out that the reason i wasn't getting any data into the arduino for capacietence was because I wasn't using a strong enough resistor. I needed to use 1000000 ohms&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-7408984308581285690?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/7408984308581285690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=7408984308581285690' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/7408984308581285690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/7408984308581285690'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/05/capcitence-and-flash.html' title='capcitence and flash...'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-4967100626277248348</id><published>2008-05-14T08:22:00.001-07:00</published><updated>2008-05-14T08:23:35.969-07:00</updated><title type='text'>Capacitence is my freind!</title><content type='html'>Its true,&lt;br /&gt;&lt;br /&gt;Michelle gave me a hand. &lt;br /&gt;I was using a 10,000 ohm resitstor instead of a 1,000,000 ohm resistor.&lt;br /&gt;&lt;br /&gt;It makes a huge difference.&lt;br /&gt;&lt;br /&gt;Here is the code too&lt;br /&gt;&lt;br /&gt;&lt;pre style="color:yellow;"&gt;&lt;br /&gt;/* &lt;br /&gt; CapSense.pde&lt;br /&gt; Paul Badger 2007&lt;br /&gt;&lt;br /&gt; Fun with capacitive sensing and some AVR port manipulation code &lt;br /&gt; for the Arduino (or Wiring Boards).&lt;br /&gt; Note that the AVR code is based on Arduino &lt;br /&gt; and will probably require some changes for Wiring Board&lt;br /&gt;&lt;br /&gt; How It Works&lt;br /&gt; The physical setup includes a high value (1-10M) resistor &lt;br /&gt; between an output pin and an input pin. When the output pin changes&lt;br /&gt; state, it will eventually change the state of the input pin&lt;br /&gt; in a time constant determined by R * C, where R is the resistor&lt;br /&gt; and C is the capacitance of the pin, plus any other capacitance &lt;br /&gt; (e.g. human body interaction) present at the sensor (input) pin.&lt;br /&gt;&lt;br /&gt; It is possible when using this setup to see some variation in &lt;br /&gt; capacitance when one's hand is 3 to 4 inches from the sensors&lt;br /&gt; Experiment with larger resistor values and large sensor plates for &lt;br /&gt; more sensitivity. Lower values of R will probably yield higher reliability.&lt;br /&gt; Use 1 M resistor (or less maybe) for absolute touch to activate.&lt;br /&gt; With a 10 M resistor the sensor will start to respond 1-2 inches away&lt;br /&gt;&lt;br /&gt; Setup&lt;br /&gt; Connect a 10M resistor between pins 8 and 9 on the Arduino Board&lt;br /&gt; Connect a small piece of aluminum or copper foil to a short wire as a&lt;br /&gt; sensor and also connect it to pin 9 (the sensor pin). There is nothing&lt;br /&gt; special about pins 8 &amp; 9 and they can be any Arduino digital pins.&lt;br /&gt;&lt;br /&gt; When using this technique in an installation or device it's going to be&lt;br /&gt; important to use shielded cable if the wire between the sensor is  &lt;br /&gt; more than a few inches long, or it runs by anything that is not supposed&lt;br /&gt; to be sensed. &lt;br /&gt;&lt;br /&gt; Calibration may be an issue, and may vary somewhat with humidity or other factors.&lt;br /&gt; Instead of "hard wiring" threshold values - store the "non touched" values&lt;br /&gt; in a variable on startup - and then compare to a "difference" value.&lt;br /&gt; If your sensed object is many feet from the Arduino Board &lt;br /&gt; you're probably going to be better off using the Quantum cap sensors.&lt;br /&gt;&lt;br /&gt; AVR port-manipulation code from a forum post by ARP&lt;br /&gt; http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1169088394/0#0&lt;br /&gt;*/ &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;int  i;&lt;br /&gt;unsigned int x, y;&lt;br /&gt;int sensorPin = 9;&lt;br /&gt;float accum, fout;  // these are variables for a simple low-pass (smoothing) filter&lt;br /&gt;float fval = .2;         // fval of 1 = no filter - .0001 = max filter&lt;br /&gt;&lt;br /&gt;void setup() {&lt;br /&gt;  Serial.begin(9600);&lt;br /&gt;&lt;br /&gt;  //  Arduino pin sensorPin input, sensorPin-1 output, sensorPin+1 output for "guard pin" (optional)&lt;br /&gt;  pinMode(sensorPin - 1, OUTPUT);     // output pin&lt;br /&gt;  pinMode(sensorPin, INPUT);      // input pin&lt;br /&gt;  pinMode(sensorPin + 1, OUTPUT);    // guard pin used to shield high impedance input &lt;br /&gt;  digitalWrite(sensorPin + 1, LOW);  // guard pin low&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void loop() {&lt;br /&gt;  y = 0;        // clear out variables&lt;br /&gt;  x = 0;&lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;  for (i=0; i &lt; 4 ; i++ ){       // do it four times to build up an average&lt;br /&gt;                                 // not really necessary but takes out some jitter&lt;br /&gt;&lt;br /&gt;    // LOW-to-HIGH transition&lt;br /&gt;    digitalWrite(sensorPin - 1, HIGH);    &lt;br /&gt;    while (digitalRead(sensorPin) != HIGH) {                &lt;br /&gt;     x++;&lt;br /&gt;    }&lt;br /&gt;    delay(1);&lt;br /&gt;&lt;br /&gt;    //  HIGH-to-LOW transition&lt;br /&gt;    digitalWrite(sensorPin - 1, LOW);              &lt;br /&gt;    while(digitalRead(sensorPin) != LOW ) {&lt;br /&gt;     y++;  &lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    delay(1);&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  // Easy smoothing filter "fval" determines amount of new data in fout&lt;br /&gt;  fout =  (fval * (float)x) + ((1-fval) * accum);&lt;br /&gt;  accum = fout;    &lt;br /&gt;&lt;br /&gt;  Serial.print((long)x, DEC);    // raw data - Low to High&lt;br /&gt;  Serial.print( "   ");&lt;br /&gt;  Serial.print((long)y, DEC);    // raw data - High to Low&lt;br /&gt;  Serial.print( "   ");&lt;br /&gt;  Serial.println( (long)fout, DEC); // Smoothed Low to High&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-4967100626277248348?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/4967100626277248348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=4967100626277248348' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/4967100626277248348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/4967100626277248348'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/05/capacitence-is-my-freind.html' title='Capacitence is my freind!'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-6125175708716523900</id><published>2008-05-13T15:13:00.001-07:00</published><updated>2008-05-13T15:16:05.872-07:00</updated><title type='text'>Meager progress :-(</title><content type='html'>I attached the avatar controller, and it is ready for the capacitence testing if i can get it working&lt;br /&gt;&lt;br /&gt;&lt;iframe WIDTH=600 HEIGHT=400 src="http://people.rit.edu/pww4298/Flash/YellingDuba3.html"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-6125175708716523900?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/6125175708716523900/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=6125175708716523900' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/6125175708716523900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/6125175708716523900'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/05/meager-progress.html' title='Meager progress :-('/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-4787164261718050170</id><published>2008-05-13T14:57:00.000-07:00</published><updated>2008-05-13T14:59:12.489-07:00</updated><title type='text'>The Anti-king Midas....</title><content type='html'>Everything i touch, turns to poo!&lt;br /&gt;&lt;br /&gt;Ok, thats not really true, but i am striking out on all things electronic. The first one was my microphone, and now simple capacitence is not working.&lt;br /&gt;&lt;br /&gt;I will call it a day for now :-(&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-4787164261718050170?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/4787164261718050170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=4787164261718050170' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/4787164261718050170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/4787164261718050170'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/05/anti-king-midas.html' title='The Anti-king Midas....'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-1642101650138784644</id><published>2008-05-11T12:14:00.000-07:00</published><updated>2008-05-11T12:16:25.365-07:00</updated><title type='text'>Progress...</title><content type='html'>So my next move is to add my capacitance sensors and finish up the microphone input. &lt;br /&gt;I have the flash code mostly finished. I added ball targets bouncing and reacting to my avatar. When it yells the balls are removed.&lt;br /&gt;&lt;br /&gt;Next step for coding with flash is to add "predator" that the user will have to avoid using the capacitance sensors. &lt;br /&gt;&lt;br /&gt;&lt;iframe WIDTH=600 HEIGHT=400 src="http://people.rit.edu/pww4298/Flash/YellingDuba2.html"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-1642101650138784644?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/1642101650138784644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=1642101650138784644' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/1642101650138784644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/1642101650138784644'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/05/progress.html' title='Progress...'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-4643976495246833820</id><published>2008-05-10T15:30:00.000-07:00</published><updated>2008-05-10T15:31:27.362-07:00</updated><title type='text'>Arduino and my project are working!</title><content type='html'>At first it didn't look like it was because the pot i was using was 10k and wasn't even leaving a blip as an analog signal in. I kept thinking it was my code!&lt;br /&gt;&lt;br /&gt;Lolz&lt;br /&gt;&lt;br /&gt;i go!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-4643976495246833820?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/4643976495246833820/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=4643976495246833820' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/4643976495246833820'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/4643976495246833820'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/05/arduino-and-my-project-are-working.html' title='Arduino and my project are working!'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-4665991647261341764</id><published>2008-05-09T08:14:00.000-07:00</published><updated>2008-05-09T08:57:49.649-07:00</updated><title type='text'>New direction for final project....</title><content type='html'>So microphone doesn't work :-(&lt;br /&gt;&lt;br /&gt;So my idea of using decibel level to interact with a virtual environment.&lt;br /&gt;&lt;br /&gt;My concept was to have a bouncing avatar you could bounce with capacitance sensors, and use decibels to clear barriers that you run into. If you didn't yell to move the barriers you would crash into them and they would rattle the back of your neck .&lt;br /&gt;&lt;br /&gt;It would be sort of startling, but need to be able to interact with a 2d environment.&lt;br /&gt;&lt;br /&gt;So, need to float around laterally and find some new directions.&lt;br /&gt;&lt;br /&gt;Here is the flash interface i developed so far complete with code.&lt;br /&gt;&lt;br /&gt;(The slider is set up to simulate the microphone input until i figure that part out)&lt;br /&gt;&lt;br /&gt;&lt;iframe WIDTH=600 HEIGHT=400 src="http://people.rit.edu/pww4298/Flash/YellingDuba.html"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Document Class &lt;/h3&gt;&lt;br /&gt;Here is my document class that loads the avatar.&lt;br /&gt;&lt;br /&gt;&lt;pre style="color:yellow;"&gt;&lt;br /&gt;package YellingDubaPack{&lt;br /&gt; import flash.display.*;&lt;br /&gt; import flash.events.*;&lt;br /&gt; import flash.text.*;&lt;br /&gt;  &lt;br /&gt; public class YellingDubaAppManager extends MovieClip&lt;br /&gt; {&lt;br /&gt;  private var thisDuba:YellingDuba;&lt;br /&gt;  private var thisSpinner:SpinningThing;&lt;br /&gt;  private var thisDuba_starting_x = 150;&lt;br /&gt;  private var thisDuba_starting_y = 330;&lt;br /&gt;  private var pXMLLoader:XMLLoader;&lt;br /&gt;  private var currDecibel:Number = 1.0;&lt;br /&gt;  private var thisSlider:Slider;&lt;br /&gt;  private var stayCentered:Boolean = true; // this is a bool that will alternate random number generation&lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt;  public function YellingDubaAppManager()&lt;br /&gt;  {&lt;br /&gt;   trace("Screaming App Manager created...");&lt;br /&gt;   &lt;br /&gt;    //ADD DUBA&lt;br /&gt;    &lt;br /&gt;    &lt;br /&gt;    &lt;br /&gt;    &lt;br /&gt;    trace("Spinning Thing created...");&lt;br /&gt;    thisSpinner = new SpinningThing();&lt;br /&gt;    thisSpinner.scaleX = 1.2;&lt;br /&gt;    thisSpinner.scaleY = 1.2;&lt;br /&gt;    thisSpinner.x = thisDuba_starting_x;&lt;br /&gt;    thisSpinner.y = thisDuba_starting_y;&lt;br /&gt;    thisSpinner.setSpinning(true);&lt;br /&gt;    this.addChild(thisSpinner);&lt;br /&gt;    //thisDuba.addChild(thisSpinner);&lt;br /&gt;    &lt;br /&gt;    trace("Duba added...");&lt;br /&gt;    thisDuba = new YellingDuba(4,4);&lt;br /&gt;    thisDuba.x = thisSpinner.x;&lt;br /&gt;    thisDuba.y = thisSpinner.y + 50;&lt;br /&gt;    thisDuba.scaleX = .5;&lt;br /&gt;    thisDuba.scaleY = .5;&lt;br /&gt;    //thisSpinner.addChild(thisDuba);&lt;br /&gt;    this.addChild(thisDuba);&lt;br /&gt;    trace("Duba added...");&lt;br /&gt;   &lt;br /&gt;   // ADD SLIDER&lt;br /&gt;    thisSlider = new Slider();&lt;br /&gt;    thisSlider.x = 400;&lt;br /&gt;    thisSlider.y = 300;&lt;br /&gt;    this.addChild(thisSlider);&lt;br /&gt;    trace("Slider added...");&lt;br /&gt;   &lt;br /&gt;   // ADD ACTION LISTENERS&lt;br /&gt;    addEventListener(Event.ENTER_FRAME, onEnterFrame);&lt;br /&gt;   &lt;br /&gt;  }&lt;br /&gt;  public function LoadLevel()&lt;br /&gt;  {&lt;br /&gt;      &lt;br /&gt;  }&lt;br /&gt;  public function onEnterFrame(evt:Event):void&lt;br /&gt;  {&lt;br /&gt;   // GET INPUT, and set the Duba to that frame    &lt;br /&gt;    currDecibel = thisSlider.getRatio();&lt;br /&gt;   // SET DUBA&lt;br /&gt;    thisDuba.setFrame(Math.round(currDecibel*thisDuba.maxFrames));&lt;br /&gt;   // CHECK TO SEE IF DUBA IS AT MAXIMUM, and if so then vary its X and Y&lt;br /&gt;    if(Math.round(currDecibel*thisDuba.maxFrames) + 3 &gt;= thisDuba.maxFrames  )&lt;br /&gt;    {&lt;br /&gt;     if(stayCentered)  //THIS WILL TRY AND CENTER THE RANDOMNESS A LITLE BIT BY ALTERNATING THE SEEDS&lt;br /&gt;     {&lt;br /&gt;      thisSpinner.x += getNegOrPosRanNum(-1.2);&lt;br /&gt;      thisSpinner.y += getNegOrPosRanNum(1);&lt;br /&gt;      stayCentered = false;&lt;br /&gt;     } else {&lt;br /&gt;      thisSpinner.x += getNegOrPosRanNum(2.6);&lt;br /&gt;      thisSpinner.y += getNegOrPosRanNum(1);&lt;br /&gt;      stayCentered = true;&lt;br /&gt;     }&lt;br /&gt;     thisDuba.blinkEye() // BLINK YER EYES&lt;br /&gt;     //thisDuba.x = thisSpinner.x;&lt;br /&gt;     //thisDuba.y = thisSpinner.y + 25;&lt;br /&gt;     thisSpinner.x = thisDuba.x;&lt;br /&gt;     thisSpinner.y = thisDuba.y - 25;&lt;br /&gt;     thisSpinner.setSpinning(true);&lt;br /&gt;     thisSpinner.fadeSpinSpeed(.2);  // FADE IN SPEED&lt;br /&gt;     thisSpinner.fadeOpacity(.2); // FADE OUT SPEED&lt;br /&gt;    }else{&lt;br /&gt;     thisDuba.openEye() // BLINK YER EYES&lt;br /&gt;     thisSpinner.fadeSpinSpeed(-.1); // FADE IN SPEED&lt;br /&gt;     thisSpinner.fadeOpacity(-.1); // FADE OUT SPEED&lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt;  private function getNegOrPosRanNum(seed:Number):Number&lt;br /&gt;  {&lt;br /&gt;   var ranNum =  Math.random() * seed;&lt;br /&gt;   var isNeg =  Math.random() * 100;&lt;br /&gt;   &lt;br /&gt;   if(isNeg &gt;50)&lt;br /&gt;   {&lt;br /&gt;    ranNum += -1;&lt;br /&gt;   }&lt;br /&gt;   return ranNum;&lt;br /&gt;  }&lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt; }&lt;br /&gt; &lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Avatar Class (Yelling Duba)&lt;/h3&gt;&lt;br /&gt;Here is my avatar class.&lt;br /&gt;&lt;pre style="color:yellow;"&gt;&lt;br /&gt;package YellingDubaPack{&lt;br /&gt; import flash.display.*;&lt;br /&gt; import flash.events.*;&lt;br /&gt; import flash.text.*;&lt;br /&gt; import flash.utils.Timer;&lt;br /&gt;    import flash.events.TimerEvent;&lt;br /&gt;  &lt;br /&gt; public class YellingDuba extends MovieClip&lt;br /&gt; {&lt;br /&gt;  public const maxFrames:int = 20;&lt;br /&gt;  public var blinkInterval:Number;&lt;br /&gt;  private var mySetInterval&lt;br /&gt;  private var delay:uint = 3000;&lt;br /&gt;        private var repeat:uint = 80;&lt;br /&gt;        private var myTimer:Timer = new Timer(delay, repeat);&lt;br /&gt;  &lt;br /&gt;  //BOUNCE ATTRIBUTES&lt;br /&gt;   private var xSpeed:Number;&lt;br /&gt;   private var ySpeed:Number;&lt;br /&gt;   private var isDead:Boolean = false;&lt;br /&gt;   &lt;br /&gt;   &lt;br /&gt;   public function Added(anEvent:Event):void{&lt;br /&gt;    x = Math.random()*(stage.stageWidth - width) + stage.x + width/2;&lt;br /&gt;    y = Math.random()*(stage.stageHeight - height) + stage.y + height/2;&lt;br /&gt;    &lt;br /&gt;    addEventListener(Event.ENTER_FRAME, OnEnterFrame);&lt;br /&gt;    addEventListener(MouseEvent.MOUSE_DOWN, onClick);&lt;br /&gt;   }&lt;br /&gt;   public function Removed(anEvent:Event):void{&lt;br /&gt;    removeEventListener(Event.ENTER_FRAME, OnEnterFrame);&lt;br /&gt;   }&lt;br /&gt;   &lt;br /&gt;   public function OnEnterFrame(anEvent:Event):void{&lt;br /&gt;    x += xSpeed;&lt;br /&gt;    y += ySpeed;&lt;br /&gt;    &lt;br /&gt;    if( x &lt; stage.x + width/2 || x &gt; stage.stageWidth - width/2){&lt;br /&gt;     xSpeed = - xSpeed;&lt;br /&gt;    }&lt;br /&gt;    if( y &lt; stage.y + height/2 || y &gt; stage.stageHeight - height/2){&lt;br /&gt;     ySpeed = - ySpeed;&lt;br /&gt;    }&lt;br /&gt;    &lt;br /&gt;    /*if(currentFrame == totalFrames &amp;&amp; isDead == true){&lt;br /&gt;     (parent as GameApp1).killBall(this);&lt;br /&gt;    }*/&lt;br /&gt;   }&lt;br /&gt;   &lt;br /&gt;   public function onClick(anEvent:MouseEvent):void{&lt;br /&gt;    PopBall();&lt;br /&gt;   }&lt;br /&gt;   &lt;br /&gt;   public function PopBall():void{&lt;br /&gt;    play();&lt;br /&gt;    isDead = true;&lt;br /&gt;   }&lt;br /&gt;  // -------------------------------------------------------- &lt;br /&gt;  //   REGULAR METHODS&lt;br /&gt;  // -------------------------------------------------------&lt;br /&gt;  &lt;br /&gt;   public function setFrame(frame:int):void&lt;br /&gt;   {&lt;br /&gt;    gotoAndStop(frame);&lt;br /&gt;   }&lt;br /&gt;   public function blinkEye():void&lt;br /&gt;   {&lt;br /&gt;    duba_eyez.gotoAndStop(2);&lt;br /&gt;   }&lt;br /&gt;   public function openEye():void&lt;br /&gt;   {&lt;br /&gt;    duba_eyez.gotoAndStop(1);&lt;br /&gt;   }&lt;br /&gt;   public function setBlinkInterval(inteval:Number):void&lt;br /&gt;   {&lt;br /&gt;    blinkInterval = inteval;&lt;br /&gt;   }&lt;br /&gt;   private function timerHandler(e:TimerEvent):void{&lt;br /&gt;    repeat--;&lt;br /&gt;    blinkEye();&lt;br /&gt;   }&lt;br /&gt; &lt;br /&gt;   private function completeHandler(e:TimerEvent):void {&lt;br /&gt;    trace("completeHandler()... Times Up.");   &lt;br /&gt;   }&lt;br /&gt;   &lt;br /&gt;   public function YellingDuba(argXspeed:Number, argYspeed:Number)&lt;br /&gt;   {&lt;br /&gt;    &lt;br /&gt;    xSpeed = argXspeed;&lt;br /&gt;    ySpeed = argYspeed;&lt;br /&gt;    &lt;br /&gt;    addEventListener(Event.ADDED_TO_STAGE, Added);&lt;br /&gt;    addEventListener(Event.REMOVED_FROM_STAGE, Removed);&lt;br /&gt;    &lt;br /&gt;    &lt;br /&gt;    trace("Yelling Duba created...");&lt;br /&gt;    myTimer.start(); &lt;br /&gt;    myTimer.addEventListener(TimerEvent.TIMER, timerHandler);&lt;br /&gt;    myTimer.addEventListener(TimerEvent.TIMER_COMPLETE, completeHandler);&lt;br /&gt;    trace("Timer started");&lt;br /&gt;    blinkEye();&lt;br /&gt;    //var thisInterval = setInterval("blinkEye", 1000);&lt;br /&gt;    &lt;br /&gt;   }&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Spinning background&lt;/h3&gt;&lt;br /&gt;&lt;pre style="color:yellow;"&gt;&lt;br /&gt;package YellingDubaPack{&lt;br /&gt; import flash.display.*;&lt;br /&gt; import flash.events.*;&lt;br /&gt; import flash.text.*;&lt;br /&gt;  &lt;br /&gt; public class SpinningThing extends MovieClip&lt;br /&gt; {&lt;br /&gt;  private var isSpinning:Boolean = false;&lt;br /&gt;  private var rotationSpeed:Number = 1;&lt;br /&gt;  private var rotationSpeedMax:Number = 2;&lt;br /&gt;  &lt;br /&gt;  public function SpinningThing()&lt;br /&gt;  {&lt;br /&gt;   &lt;br /&gt;   trace("SpinningThing created...");&lt;br /&gt;   trace("SpinningThing opacity dropped...");&lt;br /&gt;   this.alpha = 0;&lt;br /&gt;   addEventListener(Event.ENTER_FRAME, onEnterFrame);&lt;br /&gt;   &lt;br /&gt;  }&lt;br /&gt;  public function setSpinning(spin:Boolean):void&lt;br /&gt;  {&lt;br /&gt;   isSpinning = spin;&lt;br /&gt;  }&lt;br /&gt;  public function setSpinningSpeed(spinSpeed:int):void&lt;br /&gt;  {&lt;br /&gt;   rotationSpeed = spinSpeed;&lt;br /&gt;  }&lt;br /&gt;  public function fadeOpacity(opace:Number):void &lt;br /&gt;  {&lt;br /&gt;   var alphaMax = .3&lt;br /&gt;   &lt;br /&gt;   &lt;br /&gt;   if(this.alpha &gt; alphaMax)&lt;br /&gt;   {&lt;br /&gt;    this.alpha = alphaMax;&lt;br /&gt;   }&lt;br /&gt;   else if(this.alpha &lt; 0)&lt;br /&gt;   {&lt;br /&gt;    this.alpha = 0;&lt;br /&gt;    rotationSpeed = 0 ;&lt;br /&gt;   }&lt;br /&gt;   &lt;br /&gt;   this.alpha += opace;  &lt;br /&gt;  }&lt;br /&gt;  public function fadeSpinSpeed(spinVelocity:Number):void &lt;br /&gt;  {   &lt;br /&gt;   if(this.alpha &gt; rotationSpeedMax)&lt;br /&gt;   {&lt;br /&gt;    rotationSpeed += rotationSpeedMax;&lt;br /&gt;   }&lt;br /&gt;   else if(this.alpha &lt; 0)&lt;br /&gt;   {&lt;br /&gt;    rotationSpeed += 0;&lt;br /&gt;   }&lt;br /&gt;   &lt;br /&gt;   rotationSpeed += spinVelocity; &lt;br /&gt;  }&lt;br /&gt;  &lt;br /&gt;  public function onEnterFrame(evt:Event):void&lt;br /&gt;  {&lt;br /&gt;   // IF TRUE THEN SPIN BABY!&lt;br /&gt;   if(isSpinning)&lt;br /&gt;   {&lt;br /&gt;    spinner.rotation +=rotationSpeed;&lt;br /&gt;    //trace("spining");&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;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-4665991647261341764?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/4665991647261341764/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=4665991647261341764' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/4665991647261341764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/4665991647261341764'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/05/new-direction-for-final-project.html' title='New direction for final project....'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-3024575214542097127</id><published>2008-05-09T07:12:00.000-07:00</published><updated>2008-05-09T07:32:36.018-07:00</updated><title type='text'>Mini axe for my mini amp...</title><content type='html'>Troubles with my mini amplifier, it sends random output to arduino. I am not able to get a fix on how loud an incoming sound is.&lt;br /&gt;&lt;br /&gt;Soo, i am going to look for computer microphones to plug in.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_DH96rnFE2IM/SCRfs_RpfII/AAAAAAAAADY/bHHDaaQYFVc/s1600-h/Picture2.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 287px; height: 123px;" src="http://3.bp.blogspot.com/_DH96rnFE2IM/SCRfs_RpfII/AAAAAAAAADY/bHHDaaQYFVc/s200/Picture2.gif" alt="" id="BLOGGER_PHOTO_ID_5198385096396733570" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The switch on the far right side is left over from a previous project, and is not needed&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_DH96rnFE2IM/SCReZfRpfGI/AAAAAAAAADI/2KJsp-ccCgQ/s1600-h/Picture+006.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_DH96rnFE2IM/SCReZfRpfGI/AAAAAAAAADI/2KJsp-ccCgQ/s200/Picture+006.jpg" alt="" id="BLOGGER_PHOTO_ID_5198383661877656674" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_DH96rnFE2IM/SCReQfRpfFI/AAAAAAAAADA/Lzw-AJAvdtc/s1600-h/Picture+003.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_DH96rnFE2IM/SCReQfRpfFI/AAAAAAAAADA/Lzw-AJAvdtc/s200/Picture+003.jpg" alt="" id="BLOGGER_PHOTO_ID_5198383507258834002" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_DH96rnFE2IM/SCReFPRpfEI/AAAAAAAAAC4/fP_6wNVu9nI/s1600-h/Picture+001.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_DH96rnFE2IM/SCReFPRpfEI/AAAAAAAAAC4/fP_6wNVu9nI/s200/Picture+001.jpg" alt="" id="BLOGGER_PHOTO_ID_5198383313985305666" 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/6917772835185546901-3024575214542097127?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/3024575214542097127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=3024575214542097127' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/3024575214542097127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/3024575214542097127'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/05/mini-axe-for-my-mini-amp.html' title='Mini axe for my mini amp...'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_DH96rnFE2IM/SCRfs_RpfII/AAAAAAAAADY/bHHDaaQYFVc/s72-c/Picture2.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-4362402835366833077</id><published>2008-05-01T15:59:00.001-07:00</published><updated>2008-05-02T05:15:16.308-07:00</updated><title type='text'>Firmata's deep dark secrets...</title><content type='html'>Ok, so it isn't really deep and dark, thanks to Joe.&lt;br /&gt;&lt;br /&gt;It does just what it advertises. It moves the processing from Arduino to which ever platform you are using. In this case it is Flash.&lt;br /&gt;&lt;br /&gt;So as an exercise i got analog and digital input, as well as digital output controlled by Flash.&lt;br /&gt;&lt;br /&gt;Thanks again to Joe for esplaining and helping me on my way.&lt;br /&gt;&lt;br /&gt;That is all. Just a short post.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-4362402835366833077?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/4362402835366833077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=4362402835366833077' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/4362402835366833077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/4362402835366833077'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/05/firmatas-deep-dark-secrets.html' title='Firmata&apos;s deep dark secrets...'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-1945908160294795926</id><published>2008-04-29T09:52:00.000-07:00</published><updated>2008-05-01T11:18:19.889-07:00</updated><title type='text'>Disco shirt road block...</title><content type='html'>So reporting about what I discovered last weekend, that my disco shirt design can't go forward. After it gets to the integrated circuit, the voltage drops to low to trigger my NPN transistor to allow power through that central circle.&lt;br /&gt;&lt;br /&gt;Time for a new approach. This time I am going ignore the interconnectivity and just have them as separate units.&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Circuit Diagram&lt;/h4&gt;&lt;br /&gt;So the arms of this disco shirt are the outer parts of the diagram. The inner part of the diagram represents the center of the shirt. I used beading wire sewn into the shirt to conduct voltage and hold the leds on them.&lt;br /&gt;&lt;br /&gt;The idea was that when an arm flexed, the cumulative circuit would turn on depending on the angle of the bend. When both arms bent up, it would trigger a transistor (by way of a IC AND or NOR gate) and the chest would light up.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_DH96rnFE2IM/SBdUyo5NIWI/AAAAAAAAACA/tNi5hP8Zy4k/s1600-h/ElectricDiscoShirt.4.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_DH96rnFE2IM/SBdUyo5NIWI/AAAAAAAAACA/tNi5hP8Zy4k/s200/ElectricDiscoShirt.4.png" alt="" id="BLOGGER_PHOTO_ID_5194713924142702946" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Cumulative circuit for the arms (flex "sensor")&lt;/h4&gt;&lt;br /&gt;So I have to say this was very home-made. Not regular at all. But it worked well. There was one problem with fabricating them is that one of the "flex" sensors (the big plastic thing in the picture) was warped so the connection wasn't steady the whole way through the arm flex.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_DH96rnFE2IM/SBoAOY5NIcI/AAAAAAAAACw/TA9liINmiuI/s1600-h/Picture+011.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_DH96rnFE2IM/SBoAOY5NIcI/AAAAAAAAACw/TA9liINmiuI/s200/Picture+011.jpg" alt="" id="BLOGGER_PHOTO_ID_5195465367325843906" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I have really developed a fondness for soldering. Very nice!&lt;br /&gt;My skill needs to improve quite a bit though.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_DH96rnFE2IM/SBoAJI5NIbI/AAAAAAAAACo/2DxSvpzoTpY/s1600-h/Picture+006.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_DH96rnFE2IM/SBoAJI5NIbI/AAAAAAAAACo/2DxSvpzoTpY/s200/Picture+006.jpg" alt="" id="BLOGGER_PHOTO_ID_5195465277131530674" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I used striped out wire for the connections, and an old CPU cover for the plastic.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_DH96rnFE2IM/SBoABY5NIaI/AAAAAAAAACg/DFAH8MiuzQw/s1600-h/Picture+004.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_DH96rnFE2IM/SBoABY5NIaI/AAAAAAAAACg/DFAH8MiuzQw/s200/Picture+004.jpg" alt="" id="BLOGGER_PHOTO_ID_5195465143987544482" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I am using tin foil to make sure the connection is constant. It sort of "billows" up and has more surface area to allow the circuit to be more continuous.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_DH96rnFE2IM/SBn_po5NIZI/AAAAAAAAACY/EfyM_N9-APE/s1600-h/Picture+012.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_DH96rnFE2IM/SBn_po5NIZI/AAAAAAAAACY/EfyM_N9-APE/s200/Picture+012.jpg" alt="" id="BLOGGER_PHOTO_ID_5195464735965651346" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Mike wearing the mostly completed disco shirt&lt;/h4&gt;As you can see there is beading wire that carries the voltage. Also what is a little harder to see is that there are corresponding circuits on the arms that mirror the cumulative circtuit on the home-made flex "sensors"&lt;br /&gt;&lt;br /&gt;Putting numbers on them was also really handy to know what wire went to what corresponding sewn in circuit&lt;br /&gt;&lt;br /&gt;Also what is not apparent is that my sewning skills started extremely bad and then got quite a bit better.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_DH96rnFE2IM/SBn_ho5NIYI/AAAAAAAAACQ/5dz-FwtMJnw/s1600-h/Picture%2B130.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_DH96rnFE2IM/SBn_ho5NIYI/AAAAAAAAACQ/5dz-FwtMJnw/s200/Picture%2B130.jpg" alt="" id="BLOGGER_PHOTO_ID_5195464598526697858" border="0" /&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://1.bp.blogspot.com/_DH96rnFE2IM/SBn_eI5NIXI/AAAAAAAAACI/ojH5P8icN50/s1600-h/Picture%2B128.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_DH96rnFE2IM/SBn_eI5NIXI/AAAAAAAAACI/ojH5P8icN50/s200/Picture%2B128.jpg" alt="" id="BLOGGER_PHOTO_ID_5195464538397155698" 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/6917772835185546901-1945908160294795926?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/1945908160294795926/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=1945908160294795926' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/1945908160294795926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/1945908160294795926'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/04/disco-shirt-road-block.html' title='Disco shirt road block...'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_DH96rnFE2IM/SBdUyo5NIWI/AAAAAAAAACA/tNi5hP8Zy4k/s72-c/ElectricDiscoShirt.4.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-1265922744157727361</id><published>2008-04-29T09:44:00.001-07:00</published><updated>2008-04-29T09:45:02.491-07:00</updated><title type='text'>Tetris plus arm-wrestling...</title><content type='html'>Found this on Boingboing.net&lt;br /&gt;&lt;br /&gt;Its a tetris app that you play by arm wrestling &lt;br /&gt;&lt;br /&gt;&lt;object height="355" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/D2W7JX5D1Qs&amp;amp;hl=en"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.youtube.com/v/D2W7JX5D1Qs&amp;amp;hl=en" type="application/x-shockwave-flash" wmode="transparent" height="355" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-1265922744157727361?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/1265922744157727361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=1265922744157727361' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/1265922744157727361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/1265922744157727361'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/04/tetris-plus-arm-wrestling.html' title='Tetris plus arm-wrestling...'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-5850557137943878242</id><published>2008-04-29T08:11:00.000-07:00</published><updated>2008-04-29T08:28:28.656-07:00</updated><title type='text'>Arduino to flash....first successful attempt</title><content type='html'>So I had trouble figuring out what to do with AS3 glue, and serial proxy. I couldn't figure out how to make them play nicely. So I went digging a little and came up with some old jar files from Java's discontinued RxTx jars for windows. Linux and Unix have current versions of these jars, but Windows doesn't seem to. &lt;br /&gt;&lt;br /&gt;Also Joe doesn't know it yet, but i am going to ask him to help me figure it out because he and james made such a nice interactive peice for Project Run way.&lt;br /&gt;&lt;br /&gt;In the meantime here is the skinny on the old way to do it. &lt;br /&gt;&lt;br /&gt;But i found an old example &lt;a href="http://file-error.net/1o1o1o1o1/?Physical_Computing_and_Interaction:Arduino:Arduino_VS_Flash  "&gt;&lt;span style="font-weight:bold;"&gt;HERE&lt;/span&gt;&lt;/a&gt; at &lt;span style="font-weight:bold;"&gt;http://file-error.net/1o1o1o1o1/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here is the .pde i took from using for arduino&lt;br /&gt;&lt;br /&gt;&lt;blockquote style="font-style:italic;"&gt;int firstSensor = 0;    // first analog sensor&lt;br /&gt;void setup()&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;  Serial.begin(9600);&lt;br /&gt;}&lt;br /&gt;void loop()&lt;br /&gt;{&lt;br /&gt;    firstSensor = analogRead(0)/4;&lt;br /&gt;    delay(10);&lt;br /&gt;    Serial.print(firstSensor, DEC);&lt;br /&gt;    Serial.print(0, BYTE);         &lt;br /&gt; &lt;br /&gt;  delay (50);&lt;br /&gt;}&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here is the action script code taken from that site mentioned above:&lt;br /&gt;&lt;br /&gt;&lt;blockquote style="font-style:italic;"&gt;&lt;span style="font-style:italic;"&gt;createSocket ();&lt;br /&gt;&lt;br /&gt;function createSocket () {&lt;br /&gt; _root.createTextField("inputlabel",4,50,100,50,20);&lt;br /&gt; inputlabel.text = "Input:";&lt;br /&gt; _root.createTextField("outputlabel",5,50,300,50,20);&lt;br /&gt; Outputlabel.text = "Output:";&lt;br /&gt; _root.createTextField("inputer",3,100,100,200,20);&lt;br /&gt; _root.createTextField("outputer",2,100,300,200,20);&lt;br /&gt; outputer.type = "input";&lt;br /&gt; outputer.border = true;&lt;br /&gt; inputer.border = true;&lt;br /&gt; serialServer = new XMLSocket ();&lt;br /&gt; trace ("made it" + serialServer);&lt;br /&gt; //127.0.0.1 is the same as "localhost" ie an alias to your local machine&lt;br /&gt; //it is concievable to that you would want to connect from another machine and you would change this&lt;br /&gt; serialServer.connect ("127.0.0.1", 9001);&lt;br /&gt; serialServer.onConnect = function (success) {&lt;br /&gt;  trace ("connected " + success);&lt;br /&gt;  serialServer.send ("HOWDY FROM FLASH" + new Date().toString());&lt;br /&gt; };&lt;br /&gt; serialServer.onClose = function () {&lt;br /&gt;  trace ("closed");&lt;br /&gt; };&lt;br /&gt; serialServer.onData = function (data) {&lt;br /&gt;  //trace ("incoming" + data);&lt;br /&gt;  inputer.text = inputer.text + data;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt; mcpos = Math.round(data / 100 *2);&lt;br /&gt; mc1.gotoAndStop(mcpos);&lt;br /&gt; trace (mcpos);&lt;br /&gt; };&lt;br /&gt; &lt;br /&gt;}&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Lastly i used this small java app to act as the go between.&lt;br /&gt;It is called "Serial Server and can be found here: http://itp.nyu.edu/%7Edbo3/SerialServer/SerialServer.html&lt;br /&gt;&lt;br /&gt;Here is the swf showing what it looks like:&lt;br /&gt;&lt;a href="http://file-error.net/1o1o1o1o1/?Physical_Computing_and_Interaction:Arduino:Arduino_VS_Flash"&gt;&lt;br /&gt;&lt;embed type="application/x-shockwave-flash" src="http://www.file-error.net/1o1o1o1o1/stuff/arduinovsflash.swf" name="plugin" height="320" width="240"&gt;&lt;/embed&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-5850557137943878242?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/5850557137943878242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=5850557137943878242' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/5850557137943878242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/5850557137943878242'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/04/arduino-to-flashfirst-successful.html' title='Arduino to flash....first successful attempt'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-5060460829336350416</id><published>2008-04-24T18:41:00.000-07:00</published><updated>2008-04-24T18:42:03.778-07:00</updated><title type='text'>Note for paul...</title><content type='html'>Post your pictures of your shirt so far!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-5060460829336350416?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/5060460829336350416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=5060460829336350416' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/5060460829336350416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/5060460829336350416'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/04/note-for-paul.html' title='Note for paul...'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-1978659593314713505</id><published>2008-04-24T18:30:00.000-07:00</published><updated>2008-04-24T18:39:09.427-07:00</updated><title type='text'>NPN puzzle peice solved....</title><content type='html'>So my transistor saga continues and apparently it is an issue with the voltage. (http://www.mayothi.com/transistors.html)&lt;br /&gt;&lt;br /&gt;It has to be high enough to the base to trigger a reaction.&lt;br /&gt;&lt;br /&gt;I was only getting voltage less than 2 out of my NOR chip despite putting 5 volts into it and so it was a cascading problem. &lt;br /&gt;&lt;br /&gt;The transistor works great as a switch when it has enough juice&lt;br /&gt;&lt;br /&gt;So that is the next step, to see what is causing that voltage drop from the power supply through the IC.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-1978659593314713505?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/1978659593314713505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=1978659593314713505' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/1978659593314713505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/1978659593314713505'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/04/npn-puzzle-peice-solved.html' title='NPN puzzle peice solved....'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-6948025280697582218</id><published>2008-04-24T17:36:00.000-07:00</published><updated>2008-04-24T17:43:43.171-07:00</updated><title type='text'>Make sure it is grounded....!@##$$#</title><content type='html'>So i answered one question as to why that I couldn't get my AND gate working recently. I had success on that first one before i fried its insides with soldering. &lt;br /&gt;&lt;br /&gt;So my personal discovery was that I have to ground a pin to make it low, as well as send power to make it go high. It was the grounding that was messing me up.&lt;br /&gt;&lt;br /&gt;So i have moved on to part two of my disco shirt which will hopefully be fully functional by next saturday: a transistor switch. So far it is allowing power to be sent regardless of the voltage coming into the base. I am even grounding it via a resistor, but that silly bill just wont budge. &lt;br /&gt;&lt;br /&gt;I read on the datasheet that the voltage to the base of a NPN transitstor type has to be near zero in order to have the circuit "saturate" (I think i got that right). But so far no success&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So after that...to soldering with a heat sink!&lt;br /&gt;&lt;br /&gt;So rad....even if slow...i am moving forward :-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-6948025280697582218?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/6948025280697582218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=6948025280697582218' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/6948025280697582218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/6948025280697582218'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/04/make-sure-it-is-grounded.html' title='Make sure it is grounded....!@##$$#'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-687529937301157819</id><published>2008-04-18T13:36:00.001-07:00</published><updated>2008-04-18T13:57:07.307-07:00</updated><title type='text'>Skittering little beastie....</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_DH96rnFE2IM/SAkJTtw5L7I/AAAAAAAAABU/UP9H6CvVDrw/s1600-h/Picture+121.jpg"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_DH96rnFE2IM/SAkJTtw5L7I/AAAAAAAAABU/UP9H6CvVDrw/s200/Picture+121.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5190690279828041650" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So i made a little electrical bug.&lt;br /&gt;&lt;br /&gt;His engine is made from a little 3 volt vibrating motor. He has 2 front legs made out of beading wire. His back let is also made out of beading wire but is sturdier because i twisted it together. His power supply is from 2 peices of electrically condusive thread.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_DH96rnFE2IM/SAkKhtw5L9I/AAAAAAAAABg/X6fPRfvvZOY/s1600-h/Picture+123.jpg"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_DH96rnFE2IM/SAkKhtw5L9I/AAAAAAAAABg/X6fPRfvvZOY/s200/Picture+123.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5190691619857838034" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Initially i had the motor pointed stright back, but as physics show me that wasn't the way to configure it, so i put its motor to the side, and it works much better.&lt;br /&gt;&lt;br /&gt;It reminds me of those little water bugs that skate on the surface.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_DH96rnFE2IM/SAkLENw5L-I/AAAAAAAAABo/xVZtMA0rY2w/s1600-h/Picture+125.jpg"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_DH96rnFE2IM/SAkLENw5L-I/AAAAAAAAABo/xVZtMA0rY2w/s200/Picture+125.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5190692212563324898" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This weekend's endevor is to harness some communication power with these motors via serial ports.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-687529937301157819?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/687529937301157819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=687529937301157819' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/687529937301157819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/687529937301157819'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/04/skittering-little-beast.html' title='Skittering little beastie....'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_DH96rnFE2IM/SAkJTtw5L7I/AAAAAAAAABU/UP9H6CvVDrw/s72-c/Picture+121.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-9151857263956989797</id><published>2008-04-10T14:11:00.000-07:00</published><updated>2008-05-01T10:32:14.361-07:00</updated><title type='text'>Disco shirt extravaganza....</title><content type='html'>Made a shirt that has flex sensors in the arms. The more you flex your arms, the more the leds light up on the sleeves (via a quad cumulative circuit, with each threshold at a different angle) when both sleeves are flexed and their angles are acute, then it sends power to a component on the chest (through a AND gate to a transitor). &lt;br /&gt;&lt;br /&gt;Here is the circuit diagram.&lt;br /&gt;&lt;br /&gt;Here is the shirt&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_DH96rnFE2IM/SAkQlNw5L_I/AAAAAAAAABw/pLvNyNCrgPQ/s1600-h/Picture+128.jpg"&gt;&lt;img style="margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_DH96rnFE2IM/SAkQlNw5L_I/AAAAAAAAABw/pLvNyNCrgPQ/s200/Picture+128.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5190698277057146866" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_DH96rnFE2IM/SAkQsdw5MAI/AAAAAAAAAB4/mjcTi6fanJM/s1600-h/Picture+130.jpg"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_DH96rnFE2IM/SAkQsdw5MAI/AAAAAAAAAB4/mjcTi6fanJM/s200/Picture+130.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5190698401611198466" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;Here is the component to control the chest&lt;br /&gt;&lt;br /&gt;Here is it working in the dark&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-9151857263956989797?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/9151857263956989797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=9151857263956989797' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/9151857263956989797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/9151857263956989797'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/04/disco-shirt-extravaganza.html' title='Disco shirt extravaganza....'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_DH96rnFE2IM/SAkQlNw5L_I/AAAAAAAAABw/pLvNyNCrgPQ/s72-c/Picture+128.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-5447077671966369864</id><published>2008-03-31T08:56:00.000-07:00</published><updated>2008-03-31T09:02:59.547-07:00</updated><title type='text'>Integrated circuit ...</title><content type='html'>So my findings about 4 quad nand chip.&lt;br /&gt;&lt;br /&gt;It was a bit confusing at first.&lt;br /&gt;&lt;br /&gt;My list of faux-pas&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;  &lt;li&gt;I guess i didn't put power to the vcc at first and was wondering why with the 2 inputs that it didn't work.&lt;/li&gt;&lt;li&gt;when i did connect the power and the ground connections to the IC chip, i didn't use a resistor, i just connected it to ground which didn't allow for the reactions i was looking for.  the electricity was going directly to ground and by-passing my circuit. When i disconnected the ground, all the juice moved through my led.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;At one point windows turned off my connection to the Arduino board because grounding issues&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;I got it though. Now it is working.&lt;br /&gt;&lt;br /&gt;Next i am wondering just out of curiosity if it would be possible to invert the signal for the NAND gate, or is it just easier to use an AND gate.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-5447077671966369864?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/5447077671966369864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=5447077671966369864' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/5447077671966369864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/5447077671966369864'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/03/integrated-circuit.html' title='Integrated circuit ...'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-2276714106207191769</id><published>2008-03-30T07:57:00.000-07:00</published><updated>2008-03-30T07:58:19.713-07:00</updated><title type='text'>Pictures as promised....</title><content type='html'>Hi guys,&lt;br /&gt;here is the picture, as promised, of my 555 timer in action&lt;br /&gt;- Paul&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_DH96rnFE2IM/R--oLskv1uI/AAAAAAAAABA/O6CDfyVJOBA/s1600-h/IMG_1151.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://3.bp.blogspot.com/_DH96rnFE2IM/R--oLskv1uI/AAAAAAAAABA/O6CDfyVJOBA/s320/IMG_1151.jpg" alt="" id="BLOGGER_PHOTO_ID_5183546615024047842" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br/&gt;&lt;br/&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-2276714106207191769?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/2276714106207191769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=2276714106207191769' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/2276714106207191769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/2276714106207191769'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/03/pictures-as-promised.html' title='Pictures as promised....'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_DH96rnFE2IM/R--oLskv1uI/AAAAAAAAABA/O6CDfyVJOBA/s72-c/IMG_1151.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-2394283423474237009</id><published>2008-03-27T08:39:00.000-07:00</published><updated>2008-03-27T10:04:40.888-07:00</updated><title type='text'>Accelerometer problems....</title><content type='html'>So I am proceding with this project as planned, but i am a little worried why the 3 axis aren't more accurate....&lt;br /&gt;&lt;br /&gt;So on the arduino side of things everthing works well, every reading of the x,y, or z axis come through everytime but when i am using processing to collect the data via the serial port it is becoming highly inconsistant.&lt;br /&gt;&lt;br /&gt;My read on this is that the data is there, but perhaps there is something funny while it is sending on the serial port.&lt;br /&gt;&lt;br /&gt;On the up side though, i did stumble across a rich blog about DIY stuff with arduino at http://todbot.com/blog/&lt;br /&gt;&lt;br /&gt;Here are my codes so far:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;int stageWidth = 200;&lt;br /&gt;int  stageHeight = 200;&lt;br /&gt;String val;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;import processing.serial.*;&lt;br /&gt;&lt;br /&gt;Serial port;  // Create object from Serial class&lt;br /&gt;int x, y, z;      // Data received from the serial port&lt;br /&gt;String[] result;&lt;br /&gt;&lt;br /&gt;void setup()&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;  size(stageWidth + 10, stageHeight + 1);&lt;br /&gt;  frameRate(60);&lt;br /&gt;  port = new Serial(this, "COM5", 9600);  //PORT NEEDS TO BE BELOW THE APPLET call &lt;br /&gt;  x = 1; //initialize inputs&lt;br /&gt;  y = 1;&lt;br /&gt;  z = 1;&lt;br /&gt;   background(255);             // Set background to white&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void draw()&lt;br /&gt;{&lt;br /&gt;  System.out.println(port.readString());&lt;br /&gt;  if (0 &lt; port.available()) {  // If data is available,&lt;br /&gt;    val = port.readString();         // read it and store it in val&lt;br /&gt;    result = val.split(",");&lt;br /&gt;    //System.out.println("x: " +result[0] );&lt;br /&gt;&lt;br /&gt;    try{&lt;br /&gt;      x = Integer.parseInt(result[0]);&lt;br /&gt;      if( x &lt; 1 ){ x = 1;}&lt;br /&gt;    &lt;br /&gt;    }&lt;br /&gt;    catch (Exception exp){&lt;br /&gt;      //System.out.println("Exception reading X: " + exp);&lt;br /&gt;     &lt;br /&gt;    }&lt;br /&gt;    try{&lt;br /&gt;      y = Integer.parseInt(result[1]);&lt;br /&gt;      if( y &lt; 1 ) {y = 1;}     &lt;br /&gt;    }&lt;br /&gt;    catch (Exception exp){&lt;br /&gt;      //System.out.println("Exception reading Y: " + exp);&lt;br /&gt;    }&lt;br /&gt;    try{&lt;br /&gt;      z = Integer.parseInt(result[2]);&lt;br /&gt;       if( z &lt; 1 ){ z = 1;}     &lt;br /&gt;    }&lt;br /&gt;    catch (Exception exp){&lt;br /&gt;      //System.out.println("Exception reading Z: " + exp);&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;  //rect(0, (stageHeight * .2), (stageWidth /x), (stageHeight / 8));    // draw x input&lt;br /&gt;  rect(0, (stageHeight * .4), (stageWidth /y),(stageHeight / 8));   // draw y input&lt;br /&gt; //rect(0, (stageHeight * .6), (stageWidth /z), (stageHeight / 8));  // draw z input&lt;br /&gt;&lt;br /&gt;  /*if (val == 0) {              // If the serial value is 0,&lt;br /&gt;   fill(0);                   // set fill to black&lt;br /&gt;   }&lt;br /&gt;   else {                       // If the serial value is not 0,&lt;br /&gt;   fill(204);                 // set fill to light gray&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 / Arduino Code&lt;br /&gt; // Code for sensing a switch status and writing the value to the serial port.&lt;br /&gt;&lt;br /&gt; int switchPin = 4;                       // Switch connected to pin 4&lt;br /&gt;&lt;br /&gt; void setup() {&lt;br /&gt; pinMode(switchPin, INPUT);             // Set pin 0 as an input&lt;br /&gt; Serial.begin(9600);                    // Start serial communication at 9600 bps&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; void loop() {&lt;br /&gt; if (digitalRead(switchPin) == HIGH) {  // If switch is ON,&lt;br /&gt; Serial.print(1, BYTE);               // send 1 to Processing&lt;br /&gt; } else {                               // If the switch is not ON,&lt;br /&gt; Serial.print(0, BYTE);               // send 0 to Processing&lt;br /&gt; }&lt;br /&gt; delay(100);                            // Wait 100 milliseconds&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; */&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;And here is my Arduino Code:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;void setup()&lt;br /&gt;{&lt;br /&gt;  Serial.begin(9600);&lt;br /&gt;}&lt;br /&gt;void loop()&lt;br /&gt;{&lt;br /&gt;  Serial.print(analogRead(0)); //x axis&lt;br /&gt;  Serial.print(", ");&lt;br /&gt;  Serial.print(analogRead(1)); //y axis&lt;br /&gt;  Serial.print(", ");&lt;br /&gt;  Serial.println(analogRead(2)); //z axis&lt;br /&gt;}&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-2394283423474237009?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/2394283423474237009/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=2394283423474237009' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/2394283423474237009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/2394283423474237009'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/03/accelerometer-problems.html' title='Accelerometer problems....'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-6138930932021503578</id><published>2008-03-27T08:27:00.001-07:00</published><updated>2008-03-30T07:49:49.536-07:00</updated><title type='text'>Don't Panic !</title><content type='html'>So i have to admit, i was overwhelmed.&lt;br /&gt;&lt;br /&gt;Mostly its just that i haven't seen circuit diagrams before and wasn't sure how to use them. Stress level was a bit high. But no more! I completed a 555 led timer by just leaving it for a day and coming back to it when i was calmer.&lt;br /&gt;&lt;br /&gt;For all of you'se guys that are into electronics i guess you won't relate to a newbie reaction like that&lt;br /&gt;&lt;br /&gt;So when this was finally completed, i didn't calculate the blink rate, so at first i thought it didn't work as it was on for a long time. What i didn't realize is that it blinks really fast, it is off for .5 seconds and on for 3.&lt;br /&gt;&lt;br /&gt;Here is my progress so far! (Pics to be posted later)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_DH96rnFE2IM/R-u9yckv1sI/AAAAAAAAAAw/ZOvO8TtiOIE/s1600-h/circuitDiagram.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_DH96rnFE2IM/R-u9yckv1sI/AAAAAAAAAAw/ZOvO8TtiOIE/s320/circuitDiagram.png" alt="" id="BLOGGER_PHOTO_ID_5182444470581319362" border="0" /&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/_DH96rnFE2IM/R--oLskv1uI/AAAAAAAAABA/O6CDfyVJOBA/s1600-h/IMG_1151.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://3.bp.blogspot.com/_DH96rnFE2IM/R--oLskv1uI/AAAAAAAAABA/O6CDfyVJOBA/s320/IMG_1151.jpg" alt="" id="BLOGGER_PHOTO_ID_5183546615024047842" border="0" /&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/_DH96rnFE2IM/R--oKskv1tI/AAAAAAAAAA4/sFPXQBZbgj0/s1600-h/IMG_1150.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://3.bp.blogspot.com/_DH96rnFE2IM/R--oKskv1tI/AAAAAAAAAA4/sFPXQBZbgj0/s320/IMG_1150.jpg" alt="" id="BLOGGER_PHOTO_ID_5183546597844178642" 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/6917772835185546901-6138930932021503578?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/6138930932021503578/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=6138930932021503578' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/6138930932021503578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/6138930932021503578'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/03/dont-panic.html' title='Don&apos;t Panic !'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_DH96rnFE2IM/R-u9yckv1sI/AAAAAAAAAAw/ZOvO8TtiOIE/s72-c/circuitDiagram.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-404232358053048496</id><published>2008-03-23T12:21:00.000-07:00</published><updated>2008-03-23T12:23:28.816-07:00</updated><title type='text'>Digging into class structures.....</title><content type='html'>Time to start digging:&lt;br /&gt;&lt;br /&gt;here is the link to the Processing Docs: http://dev.processing.org/reference/everything/javadoc/index.html&lt;br /&gt;&lt;br /&gt;So from what i am following so far, every sketch we make is using the extends the PApplet class. So it seems we might be able to just interact with it like we would with java. &lt;br /&gt;&lt;br /&gt;javascript:void(0)&lt;br /&gt;Publish Post&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-404232358053048496?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/404232358053048496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=404232358053048496' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/404232358053048496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/404232358053048496'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/03/digging-into-class-structures.html' title='Digging into class structures.....'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-777595545849065795</id><published>2008-03-23T12:07:00.001-07:00</published><updated>2008-03-23T12:21:41.499-07:00</updated><title type='text'>Accelerometers....</title><content type='html'>So our new project is to work with accelerometers, and Processing to read in input off the board and display it visually.&lt;br /&gt;&lt;br /&gt;So far Jeremiah and I are running into issues with Serial port clean-ups. We deploy our Arduino code to the board, then close the port via the Arduino interface, but then when we access the controller with our Processing code we are having problems with Garbage clean up.&lt;br /&gt;&lt;br /&gt;When the code exits, there isn't an opportunity for us to close the Serial port. I was thinking that there would be an event like onClose that would be fired by Processing where we could do the clean up (Serial.close()) but so far we haven't found anything yet. &lt;br /&gt;&lt;br /&gt;here is the arduino code we are working with:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;int xPin = 1;&lt;br /&gt;int yPin = 2;&lt;br /&gt;int zPin = 3;&lt;br /&gt;&lt;br /&gt;void setup()&lt;br /&gt;{&lt;br /&gt;  Serial.begin(9600);&lt;br /&gt;  pinMode(xPin, INPUT);&lt;br /&gt;  pinMode(yPin, INPUT);&lt;br /&gt;  pinMode(zPin, INPUT);  &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void loop()&lt;br /&gt;{&lt;br /&gt;  Serial.print(analogRead(xPin));&lt;br /&gt;  Serial.print(", ");&lt;br /&gt;  Serial.print(analogRead(yPin));&lt;br /&gt;  Serial.print(", ");&lt;br /&gt;  Serial.println(analogRead(zPin)); &lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-777595545849065795?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/777595545849065795/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=777595545849065795' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/777595545849065795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/777595545849065795'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/03/accelerometers.html' title='Accelerometers....'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-4380442538161141245</id><published>2008-03-20T08:33:00.000-07:00</published><updated>2008-03-20T10:12:27.916-07:00</updated><title type='text'>Blink !</title><content type='html'>Oh hai guys, its me again.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This post is an addendum to the Blink project that i mentioned earlier: pictures, a diagram, and my code.&lt;br /&gt;&lt;br /&gt;First my pics:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_DH96rnFE2IM/R-KaoMkv1qI/AAAAAAAAAAg/KfIF4MGaSXM/s1600-h/2345296571_11fa6f6187_m.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_DH96rnFE2IM/R-KaoMkv1qI/AAAAAAAAAAg/KfIF4MGaSXM/s320/2345296571_11fa6f6187_m.jpg" alt="" id="BLOGGER_PHOTO_ID_5179872536790292130" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_DH96rnFE2IM/R-Kaockv1rI/AAAAAAAAAAo/P-i-9cdKZQE/s1600-h/2345293177_d69a8e9135_m.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_DH96rnFE2IM/R-Kaockv1rI/AAAAAAAAAAo/P-i-9cdKZQE/s320/2345293177_d69a8e9135_m.jpg" alt="" id="BLOGGER_PHOTO_ID_5179872541085259442" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Next the diagram:&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_DH96rnFE2IM/R-KGIckv1pI/AAAAAAAAAAY/5iQMk5p6pfY/s1600-h/Blink_CircuitDiagram.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_DH96rnFE2IM/R-KGIckv1pI/AAAAAAAAAAY/5iQMk5p6pfY/s320/Blink_CircuitDiagram.png" alt="" id="BLOGGER_PHOTO_ID_5179850001096890002" border="0" /&gt;&lt;/a&gt;Next, the code:&lt;br /&gt;&lt;blockquote&gt;// Fading LED&lt;br /&gt;//   by Paul Walter&lt;br /&gt;// &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;int value            = 0;      // variable to keep the actual value&lt;br /&gt;int ledpinOne        = 9;      // light connected to digital pin 9&lt;br /&gt;int ledpinTwo        = 10;     // light connected to digital pin 9&lt;br /&gt;int ledpinThree      = 11;     // light connected to digital pin 9&lt;br /&gt;int timePin          = 0;      // analog input that will control the timing&lt;br /&gt;int brightPin        = 1;      // offset that will control what interval the light will adjusted.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;double delayTime   = 0;&lt;br /&gt;double brightnessOffset = 0;      //offset that will control what interval the light will adjusted.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;void setup()&lt;br /&gt;{&lt;br /&gt;// nothing for setup&lt;br /&gt;Serial.begin(9600);   //make sure the serial port is open for sending messages back&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void loop()&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;  getMeasurements();&lt;br /&gt;    fade(ledpinOne);&lt;br /&gt; getMeasurements();&lt;br /&gt;   fade(ledpinTwo);&lt;br /&gt;  getMeasurements();&lt;br /&gt;    fade(ledpinThree);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void fade(int aledPin)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;//FADE IN&lt;br /&gt;for(int counter = 0 ; counter &lt;= delayTime; counter++) // fade in (from min to max)   {     value +=brightnessOffset;     if(value &gt; 254 )&lt;br /&gt;  {&lt;br /&gt;    value  = 254;  //make sure there isn't too much juice&lt;br /&gt;  }&lt;br /&gt;  analogWrite(aledPin, value);  // sets the value (range from 0 to 255)&lt;br /&gt;  delay(delayTime);     // wait to see the fx  &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;// FADE OUT&lt;br /&gt;for(int counter = delayTime; counter &gt;=0; counter--)   // fade out (from max to min)&lt;br /&gt;{&lt;br /&gt;  value-=brightnessOffset;&lt;br /&gt;  if(value &lt; value  =" 0;" delaytime     =" analogRead(timePin);" delaytime     =" delayTime" brightnessoffset =" analogRead(brightPin);" brightnessoffset =" ((brightnessOffset"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-4380442538161141245?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/4380442538161141245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=4380442538161141245' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/4380442538161141245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/4380442538161141245'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/03/blink.html' title='Blink !'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_DH96rnFE2IM/R-KaoMkv1qI/AAAAAAAAAAg/KfIF4MGaSXM/s72-c/2345296571_11fa6f6187_m.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-2307354213866068619</id><published>2008-03-18T18:59:00.000-07:00</published><updated>2008-03-18T19:14:10.592-07:00</updated><title type='text'>Growing my ideas like a garden....</title><content type='html'>I think its will be an important asset to start outlining personal motivations to facilitate my idea generation, because more naturally my ideas will be an effortless extension and exploration into me&lt;br /&gt;&lt;br /&gt;Almost like riding the winds like a sailboat&lt;br /&gt;&lt;br /&gt;also it gives me free license to get on my high horse and ride it around!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-2307354213866068619?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/2307354213866068619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=2307354213866068619' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/2307354213866068619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/2307354213866068619'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/03/growing-my-ideas-like-garden.html' title='Growing my ideas like a garden....'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-6863242842364931830</id><published>2008-03-18T17:30:00.000-07:00</published><updated>2008-03-18T18:59:33.338-07:00</updated><title type='text'>Greater suffering...</title><content type='html'>I am not really sure what it says about me as an individual, but lately I have been fascinated games involving a certain about of pain.&lt;br /&gt;&lt;br /&gt;Lately it occurred to me that a game based on Russian Roulette, whereby the participants take part in a game of chance that result in electric shock to one of the participants would be hilarious to implement. Riffing off of another discussion there was another idea of an electrified paper, rock, scissors the same lines which also was appealing.&lt;br /&gt;&lt;br /&gt;I guess I am fascinated by the idea of shared experience through ordeal. Sort of like the Greek tragedy where everything is a catastrophe and at the end you feel a cathartic release because your life is not as bad as what you saw in the play.&lt;br /&gt;&lt;br /&gt;There is something to be said of sharing and witnessing the experience of another that validates that person and can strengthen the empathy and bonds between.&lt;br /&gt;&lt;br /&gt;Alternately experiences like this help us to have a robust sense of humor about and greater capacity for suffering.  We are all dying, we are all imperfect. It is an arguable opinion but something horrible awaits us all before we finally die. It is important to combat the suffering of others with understanding and not to pity, as we will all soon be there.&lt;br /&gt;&lt;br /&gt;When my time comes as it has for a few of my friends and family, i am planning to enjoy it. I am going to enjoy my last grating, screaming, shreds of life, and i am planning to throw folks out of the room who end up just being pitying stick-in-the-muds.&lt;br /&gt;&lt;br /&gt;Lol, I have gone way off topic, but not a bad rambling post&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-6863242842364931830?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/6863242842364931830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=6863242842364931830' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/6863242842364931830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/6863242842364931830'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/03/greater-suffering.html' title='Greater suffering...'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-2379909038971628782</id><published>2008-03-18T17:23:00.000-07:00</published><updated>2008-03-18T17:30:02.506-07:00</updated><title type='text'>New widget....</title><content type='html'>So i made a new one.&lt;br /&gt;&lt;br /&gt;It has 2 analog inputs which control the timing and "light strength" of of 3 leds that blink in sequence.&lt;br /&gt;&lt;br /&gt;The "light strength" is actually an offset that the led uses when it is incrementing or decrementing the led's light level.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-2379909038971628782?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/2379909038971628782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=2379909038971628782' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/2379909038971628782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/2379909038971628782'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/03/new-widget.html' title='New widget....'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-9212892013269720969</id><published>2008-03-14T08:15:00.000-07:00</published><updated>2008-03-18T19:49:06.247-07:00</updated><title type='text'></title><content type='html'>glenwood electronics&lt;br /&gt;&lt;br /&gt;jay st. exit on 490&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-9212892013269720969?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/9212892013269720969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=9212892013269720969' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/9212892013269720969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/9212892013269720969'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/03/glenwood-electronics-jay-st.html' title=''/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-4250655323283349366</id><published>2008-03-14T07:28:00.000-07:00</published><updated>2008-03-14T07:49:06.476-07:00</updated><title type='text'>Widgets so far....</title><content type='html'>I am using the Arduino open source microcontroller (www.arduino.cc/en)&lt;br /&gt;&lt;br /&gt;Last night i was following Arduino tutorial and now i have configured the microcontroller to tell me what the analog input value of a light sensor. A nice first step.&lt;br /&gt;&lt;br /&gt;This will be quite useful for growing my master project ideas&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-4250655323283349366?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/4250655323283349366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=4250655323283349366' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/4250655323283349366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/4250655323283349366'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/03/widgets-so-far.html' title='Widgets so far....'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6917772835185546901.post-7830689848502679232</id><published>2008-03-12T14:22:00.000-07:00</published><updated>2008-03-12T14:27:56.294-07:00</updated><title type='text'>Physical Computing!</title><content type='html'>I am so curious.&lt;br /&gt;&lt;br /&gt;So intrigued.&lt;br /&gt;&lt;br /&gt;I guess i just figured that electronics always needed to be serious; that the realm of art and personal whim just weren't compatible with computers and electronics (begining to learn).&lt;br /&gt;&lt;br /&gt;It seems such an attractive foot in the door for learning more about electronics in the future.&lt;br /&gt;&lt;br /&gt;But enough about the future, here is what i have done now: bought a Arduino microcontroller, a A/B usb cable, a pretty rad book...hrmm, oh yes, i have also bought a breadboard (soderless)&lt;br /&gt;&lt;br /&gt;Things that i still need to do: write up my independent study proposal for the class as i am a grad taking an undergrad seminar.&lt;br /&gt;&lt;br /&gt;I think that covers it and makes for a decent first post.&lt;br /&gt;&lt;br /&gt;I go!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6917772835185546901-7830689848502679232?l=zanysmatterings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://zanysmatterings.blogspot.com/feeds/7830689848502679232/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6917772835185546901&amp;postID=7830689848502679232' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/7830689848502679232'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6917772835185546901/posts/default/7830689848502679232'/><link rel='alternate' type='text/html' href='http://zanysmatterings.blogspot.com/2008/03/physical-computing.html' title='Physical Computing!'/><author><name>Paulito Bandito</name><uri>http://www.blogger.com/profile/03864633330833065688</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp3.blogger.com/_DH96rnFE2IM/R9hMdn-v25I/AAAAAAAAAAM/syPdX-WK1JI/S220/153838089_38d455bab3.jpg'/></author><thr:total>0</thr:total></entry></feed>
