CAM00657 from Hillary Kim on Vimeo.
Monday, May 27, 2013
Monday, May 20, 2013
Button Experiment (failed)
BUTTON EXPERIMENT
Pushbuttons or switches connect two points in a circuit when you press them. This example turns on the built-in LED on pin 13 when you press the button.
HARDWARE
1. Arduino Board
2. momentary button or switch
3. 10K ohm resistor
4. breadboard
5. hook-up wire
CODE
// constants won't change. They're used here to
// set pin numbers:
const int buttonPin = 2; // the number of the pushbutton pin
const int ledPin = 13; // the number of the LED pin
// variables will change:
int buttonState = 0; // variable for reading the pushbutton status
void setup() {
// initialize the LED pin as an output:
pinMode(ledPin, OUTPUT);
// initialize the pushbutton pin as an input:
pinMode(buttonPin, INPUT);
}
void loop(){
// read the state of the pushbutton value:
buttonState = digitalRead(buttonPin);
// check if the pushbutton is pressed.
// if it is, the buttonState is HIGH:
if (buttonState == HIGH) {
// turn LED on:
digitalWrite(ledPin, HIGH);
}
else {
// turn LED off:
digitalWrite(ledPin, LOW);
}
}
CONCLUSION
Monday, May 6, 2013
Final Project Concept (C-Cup)
CONCEPT
TECHNOLOGY EQUIPMENT
Arduino
RGB LED
Pulse Sensor
Bread Board
Vibrator
FINAL OUTPUT
Hold "Pulse sensor cup" -> (Pulse detect to Arduino and convert to Vibrate) -> "Vibrate cup' and 'RGB LED' color change
REFERENCE
1. Arduino Pulse Sensor - RGB LED
2. Arduino Heart Rate Glove
My final project name is “C-Cup.” (C= communication)
The communication is the activity of conveying information
through the exchange thoughts, message or information as by speech, visuals,
signals, writing or behavior. I believe, communication is very important in human society. The concept for this project is experimenting interaction
between human to human, by using human’s pulse rate with Arduino. The heart
rate or pulse refer to how many times our heart contracts and relaxes per
minutes.
The basic process is the color of light and strength of
vibrate changes depending on your heart rate.
Left cup is sensor cup which it detect pulse rate and convert pulse rate by using Arduino and send
it to two object.
Firstly, vibrate cup that it will vibrate by heart rate. Next, the table will change the color
depending on your heart rate.
TECHNOLOGY EQUIPMENT
Arduino
RGB LED
Pulse Sensor
Bread Board
Vibrator
FINAL OUTPUT
Hold "Pulse sensor cup" -> (Pulse detect to Arduino and convert to Vibrate) -> "Vibrate cup' and 'RGB LED' color change
REFERENCE
1. Arduino Pulse Sensor - RGB LED
2. Arduino Heart Rate Glove
Subscribe to:
Posts (Atom)