Week 05-18/10/2022

E-textiles

Scroll For More

Oct 18, 2022

E textiles

An overview of the field of electronic textiles, example works in the field as well as materials and technical developments that have made these projects possible. Different techniques for making soft/flexible/fabric circuits.


1. Weekly Documentation planning

How I worked this week

2. E-textiles: Research and Inspiration

I had experience with electronics and pcb milling thanks to Fab Academy, I milled, soldered and programmed many different pcbs, but I never explore the soft side of circuit making.

And ouput PCB that I designed during Fab Academy 2019

During the first part of this week, I looked for inspiration in other people's work with soft sensors ans circuit applied to fabrics. I find the amazing page of Kobakant, full of tutorials and example projects which were really useful this week. Their KOBAKANT DIY wearable technology documentation was a comprehensible and accessible reference resource for my week:

Making-of sensor demos
Tilt potentiometer by KOBAKANT

I want to explore how can we create beautiful looking circuits that integrates with the projects they are made for, and not just stick a weird looking square circuit. I found this paper speaker made by Jess Rowland. This project explores the technical, design, and aesthetic possibilities of 2-D, flexible audio speaker technology. I also showed me the possiblities of working with flexible copper tape.

Paper Speaker by Jess Rowland

I also found Clara Daguin's work. It is amazing and really inspiring, I saw a couple of her projects. Her BODY ELECTRIC project garment reveals what hides beneath the skin. Veins and sinuous networks become visible through optic fibres and intricate hand-work. Heart sensors capture the body’s pulse and make it visible to the eye in waves of light, emanating from the embroidery. I absoluty love it.

BODY ELECTRIC by Clara Daguin

3. Circuit:

3.1. What is a circuit?

According to Gavin Wright in electronics, a circuit is a complete circular path that electricity flows through. A simple circuit consists of a current source, conductors and a load. The term circuit can be used in a general sense to refer to any fixed path that electricity, data or a signal can travel through.

3.2. Schematic building tools

According to Physical computing, There are a number of schematic building tools aimed at makers, each with their own tradeoffs.

  • Circuit.io. Has some very interesting auto-completion features, combines design+code, is purely a web app. No simulation support.

  • Fritzing. Provides both pictorial (“breadboard”) plus schematic representations. Was “industry standard” for many years but has struggled with fundraising and feature improvements of late.

  • Tinkercad Circuits. Allows you to design Arduino-based circuits, write code, and simulate. Does not provide schematic representations.

4. Digital soft switch:

4.1. Digital vs Analog

Analog and digital signals are used to transmit information, usually through electric signals. In both these technologies, the information, such as any audio or video, is transformed into electric signals.

The difference between analog and digital technologies is that in analog technology, information is translated into electric pulses of varying amplitude. In digital technology, translation of information is into binary format (zero or one) where each bit is representative of two distinct amplitudes.

Source: Byjus

4.2. What is Digital Input?

Digital input is any input that can be considered either on (typically, HIGH or 5V) or off (typically, LOW or 0V). Simple, right? However, using digital input with microcontrollers can be confusing, at least at first.

4.3. Digital Input pins

Arduino Uno have 14 digital I/O pins that can be used either for input with digitalRead() or output with digitalWrite(), respectively

Source: Physical computing

You can control any of these 14 digital I/O pins with three functions:

  1. pinMode(int pin, int mode) configures a specified pin as either an INPUT or OUTPUT. For our buttons, we’ll be using INPUT—because a button is an input and not an output—and a variant of INPUT called INPUT_PULLUP.
  2. digitalRead(int pin) reads digital input from the specified pin, either HIGH or LOW. This is what we need to read the button’s state (either pressed or not pressed)
  3. digitalWrite(int pin, int value) writes digital output to the specified pin, either HIGH or LOW. This is not relevant to us here because we don’t write out data to a button.

4.4. Digtial Soft sensor

For my digital soft sensor I decide to make a simple button-based circuit that turns on a LED when the button (aka momentary switch) is pressed. Similar to the next example:

Animation shows the Arduino’s built-in LED illuminating when the button on Pin 2 is pressed. When the button is pressed, current flows from VCC through the pull-down resistor to GND. Source: Physical computing

4.5. Button(Switch).

Using a button as a switch is simple to understand, a switch is an electrical device designed to interrupt the flow of electricity in a circuit. A switch can make or break an electrical connection. A switch can be either fully ON or fully OFF. In a fully ON condition, it creates a closed path between the source and load, so that the load can consume power (current) from the source. In a fully OFF condition, it open-circuits the path between the load and the source, so that no power is consumed by the load.

I'm using a four-legged tactile button for this circuit, at first it's confusing how this component works but I found a great page called physical computing that explains it.

Animation shows which two sides of a four-legged tactile button are disconnected until the button is pressed, creating a connection between all four legs. Source: Physical computing

4.6. Virtual vs Physical

I decide to use Thinkercad to quickly simulate my circuit. Then I made a test usign a breadboard. Using the serial monitor of Arduino IDE I read the digital signal adn everything worked well.

My circuit in TinkerCAD
Physical circuit

Once I got the electronic part figured out, I focused on the development of the fabric swatch. I design the copper paths in Rhinoceros and fabricated them using the vinyl cutter of our lab. Here's the process:

Circuit Design in Rhinoceros

4.7 Fabrication of the circuit: Vynil cutting

4.1. Machine Specifications
  • Machine model: GCC VINYL CUTTER PUMA IV 60LX-24
  • Job size: Max. Cutting Width: 590 mm(23.23 in.) - Max. Media Width: 719 mm(28.3 in.) - Material Thickness: 0.8mm
  • Software: GreatCut 4
