engg.embedded
Junior Member level 1
mobile keypad with 8051
hi...
im working on a project in which one part is to interface a 4x4 hex keypad with 8051. i hv done that interfacing bt the problem is i want to multiplex a single key.
i.e.
if i press 1 on the keypad a 1 gets displayed on the LCD, if i press 2 a 2 gets displayed, and like wise for other keys also. Bt my problem is as i press 1 a 1 should get displayed bt if within 1 sec if i again press 1 some character like '@' should get displayed and then if again within 1 sec i press 1 some other character like '&' should get displayed. And if after 1 sec i press 1 the process should start from all over again. Its almost similar to what we do while we type a message on a mobile phone.
Im not getting the logic for this. If anyone could help, will be really thankful.
hi...
im working on a project in which one part is to interface a 4x4 hex keypad with 8051. i hv done that interfacing bt the problem is i want to multiplex a single key.
i.e.
if i press 1 on the keypad a 1 gets displayed on the LCD, if i press 2 a 2 gets displayed, and like wise for other keys also. Bt my problem is as i press 1 a 1 should get displayed bt if within 1 sec if i again press 1 some character like '@' should get displayed and then if again within 1 sec i press 1 some other character like '&' should get displayed. And if after 1 sec i press 1 the process should start from all over again. Its almost similar to what we do while we type a message on a mobile phone.
Im not getting the logic for this. If anyone could help, will be really thankful.