The MPR121 features an increased internal intelligence plus Freescale’s second generation capacitance detection engine.
Download all the source files and open examples/MPR121_demo/MPR121_demo.ino in arduino IDE. Compile and download and run it on a arduino board.
- This example/MPR121_demo/MPR121_demo.ino is just a simple touch/release demo for general use case.
- The pin INT on the board is stay high,When the electrode is touched(key is press),trigger a low level,then return to high.
- If you want to achieve a more precise control,Set sensor's baseline,threshold. Touch condition: Baseline - Electrode filtered data > Touch threshold Release condition: Baseline - Electrode filtered data < Release threshold Get more detail from doc/MPR121_touch_datasheet.pdf
This software is written by downey for seeed studio
Email:[email protected]
and is licensed under The MIT License. Check License.txt for more information.
Contributing to this software is warmly welcomed. You can do this basically by
forking, committing modifications and then pulling requests (follow the links above
for operating guide). Adding change log and your contact into file header is encouraged.
Thanks for your contribution.
Seeed Studio is an open hardware facilitation company based in Shenzhen, China.
Benefiting from local manufacture power and convenient global logistic system,
we integrate resources to serve new era of innovation. Seeed also works with
global distributors and partners to push open hardware movement.