My final project was a Christmas Gift.
The concept was that someone receives the gift without knowing anything about what would be inside and once the person opens it, s/he is going to be suprised.
My final project was a Christmas Gift.
The concept was that someone receives the gift without knowing anything about what would be inside and once the person opens it, s/he is going to be suprised.
Above is our PDF stating our process (with images!), concept, code, final product and inspiration :)
Concept:
Use Arduino to create a “night light.” Meaning, a toy that plays music and lights-up in the dark!
Here’s how Humphrey works:
TADAAA
The Santa Catcher
2. Concept
The Santa Catcher is a fun today for kids that is designed to catch Santa. The toy works by detecting motion using a PIR sensor, then alerts the computer, and outputs jingle bells and Rudolph the red nose reindeer.
Yerang Choi and I worked on creating a piece with LEDs that would respond to noise/sound.
We used a small plastic piece in which we punched holes through with thumbtacks. After this we stuck in our LEDs that we had soldered to wires and resistors. There are a total of ten LEDs. Surrounding the plastic so as to hide the inside organs of our piece is tin foil. The piece resembles a jellyfish or a cake. We took inspiration from some videos on YouTube:
http://www.youtube.com/watch?v=SkrhCUQHKX8
http://www.youtube.com/watch?v=3P7JoxfNo-0
http://www.youtube.com/watch?v=___XwMbhV4k
http://www.youtube.com/watch?v=guppB4cK3oU
Images of our process:
Link to a video of us after completing the project (without foil though):
Here’s the link to our project.
Reference:
First Idea
Reference
Functionality:
Code:
// finger values
int finger0;
int finger1;
int finger2;
void setup(){
Serial.begin(9600);
//fingers
pinMode(A0, INPUT);
pinMode(A1, INPUT);
pinMode(A2, INPUT);
//led
pinMode(11, OUTPUT);
pinMode(10, OUTPUT);
pinMode(9, OUTPUT);
//gnd & vcc
pinMode(5, OUTPUT);
pinMode(4, OUTPUT);
pinMode(3, OUTPUT);
pinMode(2, OUTPUT);
}
void loop(){
digitalWrite(5, HIGH);
digitalWrite(4, HIGH);
digitalWrite(3, LOW);
digitalWrite(2, LOW);
finger0 = analogRead(A0);
Serial.println(finger0);
finger1 = analogRead(A1);
finger2 = analogRead(A2);
map(finger0, 0, 255, 0, 1023);
map(finger1, 0, 255, 0, 1023);
map(finger2, 0, 255, 0, 1023);
analogWrite(9, finger0);
analogWrite(10, finger1);
analogWrite(11, finger2);
delay(1000);
}