<?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-4612631057992193621</id><updated>2012-02-16T00:23:22.511-08:00</updated><title type='text'>ITP - pComp</title><subtitle type='html'>Lucas Longo's Assignments</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>30</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-5629144960308294540</id><published>2006-11-04T13:25:00.000-08:00</published><updated>2006-11-04T13:30:44.469-08:00</updated><title type='text'>DC Motor control with potentiometer</title><content type='html'>Included a potentiometer to change the speed of the motor...&lt;br /&gt;&lt;br /&gt;Here is the code:&lt;br /&gt;&lt;br /&gt;int switchPin = 2;    // switch input&lt;br /&gt;int motor1Pin = 3;    // H-bridge leg 1&lt;br /&gt;int motor2Pin = 4;    // H-bridge leg 2&lt;br /&gt;int speedPin = 9;     // H-bridge enable pin&lt;br /&gt;int ledPin = 13;      //LED&lt;br /&gt;&lt;br /&gt;int potPin = 0;      //Analogue input from Potentiometer&lt;br /&gt;int potValue = 0;    //Value being read from Potentiometer&lt;br /&gt;&lt;br /&gt;void setup() {&lt;br /&gt;&lt;br /&gt;Serial.begin(9600);  //Beggin serial communication&lt;br /&gt;&lt;br /&gt;// set the switch as an input:&lt;br /&gt;pinMode(switchPin, INPUT);&lt;br /&gt;&lt;br /&gt;// set all the other pins you're using as outputs:&lt;br /&gt;pinMode(motor1Pin, OUTPUT);&lt;br /&gt;pinMode(motor2Pin, OUTPUT);&lt;br /&gt;pinMode(speedPin, OUTPUT);&lt;br /&gt;pinMode(ledPin, OUTPUT);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void loop() {&lt;br /&gt;&lt;br /&gt;potValue = analogRead(potPin);  //Read pot value&lt;br /&gt;Serial.println(potValue);       //print value to debugg&lt;br /&gt;&lt;br /&gt;// if the switch is high, motor will turn on one direction:&lt;br /&gt;if (digitalRead(switchPin) == HIGH) {&lt;br /&gt;  digitalWrite(motor1Pin, LOW);   // set leg 1 of the H-bridge low&lt;br /&gt;  digitalWrite(motor2Pin, HIGH);  // set leg 2 of the H-bridge high&lt;br /&gt;  digitalWrite(ledPin, HIGH);      //Light up LED for debugging&lt;br /&gt;  analogWrite(speedPin, potValue/4);  //Write to speed pin to change speed&lt;br /&gt;}&lt;br /&gt;// if the switch is low, motor will turn in the other direction:&lt;br /&gt;else {&lt;br /&gt;  digitalWrite(motor1Pin, HIGH);  // set leg 1 of the H-bridge high&lt;br /&gt;  digitalWrite(motor2Pin, LOW);   // set leg 2 of the H-bridge low&lt;br /&gt;  analogWrite(speedPin, potValue/4);  //Write to speed pin to change speed&lt;br /&gt;  blink(ledPin, 3, 100);    //Blink LEDs for debugging&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;delay(10);  //Delay before next loop&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/*&lt;br /&gt;blinks an LED&lt;br /&gt;*/&lt;br /&gt;void blink(int whatPin, int howManyTimes, int milliSecs) {&lt;br /&gt;int i = 0;&lt;br /&gt;for ( i = 0; i &lt; howManyTimes; i++) {&lt;br /&gt;  digitalWrite(whatPin, HIGH);&lt;br /&gt;  delay(milliSecs/2);&lt;br /&gt;  digitalWrite(whatPin, LOW);&lt;br /&gt;  delay(milliSecs/2);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Here is the picture of the circuit:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/5717/563065314696312/1600/DC%20Motor%20Control%20Circuit.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger2/5717/563065314696312/320/DC%20Motor%20Control%20Circuit.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here is the video of it working:&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="350"&gt; &lt;param name="movie" value="http://www.youtube.com/v/GgTGIlCnO0w"&gt; &lt;/param&gt; &lt;embed src="http://www.youtube.com/v/GgTGIlCnO0w" type="application/x-shockwave-flash" width="425" height="350"&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/4612631057992193621-5629144960308294540?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/5629144960308294540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=5629144960308294540' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/5629144960308294540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/5629144960308294540'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/11/dc-motor-control-with-potentiometer.html' title='DC Motor control with potentiometer'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-2547878906952532830</id><published>2006-11-04T13:22:00.000-08:00</published><updated>2006-11-04T13:25:49.531-08:00</updated><title type='text'>LAB - DC Motor Control Using H-bridge</title><content type='html'>First version of circuit... when switch is pressed, direction of motor rotation is reversed...&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="350"&gt; &lt;param name="movie" value="http://www.youtube.com/v/IcYVpKllXLM"&gt; &lt;/param&gt; &lt;embed src="http://www.youtube.com/v/IcYVpKllXLM" type="application/x-shockwave-flash" width="425" height="350"&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/4612631057992193621-2547878906952532830?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/2547878906952532830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=2547878906952532830' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/2547878906952532830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/2547878906952532830'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/11/lab-dc-motor-control-using-h-bridge.html' title='LAB - DC Motor Control Using H-bridge'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-2800486933778458361</id><published>2006-11-01T09:01:00.001-08:00</published><updated>2006-11-01T09:01:48.489-08:00</updated><title type='text'>RUG Video</title><content type='html'>&lt;object width="425" height="350"&gt; &lt;param name="movie" value="http://www.youtube.com/v/QWMqn5jsqkA"&gt; &lt;/param&gt; &lt;embed src="http://www.youtube.com/v/QWMqn5jsqkA" type="application/x-shockwave-flash" width="425" height="350"&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/4612631057992193621-2800486933778458361?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/2800486933778458361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=2800486933778458361' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/2800486933778458361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/2800486933778458361'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/11/rug-video.html' title='RUG Video'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-7727817251118530170</id><published>2006-11-01T08:43:00.001-08:00</published><updated>2006-11-01T08:43:48.306-08:00</updated><title type='text'>Arduino Code</title><content type='html'>//RUG&lt;br /&gt;&lt;br /&gt;//PIN Numbers&lt;br /&gt;int okPin = 3;    &lt;br /&gt;int buzzPin = 2;&lt;br /&gt;int rugPin = 4;&lt;br /&gt;int readPin = 5;&lt;br /&gt;&lt;br /&gt;//PIN variables&lt;br /&gt;int rugValue;&lt;br /&gt;&lt;br /&gt;//RFID serial read variables&lt;br /&gt;int val = 0;       // variable to store the data from the serial port: 1 = start of byte&lt;br /&gt;int serbyte = 0;   // variable to store the VALID data from the port&lt;br /&gt;int length;        //length of byte coming through&lt;br /&gt;int status;       //serial read data from RFID tag&lt;br /&gt;int data[80];     //data array read from RFID tag&lt;br /&gt;int tagID;        //tag to be tracked - set during reset procedure&lt;br /&gt;&lt;br /&gt;void setup() {&lt;br /&gt;&lt;br /&gt;  //Set Pin modes&lt;br /&gt;  pinMode(okPin, OUTPUT);    &lt;br /&gt;  pinMode(buzzPin, OUTPUT);  &lt;br /&gt;  pinMode(rugPin, INPUT);  &lt;br /&gt;  pinMode(readPin, OUTPUT); &lt;br /&gt;&lt;br /&gt;  //Set PIN states&lt;br /&gt;  digitalWrite(okPin, LOW);&lt;br /&gt;  digitalWrite(buzzPin, LOW);&lt;br /&gt;  digitalWrite(readPin, LOW);&lt;br /&gt;&lt;br /&gt;  Serial.begin(9600);        // connect to the serial port&lt;br /&gt;&lt;br /&gt;  //TEMP&lt;br /&gt;  tagID = 55;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void loop ()&lt;br /&gt;{&lt;br /&gt;  // read the serial port&lt;br /&gt;  serbyte = Serial.read();&lt;br /&gt;  if (serbyte != -1) {&lt;br /&gt;    val = serbyte;&lt;br /&gt;  }&lt;br /&gt;  else {&lt;br /&gt;    val = 0;&lt;br /&gt;  }&lt;br /&gt; &lt;br /&gt;  //If val is 1, its at start of tag reading - read it all to flush&lt;br /&gt;  if (val == 1) {&lt;br /&gt;    digitalWrite(13, HIGH);&lt;br /&gt;    length = Serial.read();&lt;br /&gt;    status = Serial.read();&lt;br /&gt;    for (int i = 0; i &lt; length - 1; i++){&lt;br /&gt;      data[i] = Serial.read();&lt;br /&gt;      //Serial.print(data[0]);&lt;br /&gt;      //Serial.print(" ");&lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  //Read RUG switch and serial&lt;br /&gt;  rugValue  = digitalRead(rugPin);  //rugValue = 0 if stepped on&lt;br /&gt;  Serial.print(rugValue);&lt;br /&gt; &lt;br /&gt;   if (rugValue == 1){&lt;br /&gt;    if (val == 1){&lt;br /&gt;      digitalWrite(buzzPin, LOW);&lt;br /&gt;      digitalWrite(okPin, HIGH);&lt;br /&gt;    }&lt;br /&gt;    else if (val == 0) {&lt;br /&gt;      digitalWrite(okPin, LOW);&lt;br /&gt;      digitalWrite(buzzPin, HIGH);&lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt;  else {&lt;br /&gt;    digitalWrite(okPin, LOW);&lt;br /&gt;    digitalWrite(buzzPin, LOW);&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;delay(200);&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/4612631057992193621-7727817251118530170?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/7727817251118530170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=7727817251118530170' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/7727817251118530170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/7727817251118530170'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/11/arduino-code.html' title='Arduino Code'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-4617639871818524017</id><published>2006-11-01T08:40:00.000-08:00</published><updated>2006-11-01T09:02:17.357-08:00</updated><title type='text'>RUG Design</title><content type='html'>Here is a link to the final design we propose and the pictures of our physical model:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://web.mac.com/lucaslongo/iWeb/CommLab2/pComp.html"&gt;Pictures of physical model&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4612631057992193621-4617639871818524017?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/4617639871818524017/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=4617639871818524017' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/4617639871818524017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/4617639871818524017'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/11/rug-design.html' title='RUG Design'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-6153266417445690885</id><published>2006-10-24T08:12:00.001-07:00</published><updated>2006-10-24T08:12:30.305-07:00</updated><title type='text'>Response from Ed Purver </title><content type='html'>I like the idea, because I am the kind of person who forgets stuff like my metrocard, or my phone, etc..., so it definitely has a use. &lt;br /&gt;&lt;br /&gt;But I would hesitate to buy it until I was reassured that there were no health issues to having a bunch of RFID tags on my person ALL THE TIME...  and some people might have privacy issues, with making themselves so trackable?&lt;br /&gt;&lt;br /&gt;Before I bought it, I'd need to know why this was so much better than a piece of paper on my front door reminding me not to forget my keys, etc&lt;br /&gt;&lt;br /&gt;I think the alarm would have to be sound.  The sound would have to come from the device (not my own phone, which I may have left in my room), and I would have to be able to load my own audio files onto the device, otherwise it would drive me crazy.   And I want a different sound for each object it is detecting, so I don't have to spend time working out which object I have not got...&lt;br /&gt;On Oct 23, 2006, at 4:28 PM, Anne Hong wrote:&lt;br /&gt;&lt;br /&gt;1. Would you use it? I would definitely give it a try. The most important aspects would be immediacy and priority. Would I recieve this alarm as soon as I open the door, or is it after I'm in the lobby or outside in the subway? If I knew it was my wallet, then it would be worthwhile for me to go back upstairs and get it versus a cellphone. I think it might be a little too late to worry about my keys until after I got back to call the super. I sometimes forget, but I assess if it's worth my time to go back.&lt;br /&gt;2. Would you prefer alarms to be light only, sound only or both alarms? Vibrating cellphone or alarm is sufficient for me.&lt;br /&gt;3. Would you stick the Tags on your wallet, cell, key, etc...? I would use these tags on items that I don't use frequently. Maybe it's a book or a paper I need for a group discussion that I'm more likely to forget at home.&lt;br /&gt;4. Comments?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4612631057992193621-6153266417445690885?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/6153266417445690885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=6153266417445690885' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/6153266417445690885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/6153266417445690885'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/10/response-from-ed-purver.html' title='Response from Ed Purver &lt;ed.p@nyu.edu&gt;'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-6167851861568843111</id><published>2006-10-24T07:52:00.000-07:00</published><updated>2006-10-24T08:12:09.093-07:00</updated><title type='text'>DigiKey Order - RFID order in!</title><content type='html'>&lt;a href="http://www.ti.com/rfid/shtml/prod-readers-RI-STU-MRD1.shtml"&gt;RFID reader&lt;/a&gt;&lt;br /&gt;Transponders:&lt;br /&gt;&lt;a href="http://www.ti.com/rfid/shtml/prod-trans-RI-TRP-REHP.shtml"&gt;- Glass&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.ti.com/rfid/shtml/prod-trans-RI-TRP-R4FF.shtml"&gt;- Card&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.ti.com/rfid/shtml/prod-trans-RI-TRP-RFOB.shtml"&gt;- Key Ring&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.ti.com/rfid/shtml/prod-ant-RI-ANT-G02E.shtml"&gt;Antenna&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4612631057992193621-6167851861568843111?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/6167851861568843111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=6167851861568843111' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/6167851861568843111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/6167851861568843111'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/10/digikey-order-rfid-order-in.html' title='DigiKey Order - RFID order in!'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-4617945074609109903</id><published>2006-10-23T23:47:00.003-07:00</published><updated>2006-10-23T23:47:46.526-07:00</updated><title type='text'>Response from Kunal Gupta </title><content type='html'>1) hm.. although i like ti the way it is, i think the aesthetics of the object have to be real good, like it has to blend in with environments more .&lt;br /&gt;    i think the display works well on a wall.&lt;br /&gt;&lt;br /&gt;2) sound is cool, light si cool, ion  a wall&lt;br /&gt;&lt;br /&gt;3) it's ideal for keys/cell phone/ wallet/medicine etc.&lt;br /&gt;&lt;br /&gt;4) medicine? What the fuck am i talking abot?&lt;br /&gt;&lt;br /&gt;&lt;3&lt;br /&gt;Kunal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4612631057992193621-4617945074609109903?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/4617945074609109903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=4617945074609109903' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/4617945074609109903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/4617945074609109903'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/10/response-from-kunal-gupta.html' title='Response from Kunal Gupta &lt;meronkun@gmail.com&gt;'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-3670531429420531930</id><published>2006-10-23T23:47:00.001-07:00</published><updated>2006-10-23T23:47:20.930-07:00</updated><title type='text'>Response from Anne Hong </title><content type='html'>1. Would you use it? I would definitely give it a try. The most important aspects would be immediacy and priority. Would I recieve this alarm as soon as I open the door, or is it after I'm in the lobby or outside in the subway? If I knew it was my wallet, then it would be worthwhile for me to go back upstairs and get it versus a cellphone. I think it might be a little too late to worry about my keys until after I got back to call the super. I sometimes forget, but I assess if it's worth my time to go back.&lt;br /&gt;2. Would you prefer alarms to be light only, sound only or both alarms? Vibrating cellphone or alarm is sufficient for me.&lt;br /&gt;3. Would you stick the Tags on your wallet, cell, key, etc...? I would use these tags on items that I don't use frequently. Maybe it's a book or a paper I need for a group discussion that I'm more likely to forget at home.&lt;br /&gt;4. Comments?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4612631057992193621-3670531429420531930?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/3670531429420531930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=3670531429420531930' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/3670531429420531930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/3670531429420531930'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/10/response-from-anne-hong.html' title='Response from Anne Hong &lt;annehonglists@gmail.com&gt;'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-3071073080082469981</id><published>2006-10-23T23:46:00.003-07:00</published><updated>2006-10-23T23:47:01.963-07:00</updated><title type='text'>Response from J0sh </title><content type='html'>Your web page made my web browser crawl to a halt, so I can't give you&lt;br /&gt;feedback on that, but I'd love to give you some feedback as I'm really&lt;br /&gt;interested in the project!&lt;br /&gt;&lt;br /&gt;1. Would you use it?&lt;br /&gt;&lt;br /&gt;Yep.&lt;br /&gt;&lt;br /&gt;2. Would you prefer alarms to be light only, sound only or both alarms?&lt;br /&gt;&lt;br /&gt;Either, depending on the item (my choice).&lt;br /&gt;&lt;br /&gt;3. Would you stick the Tags on your wallet, cell, key, etc...?&lt;br /&gt;&lt;br /&gt;Depends on how big they are. If you're talking passive RFID (grain-of-rice-sized) I'd put them everywhere, but if they're key-chain-fob-sized I'd put them on my keys only.&lt;br /&gt;&lt;br /&gt;4. Comments?&lt;br /&gt;&lt;br /&gt;How configurable, what's the interface, what's the sound/light alarm&lt;br /&gt;like, what size is the fob?&lt;br /&gt;&lt;br /&gt;- J0sh&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4612631057992193621-3071073080082469981?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/3071073080082469981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=3071073080082469981' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/3071073080082469981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/3071073080082469981'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/10/j0sh.html' title='Response from J0sh &lt;j0sh@nyu.edu&gt;'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-2058787348210021297</id><published>2006-10-23T23:46:00.001-07:00</published><updated>2006-10-23T23:46:32.384-07:00</updated><title type='text'>Response from rui pereira </title><content type='html'>hey guys!&lt;br /&gt;&lt;br /&gt;luvly project!&lt;br /&gt;&lt;br /&gt;i would buy it for sure, actually.. build it fast&gt;&gt;&gt;&gt;&gt; i want one!!!&lt;br /&gt;regarding ur q's::&lt;br /&gt;1. Would you use it?  YES!&lt;br /&gt;&lt;br /&gt;2. Would you prefer alarms to be light only, sound only or both alarms? both, sometimes(most of the times) i use ipod so light would b great but also sound is great when u just woke up and don´t see anything in front of u...&lt;br /&gt;&lt;br /&gt;3. Would you stick the Tags on your wallet, cell, key, etc...? huuum.... wallet.. may b..  keys , ipod!, phone, camera, and may b not only this but also important books or objects i would need in a specific day&lt;br /&gt;&lt;br /&gt;4. Comments?&lt;br /&gt;modularity, because of what i've just answered in the previous q, each day is a different day, so there r objects i always carry with me&lt;br /&gt;but there r also some special stuff in specific days that would b great to not forget..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;goood luck and great werk!!!!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;rui&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4612631057992193621-2058787348210021297?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/2058787348210021297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=2058787348210021297' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/2058787348210021297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/2058787348210021297'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/10/response-from-rui-pereira.html' title='Response from rui pereira &lt;rux.pgp@gmail.com&gt;'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-821012992600709711</id><published>2006-10-23T23:45:00.000-07:00</published><updated>2006-10-23T23:46:05.807-07:00</updated><title type='text'>Response from Joshua Fleig </title><content type='html'>I think its a great idea. What if instead of alarm it said "keys"?? Also what about umbrella?? you could have it check weather.com &lt;http://weather.com&gt;  every morning and remind you to get your umbrella.&lt;br /&gt;&lt;br /&gt;Also I have an idea that may fall into a similar catagory that I am looking to do possible for a final project remind me to talk to you about it.&lt;br /&gt;&lt;br /&gt;Josh&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4612631057992193621-821012992600709711?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/821012992600709711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=821012992600709711' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/821012992600709711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/821012992600709711'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/10/response-from-joshua-fleig.html' title='Response from Joshua Fleig &lt;jfleig1@gmail.com&gt;'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-5647038560637459496</id><published>2006-10-23T23:44:00.000-07:00</published><updated>2006-10-23T23:45:29.312-07:00</updated><title type='text'>Email sent out</title><content type='html'>Sent out the following email to ipt-students list - waiting for responses ;)&lt;br /&gt;&lt;br /&gt;****&lt;br /&gt;&lt;br /&gt;R.U.G. - "Remember Ur Goods"&lt;br /&gt;Reminder device for those out in a hurry&lt;br /&gt;&lt;br /&gt;This is our Phys-Comp midTerm project.&lt;br /&gt;&lt;br /&gt;We are in dire need of feedback for the usability testing&lt;br /&gt;&lt;br /&gt;Since our prototype is not ready, we invite you all to take an incredible&lt;br /&gt;"virtual tour" of our idea!!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://itp.nyu.edu/%7Ell1020/pcomp/rug/index.html"&gt;http://itp.nyu.edu/~ll1020/pcomp/rug/index.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And if possible give us some quick feedback!&lt;br /&gt;&lt;br /&gt;1. Would you use it?&lt;br /&gt;2. Would you prefer alarms to be light only, sound only or both alarms?&lt;br /&gt;3. Would you stick the Tags on your wallet, cell, key, etc...?&lt;br /&gt;4. Comments?&lt;br /&gt;&lt;br /&gt;Thank you!!&lt;br /&gt;&lt;br /&gt;Lucas&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/4612631057992193621-5647038560637459496?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/5647038560637459496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=5647038560637459496' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/5647038560637459496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/5647038560637459496'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/10/email-sent-out.html' title='Email sent out'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-1134960625802875591</id><published>2006-10-21T14:36:00.000-07:00</published><updated>2006-10-21T14:37:14.945-07:00</updated><title type='text'>RUG SIMULATION</title><content type='html'>Here is a simulation of how our product will work conceptually.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://itp.nyu.edu/%7Ell1020/pcomp/rug/"&gt;RUG&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4612631057992193621-1134960625802875591?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/1134960625802875591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=1134960625802875591' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/1134960625802875591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/1134960625802875591'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/10/rug-simulation.html' title='RUG SIMULATION'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-2039742628067310512</id><published>2006-10-21T10:40:00.000-07:00</published><updated>2006-10-21T10:55:18.258-07:00</updated><title type='text'>RUG = Remember U Goods</title><content type='html'>For simplicity, size, and power constraints we decided to go with a rug design instead of yet another portable device for you to forget.&lt;br /&gt;&lt;br /&gt;Advantages of the RUG design:&lt;br /&gt;&lt;br /&gt;1. Never forget the rug - it is stationary&lt;br /&gt;2. Activate by stepping on it&lt;br /&gt;3. Power source could be larger or even AC power supply from the wall&lt;br /&gt;4. Would fit an RFID reader more easily&lt;br /&gt;5. Can incorporate a better interface for feedback&lt;br /&gt;&lt;br /&gt;Now we actually have to build this thing:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;HARDWARE NEEDS:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;1. LEDs&lt;/span&gt;&lt;br /&gt;    a) OK - goes off when all items are near&lt;br /&gt;    b) Red - Item Missing&lt;br /&gt;    c) Green - Missing&lt;br /&gt;    d) Blue - Missing&lt;br /&gt;&lt;span style="font-style: italic;"&gt;2. Buttons&lt;/span&gt;&lt;br /&gt;    a) Reset/Start Button - used to collect items that will be tracked&lt;br /&gt;    b) Activating Buttons (flat and resistant to place under carpet)&lt;br /&gt;&lt;span style="font-style: italic;"&gt;3. Casing&lt;/span&gt;&lt;br /&gt;    a) Display LEDs    &lt;br /&gt;    b) Reset/Start Button&lt;br /&gt;    c) RFID reader&lt;br /&gt;    d) Power supply&lt;br /&gt;&lt;span style="font-style: italic;"&gt;4. Speaker&lt;/span&gt;&lt;br /&gt;    a) OK Sound&lt;br /&gt;    b) Item Missing Sound&lt;br /&gt;&lt;span style="font-style: italic;"&gt;5. RFID Reader &amp; Tags&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;6. Battery/Power supply&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;7. Arduino microcontroller&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;8. Wires/sodder&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SOFTWARE NEEDS:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Check to see if RUG is being stepped on&lt;br /&gt;2. Read RFID tags&lt;br /&gt;3. Blink appropriate LEDs&lt;br /&gt;4. Play appropriate sound&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4612631057992193621-2039742628067310512?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/2039742628067310512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=2039742628067310512' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/2039742628067310512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/2039742628067310512'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/10/rug-remember-u-goods.html' title='RUG = Remember U Goods'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-6060124406998954663</id><published>2006-10-14T08:27:00.000-07:00</published><updated>2006-10-14T08:54:54.704-07:00</updated><title type='text'>MidTerm Prototype halfway there</title><content type='html'>For our midterm we decided to create a device that would tell you if you have everything you usually carry around - basically a tool that will not let you forget your stuff when you leave the house.&lt;br /&gt;&lt;br /&gt;Here is some data we collected to start off with - &lt;a href="http://web.mac.com/lucaslongo/iWeb/LucasLongo/NYC%20Bags/FE92295B-F2D7-46EA-AC2F-2DC7892A17F6.html"&gt;NYC Bags&lt;/a&gt; - click through to see all the data collected.&lt;br /&gt;&lt;br /&gt;From we decided that the ideal product would be something small that you could carry with you.&lt;br /&gt;&lt;br /&gt;When you squeeze it, it should vibrate telling you that all you want is there... if it is not all there, then LEDs will indicate which item you are missing.&lt;br /&gt;&lt;br /&gt;Ideally the squeeze device woul be wireless and you would simply place wireless transmitter stickers on the objects you do not want to forget.&lt;br /&gt;&lt;br /&gt;Also - to make the system fool proof, we would install a "missing detector" on the door frame of your house. Your door would tell you if you were forgetting anything as you left the house.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4612631057992193621-6060124406998954663?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/6060124406998954663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=6060124406998954663' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/6060124406998954663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/6060124406998954663'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/10/midterm-prototype-halfway-there.html' title='MidTerm Prototype halfway there'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-8359797278959701918</id><published>2006-10-14T05:46:00.000-07:00</published><updated>2006-10-14T05:53:31.653-07:00</updated><title type='text'>Pong code not working the way I want it to</title><content type='html'>For some reason the code "half" works...&lt;br /&gt;&lt;br /&gt;When I start my Processing code, my gLed is ON... should be off (set both Leds to LOW in the void section)&lt;br /&gt;&lt;br /&gt;Also - when I start playing the game, I wanted the LEDS to blink when the ball hit the paddle... but that slows the entire game down tremendously...&lt;br /&gt;&lt;br /&gt;My guess is that the lighting of the pins should occur somehow in sync with the serial event part of the code...&lt;br /&gt;&lt;br /&gt;Here is the code... put in &lt;span style="font-weight: bold;"&gt;BOLD&lt;/span&gt; the relevant parts...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ARDUINO CODE:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;int firstSensor = 0;        // first analog sensor&lt;br /&gt;int secondSensor = 0;   // second analog sensor&lt;br /&gt;int thirdSensor = 0;    // digital sensor&lt;br /&gt;int inByte = 0;             // incoming serial byte&lt;br /&gt;int yLed = 3;&lt;br /&gt;int gLed = 4;&lt;br /&gt;&lt;br /&gt;void setup()&lt;br /&gt;{&lt;br /&gt;  // start serial port at 9600 bps:&lt;br /&gt;  Serial.begin(9600);&lt;br /&gt;&lt;br /&gt;  pinMode(yLed, OUTPUT);     &lt;br /&gt;  pinMode(gLed, OUTPUT);     &lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight: bold;"&gt;  digitalWrite(yLed,LOW);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;  digitalWrite(gLed,LOW);&lt;/span&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void loop()&lt;br /&gt;{&lt;br /&gt;  // if we get a valid byte, read analog ins:&lt;br /&gt;  if (Serial.available() &gt; 0) {&lt;br /&gt;    // get incoming byte:&lt;br /&gt;    inByte = Serial.read();&lt;br /&gt;    // read first analog input, divide by 4 to make the range 0-255:&lt;br /&gt;    firstSensor = analogRead(0)/4;&lt;br /&gt;    // delay 10ms to let the ADC recover:&lt;br /&gt;    delay(10);&lt;br /&gt;    // read second analog input, divide by 4 to make the range 0-255:&lt;br /&gt;    secondSensor = analogRead(1)/4;&lt;br /&gt;    // read  switch, multiply by 255&lt;br /&gt;    // so that you're sending 0 or 255:&lt;br /&gt;    thirdSensor = 255 * digitalRead(2);&lt;br /&gt;    // send sensor values:&lt;br /&gt;    Serial.print(firstSensor, BYTE);&lt;br /&gt;    Serial.print(secondSensor, BYTE);&lt;br /&gt;    Serial.print(thirdSensor, BYTE);       &lt;br /&gt;&lt;br /&gt;    //digitalWrite(yLed, HIGH);&lt;br /&gt;    digitalWrite(gLed, HIGH);&lt;br /&gt;&lt;br /&gt;    &lt;span style="font-weight: bold;"&gt;if (Serial.read() == 66)   &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;      digitalWrite(yLed, HIGH);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;      delay(1000);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;      digitalWrite(yLed, LOW);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    else if (Serial.read() == 67)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;      digitalWrite(gLed, HIGH);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;      delay(1000);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;      digitalWrite(gLed, LOW);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;    }&lt;/span&gt;&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;********************************&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;PROCESSING CODE:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;import processing.serial.*;&lt;br /&gt;&lt;br /&gt;Serial port;                                                               // The serial port&lt;br /&gt;int[] serialInArray = new int[3];                          //Array for serial input signals&lt;br /&gt;int serialCount = 0;                                                // A count of how many bytes we receive&lt;br /&gt;float rightControl, leftControl, resetButton;     // Controls&lt;br /&gt;boolean firstContact = false;                                // Whether we've heard from the microcontroller&lt;br /&gt;&lt;br /&gt;PFont font;&lt;br /&gt;&lt;br /&gt;//Game Initial Settings&lt;br /&gt;int screenW = 800;      //Screen Widht&lt;br /&gt;int screenH = 800;     //Screen Height&lt;br /&gt;float ballSpeed = 6;   //Initial Ball Speed&lt;br /&gt;float ballSize = 50;   //Initail Ball Size&lt;br /&gt;&lt;br /&gt;//Game initial stats&lt;br /&gt;int scoreL = 0;          //Left player score&lt;br /&gt;int scoreR = 0;          //Right player score&lt;br /&gt;&lt;br /&gt;int previousScore = 0;       //Previous moment's score to determine pause or start state&lt;br /&gt;int level = 1;                       //Game Level&lt;br /&gt;int previousLevel = 0;   //Previous moment's leve to determine scoring&lt;br /&gt;&lt;br /&gt;int playgame = -1;       //Flag to see if game is paused&lt;br /&gt;int started = 0;&lt;br /&gt;&lt;br /&gt;Pong pong;      //Pong class variable - each level is a new class&lt;br /&gt;&lt;br /&gt;void setup() {&lt;br /&gt;  size(screenW,screenH);&lt;br /&gt;  frameRate(30);&lt;br /&gt;  smooth();&lt;br /&gt;  font = loadFont("CourierNew36.vlw");&lt;br /&gt;&lt;br /&gt;  pong = new Pong(1);&lt;br /&gt;&lt;br /&gt;  // Print a list of the serial ports, for debugging purposes:&lt;br /&gt;  //println(Serial.list());&lt;br /&gt;&lt;br /&gt;  // Open whatever port is the one you're using.&lt;br /&gt;  port = new Serial(this, Serial.list()[0], 9600);&lt;br /&gt;  port.write(65);    // Send a capital A to start the microcontroller sending&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void draw() {&lt;br /&gt;&lt;br /&gt;  background(0);&lt;br /&gt;&lt;br /&gt;  // If no serial data has beeen received, send again until we get some.&lt;br /&gt;  if (firstContact == false) {&lt;br /&gt;    delay(300);&lt;br /&gt;    port.write(65);&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  //Call class to draw the table/game&lt;br /&gt;  pong.drawGameTable();&lt;br /&gt;&lt;br /&gt;  //If score is over 5 go to next level - reset counters on the way&lt;br /&gt;  if (scoreR + scoreL &gt; 5)&lt;br /&gt;  {&lt;br /&gt;    previousLevel = level;&lt;br /&gt;    level++;&lt;br /&gt;    pong = new Pong(level);&lt;br /&gt;    scoreR = 0;&lt;br /&gt;    scoreL = 0;&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//------------------------------&lt;br /&gt;void serialEvent(Serial port) {&lt;br /&gt; &lt;br /&gt;  float[] buttonFlag = new float[1000];&lt;br /&gt;  int i = 0;&lt;br /&gt;  int flag = 1;    //flag to see if any of the buttonFlags are 0&lt;br /&gt; &lt;br /&gt;  // if this is the first byte received,&lt;br /&gt;  // take note of that fact:&lt;br /&gt;  if (firstContact == false) {&lt;br /&gt;    firstContact = true;&lt;br /&gt;  }&lt;br /&gt;  // Add the latest byte from the serial port to array:&lt;br /&gt;  serialInArray[serialCount] = port.read();&lt;br /&gt;  serialCount++;&lt;br /&gt;&lt;br /&gt;  // If we have 3 bytes:&lt;br /&gt;  if (serialCount &gt; 2 ) {&lt;br /&gt;    leftControl = serialInArray[0];&lt;br /&gt;    rightControl = serialInArray[1];&lt;br /&gt;    resetButton = serialInArray[2];&lt;br /&gt;&lt;br /&gt;    //println(resetButton);&lt;br /&gt;&lt;br /&gt;/*&lt;br /&gt;    //If button state changes to zero somewhere along the array, reset game&lt;br /&gt;    if (i == 1000)      //If i hits 1000, reset back to zero&lt;br /&gt;    {&lt;br /&gt;      i = 0;&lt;br /&gt;    }&lt;br /&gt;    i++;                //Increment i&lt;br /&gt;   &lt;br /&gt;    buttonFlag[i] = resetButton;&lt;br /&gt;    &lt;br /&gt;    for (int c = 0; c &lt; 1000; c++)&lt;br /&gt;   {&lt;br /&gt;     if (buttonFlag[c] == 0)&lt;br /&gt;     {&lt;br /&gt;       flag = 0;&lt;br /&gt;     }&lt;br /&gt;   }&lt;br /&gt;  &lt;br /&gt;    if (flag == 0)&lt;br /&gt;    {&lt;br /&gt;      playgame = playgame * -1;       &lt;br /&gt;      flag = 1;&lt;br /&gt;    }&lt;br /&gt;*/&lt;br /&gt;&lt;br /&gt;    // Send a capital A to request new sensor readings:&lt;br /&gt;    port.write(65);&lt;br /&gt;&lt;br /&gt;    // Reset serialCount:&lt;br /&gt;    serialCount = 0;&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//------------------------------&lt;br /&gt;void mouseReleased()&lt;br /&gt;{&lt;br /&gt;  playgame = playgame * -1;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;*************************&lt;br /&gt;class Pong&lt;br /&gt;{&lt;br /&gt;  //Ball parameters&lt;br /&gt;  float ballX = screenW/2;&lt;br /&gt;  float ballY = screenH/2;&lt;br /&gt;&lt;br /&gt;  //Location of players&lt;br /&gt;  float leftX = 20, leftY = screenH/2;&lt;br /&gt;  float rightX = screenW - 20, rightY = screenH/2;&lt;br /&gt;&lt;br /&gt;  //Size of stick&lt;br /&gt;  float stickW = 10, stickH = 60;&lt;br /&gt;&lt;br /&gt;  //Direction&lt;br /&gt;  int ballXdirection = 1;&lt;br /&gt;  int ballYdirection = 1;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  Pong(int _level)&lt;br /&gt;  {&lt;br /&gt;    level = _level;&lt;br /&gt;    ballSize = ballSize - level * 1.10;&lt;br /&gt;    ballSpeed = ballSpeed + level * 1.001;&lt;br /&gt;    playgame = -1;&lt;br /&gt;  }&lt;br /&gt;  //-----------------------------------------------------------------------------&lt;br /&gt;  void drawGameTable()&lt;br /&gt;  {&lt;br /&gt;    //External Box and middle line&lt;br /&gt;    background(0);&lt;br /&gt;    rectMode(CORNER);&lt;br /&gt;    strokeWeight(2);&lt;br /&gt;    stroke(255);&lt;br /&gt;    fill(0);&lt;br /&gt;&lt;br /&gt;    rect(5, 5, screenW-10, screenH-10);&lt;br /&gt;    line(screenW/2, 5, screenW/2, screenH-5);&lt;br /&gt;&lt;br /&gt;    //Game values&lt;br /&gt;    rect(screenW/2-65,10,125,40);&lt;br /&gt;    textFont(font, 30);&lt;br /&gt;    fill(255);&lt;br /&gt;    text(scoreR, screenW/2-40, 32);&lt;br /&gt;    text(scoreL, screenW/2+25, 32);&lt;br /&gt;    text("x",screenW/2-8,32);&lt;br /&gt;    textFont(font, 15);&lt;br /&gt;    text("Level ", screenW/2-30, 47);&lt;br /&gt;    text(level, screenW/2+20, 47);&lt;br /&gt;&lt;br /&gt;    // If Mouse is pressed play the game - pressed again - reset game&lt;br /&gt;    if (playgame &lt; 0)&lt;br /&gt;    {&lt;br /&gt;      rectMode(CORNERS);&lt;br /&gt;      fill(200,200,200,50);&lt;br /&gt;      rect(0,0,screenW,screenH);&lt;br /&gt;&lt;br /&gt;      if ((started == 0) || (level &gt; previousLevel))&lt;br /&gt;      {&lt;br /&gt;        fill(255);&lt;br /&gt;        text("PRESS MOUSE TO START",screenW/2-100,screenH/2);&lt;br /&gt;        previousLevel = level;&lt;br /&gt;        ballX = screenW/2;&lt;br /&gt;        ballY = screenH/2;&lt;br /&gt;      }&lt;br /&gt;      else if ((started == 1) || (scoreR + scoreL == previousScore))&lt;br /&gt;      {&lt;br /&gt;        fill(255);&lt;br /&gt;        text("PRESS MOUSE TO CONTINUE",screenW/2-100,screenH/2);&lt;br /&gt;      }&lt;br /&gt;    }&lt;br /&gt;    else if (playgame &gt; 0)&lt;br /&gt;    {&lt;br /&gt;      started = 1;&lt;br /&gt;      pong.moveLeftStick();&lt;br /&gt;      pong.moveRightStick();&lt;br /&gt;      pong.drawBall();&lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt;  //-----------------------------------------------------------------------------&lt;br /&gt;  void drawBall()&lt;br /&gt;  {&lt;br /&gt;    // Update the position of the ball&lt;br /&gt;    ballX = ballX + ( ballSpeed * ballXdirection );&lt;br /&gt;    ballY = ballY + ( ballSpeed * ballYdirection );&lt;br /&gt;&lt;br /&gt;    //Ball hitting one of the paddles?&lt;br /&gt;    if (dist(ballX,ballY,rightX,rightY) &lt; (ballSize/2+stickW-2))&lt;br /&gt;    {&lt;br /&gt;      ballXdirection *= -1;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;      port.write(66);&lt;/span&gt;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    //Ball on Comp side and within Comp paddle?&lt;br /&gt;    if (dist(ballX,ballY,leftX,leftY) &lt; (ballSize/2+stickW-2))&lt;br /&gt;    {&lt;br /&gt;      ballXdirection *= -1;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;      port.write(67);&lt;/span&gt;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    //Dont let ball go of screen vertically&lt;br /&gt;    if (ballY &gt; ((screenH - 8) - ballSize/2) || (ballY &lt; ballSize/2 + 6))&lt;br /&gt;    {&lt;br /&gt;      ballYdirection *= -1;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    //SCORE POINTS&lt;br /&gt;    if (ballX &gt; rightX + ballSize)&lt;br /&gt;    {&lt;br /&gt;      playgame = -1;&lt;br /&gt;      previousScore = scoreR + scoreL;&lt;br /&gt;      scoreR++;&lt;br /&gt;      ballX = screenW/2;&lt;br /&gt;      ballY = screenH/2;&lt;br /&gt;      leftY = screenH/2;&lt;br /&gt;      rightY = screenH/2;&lt;br /&gt;    }&lt;br /&gt;    if (ballX &lt; leftX - ballSize)&lt;br /&gt;    {&lt;br /&gt;      playgame = -1;&lt;br /&gt;      scoreL++;&lt;br /&gt;      ballX = screenW/2;&lt;br /&gt;      ballY = screenH/2;&lt;br /&gt;      leftY = screenH/2;&lt;br /&gt;      rightY = screenH/2;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    //Draw Ball&lt;br /&gt;    fill(random(255),random(255),random(255));&lt;br /&gt;    ellipseMode(CENTER);&lt;br /&gt;    ellipse(ballX, ballY, ballSize, ballSize);&lt;br /&gt;  }&lt;br /&gt;  //-----------------------------------------------------------------------------&lt;br /&gt;  void moveRightStick()&lt;br /&gt;  {&lt;br /&gt;    rectMode(CENTER);&lt;br /&gt;&lt;br /&gt;    if (rightY+stickH/2-20 &gt; screenH) {&lt;br /&gt;      rightY = screenH-stickH/2-20;&lt;br /&gt;    }&lt;br /&gt;    else if (rightY-stickH/255-20 &lt; 0) {&lt;br /&gt;      rightY = stickH/2 + 21;&lt;br /&gt;    }&lt;br /&gt;    else {&lt;br /&gt;      rightY = (rightControl/255)*screenH;&lt;br /&gt;      //rightY = ballY;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    //Draw Right Paddle&lt;br /&gt;    fill(0,0,255);&lt;br /&gt;    rect(rightX,rightY,stickW,stickH);&lt;br /&gt;&lt;br /&gt;  }&lt;br /&gt;  //-----------------------------------------------------------------------------&lt;br /&gt;  void moveLeftStick()&lt;br /&gt;  {&lt;br /&gt;    rectMode(CENTER);&lt;br /&gt;&lt;br /&gt;    if (leftY+stickH/2-10 &gt; screenH) {&lt;br /&gt;      leftY = screenH-stickH/2;&lt;br /&gt;    }&lt;br /&gt;    else if (leftY-stickH/2+5 &lt;= 10) {&lt;br /&gt;      leftY = stickH/2 + 12;&lt;br /&gt;    }&lt;br /&gt;    else {&lt;br /&gt;      leftY = (leftControl/255)*screenH;&lt;br /&gt;      //leftY = ballY;&lt;br /&gt;    }&lt;br /&gt;    //Draw left paddle&lt;br /&gt;    fill(255,0,0);  &lt;br /&gt;    rect(leftX,leftY,stickW,stickH);&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/4612631057992193621-8359797278959701918?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/8359797278959701918/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=8359797278959701918' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/8359797278959701918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/8359797278959701918'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/10/pong-code-not-working-way-i-want-it-to.html' title='Pong code not working the way I want it to'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-5493444243365193143</id><published>2006-10-13T21:44:00.000-07:00</published><updated>2006-10-13T21:45:41.474-07:00</updated><title type='text'>PLAY PONG!</title><content type='html'>So... got Arduino to talk to Processing...&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="350"&gt;&lt;param name="movie" value="http://www.youtube.com/v/MO-FzVtZOrg"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/MO-FzVtZOrg" type="application/x-shockwave-flash" width="425" height="350"&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/4612631057992193621-5493444243365193143?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/5493444243365193143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=5493444243365193143' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/5493444243365193143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/5493444243365193143'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/10/play-pong.html' title='PLAY PONG!'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-4359224597069595243</id><published>2006-10-10T11:06:00.000-07:00</published><updated>2006-11-04T13:19:55.255-08:00</updated><title type='text'>HW4 - Servo motor</title><content type='html'>Servo Motor worked well - things starting to MOVE!!&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="350"&gt;&lt;param name="movie" value="http://www.youtube.com/v/XichrBV-0E0"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/XichrBV-0E0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"&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/4612631057992193621-4359224597069595243?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/4359224597069595243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=4359224597069595243' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/4359224597069595243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/4359224597069595243'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/10/hw4-servo-motor.html' title='HW4 - Servo motor'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-1559340074784621028</id><published>2006-10-01T21:15:00.001-07:00</published><updated>2006-10-01T21:15:30.710-07:00</updated><title type='text'>HW 3 - Analogue input worked ok</title><content type='html'>Analogue input worked ok&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/5717/563065314696312/1600/10012006049.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger2/5717/563065314696312/320/10012006049.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/6353/121242613221065/1600/10012006049.jpg"&gt;&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4612631057992193621-1559340074784621028?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/1559340074784621028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=1559340074784621028' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/1559340074784621028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/1559340074784621028'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/10/analogue-input-worked-ok.html' title='HW 3 - Analogue input worked ok'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-3957797473026819606</id><published>2006-09-26T12:33:00.000-07:00</published><updated>2006-09-26T12:40:47.095-07:00</updated><title type='text'>HW Week 2 DONE!</title><content type='html'>Ok - got Arduino and my computer to talk correctly...&lt;br /&gt;&lt;br /&gt;First part of assignmnet - push button switch lights 2 different lights alternatively:&lt;br /&gt;&lt;br /&gt;Green LED on:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/5717/563065314696312/1600/09262006031.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger2/5717/563065314696312/320/09262006031.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Yellow LED on when pressing  switch:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/5717/563065314696312/1600/09262006032.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger2/5717/563065314696312/320/09262006032.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Second part of assignment - Lighting Control&lt;br /&gt;&lt;br /&gt;Switch 1 toggles between continous or strobe yellow light mode - green light indicates strobe mode (LED ON) and continuous mode (LED OFF). Strobe mode blinks yellow light 8 times.&lt;br /&gt;&lt;br /&gt;Here is the video:&lt;br /&gt;&lt;br /&gt;&lt;object height="350" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/LaXEKy3_vb0"&gt;&lt;embed src="http://www.youtube.com/v/LaXEKy3_vb0" type="application/x-shockwave-flash" height="350" width="425"&gt;&lt;/object&gt;&lt;/embed&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4612631057992193621-3957797473026819606?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/3957797473026819606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=3957797473026819606' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/3957797473026819606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/3957797473026819606'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/09/hw-week-2-done.html' title='HW Week 2 DONE!'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-5247180503226063696</id><published>2006-09-26T09:18:00.000-07:00</published><updated>2006-09-26T09:21:17.562-07:00</updated><title type='text'>Light House project</title><content type='html'>Light house controller  that controls how long light stays ON and OFF.&lt;br /&gt;&lt;br /&gt;LEDs indicate if you are increasing or decreasing ON and OFF times.&lt;br /&gt;&lt;br /&gt;Brigth LED is the Light House beacon.&lt;br /&gt;&lt;br /&gt;Here is the program:&lt;br /&gt;&lt;br /&gt;//Light Houes Controller&lt;br /&gt;&lt;br /&gt;//Swtiches&lt;br /&gt;int switchONMore = 2;     // Increases ON time&lt;br /&gt;int switchONLess = 3;     // Decreases ON time&lt;br /&gt;int switchOFFMore = 4;    // Increases OFF time&lt;br /&gt;int switchOFFLess = 5;    // Decreases OFF time&lt;br /&gt;&lt;br /&gt;//LEDs&lt;br /&gt;int LightHouseLed = 6; //Beacon&lt;br /&gt;int OnMoreLed = 7;     // ON MORE LED&lt;br /&gt;int OnLessLed = 8;     // ON LESS LED&lt;br /&gt;int OffMoreLed = 9;    // OFF MORE LED&lt;br /&gt;int OffLessLed = 10;   // OFF LED 1&lt;br /&gt;&lt;br /&gt;//Variables&lt;br /&gt;int OnTime;           //Time light will be ON - 0 to 3 (short to long)&lt;br /&gt;int OffTime;          //Time ligth wlll be OFF - 0 to 3 (short to long)&lt;br /&gt;int OnMore;           //Increase OnTime&lt;br /&gt;int OnLess;           //Decrease OnTime&lt;br /&gt;int OffMore;          //Increase OffTime&lt;br /&gt;int OffLess;          //Decrease OffTime&lt;br /&gt;int IndLight = 3000;  //Indicator light time&lt;br /&gt;&lt;br /&gt;void setup() {&lt;br /&gt;  //Set Input Pins&lt;br /&gt;  pinMode(switchONMore, INPUT);       // set the switch pin to be an input&lt;br /&gt;  pinMode(switchONLess, INPUT);       // set the switch pin to be an input&lt;br /&gt;  pinMode(switchOFFMore, INPUT);      // set the switch pin to be an input&lt;br /&gt;  pinMode(switchOFFLess, INPUT);      // set the switch pin to be an input&lt;br /&gt; &lt;br /&gt;  //Set Output Pins&lt;br /&gt;  pinMode(LightHouseLed, OUTPUT); //Lighthouse beacon LED&lt;br /&gt;  pinMode(OnMoreLed, OUTPUT);     // set LED to be an output&lt;br /&gt;  pinMode(OnLessLed, OUTPUT);     // set LED to be an output&lt;br /&gt;  pinMode(OffMoreLed, OUTPUT);    // set LED to be an output&lt;br /&gt;  pinMode(OffLessLed, OUTPUT);    // set LED to be an output&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void loop() {&lt;br /&gt;  // Read the switch inputs:&lt;br /&gt;  OnMore = digitalRead(switchONMore);&lt;br /&gt;  OnLess = digitalRead(switchONLess);&lt;br /&gt;  OffMore = digitalRead(switchOFFMore);&lt;br /&gt;  OffLess = digitalRead(switchOFFLess);&lt;br /&gt; &lt;br /&gt;  //Increase or decrease timers and indicate on LED&lt;br /&gt;  if (OnMore == 1){&lt;br /&gt;    OnTime = OnTime + 1;&lt;br /&gt;    digitalWrite(OnMoreLed, HIGH);       // turn ON indicator&lt;br /&gt;    delay(IndLight);&lt;br /&gt;    digitalWrite(OnMoreLed, LOW);       // turn OFF indicator&lt;br /&gt;  }&lt;br /&gt;  if (OnLess == 1){&lt;br /&gt;    OnTime = OnTime - 1;&lt;br /&gt;    digitalWrite(OnLessLed, HIGH);       // turn ON indicator&lt;br /&gt;    delay(IndLight);&lt;br /&gt;    digitalWrite(OnLessLed, LOW);       // turn OFF indicator&lt;br /&gt;  }&lt;br /&gt;  if (OffMore == 1){&lt;br /&gt;    OffTime = OffTime + 1;&lt;br /&gt;    digitalWrite(OffMoreLed, HIGH);       // turn ON indicator&lt;br /&gt;    delay(IndLight);&lt;br /&gt;    digitalWrite(OffMoreLed, LOW);       // turn OFF indicator&lt;br /&gt;  }&lt;br /&gt;  if (OffLess == 1){&lt;br /&gt;    OffTime = OffTime - 1;&lt;br /&gt;    digitalWrite(OffLessLed, HIGH);       // turn ON indicator&lt;br /&gt;    delay(IndLight);&lt;br /&gt;    digitalWrite(OffLessLed, LOW);       // turn OFF indicator&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  //Blink LightHouse beacon&lt;br /&gt;  digitalWrite(LightHouseLed, HIGH);       // turn ON beacon&lt;br /&gt;  delay(OnTime);&lt;br /&gt;  digitalWrite(LightHouseLed, LOW);       // turn ON beacon&lt;br /&gt;  delay(OffTime);&lt;br /&gt;       &lt;br /&gt;  /*&lt;br /&gt;  //STROBE routine&lt;br /&gt;  while (switchOnOff == 1 &amp;&amp;amp; switchToggle == 1){&lt;br /&gt;    //ON and on STROBE&lt;br /&gt;    digitalWrite(brightLedPin, HIGH);   // turn on LED   &lt;br /&gt;    delay(3000);&lt;br /&gt;    digitalWrite(brightLedPin, LOW);   // turn off LED&lt;br /&gt;  }&lt;br /&gt; &lt;br /&gt;  //CONTINUOUS MODE&lt;br /&gt;  if (switchOnOff == 1 &amp;&amp;amp; switchToggle == 0) {&lt;br /&gt;     digitalWrite(brightLedPin, HIGH);   // turn on LED&lt;br /&gt;     }&lt;br /&gt;     else {&lt;br /&gt;      digitalWrite(brightLedPin, LOW);   // turn off LED&lt;br /&gt;     }&lt;br /&gt;     */&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;Now to the wiring!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4612631057992193621-5247180503226063696?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/5247180503226063696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=5247180503226063696' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/5247180503226063696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/5247180503226063696'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/09/light-house-project.html' title='Light House project'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-6510149038561800081</id><published>2006-09-24T23:22:00.001-07:00</published><updated>2006-09-24T23:22:49.808-07:00</updated><title type='text'>HW 2 Attempt</title><content type='html'>Since I did not get Arduino to work I am posting what I wanted to do with the switch:&lt;br /&gt;&lt;br /&gt;Light controller:&lt;br /&gt;&lt;br /&gt;Switch 1 toggles from STROBE to CONTINUOUS lighting&lt;br /&gt;Switch 2 turns ligt ON or OFF&lt;br /&gt;&lt;br /&gt;Arduino compiled program:&lt;br /&gt;&lt;br /&gt;//Light switch&lt;br /&gt;&lt;br /&gt;int switchToggle = 5;    // Toggles between STROBE or CONTINUOUS&lt;br /&gt;int switchOnOff = 2;      // On Off switch&lt;br /&gt;int brightLedPin = 3;    // Light source LED&lt;br /&gt;int dimLedPin = 4;       // Indicator LED LED INDICATOR =&gt; OFF = CONTINUOUS    ON = STROBE&lt;br /&gt;int toggleState = 0;     // CONTINUOUS = 0 STROBE = 1&lt;br /&gt;int OnOffState = 0;      // ON = 1 OFF = 0&lt;br /&gt;&lt;br /&gt;void setup() {&lt;br /&gt;pinMode(switchToggle, INPUT);       // set the switch pin to be an input&lt;br /&gt;pinMode(switchOnOff, INPUT);       // set the switch pin to be an input&lt;br /&gt;pinMode(brightLedPin, OUTPUT);   // set the bright LED pin to be an output&lt;br /&gt;pinMode(dimLedPin, OUTPUT);      // set the dim LED pin to be an output&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void loop() {&lt;br /&gt;&lt;br /&gt;// Read the switch input:&lt;br /&gt;switchToggle = digitalRead(switchToggle);&lt;br /&gt;switchOnOff = digitalRead(switchOnOff);&lt;br /&gt;&lt;br /&gt;//LED INDICATOR OFF = CONTINUOUS, ON = STROBE&lt;br /&gt;if (switchToggle == 0){&lt;br /&gt; digitalWrite(dimLedPin, LOW);       // turn off indicator&lt;br /&gt;}&lt;br /&gt;else {&lt;br /&gt; digitalWrite(dimLedPin, HIGH);    // turn ion indicator&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;//STROBE routine&lt;br /&gt;while (switchOnOff == 1 &amp;&amp;amp; switchToggle == 1){&lt;br /&gt; //ON and on STROBE&lt;br /&gt; digitalWrite(brightLedPin, HIGH);   // turn on LED&lt;br /&gt; delay(3000);&lt;br /&gt; digitalWrite(brightLedPin, LOW);   // turn off LED&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//CONTINUOUS MODE&lt;br /&gt;if (switchOnOff == 1 &amp;&amp;amp; switchToggle == 0) {&lt;br /&gt;  digitalWrite(brightLedPin, HIGH);   // turn on LED&lt;br /&gt;  }&lt;br /&gt;  else {&lt;br /&gt;   digitalWrite(brightLedPin, LOW);   // turn off LED&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Now have to check to see if I wired the On/Off toggle switch correctly...&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/5717/563065314696312/1600/Arduino%20Project.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger2/5717/563065314696312/320/Arduino%20Project.jpg" alt="" 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/4612631057992193621-6510149038561800081?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/6510149038561800081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=6510149038561800081' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/6510149038561800081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/6510149038561800081'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/09/hw-2-attempt.html' title='HW 2 Attempt'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-3650423906339026924</id><published>2006-09-24T22:11:00.000-07:00</published><updated>2006-09-24T22:44:44.119-07:00</updated><title type='text'>Week 1 Class Notes</title><content type='html'>House Rules&lt;br /&gt;•    10 minutes late – no talking during class&lt;br /&gt;&lt;br /&gt;Lesson today – “Enough physics to make a flashlight”&lt;br /&gt;&lt;br /&gt;When buying a flashlight you look at:&lt;br /&gt;•    Durability&lt;br /&gt;•    Light intensity&lt;br /&gt;•    What kind of batteries&lt;br /&gt;•    How many batteries&lt;br /&gt;•    Environmental considerations&lt;br /&gt;•    Cost&lt;br /&gt;•    Weight&lt;br /&gt;•    Cost of upkeep&lt;br /&gt;•    Initial investment&lt;br /&gt;•    Size&lt;br /&gt;•    Rechargeable&lt;br /&gt;•    Water proof / floating&lt;br /&gt;•    Aesthetics&lt;br /&gt;•    Batteries included?&lt;br /&gt;•    Brand&lt;br /&gt;•    Kind of bulb – durability&lt;br /&gt;•    Color of light&lt;br /&gt;•    How do direct the light&lt;br /&gt;•    All these are design and market niche considerations, unless these were considerations for industrial applications.&lt;br /&gt;&lt;br /&gt;What do they all have in common?&lt;br /&gt;•    Power source&lt;br /&gt;•    Bulb/lamp&lt;br /&gt;•    On/off switch&lt;br /&gt;&lt;br /&gt;What is different&lt;br /&gt;•    Color – appeal / intended audience / preferences / marketing&lt;br /&gt;•    Size &amp; shape – how you hold / use it / where – ergonomics&lt;br /&gt;•    Texture of material&lt;br /&gt;•    Shape of beam&lt;br /&gt;•    Brightness&lt;br /&gt;•    Physical style of switch – some stay on, some you have to hold to stay on&lt;br /&gt;&lt;br /&gt;•    Because of these differences you should learn the physical computing side of things.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/5717/563065314696312/1600/Slide1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger2/5717/563065314696312/320/Slide1.jpg" alt="" border="0" /&gt;&lt;/a&gt;Terms / jargon on the package we do not recognize:&lt;br /&gt;•    LED&lt;br /&gt;•    6V latten battery&lt;br /&gt;•    KPR 113 – K13 bulb&lt;br /&gt;•    120V AC&lt;br /&gt;•    2.5 Volts&lt;br /&gt;•    0.3 amps&lt;br /&gt;•    60 Hz&lt;br /&gt;•    H14 flashlight bulb&lt;br /&gt;•    Krypton bulb&lt;br /&gt;•    Polarized&lt;br /&gt;•    Adapter&lt;br /&gt;•    Watts&lt;br /&gt;&lt;br /&gt;Let’s build a flashlight&lt;br /&gt;•    Biking headlight – to see or to be seen&lt;br /&gt;•    Headlight to work on pComp project w/o waking up roommates&lt;br /&gt;•    Laser pointer&lt;br /&gt;•    Purse light&lt;br /&gt;&lt;br /&gt;Glasses&lt;br /&gt;•    Limiting factor – what should we worry about the most?&lt;br /&gt;•    Size and weight&lt;br /&gt;•    Color&lt;br /&gt;•    Switch style&lt;br /&gt;•    Bulb&lt;br /&gt;•    LED (Light Emitting Diode)&lt;br /&gt;&lt;br /&gt;When shopping for light bulb you look for Power/Watts – which do NOT relate to brightness&lt;br /&gt;•    Watts = Power = Volts/second&lt;br /&gt;•    www.jameco.com - good for browsing&lt;br /&gt;•    Opto &amp; illumination&lt;br /&gt;•    Lamps – incandescent&lt;br /&gt;&lt;br /&gt;Description is size &amp;amp; shape&lt;br /&gt;•    It’s light&lt;br /&gt;•    It’s small&lt;br /&gt;•    It does not heat up&lt;br /&gt;•    Consumes less power&lt;br /&gt;•    Brightness / Luminous intensity&lt;br /&gt;•    MSCP (Mean Spherical Candle Power)&lt;br /&gt;•    MCD (Milli candela)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/5717/563065314696312/1600/Slide2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger2/5717/563065314696312/320/Slide2.jpg" alt="" border="0" /&gt;&lt;/a&gt; Watts&lt;br /&gt;•    Ability to do work&lt;br /&gt;•    Energy/time&lt;br /&gt;•    E = mc2&lt;br /&gt;•    E = force x distance&lt;br /&gt;•    Mass ≠ weight&lt;br /&gt;•    Weight depends on gravity&lt;br /&gt;•    Mass is resistance to change&lt;br /&gt;•    m = E / c2&lt;br /&gt;•    Coulomb/ second&lt;br /&gt;•    Current = amperage = amps = a&lt;br /&gt;•    Voltage is like potential / pressure / gravitational pull&lt;br /&gt;&lt;br /&gt;Amperage&lt;br /&gt;•    How many electrons&lt;br /&gt;&lt;br /&gt;Voltage&lt;br /&gt;•    How much strength they have&lt;br /&gt;&lt;br /&gt;Watts = Volts x Amps&lt;br /&gt;&lt;br /&gt;Atoms&lt;br /&gt;•    Electrons – valence sheet gardens&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/5717/563065314696312/1600/Slide1.0.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger2/5717/563065314696312/320/Slide1.0.jpg" alt="" border="0" /&gt;&lt;/a&gt;    Electricity&lt;br /&gt;• Electrons go from one atom to the other&lt;br /&gt;• Atoms with “vacancies” are good conductress&lt;br /&gt;• Insulators have no/little vacancies&lt;br /&gt;&lt;br /&gt;Circuit&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/5717/563065314696312/1600/Slide3.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger2/5717/563065314696312/320/Slide3.jpg" alt="" border="0" /&gt;&lt;/a&gt;•     All LEDs have a flat side – flat goes to 0V (ground)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/5717/563065314696312/1600/Slide4.0.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger2/5717/563065314696312/320/Slide4.0.jpg" alt="" border="0" /&gt;&lt;/a&gt;    Bread board (protyping board)&lt;br /&gt;• Put LEDs across different rows&lt;br /&gt;• Voltage regulator&lt;br /&gt;• Takes the voltage down to appropriate value&lt;br /&gt;•    Instead of using batteries, plug into wall&lt;br /&gt;•    2 LEDs of 1.7V = 3.4 voltage regulator&lt;br /&gt;• Most microchips use 5 Volts&lt;br /&gt;• IGO – In Ground Out&lt;br /&gt;• Red Line =&gt; Voltage&lt;br /&gt;&lt;br /&gt;Strip wire 1/4 or 1/8 of inch&lt;br /&gt;• Place on bead board where you want it&lt;br /&gt;• Take out&lt;br /&gt;• Cut / strip / back in&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/5717/563065314696312/1600/Slide4.1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger2/5717/563065314696312/320/Slide4.1.jpg" alt="" border="0" /&gt;&lt;/a&gt;In diagram:&lt;br /&gt;Voltage is 5V, LED is 1,7 - need resistor not to blow it up - what resistance?&lt;br /&gt;-&gt; 5.0 V (power supply) - 1.7 V (LED) = 3.3 V (need to drop ot this current)&lt;br /&gt;-&gt; V = IR   =&gt; R = V / I    =&gt;   R = 5v / 0.02 a  =&gt; R = 165 Ω&lt;br /&gt;-&gt; 165Ω would be exact - always put a greater resistance than required - 220Ω would do&lt;br /&gt;&lt;br /&gt;•    Ohm’s Law =&gt; V = IR (Voltage = Current x Resistance (ohms Ω))&lt;br /&gt;•    W = IV (Watts = Current x Voltage)&lt;br /&gt;&lt;br /&gt;Resitors Color code&lt;br /&gt;•    0 = black&lt;br /&gt;•    1 = brown&lt;br /&gt;•    2 = red&lt;br /&gt;• Poster in the lab&lt;br /&gt;• Nice link:&lt;br /&gt;•    http://www.breakup.de/resources/resistor.html&lt;br /&gt;&lt;br /&gt;Switches&lt;br /&gt;• All kinds – basically good marketing on two metal pieces touching each other&lt;br /&gt;• ON – closed circuit&lt;br /&gt;• OFF – open circuit&lt;br /&gt;&lt;br /&gt;ADMIN STUFF&lt;br /&gt;• We are a week off the other classes&lt;br /&gt;• Friday help sessions are a week ahead&lt;br /&gt;• “Make up” session on the 23rd?&lt;br /&gt;• Read syllabus&lt;br /&gt;• Choose week you do notes on&lt;br /&gt;• Join pComp list serve&lt;br /&gt;• Introduce yourself on the class site&lt;br /&gt;• Sign up for shop cleaning&lt;br /&gt;• Do shop safety&lt;br /&gt;• Look at links&lt;br /&gt;• Think about the light bulb glasses&lt;br /&gt;• Keep journal for class – document your work&lt;br /&gt;•    Look for blog with RSS feed – it will feed the wiki&lt;br /&gt;• Read chapters 1 – 3 of Physical Computing book&lt;br /&gt;• Course packet – buy it at NYU book store&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4612631057992193621-3650423906339026924?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/3650423906339026924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=3650423906339026924' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/3650423906339026924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/3650423906339026924'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/09/week-1-class-notes.html' title='Week 1 Class Notes'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-297045009388848868</id><published>2006-09-24T22:04:00.000-07:00</published><updated>2006-09-24T22:11:40.004-07:00</updated><title type='text'>Assignment 2 - part 1</title><content type='html'>Using Arduino - microcontroller... had some hick-ups installing it but finally got it to be recognized via the USB port and have it get the program... but now the circuit does not work... will have to get some help tomorrow morning...&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/5717/563065314696312/1600/09252006023.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger2/5717/563065314696312/320/09252006023.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/5717/563065314696312/1600/09252006024.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger2/5717/563065314696312/320/09252006024.jpg" alt="" 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/4612631057992193621-297045009388848868?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/297045009388848868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=297045009388848868' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/297045009388848868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/297045009388848868'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/09/assignment-2-part-1.html' title='Assignment 2 - part 1'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-1948567637945810562</id><published>2006-09-17T05:07:00.003-07:00</published><updated>2006-09-17T05:07:50.315-07:00</updated><title type='text'>Assignment 1 - part 5</title><content type='html'>Potentiometer - home made dimmer:&lt;br /&gt;&lt;br /&gt;&lt;object height="330" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/SV4WleVmR64"&gt;&lt;embed src="http://www.youtube.com/v/SV4WleVmR64" type="application/x-shockwave-flash" height="330" width="425"&gt;&lt;/object&gt;&lt;/embed&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4612631057992193621-1948567637945810562?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/1948567637945810562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=1948567637945810562' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/1948567637945810562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/1948567637945810562'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/09/assignment-1-part-5.html' title='Assignment 1 - part 5'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-950008160014253727</id><published>2006-09-17T05:07:00.001-07:00</published><updated>2006-09-17T05:07:36.047-07:00</updated><title type='text'>Assignment 1 - part 4</title><content type='html'>Three LEDs in parallel lit up nice and strong:&lt;br /&gt;&lt;br /&gt;&lt;img src="http://photos1.blogger.com/blogger2/5717/563065314696312/320/IMG_0702.jpg"&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4612631057992193621-950008160014253727?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/950008160014253727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=950008160014253727' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/950008160014253727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/950008160014253727'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/09/assignment-1-part-4.html' title='Assignment 1 - part 4'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-4936392216578979540</id><published>2006-09-17T05:06:00.002-07:00</published><updated>2006-09-17T05:07:18.055-07:00</updated><title type='text'>Assignment 1 - part 3</title><content type='html'>Three LEDs in  series - did not  light up - not enough voltage:&lt;br /&gt;&lt;br /&gt;&lt;img src="http://photos1.blogger.com/blogger2/5717/563065314696312/320/IMG_0700.0.jpg" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4612631057992193621-4936392216578979540?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/4936392216578979540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=4936392216578979540' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/4936392216578979540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/4936392216578979540'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/09/assignment-1-part-3.html' title='Assignment 1 - part 3'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-7970074741937102509</id><published>2006-09-17T05:06:00.001-07:00</published><updated>2006-09-17T05:06:52.971-07:00</updated><title type='text'>Assignment 1 - part 2</title><content type='html'>2. Two LEDs in series - light up dimly - no need for resistance since each LED will drop the voltage&lt;br /&gt;&lt;br /&gt;&lt;object height="330" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/ZrsdnoPmow8"&gt;&lt;embed src="http://www.youtube.com/v/ZrsdnoPmow8" type="application/x-shockwave-flash" height="330" width="425"&gt;&lt;/object&gt;&lt;/embed&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4612631057992193621-7970074741937102509?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/7970074741937102509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=7970074741937102509' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/7970074741937102509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/7970074741937102509'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/09/assignment-1-part-2.html' title='Assignment 1 - part 2'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4612631057992193621.post-8122772687007038823</id><published>2006-09-16T21:37:00.000-07:00</published><updated>2006-09-16T21:39:41.048-07:00</updated><title type='text'>Assignment 1 - part 1</title><content type='html'>Switch lit up LED - yeay!&lt;br /&gt;&lt;br /&gt;&lt;object height="330" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/W5ufUdrYkZc"&gt;&lt;embed src="http://www.youtube.com/v/W5ufUdrYkZc" type="application/x-shockwave-flash" height="330" width="425"&gt;&lt;/object&gt;&lt;/embed&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4612631057992193621-8122772687007038823?l=lucaspcomp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lucaspcomp.blogspot.com/feeds/8122772687007038823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4612631057992193621&amp;postID=8122772687007038823' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/8122772687007038823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4612631057992193621/posts/default/8122772687007038823'/><link rel='alternate' type='text/html' href='http://lucaspcomp.blogspot.com/2006/09/first-assi.html' title='Assignment 1 - part 1'/><author><name>Lucas Longo</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://1.bp.blogspot.com/__A8LfgngkhQ/SU6vbt7iJeI/AAAAAAAAtx8/1Z8p6d0vte4/S220/n599015265_138302_7348.jpg'/></author><thr:total>0</thr:total></entry></feed>
