Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

How to program a keypad to work as a mobile phone keypad using PIC?

Status
Not open for further replies.

yahootew3000

Junior Member level 3
Joined
Aug 20, 2007
Messages
26
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,283
Activity points
1,479
Good day,

May i know how could i programming a keypad extractly like the mobile phone keypad using PIC? For instance, when we first press the 2 button, it is an 'a', second press is a 'b' den is 'c',finally is '2', then it repeat the routine. Same for other buttons. So, the 4x3 keypad can have output for 0-9 and a-z. Please kindly give me the code if anyone of you have it, or at least give me an idea how to program it. Thx in advance.
 

amiralib

Member level 4
Joined
Mar 6, 2006
Messages
77
Helped
17
Reputation
34
Reaction score
7
Trophy points
1,288
Location
Ian - Tabriz
Activity points
1,678
mobile matrix keypad

I write this program for AVR
if you whant I can give you ...
or I can give you some details but I never use PIC !!
 

yahootew3000

Junior Member level 3
Joined
Aug 20, 2007
Messages
26
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,283
Activity points
1,479
program for keypad avr

amiralib said:
I write this program for AVR
if you whant I can give you ...
or I can give you some details but I never use PIC !!
ok...can you please give me..email : yahootew3000@hotmail.com
if possible,then you let me know the details..thx..
 

amiralib

Member level 4
Joined
Mar 6, 2006
Messages
77
Helped
17
Reputation
34
Reaction score
7
Trophy points
1,288
Location
Ian - Tabriz
Activity points
1,678
the code of keypad of mobile

ask your questions and I will answer them (if I can!)
do you whant my AVR programs source? whit C .
 

yahootew3000

Junior Member level 3
Joined
Aug 20, 2007
Messages
26
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,283
Activity points
1,479
c code keypad mobile

amiralib said:
ask your questions and I will answer them (if I can!)
do you whant my AVR programs source? whit C .
yes..i want it...could you send to me?yahootew3000@hotmail.com or post it here...thx...the code is programmed in C language?
 

amiralib

Member level 4
Joined
Mar 6, 2006
Messages
77
Helped
17
Reputation
34
Reaction score
7
Trophy points
1,288
Location
Ian - Tabriz
Activity points
1,678
mobile phone keypad codes

ok
the source code + codevision code + proteus simulation file

but its not complate !!!
this keys are working : 1-2-3-4-5-6-7-8-9
and other 3 keys dont work (0 - * - # )
its a sample you can fix the other keys errors

it this helps you....then push the HELP m button please :oops: :wink:
 

Attachments

  • Like
Reactions: zaidpirwani

    yahootew3000

    points: 2
    Helpful Answer Positive Rating
    V

    points: 2
    Helpful Answer Positive Rating

    zaidpirwani

    points: 2
    Helpful Answer Positive Rating

yahootew3000

Junior Member level 3
Joined
Aug 20, 2007
Messages
26
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,283
Activity points
1,479
external mobile phone keypad

amiralib said:
ok
the source code + codevision code + proteus simulation file

but its not complate !!!
this keys are working : 1-2-3-4-5-6-7-8-9
and other 3 keys dont work (0 - * - # )
its a sample you can fix the other keys errors

it this helps you....then push the HELP m button please :oops: :wink:
even it does not help much...i thought it is an mobile phone type keypad...anyway, i just give you a helped click..thx
 

yahootew3000

Junior Member level 3
Joined
Aug 20, 2007
Messages
26
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,283
Activity points
1,479
mobole phone

amiralib said:
press "2" it types "a" ...again "b"...."c"...."2"
I think you need this!
oh..is it?i thought you mentioned that 0-9 keypad...then, i try review it...thx a lot..
 

mediterrano

Newbie level 1
Joined
Jul 20, 2009
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,289
mobile phone keypad how to use

Hi,
I am designing an advertising stand which will use a mobile phone (with a program running on it) for input processing. To protect it from vandalism and theft, the phone will be hidden within the advertising stand. The users will use a standard numeric keypad for data-entry.

Question:
Can the phone recognize key-strokes on the external keypad as digits out-of-the box or will I have to add some code to the mobile phone application so that the phone understands which key on the keypad has been pressed?

PS: The keypad will be connected to the phone either through USB-cable or through Bluetooth.

Any help would be greatly appreciated!
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top