Wearables¶
1. Objective¶
Continuing from our first e-textiles experiments a few weeks ago, we dove further into this fascinating world where electronics and textiles meet to create moving, sounding and lighting universes. The assignment was to make two swatches of actuators, combining soft and hard connections, and a swatch with an input used with an actuator, thought as a wearable. Building on my past experiments, I wanted to further develop a ‘love-button’ idea that was born then, but that I had only proto-typed. This time though, I was going to add a microcontroller to programme the light’s behaviour and make a capacitative sensor to activate the system.
2. Inspiration¶
3. Tools¶
| Material | Details |
|---|---|
| Microcontrollers | Arduino UNO, XIAO Seeed RF52840 & RP2040, Micro:bit v.2 |
| Software | Arduino IDE, Microsoft MakeCode |
| Electronics | Different-sized resistances, diode, MOSFET transistor |
| Music amplifier | DR-AMP10W ver. 1.3 |
| Power | Microbit battery pack, Anker 523 Power Bank 10000 PD 30W |
| LED | Pink sewable LED (Adafruit LED Sequin), flexible LED filament |
| Tools | Crocodile clips, Soldering iron, conductive tape, breadboard, jumper wires |
| Textiles | Cotton fabric, conductive thread, digital button (conductive switch), sewing machine thread |
4. Process and Workflow¶
4.1. Neopixels¶
Introducing neopixels
NeoPixels are individually addressable LEDs, meaning that each LED can be controlled separately through a digital signal. By modifying values in the code, it is possible to control:
- RGB colour values
- brightness
- timing
- animation sequences
4.1.1. Introduction¶
Following Jessica Stanley’s tutorial on programming NeoPixels, I explored the basic control of addressable RGB LEDs using Arduino. The exercise introduced me to programming different light behaviours such as colour changes, brightness, timing and simple animations.
Although I was unable to upload the code on my Seeed XIAO RP2040 due to a missing cable, the session gave me a nice overview of the possibilities offered by these programmable LEDs. It also helped me realise that, while I appreciate the creative potential of colourful light interactions, my own artistic interests currently lie elsewhere. Rather than exploring NeoPixels further, I chose to focus on the areas that resonate most with my practice, such as movement, tactile interaction and responsive textiles.
4.1.2. Neopixels glossary¶
I made a little list with the basic commands for neopixels, in order to remember the use and the implementation.
Description¶
Control the colour of NeoPixels by defining Red, Green and Blue values (0–255).
By mixing these three channels, a wide range of colours can be created.
Code¶
pixels.fill(pixels.Color(255, 0, 0)); → red
pixels.fill(pixels.Color(0, 255, 0));` → green
pixels.fill(pixels.Color(0, 0, 255));` → blue
Creative application¶
Create a visual language for the textile: assigning colours to emotions, states,
interactions or environmental responses.
Description¶
Adjust the intensity of the LEDs independently from their colour.
Values range from 0 (off) to 255 (maximum brightness).
Code¶
pixels.setBrightness(50);
pixels.fill(pixels.Color(255, 0, 0));`
pixels.show();`
Creative application¶
Creating subtle variations of presence: breathing effects, fading, gentle pulses,
or changes in intensity rather than simple on/off behaviour.
Description¶
Control the duration of each light state. Timing creates rhythm and allows the
LEDs to change according to a programmed sequence.
Code¶
pixels.show();
delay(1000); `1000 = 1 second`
Creative application¶
Introducing rhythm and temporality, allowing the light to have its own "choreography"
and pace.
Description¶
Create a simple repeated pattern by switching LEDs on and off with controlled
timing.
Code¶
cpp
pixels.fill(pixels.Color(255,0,0));
pixels.show();
delay(500);
pixels.clear();
pixels.show();
delay(500);
Creative application¶
Exploring signals, communication and attention. A blinking textile could behave
like a heartbeat, a warning signal, or a response to interaction.
4.2. Exploring transistor control and learning to solder¶
4.2.1. First attempt¶
The following day, we built a MOSFET circuit on a piece of cardboard using conductive tape, a microcontroller, a MOSFET transistor, an external power supply and two different actuators: a small vibration motor and a flexible LED filament.
We spent most of the day building, testing and troubleshooting the circuit. Frustratingly, despite trying different configurations, we could not get it to work at all.
Although the circuit remained unresolved during the workshop, the experience was far from unsuccessful. It gave me my first opportunity to solder electronic components and introduced me to the practical process of building, testing and debugging electronic circuits. It also underlined just how important component compatibility is in electronics.
4.2.2. Understanding the problem¶
Stephanie continued investigating the problem and discussed it with colleagues. Together they finally identified several incompatibilities between our available components and the original reference circuit.
The main issue seemed to be the MOSFET transistor. The reference circuit used a logic-level MOSFET (FQP30N06L), which can be fully switched on with the 3.3V or 5V signal produced by a microcontroller. The MOSFETs we had available (IRF540N and IRF640N) require approximately 10V at the Gate to open fully. As a result, neither the Seeed XIAO nor the Arduino could drive the transistor correctly.
A second issue concerned the diode. The original circuit had been designed for a resistive load, whereas a vibration motor is an inductive load that generates reverse voltage spikes when switched off. Relocating the diode across the motor protects the circuit from these voltage spikes.
4.2.3. The solution¶
In the end, the solution was to introduce an additional NPN transistor that would act as a voltage level shifter. This allows the 5V control signal from the Arduino to safely switch the 9V required at the MOSFET Gate, enabling the motor to operate correctly.
I look forward to rebuilding this corrected version and using this circuit board in my future e-textiles projects!
4.3. The magic of textile sound¶
4.3.1.Making¶
When I saw the textile speakers during Liza Stark’s presentation, I was mesmerised by the idea that a textile could be turned into a functional loudspeaker and so I set forth explore this. As proposed by Liza and many tutorials, I embroidered a simple spiral onto a piece of cotton fabric using conductive metallic thread. The embroidered textile coil forms the core of the speaker.
4.3.2. Connecting¶
To test the speaker, I connected it to a DR-AMP10W (ver. 1.3) amplifier powered by a USB power bank, as I didn’t want to be limited to midi sounds only. First my computer and then an MP3 player provided the audio signal.
4.3.3. Testing¶
By approaching neodymium magnets to the embroidered spiral, the magnetic field interacted with the electrical signal passing through the conductive thread, causing the fabric to vibrate and reproduce sound.
The experiment was a great success: music could clearly be heard through the embroidered textile speaker. Beyond demonstrating the technical principle, it immediately sparked ideas for future applications.
4.3.4.Pull up your hood... and the world quietly changes.¶
One concept that emerged is the "Zen Hoodie". By integrating the textile speaker into the hood of a garment and connecting it to a microcontroller equipped with a tilt sensor, the hoodie could detect when the hood is being worn. This gesture could trigger the playback of a calming soundscape or an Om chant, creating a small, wearable refuge where the wearer can retreat for a moment of peace within their own personal sound cocoon.
AI generated image of my Zen Hoodie idea
IMAGE
4.4. Experimenting with capacitive sensors¶
I explored the use of a textile capacitive sensor to detect the proximity of a hand in order to activate a light. The initial tests were carried out at the Fablab using an Arduino UNO, a knit conductive sensor and a flexible LED filament as the output.
4.4.1. First trial - calibrating and celebrating¶
The first challenge was calibrating the circuit. After testing several resistor values, we found that a total resistance of approximately 75 kΩ produced the most reliable response. Another important discovery was that the sensor only functioned correctly when connected directly to the leg of the 51 kΩ resistor. Connecting the sensor elsewhere in the circuit either produced no response or only detected direct physical contact instead of proximity.
4.4.2. Second trial - testing and failing¶
Following these promising results, I decided to continue experimenting at home using a Seeed XIAO RP2040 and a textile sensor made from metallic embroidery on cotton fabric. The objective was to create a more integrated textile sensor while maintaining reliable proximity detection.
I tested several iterations including changing resistor values, modifying the embroidered sensor, adjusting the sensitivity threshold and experimenting with different wiring configurations. While the sensor consistently detected direct touch, obtaining stable proximity sensing proved much more difficult. The measured values fluctuated considerably, making it challenging to distinguish between intentional interaction and electrical noise.
After many rounds of testing and debugging, I decided to stop pursuing this particular solution.
As time was running out and I really wanted to make a functional wearable, I decided to give up in trying to optimise the capacitive sensor this time. So I replaced the proximity sensor with a digital, textile push button as the input for my wearable project. This provided a robust and reliable interaction while allowing me to continue developing the rest of the project.
Although the capacitive sensor did not become part of the final prototype, this experiment provided valuable insight into the sensitivity of capacitive sensing and the importance of resistor selection. I will surely be coming back to this experiment in the near future, as the thought of activating something just through proximity, fascinates me very much.
4.4.3. Logbook of my readings in Arduino IDE¶
| Situation | Approximate reading | Interpretation |
|---|---|---|
| Sensor disconnected / floating | 0–800 (wild jumps) | Circuit unstable; floating input producing random values. |
| Sensor away from any hand | 0–30 | Good stable baseline. |
| Hovering over the textile sensor | No to hardly any change | Difficult to distinguish intentional proximity from electrical noise. |
| Finger touching embroidered sensor | 150–200 | Direct touch clearly detected. |
| Touching the conductive threads attached to the resistors | Higher and much more responsive | The circuit itself was working but only to touch |
4.5. Final Creation: The Love Dungarees¶
4.5.1. Concept¶
Concept The Love Dungarees transform a simple touch into a moment of connection. By pressing a textile button, people can "send love" to the wearer, who receives the response through a small illuminated heartbeat. Each interaction is counted throughout the day. The wearer can also trigger an excited heartbeat through movement by shaking or jumping.
4.5.2. Process¶
For this experiment, I used a pair of my boyfriend’s black work dungarees to explore how a garment could become interactive and an object of play. I chose this particular garment because it is part of his everyday working life: he often works as part of larger teams where collaboration, mutual support and care are essential. The idea was to propose an option for moments of playfulness and connection within a hardworking environment.
I used an input I had created during the e-textiles weeks: a soft textile button using two layers of conductive fabric separated by a non-conductive layer. By cutting a small opening in the insulating layer, the two conductive surfaces make contact when pressed, creating a textile version of a digital push button.
The button was connected to a Micro:Bit, which acted as the brain of the system. A pink LED was used as the output.
Using the Micro:bit's own software MakeCode, I programmed several interactions:
Description¶
Micro:Bit counter recording and displaying the number of touches
Code¶
input.onPinPressed(TouchPin.P1, function () {
touchcount += 1
basic.showNumber(touchcount)
basic.pause(500)
basic.clearScreen()
Description¶
Programme the LED on/off timing so that it lights up at the rate of a human heart
Code¶
for (let index = 0; index < 4; index++) {
pins.digitalWritePin(DigitalPin.P0, 1)
basic.pause(120)
pins.digitalWritePin(DigitalPin.P0, 0)
basic.pause(100)
pins.digitalWritePin(DigitalPin.P0, 1)
basic.pause(120)
pins.digitalWritePin(DigitalPin.P0, 0)
basic.pause(700)
Description¶
Micro:Bit's shake function to activate LED with accelerated heartbeat, creating
the impression of excitement
Code¶
input.onGesture(Gesture.Shake, function () {
for (let index = 0; index < 6; index++) {
pins.digitalWritePin(DigitalPin.P0, 1)
basic.pause(120)
pins.digitalWritePin(DigitalPin.P0, 0)
basic.pause(100)
pins.digitalWritePin(DigitalPin.P0, 1)
basic.pause(100)
pins.digitalWritePin(DigitalPin.P0, 0)
basic.pause(300)
}
In order to avoid any surprises, I kept testing the circuit every single step of the making process and I was super happy that it all worked out perfectly! My boyfriend can't wait to wear the dungarees to his next job ;-)
5. Final Result¶
5. Weekly reflexion¶
5.1. Learnings¶
This week taught me that e-textiles are a beautiful meeting point between softness, materials, electronics and code. I learned that things rarely work perfectly on the first try, but that every failed experiment reveals something new. I became more comfortable with building circuits, soldering, programming and, most importantly, thinking of textiles as materials that can sense, react and communicate.
5.2. Questions¶
How far can we push the relationship between textiles and technology without losing the softness and humanity of the material? How can electronic components become true partners rather than added gadgets? I am curious about creating textiles that do not simply respond, but that seem to have their own rhythms, behaviours and forms of expression.
5.3. Connection to my life¶
This week connected strongly with my existing artistic practice. Sound has always been an essential element in all of my artistic work, and these experiments opened new possibilities for integrating sound directly into objects, installations and wearable forms. Exploring programmable light also connects with my work on costumes and sculptures, where light can become an integral part of the material language and atmosphere of a piece.