Skip to content

10. Wearables

Testing

This week I was very much inspired by various projects, which made the brainstorming harder, since I am still trying to understand the basics of the electricity in the first place. You may ask, how come? We didn't learn much about this in Iceland and also my brain is literally burned in some parts due to epileptic seizures, so I think I tried avoiding electronics due to that reason. But here I am trying to understand what it is all about after all the avoidance. It really feels so much easier to follow and understand it after digesting some of the information in the first e-textiles week, so I wanted to try and make something more useful at least for my performances. Some of the first ideas were making a: - Heating Headband for Headaches - Anti-Migraine Pressurer - A motor thumb-glove to pressure the area between thumb and index finger

We started testing making a Fabric Speaker.

Making a Speaker

Measuring Resistance and Conductivity of Copper Wire 1. Sanding with sandpapers is needed to take off the coating of the copper wire 2. Continuity measured to check if the coating is off, if there is sound, the coating is off, if not, sand it better. 3. 50cm - 0.4 Ohm 0.5m = 0.4ohm How many me0.4

8 ohm x 0,5 m : 0,4ohm = 10m 10 Meter = 10000 Millimeter

Hoop size: 240*200mm

Rectangle made on Rhino and

  • Put the outer end of the line to face outwards
  • Change hoop rectangle layer color to red
  • Export selected as Illustrator file -> "Preserve mode scale" size: mm

The fabric used should - moves - waterresistant - flexible - lightweight

For example - parachute fabric

|Wearables Projects|

Inspired by this simple-looking tutorial - Headband Headphones.

Tools: - Fabric - Wire - Magnets (2 pieces of 15x13x4mm) - Old headphones

Measurements of the Wire: - 230cm long - 6,5cm diameter - 21 turns - 12,4 ohms

Hoop: - 70mm diameter - 30mm thickness

Magnet - 15mm diameter - 8mm thickness of two magnets

Space for amplifier - 22mm flat surface inside the

Ariston HCE 060 70g coated copper wire didn't work because it is hightly conductive and there was very little resitance to create speaker. Speakers are usually 4-8ohm.

  • Errors
  • The space for the original round magnets was too small, so I replaced them with other ones which were more rectangular and could fit well

Project 2 - Thermochromic Ink

via GIPHY

We got pink and light blue pigments at the lab which we took home to test. I would like to work more with it in the future and use it to write hidden messages about sunstroke on headscarves.

Project 3 - Distance - Come closer but not too close!

Sounds from the motor

Inspired by Blind Band project using HC-SR04 Ultrasonic Distance Sensor

Process: 1. Connecting ultrasonic distance sensor to Arduino with wires: - GND -> GND - ECHO -> D10 - TRIG -> D9 - VCC -> 5V

  1. Mixing Neopixel code with sensor code to test

Code for Arduino:

 */

#include <Adafruit_NeoPixel.h>

// Which pin on the Arduino is connected to the NeoPixels?
#define PIN            3

// How many NeoPixels are attached to the Arduino?
#define NUMPIXELS      32


// Declare our NeoPixel pixels object:
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800);
// Argument 1 = Number of pixels in NeoPixel strip
// Argument 2 = Arduino pin number (most are valid)
// Argument 3 = Pixel type flags, add together as needed:
//   NEO_KHZ800  800 KHz bitstream (most NeoPixel products w/WS2812 LEDs)
//   NEO_KHZ400  400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers)
//   NEO_GRB     Pixels are wired for GRB bitstream (most NeoPixel products)
//   NEO_RGB     Pixels are wired for RGB bitstream (v1 FLORA pixels, not v2)
//   NEO_RGBW    Pixels are wired for RGBW bitstream (NeoPixel RGBW products)

uint32_t red = pixels.Color(255, 0, 0);
uint32_t green = pixels.Color(0, 255, 0);
uint32_t blue = pixels.Color(0, 0, 255);
uint32_t magenta = pixels.Color(255, 0, 255);
uint32_t color = pixels.Color(0, 0, 0);

int delayval = 500; // delay for half a second

const int trigPin = 0;
const int echoPin = 1;
const int motorPin = 4;


long duration;
int distance;
int motor;
void setup()
   {
    pinMode(trigPin,OUTPUT); // Sets the trigPin as an Output
    pinMode(echoPin,INPUT); // Sets the echoPin as an Input
    pinMode(motorPin,OUTPUT);
    //Serial.begin(9600); // Starts the serial communication

    pixels.begin(); // This initializes the NeoPixel library.
    pixels.show();            // Turn OFF all pixels ASAP
    pixels.setBrightness(12); //from 0 to 255, use it only in setup
   }

void loop() 
{

    digitalWrite(trigPin, LOW); // Clears the trigPin
    delayMicroseconds(2); // Sets the trigPin on HIGH state for 10 micro seconds

    digitalWrite(trigPin, HIGH); // write the Trigger for MCU on Module 
    delayMicroseconds(10);
    digitalWrite(trigPin, LOW); // Reads the echoPin, returns the sound wave travel time in microseconds

    duration = pulseIn(echoPin, HIGH); // Using the Formula
    distance= duration*0.034/2;


    //Serial.print("Distance: ");
    //Serial.println(distance);// Prints the distance on the Serial Monitor

    if (distance < 6) {
      color = pixels.Color(255, 0, 0);
      pixels.setBrightness(200);
    }
    else if (distance < 15) {
      color = pixels.Color(255,0,155);
      pixels.setBrightness(50);
    }

    else if (distance >= 15) {
      color = pixels.Color(0,255,0);
      pixels.setBrightness(12);
    }

    pixels.clear();
    pixels.fill(color, 0, distance);
    pixels.show();

    if (distance > 20) {
      distance = 20;
    }
    motor = map(distance, 0, 20, 255, 0);
    analogWrite(motorPin, motor);

}

Edition 2

  1. Keep the former board and add Vibration motor Connected to the Arduino with alligator clips

Connecting to microcontroler ATTiny ATTiny Pinout

  • Trig -> 0
  • Echo -> 1
  • Neopixels -> 3
  • Motor -> 4
  • Connect to Ground/VCC the rest of the pins.

Suggestion from Lisa Stark - Use LiPo batteries

Errors

Inspiration

Books


Last update: December 3, 2020