122 Mpr121 Module Capacitive Touch Sensor Key Induction Keypad
Rs. 59.00 Rs. 68.00
- Brand: https://www.nxp.com/products/no-longer-manufactured/proximity-ca
- Product Code: SEN-TOUCH
- SKU -
- Availability: In Stock
- Price in reward points: 2
- For Bulk Order 9962060070
Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered
SPECIFICATIONS:
Low power operation:
-1.71 V to 3.6 V supply operation
-29 μA supply current at 16 ms sampling interval period
-3 μA Stop mode current
12 capacitance sensing inputs:
-8 inputs are multifunctional for LED driver and GPIO
Complete touch detection:
-Auto-configuration for each sensing input
-Auto-calibration for each sensing input
-Touch/release threshold and debounce for touch detection
I2C interface, with Interrupt output:
-40°C to +85°C operating temperature range:
OVERVIEW:
-Low power operation
-1.71 V to 3.6 V supply operation
-29 μA supply current at 16 ms sampling interval period
-3 μA Stop mode current
-12 capacitance sensing inputs
-8 inputs are multifunctional for LED driver and GPIO
-Complete touch detection
-Auto-configuration for each sensing input
-Auto-calibration for each sensing input
-Touch/release threshold and debounce for touch detection
-I2C interface, with Interrupt output
-3 mm x 3 mm x 0.65 mm 20 lead QFN package
--40°C to +85°C operating temperature range
PACKAGE INCLUDES:
1 PCS x 122 Mpr121 Module Capacitive Touch Sensor Key Induction Keypad
https://www.nxp.com/products/no-longer-manufactured/proximity-capacitive-touch-sensor-controller:MPR121
//SOURCE CODE TAKEN FORM BELOW LINK
//https://learn.sparkfun.com/tutorials/mpr121-hookup-guide/all
void readTouchInputs(){
if(!checkInterrupt()){
//read the touch state from the MPR121
Wire.requestFrom(0x5A,2);
byte LSB = Wire.read();
byte MSB = Wire.read();
uint16_t touched = ((MSB << 8) | LSB); //16bits that make up the touch states
for (int i=0; i < 12; i++){ // Check what electrodes were pressed
if(touched & (1<<i)){
if(touchStates[i] == 0){
//pin i was just touched
Serial.print("pin ");
Serial.print(i);
Serial.println(" was just touched");
}else if(touchStates[i] == 1){
//pin i is still being touched
}
touchStates[i] = 1;
}else{
if(touchStates[i] == 1){
Serial.print("pin ");
Serial.print(i);
Serial.println(" is no longer being touched");
//pin i is no longer being touched
}
touchStates[i] = 0;
}
}
}
}
15 days