Updated MPR121 (markdown)

Michael Ingraham 2019-06-14 14:21:55 -04:00
parent 84c5869938
commit 19fd630ac2
1 changed files with 7 additions and 7 deletions

@ -1,5 +1,5 @@
# MPR121 I2C Proximity Capacitive Touch Sensor Controller # MPR121 I<sub>2</sub>C Proximity Capacitive Touch Sensor Controller
* 12-button or touch pad I2C controller * 12-button or touch pad I<sub>2</sub>C controller
* Driver supports up to 4x MPR121 controllers (= 48 buttons per ESP8266) * 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 * 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 and touch button PCBs ~ 2,- € at [AliExpress](https://www.aliexpress.com/wholesale?catId=0&initiative_id=&SearchText=mpr121)
@ -28,7 +28,7 @@
| SDA | GPIO SDA | | SDA | GPIO SDA |
| IRQ | NC | | IRQ | NC |
### I2C address selection ### I<sub>2</sub>C address selection
Connect the ADD(R) pin/pad to one of the following pins/pads: Connect the ADD(R) pin/pad to one of the following pins/pads:
| Address | ADD(R) | | Address | ADD(R) |
@ -39,12 +39,12 @@ Connect the ADD(R) pin/pad to one of the following pins/pads:
| 0x5D | GPIO SCL | | 0x5D | GPIO SCL |
### Tasmota configuration ### Tasmota configuration
Compile Tasmota with `#define USE_MPR121` uncommented in `user_config.h` Compile Tasmota with `#define USE_MPR121` uncommented in `my_user_config.h`
The driver will detect the I2C addresses of the MPR121s automatically. 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 I2C GPIO pins must be configured: The MPR121 chip (or breakout board) must be connected to the ESP8266 and the I<sub>2</sub>C GPIO pins must be configured:
![I2C GPIO configuration](https://raw.githubusercontent.com/arendst/arendst.github.io/master/media/wemos/wemos_sht30_config_marked.jpg) ![I<sub>2</sub>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 ## Generally available types of breakout boards