9. Wearables¶
This week, we went deeper into electronics and wearables, experimenting with an ATtiny microcontroller and various actuators, following Lisa’s presentation as our main guide.
Global class by Liza Stark from The New Parsons Faculty
Local classes by Emma Pareschi from TextileLab Amsterdam at Waag.
Research¶
Huseyin Chaglayan,
References & Inspiration¶
Inspiration board by Berrak Zeynep Okyar
Materials¶
1.Model: XIAO ESP32S3
2.Arduino IDE : program
3.PAM8403 HW-104 audio amplifier module
4.Dupont jumper
5.magnet
6.Speaker
7.soldering iron
Shematic¶
This schematic was obtained by Berrak Zeynep Okyar
Reference: https://wiki.seeedstudio.com/xiao_esp32s3_getting_started/
Soldering¶
Soldering Steps
1.Preparation
Heat the soldering iron: Attach the tip, plug it in, and let it heat up (around 330°C). Clean the tip: Use a damp sponge or a brass tip cleaner to remove oxidation.
→ A clean tip helps the solder flow smoothly.
2.Secure the Parts
Place the component you want to solder (for example, pin headers) properly on the Arduino board. Use a helping hand or holder so the part doesn’t move while soldering.
3.Soldering
Touch the soldering iron tip to both the pad (copper ring) and the component lead at the same time.
Heat for 1–2 seconds, then touch the solder wire to the joint (not directly to the iron tip!).
When the solder melts and flows over the surface, remove the solder wire and then the iron.
4.Check the Joint
The solder joint should be smooth, shiny, and shaped like a small cone.
If it looks like a ball, there’s too much solder.
If it’s dull or grainy, it wasn’t heated enough.
5.Cleaning Up
Remove any extra solder with desoldering braid or a solder pump if needed.
Clean the iron tip again and turn the iron off.
Make sure to work in a well-ventilated area — don’t breathe in the fumes.
Our soldering time , Berrak Zeynep Okyar, 2025
Soft Speakers-Testing coils-as-speaker¶
Conductive thread on felt fabric by 2025, Berrak Zeynep Okyar
How can create sound with Arduino program?¶
Step by step create sound in arduino program by Berrak Zeynep Okyar
Code Example¶
Code for speaker circuit with XIAO ESP32S3, 2025 by Berrak Zeynep Okyar
#define BUZZER_PIN 7
int melody[] = { 262, 262, 294, 330, 330, 294, 262, 247, 220, 220, 247, 262, 262, 247, 247 };
int noteDurations[] = { 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2 };
void setup() { for (int thisNote = 0; thisNote < 15; thisNote++) { int noteDuration = 1000 / noteDurations[thisNote]; tone(BUZZER_PIN, melody[thisNote], noteDuration); int pauseBetweenNotes = noteDuration * 1.30; delay(pauseBetweenNotes); noTone(BUZZER_PIN ); } }
void loop() { // Boş bırakıldı, sadece bir kez çalacak for (int thisNote = 0; thisNote < 15; thisNote++) { int noteDuration = 1000 / noteDurations[thisNote]; tone(BUZZER_PIN, melody[thisNote], noteDuration); int pauseBetweenNotes = noteDuration * 1.30; delay(pauseBetweenNotes); noTone(BUZZER_PIN ); } delay(2000); }
Actuator¶
Soft Speakers¶
Embroidery with conductive thread by Berrak Zeynep Okyar
Thermochromic pigment + heating pad¶
Materials¶
1.Model: XIAO ESP32S3
2.Arduino IDE : program
3.Fabric
4.Dupont jumper
5.Thermochromic Ink
6.Magnet
Assignment¶
-Document your idea , sketches, references and research
-Create a swatch using an attiny with one input and one output of your choice, using hard-soft connection solutions and battery
-Create 2 actuator swatches and test them with the Arduino or ATtiny
-Learn how to program and ATTiny, add the libraries and links you used for your code
-Document the schematic and the programming code, libraries you had to add and calculations
-Upload a small video of your object working










