Good Night Lamp – Gahee Kang

 

Good night lamp system .jpgmap making studio.jpgP1260705.JPG

Do you agree that the common goal of human life is happiness? Here I will explain how to make a furniture that will make your life happier. The key to happiness is appreciating what happened to you every day. This night lamp will help you to end your days full of gratitude and happiness. As you enter into your bed room the sensor catch you and turn on the light. The lamp prevent you from turning off your light until you publish one blog post about something you are grateful for. The lamp has a phone charging station for you to simple place your phone on the lamp that is next to your bed.

View instruction 

I have learned a lot from this project.

  1. How to read the technology instructions.
  2. Concept of writing codes / use pre-written code.
  3. Discovering IFTTT
  4. Connecting Arduino to internet

 

 

 

 

Lessons for Students

from a friend and teacher, Zach Lieberman: Lessons for Students

Lesson 3: Questions are key. Questions lead to conversation, conversation leads to learning.

At the School for Poetic Computation we start the first day always with the same activity — sit quietly by yourself for 20–30 mins and write down every question you have about what we are studying. Then, in smaller groups (and then finally in a larger group) we organize and collate these questions, developing a taxonomy. In some ways this is a contrast to typical school term, where you are presented with a syllabus that kind of lays out the answers.
The reason we do this is that invariably questions lead to discussion and talking and we’re really of the mindset that education is basically structured conversation — that the key to learning is talking, and through talking, we can find better metaphors, better illustrations, better explanations to make harder things simple, or explain how a gets to z.

Final Project Ideas – Gahee Kang

  1. The recorder that records 5 second before.
  • It constantly records and deletes. However when you press the button it saved what was recorded within the last 5 seconds.
  • Benefit- 1) do not need to hear back to edit or find where you want to go. 2)You don’t need to ask people to repeat again.

 

2. Closet door that tells you the weather today. 

  • Sensor is connected to a hinge of a closet door. When you open the closet door, voice will tell you the wether today(temperature, sunny or rainy).

 

3. Lighting teeth

  • A shape of teeth, like what you see in doctors offices. It lights up for 3 minuets. Each part lights up evenly during the 3 minuets.
  • It guides people to brush there teeth evenly. Not concentrated in one spot.

 

4. LinkedIn Ring

  • A Ring that contains your linkedIn account. When two people bump the rings. It automatically give them connections on the linkedIn.
  • Useful in party or fair for connection.

 

5. gratitude night light 

  • Why? – One way to be happy is being gratitude. Before I go to sleep, I write things that I felt appreciative of the day in my bed.
  • It is a night light that you put next to your bed. To turn off the light to go to sleep,  you have to write sentences that are appreciating your day on your phone.
  • When you upload you gratitude sentence the light goes off.
  • Maybe – the sentences get printed and become a little book.

 

Josh’s Final Project Ideas

I’m still working on my ideas but here is what I have so far:

1. A light fixture that uses a chinese yo-yo or diabolo. The LEDs or OLED would be on the diabolo and it could be placed on a string between two sticks which move up and down to maintain the spin. If you want, you could control the tilt of the diabolo lamp for reading or some other activity. All of this would work with a gyroscope or accelerometer.

IMG_5267

2. A clock, timer or general notification device that uses bubbles. I would have a container filled with water or a transparent viscous liquid that makes the bubble slower to rise and a way of adjusting the rate/size of bubbles that are emitted.
IMG_5270

3. An app that allows people to play a city scale version of Stratego. It would be called Streetego.
IMG_5268

I have too many subjects that I am interested in so it’s hard to narrow it down but I will come up with some other ideas for class.
Thanks!

Power Pants!

Power Pants are the pants that make you proud of getting dressed in the morning! They’re not your average pants. They provide you with a nice sense of accomplishment every time you put them on!

Coming soon to a store near you!


What’s in a Power Pant?!

The tech:

Power Pants are built on Arduino, using a simple piezo and pulse width modulation to create audio from chosen frequencies. What you see above is one of two functions coded into the Arduino. The second function is the longer musical bit you hear in the video at the top. It uses the contact in the same way to trigger the sound.

Here’s the code:

[code]
int ledPin = 13;
int inputPin1 = 2;
int inputPin2 = 5;
int val1 = 0;
int val2 = 0;
int counter1 = 0;
int counter2 = 0;
int speakerPin = 9;
char notesA[] = "azbC"; // a space represents a rest
int lengthA = sizeof(notesA);
int beatsA[] = {2,3,3,12};
int tempoA = 80;
char notesB[] = "Cbza"; // a space represents a rest
int beatsB[] = { 2,3,3,4};
int tempoB = 80;
char notesC[] = "gabygabyxzCDxzCDabywabywzCDEzCDEbywFCDEqywFGDEqi";
int lengthC = sizeof(notesC);
int beatsC[] = { 1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1, 1,1,1,1};
int tempoC = 150;

void setup() {
pinMode(speakerPin, OUTPUT);
pinMode(inputPin1, INPUT);
pinMode(inputPin2, INPUT);
Serial.begin(9600);
}

void loop(){
val1 = digitalRead(inputPin1);
val2 = digitalRead(inputPin2);
if(val1 == LOW && counter1 == 0) {
counter1++;
for (int i = 0; i < lengthA; i++) {
playNote(notesA[i], beatsA[i] * tempoA);
}
}

if(val1 == HIGH && counter1 == 1) {
counter1 –;
for (int j = 0; j < lengthA; j++) {
playNote(notesB[j], beatsB[j] * tempoB);
}}
if(val2 == LOW && counter2 == 0) {
counter2++;
for (int k = 0; k < lengthC; k++) {
playNote(notesC[k], beatsC[k] * tempoC);
}
}
if(val2==HIGH && counter2 == 1){
counter2=0;
}

else{ digitalWrite(speakerPin, LOW);

}
Serial.print(counter2);
}

void playTone(int tone, int duration) {
for (long i = 0; i < duration * 1000L; i += tone * 2) {
digitalWrite(speakerPin, HIGH);
delayMicroseconds(tone);
digitalWrite(speakerPin, LOW);
delayMicroseconds(tone);
}
}

void playNote(char note, int duration) {
char names[] = {‘c’, ‘d’, ‘e’, ‘f’, ‘g’, ‘x’, ‘a’, ‘z’, ‘b’, ‘C’, ‘y’, ‘D’, ‘w’, ‘E’, ‘F’, ‘q’, ‘G’, ‘i’ };
int tones[] = { 1898, 1690, 1500, 1420, 1265, 1194, 1126, 1063, 1001, 947, 893, 843, 795, 749, 710, 668, 630, 594 };

// play the tone corresponding to the note name
for (int i = 0; i < 20; i++) {
if (names[i] == note) {
playTone(tones[i], duration);
}
}
}

[/code]

IMG_0744IMG_0746 IMG_0745

The simple wire contact activation was converted to a switch using conductive thread stitched into the button holes and around the button. This way, the button itself acts as the switch.

IMG_0747

For the demonstration, extensions were added out the legs where the audio would normally be wired directly into the Power Pants themselves.

This is the future of pants!

Cheshire/Constellation/RGB Lamps

leila_cheshire-cat

IDEA #1 – Cheshire cat again, but now the smile would appear whenever lights are off, after a few seconds, as a friendly reminder that “everyone is mad here”, and then turn off again. leila_constellation

IDEA #2 – An educational constellation globe. As the user touches a star, the constellation it belongs to would light up. It could possibly be made using a light sensor behind each star, but that might get too complex..

leila_rgb-light

IDEA #3 – RGB Lamp. This lamp would have three (or six, or nine…) simple LEDs in it, one of each color, and a light diffusor. Each color would have individual adjustments so that the user could play with the colors, either by making the lamp colorful, or by adjusting the color temperature to a warmer or cooler white.