The Godfather talking
You can run, but you can't hide.
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 04, 2016, 02:53:43 02:53


Login with username, password and session length


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

Posts: 137

Thank You
-Given: 34
-Receive: 67



« on: April 19, 2010, 08:49:53 20:49 »

One pin analog keypad.

Any comments or proposals are welcomed.

Proteus design included Cool

Best regards
« Last Edit: April 19, 2010, 09:14:19 21:14 by kalpakchiev » Logged

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

Posts: 95

Thank You
-Given: 54
-Receive: 79


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

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

Posts: 106

Thank You
-Given: 40
-Receive: 50


« Reply #2 on: April 20, 2010, 03:45:02 03: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: 67



« Reply #3 on: April 20, 2010, 05:18:34 05: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, 05:42:20 05: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