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.

Matrix Key Board and Four 7 Seg. Display.

Status
Not open for further replies.

Code Warrior

Full Member level 4
Joined
Dec 30, 2004
Messages
230
Helped
10
Reputation
20
Reaction score
2
Trophy points
1,298
Activity points
1,831
Please give me example code for 4X4 matrix scanning. Please give me code for 8051. Also give comments as how the code perform the action. And also suggest me code for FOUR 7 segment display scanning using common anode type. This one is also for 8051. Please suggest me codes.
 

eng_ahmed22

Full Member level 4
Joined
Jun 7, 2005
Messages
190
Helped
20
Reputation
40
Reaction score
5
Trophy points
1,298
Activity points
2,944
hi
i have made this function ( scan 4x4 key matrix) and it works well.
you will find the function code using keil and the schematic
hope that help u :)
feel free to ask me any question.
salam
Ahmed
www.i-g.org
 

Code Warrior

Full Member level 4
Joined
Dec 30, 2004
Messages
230
Helped
10
Reputation
20
Reaction score
2
Trophy points
1,298
Activity points
1,831
Thanks for the help but you have not given code for four 7 segment display multiplexing.
 

eng_ahmed22

Full Member level 4
Joined
Jun 7, 2005
Messages
190
Helped
20
Reputation
40
Reaction score
5
Trophy points
1,298
Activity points
2,944
Code Warrior said:
Thanks for the help but you have not given code for four 7 segment display multiplexing.

NO NEED TO THANK ME:)
i am working in this code, when finishing it i'll upload it here, i hope to do this soon

have a nice day
Ahmed
www.i-g.org
 

ctownsend

Advanced Member level 2
Joined
Nov 27, 2004
Messages
575
Helped
93
Reputation
188
Reaction score
63
Trophy points
1,308
Location
Canada
Activity points
3,665
what program are you using to compile this?
I am no good with C, do you have the version in asm?

OR even the hex file?

Thank you
 

garg29

Advanced Member level 1
Joined
Nov 17, 2004
Messages
451
Helped
25
Reputation
50
Reaction score
9
Trophy points
1,298
Activity points
3,605
running 4 seven segment diaplay isn't a difficult job, just use multiplexing. send value of units digit and set the bit connected to this bit's anode, then send value of tens digit and set the bit connected to this bit's anode but clr the unit's segment bit....carry on like this for all 4 digits.

Regards
 

sn_burki

Full Member level 5
Joined
Feb 18, 2003
Messages
260
Helped
16
Reputation
32
Reaction score
11
Trophy points
1,298
Location
Pakistan
Activity points
1,623
The above uploaded file has an error. plz do upload again.
regars
 

eng_ahmed22

Full Member level 4
Joined
Jun 7, 2005
Messages
190
Helped
20
Reputation
40
Reaction score
5
Trophy points
1,298
Activity points
2,944
ctownsend said:
what program are you using to compile this?
I am no good with C, do you have the version in asm?

Thank you
It is c laguage, keil c compiler for 8051 family :), it is good and easy,
www.keil.com

have a nice day
Ahmed
www.i-g.org
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top