caramoan tour package

caramoan tour package

Author Topic: keypad interfacing using z8f6421  (Read 959 times)

Offline miss_kalanchuga

  • Size AA Battery
  • ****
  • Posts: 102
  • Pogi/Ganda Points: 3
  • Gender: Female
  • 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!

Philippine Electronics Forum

keypad interfacing using z8f6421
« on: December 24, 2010, 11:40:30 PM »

Offline 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...

Philippine Electronics Forum

Re: keypad interfacing using z8f6421
« Reply #1 on: December 26, 2010, 04:19:08 PM »

Offline 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...

Philippine Electronics Forum

Re: keypad interfacing using z8f6421
« Reply #2 on: December 28, 2010, 09:46:42 AM »

Offline miss_kalanchuga

  • Size AA Battery
  • ****
  • Posts: 102
  • Pogi/Ganda Points: 3
  • Gender: Female
  • Better be better than good.
Re: keypad interfacing using z8f6421
« Reply #3 on: December 28, 2010, 01:28:25 PM »
salamat sis!

Philippine Electronics Forum

Re: keypad interfacing using z8f6421
« Reply #3 on: December 28, 2010, 01:28:25 PM »

Offline 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

Philippine Electronics Forum

Re: keypad interfacing using z8f6421
« Reply #4 on: December 29, 2010, 08:42:22 AM »

Offline miss_kalanchuga

  • Size AA Battery
  • ****
  • Posts: 102
  • Pogi/Ganda Points: 3
  • Gender: Female
  • 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 :)

Offline 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

Offline 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 :-[

Offline 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 »

Philippine Electronics Forum

Re: keypad interfacing using z8f6421
« Reply #8 on: March 12, 2012, 01:25:46 PM »

 

Privacy Policy

Contact Us: elabph@yahoo.com