Philippine Electronics Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Philippine Electronics Forum
»
Digital Electronics
»
Microcontroller/Microprocessor Unit Projects and Programming
(Moderators:
edaph
,
marcelino
) »
keypad interfacing using z8f6421
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: keypad interfacing using z8f6421 (Read 959 times)
miss_kalanchuga
Size AA Battery
Posts: 102
Pogi/Ganda Points: 3
Gender:
Better be better than good.
keypad interfacing using z8f6421
«
on:
December 24, 2010, 11:40:30 PM »
help naman po mga master..
im new to zilog, pano po ba maginterface ng keypad? anu po schem? meron ako nung gizmo 4x3 keypad.. and anu po yung row and column scanning?
nbasa ko lang din po sa isang thread.
thanks po!
Logged
Philippine Electronics Forum
keypad interfacing using z8f6421
«
on:
December 24, 2010, 11:40:30 PM »
Mystiza
CR2032 Battery
Posts: 14
Pogi/Ganda Points: 1
Re: keypad interfacing using z8f6421
«
Reply #1 on:
December 26, 2010, 04:19:08 PM »
Connections of keypad contains 7 if you use 4x3. 4 rows and 3 columns or vice versa... ung tinatawag nilang scanning is just like this
Set column as your main scanning procedures(output)
Set row as your input
At time 1, the column 1(the number 1,2,3) must be ON, the rest of column is off then checking if 1 of the row received input
At time 2, the column 1(the number 4,5,6) must be ON, the rest of column is off then checking if 1 of the row received input
At time 3, the column 1(the number 7,8,9) must be ON, the rest of column is off then checking if 1 of the row received input
At time 4, the column 1(the number *,0,#) must be ON, the rest of column is off then checking if 1 of the row received input
then gumamit ka ng conditional statement na magsasabi kung anu ang napindot...
example:
if col=1 and row=1 then number=1
if col=2 and row1 then number=4
etc...
i hope maintindihan mo...
Logged
Philippine Electronics Forum
Re: keypad interfacing using z8f6421
«
Reply #1 on:
December 26, 2010, 04:19:08 PM »
Mystiza
CR2032 Battery
Posts: 14
Pogi/Ganda Points: 1
Re: keypad interfacing using z8f6421
«
Reply #2 on:
December 28, 2010, 09:46:42 AM »
Edit ko muna... hehehe copy paste na nga laman ginawa ko eh mali pa,, bale i2 ung tama
Set column as your main scanning procedures(let say the column is an output)
Set row as your input
Loop:
At time 1, the column 1(the number 1,2,3) must be ON, the rest of column is off then checking if 1 of the row received input
At time 2, the column 2(the number 4,5,6) must be ON, the rest of column is off then checking if 1 of the row received input
At time 3, the column 3(the number 7,8,9) must be ON, the rest of column is off then checking if 1 of the row received input
At time 4, the column 4(the number *,0,#) must be ON, the rest of column is off then checking if 1 of the row received input
then gumamit ka ng conditional statement na magsasabi kung anu ang napindot...
example:
if col=1 and row=1 then number=1
if col=2 and row1 then number=4
Goto Loop when to scan it again
etc...
Logged
Philippine Electronics Forum
Re: keypad interfacing using z8f6421
«
Reply #2 on:
December 28, 2010, 09:46:42 AM »
miss_kalanchuga
Size AA Battery
Posts: 102
Pogi/Ganda Points: 3
Gender:
Better be better than good.
Re: keypad interfacing using z8f6421
«
Reply #3 on:
December 28, 2010, 01:28:25 PM »
salamat sis!
Logged
Philippine Electronics Forum
Re: keypad interfacing using z8f6421
«
Reply #3 on:
December 28, 2010, 01:28:25 PM »
Mystiza
CR2032 Battery
Posts: 14
Pogi/Ganda Points: 1
Re: keypad interfacing using z8f6421
«
Reply #4 on:
December 29, 2010, 08:42:22 AM »
lol... boy ako....hahahaha
Logged
Philippine Electronics Forum
Re: keypad interfacing using z8f6421
«
Reply #4 on:
December 29, 2010, 08:42:22 AM »
miss_kalanchuga
Size AA Battery
Posts: 102
Pogi/Ganda Points: 3
Gender:
Better be better than good.
Re: keypad interfacing using z8f6421
«
Reply #5 on:
December 29, 2010, 11:42:07 AM »
kaw naman kase, mystiza screen name. lol
Logged
jeffmaster12
LR44 Battery
Posts: 1
Pogi/Ganda Points: 0
Re: keypad interfacing using z8f6421
«
Reply #6 on:
December 31, 2010, 05:03:27 PM »
hi po...marunong ka na po mag keypad interfacing using z8f6421...pwd po b makahingi ng sample code kung panu paganahin ang keypad..salamt po
Logged
rpsenining
LR44 Battery
Posts: 1
Pogi/Ganda Points: 0
Re: keypad interfacing using z8f6421
«
Reply #7 on:
March 03, 2012, 03:35:33 PM »
mga master penge ng tips and codes panu mag interface ng 4x4 universal keypad and display terminal sa rfid at z8f6421
pleeeease
Logged
chrisa
Size AAA Battery
Posts: 52
Pogi/Ganda Points: 0
Re: keypad interfacing using z8f6421
«
Reply #8 on:
March 12, 2012, 01:25:46 PM »
eto pala keypad scannning
http://esd.cs.ucr.edu/labs/decode_key/decode_key.html
Logged
Philippine Electronics Forum
Re: keypad interfacing using z8f6421
«
Reply #8 on:
March 12, 2012, 01:25:46 PM »
Print
Pages: [
1
]
Go Up
« previous
next »
Philippine Electronics Forum
»
Digital Electronics
»
Microcontroller/Microprocessor Unit Projects and Programming
(Moderators:
edaph
,
marcelino
) »
keypad interfacing using z8f6421
Privacy Policy
Contact Us: elabph@yahoo.com