Introduction: Signal Jammer Pants

http://www.youtube.com/watch?v=PQMXahJU8ao


In this instructable I hacked a pair of Levi's 514 jeans to turn on/off a device.  In this hack I used an Adafruit Flora Board, the code below, conductive fabric, conductive thread, wire, a battery pack, fabric, needle, and thread, and in my case the device I decided to use was a signal jammer.   

Using those materials I assembled a simple circuit that can be competed by touch both pieces of conductive fabric with a ring (preferably one designed by Heath Wagoner NY)

The pants that I made are designed to disrupt the electronics of a partner or friend that is distracted from you in an attempt to get them to interact more with the world around them.

Follow the steps below:


Step 1.  You will need to purchase a device to turn on, if it is a signal jammer it must be purchased from outside the country. Because
              they are illegal there is a chance it might not be allowed in the country.

Step 2.  While waiting for this to arrive play around with the code below and upload it onto a flora and assemble the circuit in the diagram  
              replacing the device with an LED to test it.

Step 3.  Attach the flora to a separate piece of fabric a little larger than the back pocket.

Step 4.  Solder wires from GND and D12 to the device's power switch and tie conductive thread to GND and D6 in long enough sections 
              to later be sewn

Step 5.  Create straps that will hold the battery pack in place and straps that will hold the device in place.
             NOTE: Once all electronics are attached in place the jeans can no longer go in water or be washed as they will stop working or
             could potentially harm the wearer if submerged while being worn.  I trust you a not that dumb but then again I don't know you....


Step 6. Cut two squares of conductive fabric and sew the two pieces into one back pocket of the jeans, make sure they are close together but not touching.

Step 7. Sew the fabric to the inside of the jeans and make sure to leave the conductive thread accessible as well as the batter pack for future access.

Step 7.  Using conductive thread sew two separate connections from the pieces of conductive fabric to the arduino board making sure that these connections DO NOT touch. 

Step 8.  Choose a ring that fits the finger that you are most comfortable wearing (these can be commissioned by HWNY and then cherished)

Step 9. Touch the ring to the studs to create a switch that turns on the device until the ring is removed.

Step 10. Have fun.

Play around with the code below.


/*
Input Pullup Serial

This example demonstrates the use of pinMode(INPUT_PULLUP). It reads a
digital input on pin 2 and prints the results to the serial monitor.

The circuit:
* Momentary switch attached from pin 2 to ground
* Built-in LED on pin 13

Unlike pinMode(INPUT), there is no pull-down resistor necessary. An internal
20K-ohm resistor is pulled to 5V. This configuration causes the input to
read HIGH when the switch is open, and LOW when it is closed.

created 14 March 2012
by Scott Fitzgerald

http://www.arduino.cc/en/Tutorial/InputPullupSerial

This example code is in the public domain

*/

void setup(){
  //start serial connection
  Serial.begin(9600);
  //configure pin2 as an input and enable the internal pull-up resistor
  pinMode(6, INPUT_PULLUP);
  pinMode(12, OUTPUT);

}

void loop(){
  //read the pushbutton value into a variable
  int sensorVal = digitalRead(6);
  //print out the value of the pushbutton
  Serial.println(sensorVal);

  // Keep in mind the pullup means the pushbutton's
  // logic is inverted. It goes HIGH when it's open,
  // and LOW when it's pressed. Turn on pin 13 when the
  // button's pressed, and off when it's not:
  if (sensorVal == HIGH) {
    digitalWrite(12, LOW);
  }
  else {
    digitalWrite(12, HIGH);
  }
}



Hardware Hacking

Participated in the
Hardware Hacking