The Godfather talking
This is god damn my place! Capisci?
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 24, 2024, 07:54:00 19:54


Login with username, password and session length


Pages: [1]
Print
Author Topic: Analog KeyPad  (Read 3667 times)
0 Members and 2 Guests are viewing this topic.
kalpakchiev
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 34
-Receive: 68



« on: April 19, 2010, 07:49:53 19:49 »

One pin analog keypad.

Any comments or proposals are welcomed.

Proteus design included Cool

Best regards
« Last Edit: April 19, 2010, 08:14:19 20:14 by kalpakchiev » Logged

A known mistake is better than an unknown truth.
ipek
Junior Member
**
Offline Offline

Posts: 95

Thank You
-Given: 59
-Receive: 79


« Reply #1 on: April 20, 2010, 02:02:04 02:02 »

dear kalpakchiev
not find 4bit bcd or binary output port  Roll Eyes
best reagards..
Logged
yahoo
Active Member
***
Online Online

Posts: 160

Thank You
-Given: 56
-Receive: 100


« Reply #2 on: April 20, 2010, 02:45:02 02:45 »

This solution is good but you have to keep in mind that you cannot use it for 2 or more simultaneously pressed keys and in battery operated units with floating power supply.
Logged
kalpakchiev
Active Member
***
Offline Offline

Posts: 137

Thank You
-Given: 34
-Receive: 68



« Reply #3 on: April 20, 2010, 04:18:34 04:18 »

This solution is good but you have to keep in mind that you cannot use it for 2 or more simultaneously pressed keys and in battery operated units with floating power supply.

Your note is very appropriate. 2 or more simultaneously pressed keys can not be recognized. For battery operation can be added a routine like this:

if sample > 900 and sample < 1015 then
        LCDOUT $FE, $80,"   Low battery  "
        KeyPressed=255
endif


dear kalpakchiev
not find 4bit bcd or binary output port  Roll Eyes
best reagards..

Having KeyPressed value it is easy to add an lookup table and set 4 I/O to corresponding BCD code.
 
Best regards
Logged

A known mistake is better than an unknown truth.
jenniferkim
Guest
« Reply #4 on: December 22, 2010, 04:42:20 04:42 »

I like it. It looks pretty good but let me remind you, it can't be used at the same time for more than one keys . you have to consider the battery operated units with floating power supply.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC