DATE: Sep 15, 2023

TEAM: Het Nagda, Sohee Kim, Seungmi Lee

MATERIALS USED: Paper box, infrared(IR) sensor, more wires, another LED, stick, another resister, black cloth(t-shirt)

IDEATION

Our team considered the feedback we received and brainstormed ways to enhance our switch. Our focus was on improving the rotation mechanism of our wooden dolls to enable eye contact and enhancing the LED lighting.

Regarding rotation, Het proposed the idea of using an IR sensor as a switch. This would allow the LED to illuminate only when one doll faces the other, eliminating the need for the cumbersome aluminum foil switch. Fortunately, our hypothesis proved correct as the distance between the dolls was sufficient to refract the emitted light and detect it.

As for the LED, our initial concept involved having the red LED blink like a heartbeat, and later we contemplated having it blink at varying speeds until it eventually stopped. However, the following day, we reverted to our very original idea, which was to represent the Korean idiom "green light" using traffic lights by applying the code we had experimented with during class to make two LEDs blink independently.

CODE

Below is the code used for our traffic light blink.


void setup()
{
  pinMode(12,OUTPUT);
  pinMode(13,OUTPUT);
  pinMode(4,INPUT);

}
void loop()
{
  if (digitalRead(4)== LOW)
  {
    digitalWrite(12,HIGH);
    digitalWrite(13,LOW);
  }
  else 
  { 
    digitalWrite(12,LOW);
    digitalWrite(13,HIGH);
  }
}

FINAL PROTOTYPE

Our super cute enhanced home made switch!

IMG_5751 2.heic

IMG_5748.heic

https://youtu.be/yMCQ9DsJycc