MPR121 Capacitive Touch Sensor for Enviro+ & Raspberry Pi? @TheHWcave
MPR121 Capacitive Touch Sensor for Enviro+ & Raspberry Pi?  @TheHWcave
Uploaded December 2019 | Updated November 2026, 1 day ago
This video is about the MPR121 touch sensor controller which I am investigating as a possible solution to add a keypad interface to a project using Pimoroni's Enviro+ board on a Raspberry PI. It is quite interesting to play with capacitive sensors and investigate the performance of several button layouts. It turns out that making cheap capacititive button mock-ups with kitchen foil or copper tape is definitely a good idea. Some designs should work in theory but turn out to be problematic when tested.

The driver code and the program to create the squares and circle on the Enviro+ LCD can be downloaded here:
github.com/TheHWcave/MPR121-Touch-Controller

The mentioned presentation: nxp.com/docs/en/supporting-information/AMF_ENT_T1118_1.pdf

MPR121 Datasheet: nxp.com/docs/en/data-sheet/MPR121.pdf

Application notes (essential reading to understand and program the MPR121):

Baseline system: nxp.com/docs/en/application-note/AN3891.pdf
Proximity detection: nxp.com/docs/en/application-note/AN3893.pdf
Capacitive Sensing- Filtering and Timing: nxp.com/docs/en/application-note/AN3890.pdf
Jitter and False Touch Detection: nxp.com/docs/en/application-note/AN3892.pdf
GPIO and LED driver : nxp.com/docs/en/application-note/AN3894.pdf
Serial Communication: nxp.com/docs/en/application-note/AN3895.pdf
Capacitance Sensing Settings: nxp.com/docs/en/application-note/AN3889.pdf
MPR121 Capacitive Touch Sensor for Enviro+ & Raspberry Pi?187 - Repair of a Sony TA-AX310 Integrated Stereo Amplifier - Part 1218 The TEM 4700 appliance safety tester - Part1: Does using it damage Class 2 devices?168 - Levell-Up! Comparing TM3A and TM3B AC Microvolt MetersNew PIC16F628A Frequency Counter Firmware with count-up mode220 - Farnell DSG2 Synthesized Signal Generator repair124 - DATRON 1030a True RMS Voltmeter part 2: cooling things down a bit186 - How good is the WinAPEX 268C leakage test clamp meter?230 - The Levell TM14 - more that just an insulation testerBuilding a stable high-voltage DC-DC converter119 - A mystery eBay find: What is this box for?171 - KAIWEETS KETS02 USB Soldering Iron - good for electronic projects?
TheHWcave |

MPR121 Capacitive Touch Sensor for Enviro+ & Raspberry Pi?

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER