Skip to main content

Grove - I2C Touch Sensor

The I2C Touch Sensor is based on the Proximity Capacitive Touch Sensor Controller from FreeScale - MPR121. It detects the touch or proximity of human fingers. This sensor includes a Touch Sensor controller and 4 finger feelers. One can insert the connectors of feelers into base of Sensor controller, and start sensing the touch.

Specificationsโ€‹

ParameterValue/Range
Operating voltage3~5.5V
Standby Mode Current2ฮผA
Touch Channels12 (Including 4 with Touch feelers)
Communicating ProtocolI2C
I2C Address0x5A
tip

More details about Grove modules please refer to Grove System

Platforms Supportedโ€‹

ArduinoRaspberry Pi
caution

The platforms mentioned above as supported is/are an indication of the module's software or theoritical compatibility. We only provide software library or code examples for Arduino platform in most cases. It is not possible to provide software library / demo code for all possible MCU platforms. Hence, users have to write their own software library.

Hardware Overviewโ€‹

There are 12 electrodes CH0-CH11. CH0-CH3 are connected to 4 Touch feelers.

The CH4-CH11 are for customer expanding the function. If you need more, you can make the feelers by yourself.

The wires of feelers are twisted to reduce the impact of environment. The black(ground) wire can be cut off if high sensitivity is needed.

The INT pin has to be led out if customers want to use the interrupt pin of MPR121.

Getting Startedโ€‹

Grove - Helpโ€‹

Following documents help in getting the user started with Grove.

note

Since each electrode needs to be auto-configured by the MPR121 during power up and there is no power reset on the touch sensor controller, everytime you insert or remove a feeler, you need to reset the power of Seeeduino.

The feelers can also feel the human being fingers with something between, that's to say, you do not need to touch the feelers with your fingers indeed.

With a paperboard about 3 mm thick, the feeler can feel the touch of fingers, makes it a good solution for many applications.

Play with Codecraftโ€‹

Hardwareโ€‹

Step 1. Using a Grove cable connect Grove - I2C Touch Sensor to Seeeduino's I2C port. If you are using Arduino, please take advantage of a Base Shield.

Step 2. Link Seeedino/Arduino to your PC via an USB cable.

Softwareโ€‹

Step 1. Open Codecraft, add Arduino support, and drag a main procedure to working area.

note

If this is your first time using Codecraft, see also Guide for Codecraft using Arduino.

Step 2. Drag blocks as picture below or open the cdc file which can be downloaded at the end of this page.

cc

Upload the program to your Arduino/Seeeduino.

success

When the code finishes uploaded, you will see which channel you touched in the Serial Monitor.

Schematic Online Viewerโ€‹

Resourcesโ€‹

Tech Supportโ€‹

Please submit any technical issue into our forum.

Loading Comments...