Comments (1)
Hi
Glad you are enjoying the library. The virtual 13th electrode proximity detection you are talking about is very layout specific and is generally most useful for proximity detection to a keypad or other array of finger-sized buttons. This is because the maximum distance for proximity detection is proportional to the total electrode area (and somewhat to its geometry) - hence it is limited for finger-sized electrodes. Connecting 12 finger-sized electrodes together to create a larger virtual surface at the beginning of the multiplex scan sequence allows for a greater proximity detection distance.
For most of our users, their electrode layout is more fluid and generally not a keypad array. Often individual electrode sizes are much larger and hence the virtual 13th electrode would become huge - and difficult to charge, even with the maximum 63uA charge current. For this reason, developing this feature in our library is not high on our priority list.
If you want to achieve proximity detection per-electrode (as opposed to the multi-electrode combination that the 13th electrode implements) I would suggest taking a look at the Datastream code in conjunction with our MPR121 grapher.
However, if you're keen on using the virtual 13th electrode I would start by taking a look at AN3893 and run from there. If you wanted to implement the functionality and submit a pull request I would gladly include it in our library (along with a credit to you).
Hope this helps
Stefan
from mpr121.
Related Issues (16)
- Wire.begin() in constructor may cause crash due to undefined contruction order of global objects HOT 1
- MPR121 vs Adafruit_SASD1306 HOT 2
- Are the recent changes only for Arduino? HOT 1
- Raspberry Pi + Buster Python3 import MPR121 error HOT 1
- Two MPR121 Boards with different I2C Adresses HOT 2
- with esp32 HOT 1
- dosn´t work togethe with Fastled or adafruit neopixel library HOT 1
- How to know the CDC and CDT values for the electrodes HOT 1
- esp32 Compatible
- Invalid Library HOT 3
- How can i change sensitivity. HOT 1
- Output value for approach HOT 2
- Power use HOT 3
- Separate touch and release trip thresholds for each electrode? HOT 1
- No Wire.endTransmission() after a Wire.requestFrom() please. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpr121.