Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Tools
Old 1st March 2004, 04:50 PM   #1
Default Keypad ?

I am going to build a very simple 2 digit calculator. I am using a 4x4 keypad for the input. I am going to use the keypad to input through the status registers on the parallel port to the PC. Then I am going to convert the data(add, subtract, multiply, or divide). Then output to two 8-segment displays. I was wondering if I need a chip to convert the data coming out of the keypad before it goes to the status register? Also, I am open for suggestions on how to do this.
lil_sti is offline  
Old 2nd March 2004, 12:11 PM   #2
Default

I think what you could do is to poll the keypad from the program running on a PC to detect switch press. To poll the pad u can have 2 8 bit shift registers in which u can shift a 1 bit thru all the 16 bits over and over again and each of the bit line can be connected to the keys of the key pad. The other lines of the keys are all shorted and fid as 1 input line to the parallel port. So if u get a high line on any clock to the shift register u will know a key is pressed and the clock number will tell u the key number.
aryajur is offline  
Old 6th March 2004, 03:31 PM   #3
Default

http://www.cs.ubc.ca/~hilpert/eec/index.html

Commodore DAC-612 Calculator Schematic

Good Luck!
tansis is offline  
Reply

Thread Tools
Display Modes




All times are GMT. The time now is 03:51 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker