Skip to content

13. Skin Electronics

Inspirations

Amazing circuit on the skin :

Katia Vega, Kinisi

A seamless skin interfaces aiding communication through unconscious behaviors :

Shuyi Sun, Neha Deshmukh, Xin Chen, Hao-Chuan Wang, and Katia Vega, GemiNI

Katia Vega, ChromoSkin - MIT Media Lab

MIT researchers develop temporary tattoos that can control smartphones :

Tutorial

This week, I learnt how to program an ATtiny.

This is the schema of an ATtiny : attiny

This is the material to programm an ATtiny : laptop

This is how to transform Arduino UNO in programmer : programmer

This is how to make the circuit : capucine.robert.electronique

These are the setups in Arduino :

Board > ATtiny Microcontrollers > ATtiny 25/45/85

Processors > ATtiny 85 (it depende of the ATtiny that is used)

Clock > Internal 8MHz

Port > Arduino UNO

Test 1 : ATtiny + LEDs

via GIPHY

via GIPHY

Code :

int led_pin = 1;  //pin of the Led

void setup() {
  // put your setup code here, to run once:
  pinMode(led_pin, OUTPUT);   // set the pin 3 as OUTPUT

}

void loop() {
  // put your main code here, to run repeatedly:
  digitalWrite(led_pin, HIGH);      //turn the Led ON
  delay(1000);                //wait
  digitalWrite(led_pin, LOW);       //turn the Led OFF
  delay(1000);                //wait
}

Test 2 : ATtiny + LEDs + switch

via GIPHY

via GIPHY

Code :

// this constant won't change:
int  sw_pin = 4;    // the pin that the pushbutton is attached to

int led_pin = 1; //pin of the led

// Variables will change:
int sw_status = 0;         // current state of the button

void setup() {
  // initialize input and output pins:
  pinMode(sw_pin, INPUT_PULLUP);
  pinMode(led_pin, OUTPUT);

}

void loop() {

  // read the pushbutton input pin:
  sw_status = digitalRead(sw_pin);

  // compare the switch status to its previous state
  if (sw_status == LOW) {
    digitalWrite(led_pin, HIGH);   
  } else {
    digitalWrite(led_pin, LOW);
  }

}

LEDs are in the hair !

I made this little headband for the Xmas party with 3 LEDs and a basic circuit!


Last update: 2022-05-09