Skip to content

Latest commit

 

History

History
49 lines (27 loc) · 1.95 KB

readme.md

File metadata and controls

49 lines (27 loc) · 1.95 KB

Bare Conductive

Bare Conductive Touch Board Datastream Example

Continuously reads capacitive sense data from the MPR121 on the Bare Conductive Touch Board and outputs it to the (virtual) serial port. Can optionally interface with Bare Conductive's MPR121 grapher or Max/MSP communication patch.

Requirements

Install

This is normally installed as an example within the MPR121 library, but if you want to manually install it into your Arduino sketchbook, here is how to do it.

  1. Close the Arduino IDE if you have it open.

  2. Download the .zip or clone the repository to your local machine - if downloading the .zip, extract the contents somewhere that suits you.

  3. Take the DataStream folder and move it to Arduino Sketchbook Folder. This will be different for each operating system:

    Windows

    Libraries\Documents\Arduino

    or

    My Documents\Arduino

    Mac

    Documents/Arduino

    Linux (Ubuntu)

    Home/Arduino

    If this folder does not exist, create it first.

  4. Reopen the Arduino IDE - you should now be able to open the sketch in the File -> Sketchbook menu.

Output message formatting

TOUCH:		electrode touch values (0 not touched, 1 touched)
TTHS:		electrode touch thresholds (0..255)
RTHS:		electrode release thresholds (0..255)
FDAT:		electrode filtered data (0..1023)
BVAL:		electrode baseline values (0..1023)
DIFF:		/bval - /fdat (0..1023)