Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for IO Pins on MPR121 #1838

Closed
total1ty opened this issue Aug 24, 2022 · 0 comments · Fixed by esphome/esphome#6776
Closed

Support for IO Pins on MPR121 #1838

total1ty opened this issue Aug 24, 2022 · 0 comments · Fixed by esphome/esphome#6776

Comments

@total1ty
Copy link

total1ty commented Aug 24, 2022

Describe the problem you have/What new integration you would like

The MPR121 chip not only supports 12 channels of touch sensors: 8 of its pins can also be used as LED driver or GPIO pins.
The MPR121 EspHome component on the other hand only supports the touch binary sensors.

Please describe your use case for this integration and alternatives you've tried:

It would be awesome to be able to also use the pins as e.g. binary switch outputs, because the chip supports it.
Regarding alternatives, there aren't really any feasible alternatives because of the MPR121's rich feature set.
(and because I just bought like 30 of them for a project)

Additional context

edit: they can even do PWM, here's a datasheet going into detail regarding the Multifunction Pins: https://www.nxp.com/docs/en/application-note/AN3894.pdf
But it seems they can only PWM at 4bit (16 steps) resolution, support for this would probably be lower priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants