FlexiTacDocs
On this pageOverview

Stream the sensor

Flash the reading board from the Arduino IDE, then watch a live heatmap follow your finger. That's a working sensor.

The Arduino Nano on the reading board runs a small sketch that scans the sensor and streams frames over USB. Flash it once, then watch a bright spot follow your finger on a live heatmap. That's a working sensor.

Flash the reading board

  1. Get the sketch

    Download PyFlexiTac's firmware sketch (Download raw file on that page) and open it in the Arduino IDE. Let the IDE move it into a folder of the same name. It is already set up for the V2 sensor: 12 rows, 32 columns, 2,000,000 baud.

  2. Select the board and port

    Tools → Board → Arduino AVR Boards → Arduino Nano, then pick the serial port under Tools → Port. If the upload fails with not in sync, set Tools → Processor → ATmega328P (Old Bootloader) and try again.

  3. Upload

    Click Upload. You only need to do this once per board.

See the first signal

  1. Install PyFlexiTac

    Its live heatmap shows what the sensor feels. It needs Python 3.11 or newer.

    python3 -m venv .venv && source .venv/bin/activate
    pip install "flexitac[examples]"
  2. Find the serial port

    flexitac-find-port

    It asks you to unplug the board and reports the port that disappeared, such as /dev/ttyUSB0 on Linux or /dev/tty.usbserial-* on macOS.

  3. Open the live heatmap

    flexitac-heatmap --port /dev/ttyUSB0

    Don't touch the sensor for the first second, while it measures each taxel's resting level. Then press with a fingertip and drag it slowly across the pad.

A bright spot that follows your finger across every row and column means your sensor works. If a row or column never lights up, see Dead rows or columns.

Next