November 24, 2007
Reading for November 27th, are now posted. Enjoy!

October 2, 2007
To upload your thoughtless acts, create a new assignment page like any other lab. You'll see "Thoughtless Acts" listed as one of the assignment options.

May 24, 2008
This site has been archived and is no longer editable. Stay tuned for the next version, coming in the fall!


Project Members: 
Laura Greig

Blinking LED Breadboard


Use the Arduino to monitor your heart noise via LEDs and a Processing display.

Components Used

1 Red LED
1 Blue LED
2x 220 Ohm Resistor
10 kOhm Resistor
2x Potentiometer
1 Plush heart

Arduino Code

int fsrPin = 2;
int pot2Pin = 1;
int pot1Pin = 0;

int rPin = 5;
int bPin = 6;

int fsrByte;
int pot1Byte;
int pot2Byte;

void setup()
// pinMode(rPin, OUTPUT);
// pinMode(gPin, OUTPUT);
// pinMode(bPin, OUTPUT);

void loop()
fsrByte = analogRead(fsrPin);
pot1Byte = analogRead(pot1Pin);
pot2Byte = analogRead(pot2Pin);
analogWrite(rPin, pot1Byte/4);
analogWrite(bPin, pot2Byte/4);
analogWrite(rPin, 0);
analogWrite(bPin, 0);
// Serial.println("FSR reads:");
// Serial.println(fsrByte);
// Serial.println("pot1 reads:" + " " + pot1Byte); // this syntax doesn't work?



I don't know why this photo is so little. Visit my bigger, annotated version here: 



aww laura, if this were

aww laura, if this were attached to my heart, it would show you some erratic behavior after viewing your project :P Nice work!

Powered by Drupal - Design by Artinet