Introduction: Wearable for Christmas.

Picture of Wearable for Christmas.

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.

Step 1: Components Needed for This Project.

Picture of Components Needed for This Project.

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 .

Step 2: Fixing String Light to Shirt.

Picture of Fixing String Light to Shirt.

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.

Step 3: Completing the Process.

Picture of Completing the Process.

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.

Step 4: Arduino Program and Circuit Diagram.

Picture of Arduino Program and Circuit Diagram.
#define PIR_Sensor 4
#define String_light 5

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

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

}

voidloop() {
analogWrite(String_light,0); 
boolstatus = 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);
            }
          }
          
        }
      }

Comments

SaeaA (author)2016-01-09

miss you mag :) nice shirt.........

dinesh ajay (author)2015-12-21

nice nd cool

ssiva6 (author)2015-12-18

good job..........need one for party

_dooit_ (author)2015-12-18

Great job. I like it!

jjdebenedictis (author)2015-12-17

You look great! What a cool shirt. :)

PidjjeB (author)2015-12-17

smart and simple........like to have one

PidjjeB (author)2015-12-17

like to have one ...... smart and simple!!!!!!!

SonuP5 (author)2015-12-17

coooll guyzzzzzzz

VaishnaviV (author)2015-12-17

nice and awesome

sarath sarath (author)2015-12-17

looks attarctive...............

khadu77 (author)2015-12-17

Looks good,will attract the peoples around you!

About This Instructable

3,232views

53favorites

License:

Bio: I make hobbyist stuffs and play with electronics follow me to know more https://www.facebook.com/arduinolabviewsolidworks https://twitter.com/learnrobotix
More by Magesh Jayakumar:Quick Start to Nodemcu (ESP8266) on Arduino IDECourse on MIT App Inventor and ArduinoHat for the Party
Add instructable to: