Wearable for Christmas.

by Magesh Jayakumar in Circuits > Wearables

6469 Views, 61 Favorites, 0 Comments

Wearable for Christmas.

you.jpg

Hello all, do you want to Make something fun and cool for the holiday season , here's an Instructable for you those who are interested in wearables and Fashion.

Watch out the Video on How this project works.

Whenever someone crosses you or new person comes across you, your shirt will glow by detecting the presence of a human or any other object that crosses you using an PIR sensor. With just a few components and a shirt you can make this project with ease and without any fuss. Lets Make it.

Components Needed for This Project.

DSC00061.JPG
DSC00063.JPG

Here's a huge list of Components that you need to complete this Project.

Firstly you need to make sure with your shirt or anything that you want to make it glow.

The real components to this task

1. An arduino or any other clones I used Seeedstudio Lotus for this project.

http://www.seeedstudio.com/depot/Seeeduino-Lotus-A...

2. String LED

http://www.seeedstudio.com/depot/Grove-LED-String-...

3. PIR sensor

http://www.seeedstudio.com/depot/Grove-PIR-Motion-...

and a battery to power it up .

Fixing String Light to Shirt.

DSC00065.JPG
DSC00066.JPG
DSC00067.JPG
DSC00068.JPG
DSC00069.JPG

Fix the String Light across your Shirt and firmly fix it using a cello tape.

Make sure the Light connector that needs to fixed to the Groove base has to available at end of your shirt which will allows us to easily connect to the Arduino.

Complete wherever you want the string light in your shirt.

Completing the Process.

DSC00072.JPG
DSC00074.JPG
DSC00076.JPG
DSC00077.JPG
DSC00075.JPG

attach the PIR sensor in your shirt where it should like's a button (fix it in that way)

Connect the PIR output pin to the 4 pin of Arduino. (other two pins to ground and power supply )

Connect the String LED to the 5th pin of Arduino (Make sure you are connecting it to the PWM pin of Arduino)

Complete the Process and put your Arduino in your Pant pocket.

Power the Arduino with an external 9v Battery.

Arduino Program and Circuit Diagram.

DSC00071.JPG
string led.jpg
#define PIR_Sensor 4
#define String_light 5

void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);

pinMode(PIR_Sensor, INPUT);
pinMode(String_light, OUTPUT);

}

void loop() {
analogWrite(String_light,0); 
bool status = digitalRead(PIR_Sensor);
    if(status == true)
      {
        while(digitalRead(PIR_Sensor))
        {       
          
          for(int i = 0; i<255; i++)
          {
            analogWrite(String_light, i);
            delay(5);
            Serial.println(i);
          }
          Serial.println("SWITCH");
          for(int i = 255; i>0; i--)
          {
            Serial.println(i);
            analogWrite(String_light, i);
            delay(5);
            }
          }
          
        }
      }

Downloads