Digital Circuits for John Deere Program (Part 3)

Prepared by Charles S. Tritt, Ph.D.
November 2, 1999

Equipment (for each pair of students working together)

1   Digi Designer
1   Set of wires (these should come with the Digi Designer)
1   27x32 32K (4K x 8) EPROM chip

Introduction

Memory makes up a very important part of digital computers. One type of memory is Erasable, Programmable Read Only Memory (EPROM). You will retrieve an ASCII message stored in an 2732 EPROM chip in this exercise.

Safety Considerations

Dangerous line voltages are present at the outlets on your work bench. Do not insert anything other than approved power plugs into these outlets.

The voltages and currents produced by the Digi Designer are generally safe. However, you should not short +5V (Vcc) or logic High outputs directly to ground or intentionally make yourself part of a logic circuit.

Chip pins and the tips of the small wires may be sharp. Handle with care. Chips can become very hot if wired incorrectly. Be careful.

Procedures

ASCII Codes and EPROM's

The EPROM chip you will be using in this exercise can contain up to 4096 8-bit values. You'll only examine the first 16 of these values. Because the ASCII codes are 7 bits long but your Digi Designer has only 4 monitor lamps, you'll have to examine the first (lowest order) 4-bits of each value first. Then, move some wires and examine the remaining 3 bits. The pin outs for a 2732 are shown in Figure 1.
2732 chip
Figure 1 -- Pin outs for the 2732 EPROM chip.

Insert your 2732 into the bread board on your Digi Designer. Connect power and ground to pins 24 and 12, respectively. Make the following connections from left to right across the lower edge of the chip:

PinFunctionConnection
1A7 inputGround, logic Zero
2A6 inputGround, logic Zero
3A5 inputGround, logic Zero
4A4 inputGround, logic Zero
5A3 inputJ15, switch
6A2 inputJ16, switch
7A1 inputJ17, switch
8A0 inputJ18, switch
9O0 outputJ4, lamp monitor
10O1 outputJ3, lamp monitor
11O2 outputJ2, lamp monitor

Make the following connections from right to left across the upper edge of the chip:

Ground, logic Zero
PinFunctionConnection
13O3 outputJ1, lamp monitor
14O4 outputNo connection
15O5 outputNo connection
16O6 outputNo connection
17O7 outputNo connection
18CE' inputGround, logic Zero
19A10 inputGround, logic Zero
20OE'/Vpp input
21A11 inputGround, logic Zero
22A9 inputGround, logic Zero
23A8 inputGround, logic Zero

Enter all 16 possible address values for A (i.e., all possible combinations of A0 through A3) and complete the right hand (low order) columns of the table in your work sheet. Then, change the following wires.

Connects withMove fromMove to
Lamp monitor J4Pin 9 (O0)Pin 14 (O4)
Lamp monitor J3Pin 10 (O1)Pin 15 (O5)
Lamp monitor J2Pin 11 (O2)Pin 16 (O6)
Lamp monitor J1Pin 13 (O3)Pin 17 (O7)

Again enter all 16 possible address values for A (i.e., all possible combinations of A0 through A3) and complete the left hand (high order) columns of the table in your work sheet. Finally, translate your codes first into Hex values and then ASCII characters and write your message on the chalk board using the following tables.

Hex Values

BinaryHexBinaryHex
0000010008
0001110019
001021010A
001131011B
010041100C
010151101D
011061110E
011171111F

ASCII Codes

Hex101234 567
b6b5b4000001010011100101110111
Hex0b3b2b1b0        
00000    NUL   DLESP0@P`p
10001    SOH   DCI!1AQaq
20010    STX   DC2"2BRbr
30011    ETX   DC3#3CScs
40100    EOT   DC4$4DTdt
50101    ENQ   NAK%5EUeu
60110    ACK   SYN&6FVfv
70111    BEL   ETB'7GWgw
81000    BS   CAN(8HXhx
91001    HT   EM)9IYiy
A1010    LF   SUB*:JZjz
B1011    VT   ESC+;K[k{
C1100    FF   FS,<L\l|
D1101    CR   GS_=M]m}
E1110    SO   RS.>N^n~
F1111    SI   US/?O-oDEL

ASCII codes less that 2016 are special hardware control characters. The only ones of these you are likely to find stored in your chip are line feed, LF, and carriage return, CR.

The chip pin out diagram in this document was taken from Fairchild/National Instruments chip data sheet.