background image

 

 

4

This keyboard uses EVEN parity in both the upper case only and the upper 

plus lower case modes. The parity bit should be low when the number of zeros in 

the output code is odd and should be high when the number of zeros is even. For 

example the ASCII code for X, 0001101, should make the parity bit high. The 

repeat function should be checked by holding any one key down for more than 

about 1 sec. The keypressed strobe should switch on and off until the key is 

released. If a faster or slower repeat rate is desired the value of C6 can be 

changed slightly. 

Circuit Description 

As shown in figure 1 the keyswitches are arranged into a matrix with the X 

lines from IC-1 outputting test pulses in time sequence and the Y lines sensing 

their presence. If no key is pressed, IC-1 continuously scans the keys, at a 

rate of 50,000 keys per second. Whenever a key is closed, the scanning action 

stops and that location is held by the internal circuitry of the encoder. This 

location is called an address. This address is routed to an internal fixed 

memory called a read only memory. In exchange for an address and some 

information on the status of the shift and control keys the read only memory 

gives the proper 8 bit ASCII output code, complete with parity. 

As soon as the scanning stops, a time delay is started and controlled by 

R1 and C1. This takes into account any switch closure bounce or noise and makes 

sure the key is firmly down and not just brushed on the way by. After the delay 

time, an output "keypressed" strobe is made available. This tells whatever you 

attach to your keyboard that the code is ready for use and valid. 

If a key is released the scanning action starts up again and goes on till 

a new key is pressed. If two keys are pressed at nearly the same time the first 

key pressed provides its output code after a debounce delay. When the first key 

is released, the scanner starts up but only goes around till it hits the other 

key's location. After a new debounce delay, the second key's code is output. 

Keys can continue to be pressed in sequence two down at a time forever, with 

always the right code being output in sequence, and nothing missed or out of 

order. This most handy feature takes care of sloppy typing and "burst" rate 

typing where keys are hit fast and furious in sequence. 

IC2 and IC3 are used for the automatic repeat function. IC3 is setup as an 

astable multivibrator that continuously runs at a frequency of approximately 8.5 

Hz. When a key is first pressed the KP line of IN goes high causing an immediate 

low output of IC2-C. If the key is immediately released no repeat function is 

initiated. If the key is held down for more than about 1 second C7 will charge 

to a point where IC2A is triggered. At this time the output of IC3 is NAND'ed 

with the KP strobe therefore causing the KP signal to be chopped just as if the 

key was continuously pushed and released. This action will continue until the 

key is released. 

Summary of Contents for ASCII

Page 1: ...1 KEYBOARD and ENCODER 219 W Rhapsody San Antonio Texas 78216 ...

Page 2: ...ls coming into contact with the leads through a 1M ohm 1 4 watt resistor supplied with the kit The ground must be an earth ground such as a water pipe and not the circuit board ground As for the connection to your body attach a clip lead to your watch or metal ID bracelet Make absolutely sure you have the 1M ohm resistor connected between you and the earth ground otherwise you will be creating a d...

Page 3: ...ou are ready to install the programming strips on the bottom of the board These strips mount vertically at right angles to the main board The etched finger connection points on the programming strips will match the connection pads on the main board when the strips are in the correct position Hold one of the strips in the correct position and turn it so that the connection fingers match the pads on...

Page 4: ...tions of your CT 1024 if a serial interface is installed Connect R to JS 1 pin 5 T to JS 1 pin 4 and E to JS 1 pin 8 of the serial interface Checkout The only equipment needed to check the operation of your keyboard is a DC milliammeter and a DC voltmeter Apply 5 volts ground and 12 volts to the proper pins and check for currents of about 4 mA on the 12 line and about 8mA on the 5 line no keys pre...

Page 5: ...closure bounce or noise and makes sure the key is firmly down and not just brushed on the way by After the delay time an output keypressed strobe is made available This tells whatever you attach to your keyboard that the code is ready for use and valid If a key is released the scanning action starts up again and goes on till a new key is pressed If two keys are pressed at nearly the same time the ...

Page 6: ...nd for solder bridges or cold solder joints Also be sure that the correct jumpers are in place Next check each keyswitch with an ohmmeter to be sure none are shorted If you have an oscilloscope apply power to the keyboard and check for a 50 KHz signal on pin 40 of IC 1 If you obtain no signal check for 5 volts on pin 1 12 on pin 18 and ground on pin 17 Repair Procedure Repairs will be made on a ba...

Page 7: ... C1 C5 0 01 mfd disc capacitor C2 47 pf polystyrene capacitor C3 C4 0 1 mfd 16 volt disc capacitor C6 0 47 mfd tantalum capacitor C7 220 mfd 6 3 volt electrolytic capacitor Semiconductors ICI 2376 Keyboard Encoder MOS IC2 74LS00 quad NAND gate IC3 555 timer Q1 2N5210 NPN silicon transistor Dl D3 1N4148 1N914 silicon diode Misc J1 15 pin Molex edge connector S1 S2 Keyboard switch SPST locking S3 S5...

Page 8: ...characters for the UPPER CASE mode AY 5 2376 Keyboard Encoder BIT NUMBERS b7 b6 b5 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 b7 b6 b5 b4 b3 b2 b1 COLUMN ROW 0 1 2 3 4 5 6 7 0 0 0 0 0 NUL DLE SP 0 P 0 0 0 1 1 SOH DC1 1 A Q a q 0 0 1 0 2 STX DC2 2 B R b r 0 0 1 1 3 ETX DC3 3 C S c s 0 1 0 0 4 EOT DC4 4 D T d t 0 1 0 1 5 ENQ NAK 5 E U e u 0 1 1 0 6 ACK SYN 6 F V f v 0 1 1 1 7 BEL ETB 7 G W g w ...

Page 9: ...M US m g t 5 Y4 SHIFT EOT US M G T 27 CONTROL EOT CR US NUL CR BEL DC NUL NORMAL ENQ NAK BS n f r 4 Y5 SHIFT ENQ NAK BS N F R 26 CONTROL ENQ NAK NUL BS SO ACK DC NUL NORMAL ACK SYN b d e 3 Y6 SHIFT ACK SYN B D E 25 CONTROL ACK SYN NUL ESC STX EDT ENQ NUL NORMAL BEL ETB v s w 2 Y7 SHIFT BEL ETB V S W 24 CONTROL BEL ETB NUL GS SYN DC ETB NUL NORMAL DC1 CAN SP CR c a q 1 Y8 SHIFT DC1 CAN SP CR C A Q ...

Page 10: ...9 ...

Page 11: ...10 ...

Page 12: ...per the right trace around the switch Connect a wire from the left pin of the key switch to Y9 IC1 pin 22 Connect a wire from the other pin of the key switch to X0 IC1 pin 39 When the shift key is held down the P key will send an Underscore To generate an under score _ you can change the function of the letter O key Isolate both pins of the O key switch Cut the trace on the vertical strip near the...

Reviews: