
Read a sensor
This week's mission is to measure something: add a sensor to a microcontroller board that I have designed and read it.

Capacitive Sensor

Step response
The transmit-receive capacitor sensor can sense position, pressure, proximity, tilt, acceleration, humidity, and also be touchpad. So for my wearable it could be a universal input device. Inspired by Cindy's DuoSkin, the copper sticker can also be metalic fashion tattoo.

Board
First I fabricated Neil's two step response input boards, loading and transmit-receive.

Program
Plug in both FAB ISP and FTDI cable.
Run make -f hello.load.45.make
and then
make -f hello.load.45.make program-usbtiny-fuses
to write to the board.
With the firmware loaded in the ATtiny45, unplug the ISP.
Thanks to Jose's tutorial.

Check python version:
python -- version
Get USB port:
ls /dev/tty.*
So my FTDI is connected to:
/dev/tty.usbserial-A603UTCE
I got "ImportError: No module named serial"
So download pyserial, unpack and install:
tar -xzf pyserial-3.4.tar.gz
cd pyserial-3.4
sudo python setup.py install
Run the python code for visualization:
Loading:
python hello.load.45.py /dev/tty.usbserial-A603UTCE
Transmit-receive:
python hello.txrx.45.py /dev/tty.usbserial-A603UTCE


Loading

Transmit-Receive


Beauty Tech - conductive thread
I tried to "hide technology" within our daily parts. Here I made conductive threads into a feather that could be decorations of the hat.

Hair as input device
Feather

Hair
