Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

help regarding alpha numeric keypad

Status
Not open for further replies.

harish.n.j

Junior Member level 2
Joined
Dec 15, 2009
Messages
23
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
coimbatore
Activity points
1,437
Hi all,
am planning to use alphanumeric keypad for my project, i tried different algorithm but it don seems to be working.

Am planning to use 4X4 keypad.

get alphabets in a way as we use mobile keypad in writing SMS in dictionary off mode.
for eg if 2 button is pressed once its 'a',twice 'b',three times 'c'

does anyone worked on this, can u help me on this
 

Hi

the easy way is to use a keypad controller like the max7360

All the best

Bobi

The microcontroller specialist
 

Thanks Bobcat1 ,
but i would like to achieve this by pure c coding. do u have any idea how to do it by coding

more over i was trying to mean the regular mobile keypad (4X3) , which has 1 - 9,*,0,#
 

Even I am going to start the same... code.. may be today or tomorrow i will start.. once its completed i will upload.. it...
logic is...
first u write normal keyscan code...
in this code add one more delay as u r adding debounce delay we will call it "recur delay=500ms"
if same key is pressed in before this is over then instead of numeric code it start with alpanumeric code eg if digit 2 is
pressed once then code is "2"
if pressed twice then code is "a"
if pressed twice then code is "b"
if pressed twice then code is "c"
 

Thanks nikile , i have came across many algorithm for this but i tried n couldn succeed hence if u succeed do inform me too... thanks in advance !
 

yeah i need it too
so plz if u do successfully complete this code kindly upload it
thanx
 

ok i will do it for you...
within a week you check the post you will get the code...
 

Code for alpha but not numeric keypad

hi friends..
I have done small modification as per my required you can change the code
each key can be used to provide one of three input
Code:
	        0- {' ','.',','},     #Space Dot comma
		1- {'A','B','C'},
		2- {'D','E','F'},
		3- {'G','H','I'},
		4- {'J','K','L'},
		5- {'M','N','O'},
		6- {'P','Q','R'},
		7- {'S','T','U'},
		8- {'V','W','X'},
		9- {'Y','Z','@'},

if somebody wants to add numeric then instead of 3 column in each row you add one more char as i have shown below
Code:
1- {'A','B','C','1'},
2- {'D','E','F','2'},

and change n==3 by n==4 in the code

Enjoy...

pasword is my ID
 

    V

    Points: 2
    Helpful Answer Positive Rating

    forsaken

    Points: 2
    Helpful Answer Positive Rating

    bhardas

    Points: 2
    Helpful Answer Positive Rating
Yes i too doing the same keypad in my PIc project..

i not yet started .. but i worked on normal keypad...

Now only the thing is .. if we press same key within a short time span it should read one more alhanumeric no..


eg: Press S2 : it show 2
within 2sec S2 has to repress then it should show 'A'
again repress 'B' , again repress 'C' ..then 2 again.. same sequence continuous...


so we should implement this logi in the code..


i hope u got my idea...

any way i am going to do it..

bye
SRINu
 

I need help regarding alphabetic keypad code.. plzzzzzz!!!!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top