/HairIO

Shared Repository for HairIO: hair as interactive material

Primary LanguageC++

HairIO: Human Hair as interactive Material

Shared Repository for HairIO: Human Hair as interactive Material

Hardware details

  • Microcontroller: Arduino Nano, ordered from AliExpress. Requires these drivers.

Circuit diagram for SFCS from Disney's Touche project, as shared by Illutron

// Illutron take on Disney style capacitive touch sensor using only passives and Arduino // Dzl 2012

//                              10n
// PIN 9 --[10k]-+-----10mH---+--||-- OBJECT
//               |            |
//              3.3k          |
//               |            V 1N4148 diode
//              GND           |
//                            |
//Analog 0 ---+------+--------+
//            |      |
//          100pf   1MOmhm
//            |      |
//           GND    GND

Arduino code

Arduino pinout notes

For mux_4052 code

  • pinMode(9, OUTPUT); //-Signal generator pin // digital PWM

  • pinMode(8, OUTPUT); //-Sync (test) pin // digital

  • pinMode(LED, OUTPUT);

  • pinMode(muxApin, OUTPUT); // pin 6, digital PWM

  • pinMode(muxBpin, OUTPUT); // pin 5, digital PWM

  • pinMode(braidOutput, OUTPUT); // pin 2, digital

  • // Also uses Analog 0 later.

    Total: 5 digital pins, 1 analog pin.

For touch_sensing_bluefruit_v2 code

// cap-sense pin

  • pinMode(9, OUTPUT); //-Signal generator pin
  • pinMode(8, OUTPUT); //-Sync (test) pin
  • pinMode(drive, OUTPUT);

//bluetooth:

  • BLUEFRUIT_UART_MODE_PIN,
  • BLUEFRUIT_UART_CTS_PIN,
  • BLUEFRUIT_UART_RTS_PIN

Resources

Instructable for Disney Touche's SFCS

Datasheets and Circuit Info

demo

  • Multiple braids w/ BLE
  • Single braid w/ BLE