Hello!
I am trying to build a matrix keypad with Arduino Uno and a MCP23017 port expander. I got the MCP23017 working with the keypad_mc17 library to this poin.
Now i want to use halls sensors instead of pushbuttons and i don't know how to wire them to MCP23017. I have A3144 hall sensors and little knowledge of electronics
I tried using different diagrams but none worked. The MCP23017 has internal pull-up resistors.
Let's say that i had a pushbutton between pins 21 and 22 of MCP23017 and it worked fine, how do i wire the hall sensor to act as a switch to replace the pushbutton?
Datasheets:
http://ww1.microchip.com/downloads/en/DeviceDoc/21952b.pdf
https://www.elecrow.com/download/A3141-2-3-4-Datasheet.pdf
I am trying to build a matrix keypad with Arduino Uno and a MCP23017 port expander. I got the MCP23017 working with the keypad_mc17 library to this poin.
Now i want to use halls sensors instead of pushbuttons and i don't know how to wire them to MCP23017. I have A3144 hall sensors and little knowledge of electronics
Let's say that i had a pushbutton between pins 21 and 22 of MCP23017 and it worked fine, how do i wire the hall sensor to act as a switch to replace the pushbutton?
Datasheets:
http://ww1.microchip.com/downloads/en/DeviceDoc/21952b.pdf
https://www.elecrow.com/download/A3141-2-3-4-Datasheet.pdf
Last edited: