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.
|Standby Mode Current||2μA|
|Touch Channels||12 (Including 4 with Touch feelers)|
More details about Grove modules please refer to Grove System
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.
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.
Grove - Help¶
Following documents help in getting the user started with Grove.
NoteSince 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¶
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.
Step 1. Open Codecraft, add Arduino support, and drag a main procedure to working area.
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.
Upload the program to your Arduino/Seeeduino.
When the code finishes uploaded, you will see which channel you touched in the Serial Monitor.