Skip to main content
Hardware & Sensors
← Return to Counter Tool

Multi-Sensor Touch Counter

Track separate sensor channels.

Live Counter

Tap, click or press Space to keep count.

0

Tap anywhere inside or press Space

CPS: 0.0•Peak: 0
Step:

How the Multi-Sensor Touch Counter Works

The Multi-Sensor Touch Counter tracks several touch sensor channels at once and keeps a separate count for each channel. A 12-channel board such as the MPR121 reports all channels in one message.

  1. Connect a multi-channel board: Use a board with several touch inputs, such as an MPR121 (12 channels) or an ESP32 (up to 10 touch pins).
  2. Name the channels: Label each channel, such as Pad A to Pad L.
  3. Touch the pads: Each channel counts its own activations.
  4. Compare channels: See per-channel totals, shares and simultaneous touches.

Multi-Sensor Touch Counter Formula

The Multi-Sensor Touch Counter reads a bitmask where each bit is 1 channel, and a channel's count rises when its bit changes from 0 to 1.

New touches = Mask(t) AND NOT Mask(t − 1) | Count(ch) += 1 for each set bit ch
Mask(t)
Current channel states as bits
Mask(t − 1)
Previous channel states
AND NOT
Finds bits that just turned on

Example: The mask changes from 000000000101 to 000000001110. New touches = 000000001010, so channels 1 and 3 each gain 1 count.

Multi-Sensor Touch Counter Reference Table

The Multi-Sensor Touch Counter conversion table lists common multi-channel touch boards.

Board or chipTouch channelsInterfaceTypical use
MPR12112I²CTouch keyboards and art
TTP22916Serial or I²C-likeKeypads
ESP3210Built-in pinsWireless touch projects
AT42QT10707I²CSmall control panels
Adafruit CAP11888I²C or SPIButtons with LEDs

About the Multi-Sensor Touch Counter

A Multi-Sensor Touch Counter is a hardware counter that tallies activations on several touch channels separately.

Multi-channel boards report all channel states as one number, called a bitmask. Comparing the current mask with the previous one finds new touches on every channel in a single step.

Ways to Use the Multi-Sensor Touch Counter

The Multi-Sensor Touch Counter has 5 key uses, including touch pianos and exhibit walls.

  • Touch pianos: Makers count presses on each of 12 keys.
  • Exhibit walls: Museums compare touches across several displays.
  • Voting boards: Events count votes on separate touch pads.
  • Reaction games: Players hit lit pads, and each pad counts hits.
  • Sensor comparison: Engineers compare sensitivity across channels.

Tool Details

Category
Hardware & Sensors
Controls
Taps and keys
Input Support
Touch, Pen, Mouse, Keys
Offline Ready
On your device