4.8. Vynil cutting process:
  1. To turn on, press the switch and lift the lever located on the left and rear sides of the slicer, respectively.
  2. The raised lever allows the material to be placed in the cutting area of the cutter, this material must be located above the material sensor so that the cutter can measure it.
  3. The material must meet at least half of the rollers on both sides so that it can move without stalling during cutting. Both upper and lower rollers must coincide therefore.
  4. The measurement button is then pressed so that you can measure the dimensions of the material to be cut.
  5. The blade must be adjusted to the minimum necessary so that it can cut the material, since the materials have different thicknesses, in our case study the ideal is that it cuts the vinyl without cutting the release paper that is underneath.
  6. We proceed to make the speed settings (12 cm/s), the speed of raising and lowering the blade (72 cm/s) and the cutting force (30 g), these being the values used for the work.
  7. Once all the settings have been made, we can send the files to the machine
    1. Edit the file on the software “Greatcut 4”:
      1. Load your dxf file
      2. Go to File > Output
      3. Set the following parameters: Speed: 12 cm/s - Pressure: 30 g
      4. Click Output and send the file to the machine
      5. Finally, Carefully remove the vinyl sticker using duct tape.

      4.9. Components

      • Arduino Board
      • Tactile button
      • Hook-up wires
      • Breadboard
      • 10K ohm resistor
      • 1K ohm resistor
      • LED

      4.10. Tools

      • Vynil cutter
      • Copper Tape
      • Soldering station

      4.11. Circuit

      Diagram and schematic of the soft switch

      4.12. Code

      4.13. Result:

      My soft switch circuit

      4.14. Testing

      Once I placed the copper tape and solder my components, I tested the code and it worked!. Here you can check my results and how it reads the signal:

      Soft switch de Silvia Lugo
      Example of soft switch applied to a garmet

      5. Analog Soft sensor

      For my analog soft sensor I decide to make a potentiometer, which is a three-terminal resistor with a sliding or rotating contact that can be used to dynamically vary resistance.

      At this point I had to improvise, because all the potentiometers that I found on the internet uses resistive fabrics, which at this time I didn't have. But I bought a conductive thread that has good resistance and would make the job. In order to suceed, it was important to understand how potentiometers work.

      5.1. How does a potentiometer work

      Potentiometers have three legs: the resistance between the outer two legs (Leg 1 and Leg 3) will not vary. For example, if you are using a 10kΩ potentiometer, then the resistance between Legs 1 and 3 will always be 10kΩ regardless of wiper position (Leg 2). If you’re using a 1kΩ resistor, then the resistance between Legs 1 and 3 will be 1kΩ, and so on.

      The power of a potentiometer is in that middle leg (Leg 2) whose resistance varies depending on the potentiometer’s sliding or rotating contact (the wiper) position. It may help to think of a potentiometer as containing two interdependent resistors R1 and R2 that always sum to RTotal (where RTotal is the potentiometer’s total value like 1kΩ or 10kΩ). As you move the slider contact, R1’s resistance will increase as R2’s resistance decreases.

      5.1.1. Potentiomers as variable resistors vs. voltage dividers

      There are two common ways to use a potentiometer: as a variable resistor or rheostat—where you only hook up two legs (the wiper leg and an outer leg)—and as a voltage divider.

      5.2. Analog input/ output pins

      Arduino has analog output pins and analog input pins. For digital I/O, the input and output pins are the same and configurable to INPUT or OUTPUT using the pinMode command, the analog I/O pins are different! See the figure below:

      Source

      5.3. LEDs output

      To test my sensor with output I recreate the quick LED tester found in Liza Stark page. This simple ciruit is to plug right into the Arduino instead of having to hook LEDs up to a breadboard every time you want to test a sensor.

      Making the LED tester output using the vinyl cutter.

      Here'es my final result:

      5.4. Building my potentiometer

      To build my potentiometer I follow the tutorial of Liza Stark about Soft Sensors. In her tutorials she uses resistive fabric, I didn't have that material, but I had conductive thread, after I measure the resistance of the thread I built a linear potentiometer stitching it in zigzag.

      Source of potentiometer diagram

      5.5. Components

      • Arduino Board
      • Tactile button
      • Hook-up wires
      • Breadboard
      • 10K ohm resistor
      • 1K ohm resistor
      • 3 LEDS

      5.6. Tools

      • Vynil cutter
      • Copper Tape
      • Soldering station: Soldering iron and solder
      • Scissors
      • Needle

      5.7. Circuit

      Diagram of the soft potentiometer

      5.8. Code

      5.9. Result:

      My potentiometer

      5.10. Testing:

      Analog Soft sensor de Silvia Lugo

      6.Reflections

      What went wrong

      • Even thougt I planned my week, I ran out of time and had to stay awake late at nigth to finish my documentation again.
      • I couldn't integrate the swatch into a project (extra credit)

      What went right

      • Make a soft switch
      • Make a soft sensor

      7.References:

      Analog vs Digital

      Industry Application of 3D Scanning


      8.Files

      Soft Switch

      Design file

      Arduino Code

      Soft Sensor

      Arduino Code

      LED tester

      Design file

Weekly assignments

  • 100%
    Build at least one digital and one analogue soft sensor
  • 100%
    Document the sensor project and the readings got using the AnalogRead of Arduino
  • 100%
    Integrate the two soft sensors into one or two textile swatches
  • 100%
    Document the circuit and its schematic
  • 100%
    Document your swatches / samples
  • 100%
    Upload your arduino code as text
  • 100%
    Upload a small video of the swatches functioning
Back to Top