I have a question
I'm trying to connect 6x6 keypad to esp32
But unfortunately there isn't enough i/o on that microcontroller (in my condition)
What should i do?
Is there any IC i can use for this purpose?
Maybe a serial or i2c interface??
Thanks in advance
"The SX1509 is a 16-channel GPIO expander with an I2C interface – that means with just two wires, your microcontroller can interface with 16 fully configurable digital input/output pins. But the SX1509 can do so much more than just simple digital pin control. It can produce PWM signals, so you can dim LEDs. It can be set to blink or even breathe pins at varying rates. This breakout is similar to a multiplexer or "mux," in that it allows you to get more IO from less pins. And, with a built-in keypad engine, it can interface with up to 64 buttons set up in an 8x8 matrix."
There are breakout boards available and a library from Sparkfun. Great IC!
noiasca:
"The SX1509 is a 16-channel GPIO expander with an I2C interface – that means with just two wires, your microcontroller can interface with 16 fully configurable digital input/output pins. But the SX1509 can do so much more than just simple digital pin control. It can produce PWM signals, so you can dim LEDs. It can be set to blink or even breathe pins at varying rates. This breakout is similar to a multiplexer or "mux," in that it allows you to get more IO from less pins. And, with a built-in keypad engine, it can interface with up to 64 buttons set up in an 8x8 matrix."
There are breakout boards available and a library from Sparkfun. Great IC!