Components / Sensors / MPR121 capacitive touch sensor

MPR121 capacitive touch sensor

Twelve touch inputs over I2C, also works with fruit and foil.

MeasuresTouch on 12 electrodes
InterfaceI2C
I2C address0x5A to 0x5D
Supply voltage1.71 to 3.6 V
SensorsReviewedMPN MPR121Used in 7 projects
MPR121
In short

What is the MPR121 capacitive touch sensor and what is it used for?

Twelve touch inputs over I2C, also works with fruit and foil. Makers use it for touch pianos, interactive art.

How it works

It measures the charge time of each electrode, which rises when a finger adds capacitance.

Key specifications

Sensor specValue
MeasuresTouch on 12 electrodes
InterfaceI2C
I2C address0x5A to 0x5D
Supply voltage1.71 to 3.6 V

Pinout

3.3VSupply
IRQInterrupt, LOW on touch change
SCLI2C clock
SDAI2C data
ADDRAddress select 0x5A to 0x5D
GNDGround
0to 11Electrode inputs

How to use it

Use the Adafruit MPR121 library. Connect wires, copper tape or fruit to the electrodes. Keep electrode wires short and apart, and recalibrate after changing the setup.

Applications

Alternatives

Buy at

Common questions

What is the MPR121 capacitive touch sensor used for?

In maker projects: touch pianos, interactive art.

How does the MPR121 capacitive touch sensor work?

It measures the charge time of each electrode, which rises when a finger adds capacitance.

What voltage does the MPR121 capacitive touch sensor need?

1.71 to 3.6 V.

How do I connect the MPR121 capacitive touch sensor to an Arduino or ESP32?

I2C. Pins: 3.3V (Supply), IRQ (Interrupt, LOW on touch change), SCL (I2C clock), SDA (I2C data), ADDR (Address select 0x5A to 0x5D), GND (Ground).

What can I use instead of the MPR121 capacitive touch sensor?

Touch sensor module (TTP223).