How to interface Keypad matrix 4x4, 16F876A
Posted: Tue Nov 20, 2018 10:17 am
Hello, all
I am a flow code 6 user.. I just want to learn how to interface the Keypad matrix 4x4 to my project using chip 16F876A..
I have tried with using Keypad matrix 3x4 with the flow code 6 and it work pretty good with the flow code simulation, as well
as I have tested with the hardware board which is my self built, It is functioning well and satisfactory..
The Keypad 3x4 flow code I used was from this forum article.. Thank you to the writer of this article..
I could not find the icon of this keypad 4x4 .. Although I have seen the other Generic Hex keypad 4x4, support by Matrix
but this Hex keypad is not available in the E Bay internet selling..
Now, I would like to attach my flow code program and schematic circuit of keypad 3x4, it was done successful with 3 push 'on' switch to activate 'on' the keypad loop.. In this program we can 'key-in' any number from 0 to 9 with * clear ' and ' # set ' ..
The program is able to enter 3 digit which is 000 to 999.. The flow code and schematic is with LCD display..
My problem is how to replace these 3 push 'on' switch with Column 4 of matrix 4x4 keypad.. I have tried to used ASCII conversion
for Key A= 65, B= 66, C= 67, D= 68 but it fail to work.. So I am seeking help from this forum, I will appreciate that..
Thank you.. skquah
I am a flow code 6 user.. I just want to learn how to interface the Keypad matrix 4x4 to my project using chip 16F876A..
I have tried with using Keypad matrix 3x4 with the flow code 6 and it work pretty good with the flow code simulation, as well
as I have tested with the hardware board which is my self built, It is functioning well and satisfactory..
The Keypad 3x4 flow code I used was from this forum article.. Thank you to the writer of this article..
I could not find the icon of this keypad 4x4 .. Although I have seen the other Generic Hex keypad 4x4, support by Matrix
but this Hex keypad is not available in the E Bay internet selling..
Now, I would like to attach my flow code program and schematic circuit of keypad 3x4, it was done successful with 3 push 'on' switch to activate 'on' the keypad loop.. In this program we can 'key-in' any number from 0 to 9 with * clear ' and ' # set ' ..
The program is able to enter 3 digit which is 000 to 999.. The flow code and schematic is with LCD display..
My problem is how to replace these 3 push 'on' switch with Column 4 of matrix 4x4 keypad.. I have tried to used ASCII conversion
for Key A= 65, B= 66, C= 67, D= 68 but it fail to work.. So I am seeking help from this forum, I will appreciate that..
Thank you.. skquah