E-Textiles
LEDs and fiber optics as part of fashion
Electronic textiles, also known as smart garments, smart clothing, smart textiles, or smart fabrics, are fabrics that enable digital components such as a battery and a light (including small computers), and electronics to be embedded in them. Smart textiles are fabrics that have been developed with new technologies that provide added value to the wearer. Pailes-Friedman of the Pratt Institute states that "what makes smart fabrics revolutionary is that they have the ability to do many things that traditional fabrics cannot, including communicate, transform, conduct energy and even grow. Learn more
Now i need to make the flexible PCB. I decided to build one in my own way. To make a flexingle PCB, I decided to choose chemical eching using Ferric Chloride(FeCl3). I choose a OHP sheet as the base material for the PCB. Above of the vynyl sheet i stacked a copper tap sheet.
After cutting out the PCB. I carefully removed the unwanted copper tapes from the sheet. There is high chance to rip the traces too, so i used a tweezer to remove the copper.
Now i need to solder all the components to the PCB. But it is not a easy task as it like we solder on a copper clad PCB. The OHP paper is not a heat resistive material. So there is high chance to melt down the sheet while soldering. So i need to solder components as fast as i can. I did the soldering pretty well. soldering the Attiny44 is little risky but i managed it.
Now i need to program the board to blink the LEDs. I wrote the code in arduino IDE. I does not gave a AVRISP pin header in my board because i just need only to program once and It is too difficult to route the traces. How ever i uploaded the code into the Attiny44 by directly taking wires from the programming pins (MISO,MOSI,SCK,RST,VCC,GND). If you dont know how to program Attiny microcontrollers using arduino please reffer my Embedded programming week
Arduino Code:
#define A1 10 #define A2 9 #define A3 8 #define C1 0 #define C2 1 #define C3 2 void setup() { pinMode(A1,OUTPUT); pinMode(A2,OUTPUT); pinMode(A3,OUTPUT); pinMode(C1,OUTPUT); pinMode(C2,OUTPUT); pinMode(C3,OUTPUT); digitalWrite(A1,LOW); digitalWrite(A2,LOW); digitalWrite(A3,LOW); digitalWrite(C1,LOW); digitalWrite(C2,LOW); digitalWrite(C3,LOW); } void loop() { digitalWrite(A1,HIGH); digitalWrite(C1,LOW); digitalWrite(A3,HIGH); digitalWrite(C3,LOW); delay(80); digitalWrite(A1,HIGH); digitalWrite(C2,LOW); digitalWrite(A3,HIGH); digitalWrite(C2,LOW); delay(80); digitalWrite(A1,HIGH); digitalWrite(C3,LOW); digitalWrite(A3,HIGH); digitalWrite(C1,LOW); delay(80); digitalWrite(A2,HIGH); digitalWrite(C1,LOW); digitalWrite(A2,HIGH); digitalWrite(C3,LOW); delay(80); digitalWrite(A2,HIGH); digitalWrite(C3,LOW); int lDelay=random(80,2000); delay(lDelay); ////////////////////////////////// digitalWrite(A1,LOW); digitalWrite(C1,LOW); digitalWrite(A3,LOW); digitalWrite(C3,LOW); delay(80); digitalWrite(A1,LOW); digitalWrite(C2,LOW); digitalWrite(A3,LOW); digitalWrite(C2,LOW); delay(80); digitalWrite(A1,LOW); digitalWrite(C3,LOW); digitalWrite(A3,LOW); digitalWrite(C1,LOW); delay(80); digitalWrite(A2,LOW); digitalWrite(C1,LOW); digitalWrite(A2,LOW); digitalWrite(C3,LOW); delay(80); digitalWrite(A2,LOW); digitalWrite(C3,LOW); int rDelay=random(80,2000); delay(rDelay); }
Now its time to stiching the PCB in to the Tshirt. I selected a T-shirt that i have already left for this project. Then i used a fine stiching needle and thread to stich the PCB into the T-Shirt.
I stiched the PCB from inside of the Tshirt. So it should noted by others and also the Tshirt will act as kind of diffuser for the LEDs.