materials: second hand wool felt hat, 0.5mm fiber optics, Karl-Grimm silver plated copper conductive thread with nylon core, silver plated conductive polyester knit fabric, ATtiny microcontroller, two red super bright SMD LEDs, shrink tube, multi-strand wire, CR2032 coin-cell battery
materials cost: 8 Euro (not including felt hat)
techniques: couching, sanding, shrinking tube
hours of labor: 4 hours 30 minutes


KOBA Tailor Shop Code by KOBAKANT
“ja, ne hat” Poetry in Motion example
Opening Collection, Dec 2017

#define jaLED 0
#define neLED 1
#define shakeSensor 3

void setup() {
pinMode(jaLED, OUTPUT);
pinMode(neLED, OUTPUT);
pinMode(shakeSensor, INPUT_PULLUP);

void loop() {
if (digitalRead(shakeSensor) == LOW) {
digitalWrite(jaLED, HIGH);
digitalWrite(neLED, LOW);
else {
digitalWrite(jaLED, LOW);
digitalWrite(neLED, HIGH);