mirror of https://github.com/arendst/Tasmota.git
Updated MPR121 (markdown)
parent
f3c58255b3
commit
849fb6fdae
28
MPR121.md
28
MPR121.md
|
@ -1,15 +1,15 @@
|
|||
# MPR121 I<sub>2</sub>C Proximity Capacitive Touch Sensor Controller
|
||||
* 12-button or touch pad I<sub>2</sub>C controller
|
||||
# MPR121 I<sup>2</sup>C Proximity Capacitive Touch Sensor Controller
|
||||
* 12-button or touch pad I<sup>2</sup>C controller
|
||||
* Driver supports up to 4x MPR121 controllers (= 48 buttons per ESP8266)
|
||||
* Electrodes can be covered with adhesive paper and adhesive plastic foil for labeling and symbols
|
||||
* Break-out and touch button PCBs ~ 2,- € at [AliExpress](https://www.aliexpress.com/wholesale?catId=0&initiative_id=&SearchText=mpr121)
|
||||
* Break-out PCB ~ 8,- $ at [Adafruit](https://www.adafruit.com/product/1982)
|
||||
* Break-out and touch button PCBs ~ 2€ at [AliExpress](https://www.aliexpress.com/wholesale?catId=0&initiative_id=&SearchText=mpr121)
|
||||
* Break-out PCB ~ $8 at [Adafruit](https://www.adafruit.com/product/1982)
|
||||
|
||||
## Technical Data from the manufacturer
|
||||
* [MPR121 Fact sheet](https://www.nxp.com/docs/en/fact-sheet/MPR121FS.pdf)
|
||||
* [MPR121 Data sheet](https://www.nxp.com/docs/en/data-sheet/MPR121.pdf)
|
||||
* [AN3889 MPR121 capacitance sensing settings](https://www.nxp.com/docs/en/application-note/AN3889.pdf)
|
||||
* [AN3890 MPR121 capacitance sensing filtering and timing](https://www.nxp.com/docs/en/application-note/AN3890.pdf)
|
||||
* [AN3889 MPR121 capacitive sensing settings](https://www.nxp.com/docs/en/application-note/AN3889.pdf)
|
||||
* [AN3890 MPR121 capacitive sensing filtering and timing](https://www.nxp.com/docs/en/application-note/AN3890.pdf)
|
||||
* [AN3891 MPR121 touch sensing baseline system](https://www.nxp.com/docs/en/application-note/AN3891.pdf)
|
||||
* [AN3892 MPR121 touch sensing jitter and false touch rejection](https://www.nxp.com/docs/en/application-note/AN3892.pdf)
|
||||
* [AN3893 MPR121 proximity sensing](https://www.nxp.com/docs/en/application-note/AN3893.pdf)
|
||||
|
@ -24,27 +24,27 @@
|
|||
|----------|-----------|
|
||||
| VCC/VIN | +3.3VDC |
|
||||
| GND | GND |
|
||||
| SCL | GPIO SCL |
|
||||
| SDA | GPIO SDA |
|
||||
| SCL | GPIO I<sup>2</sup> SCL |
|
||||
| SDA | GPIO I<sup>2</sup> SDA |
|
||||
| IRQ | NC |
|
||||
|
||||
### I<sub>2</sub>C address selection
|
||||
### I<sup>2</sup>C address selection
|
||||
Connect the ADD(R) pin/pad to one of the following pins/pads:
|
||||
|
||||
| Address | ADD(R) |
|
||||
|------|-----------|
|
||||
| 0x5A | NC |
|
||||
| 0x5B | +3.3VDC |
|
||||
| 0x5C | GPIO SDA |
|
||||
| 0x5D | GPIO SCL |
|
||||
| 0x5C | GPIO I<sup>2</sup> SDA |
|
||||
| 0x5D | GPIO I<sup>2</sup> SCL |
|
||||
|
||||
### Tasmota configuration
|
||||
Compile Tasmota with `#define USE_MPR121` uncommented in `my_user_config.h`
|
||||
|
||||
The driver will detect the I<sub>2</sub>C addresses of the MPR121s automatically.
|
||||
The MPR121 chip (or breakout board) must be connected to the ESP8266 and the I<sub>2</sub>C GPIO pins must be configured:
|
||||
The driver will detect the I<sup>2</sup>C addresses of the MPR121s automatically.
|
||||
The MPR121 chip (or breakout board) must be connected to the ESP8266 and the I<sup>2</sup>C GPIO pins must be configured:
|
||||
|
||||
![I<sub>2</sub>C GPIO configuration](https://raw.githubusercontent.com/arendst/arendst.github.io/master/media/wemos/wemos_sht30_config_marked.jpg)
|
||||
![I<sup>2</sup>C GPIO configuration](https://raw.githubusercontent.com/arendst/arendst.github.io/master/media/wemos/wemos_sht30_config_marked.jpg)
|
||||
|
||||
|
||||
## Generally available types of breakout boards
|
||||
|
|
Loading…
Reference in New Issue