Due 20 September, 1999
The purpose of this lab is to familiarize you with a number of the standard SSI/MSI components, using a breadboard, and designing simple combinational circuits.
You should do this lab individually so you each get the experience of plugging chips and wires into a breadboard.
Each lab will have a set a required tasks and then a set of optional tasks or extensions to the lab. If you do all of the required tasks well, then you will receive the equivalent of a B+ grade. You can earn some flavor of A by doing the optional tasks or extensions to the lab. Note that each lab will contain a set of suggested extensions, but you can always develop your own extensions if you check out your idea(s) with the instructor first.
Find yourself a working breadboard. Test the 5V and ground strips for connectivity, test the LEDs, and test the switches. Get some wires, chips, and LEDs. Then pretend you're in your garage and it's 1976. Steve Jobs is drinking a coke and sitting on the chair next to you...
Task one is to build a parity checker for 4-bit numbers with 1 even parity bit. That means that the number of 1's in the number should be even if the parity bit is included.
The input to your parity checker circuit should be five binary values--four binary digits plus the parity bit. The output should be a single bit that is high when the parity bit is in error.
Your design and implementation process should use the following steps:
Task two is to build the input circuit for a simple 8-button microwave. The buttons on the microwave are: 1 min, 2 min, 3 min, 4 min, 5 min, beverage (2 min), and popcorn (5 min). Your circuit should take as input the button that was pushed, and output the Binary Coded Decimal [BCD] number indicating the number of minutes that should appear on the clock. You should then connect the BCD value to a 7448 chip [BCD to 7-segment display] and connect the output of that to a 7-segment display that shows the correct number of minutes (see the notes below).
Easy solution: Encode your buttons as 3-bit numbers so that your circuit has 3 inputs and 4 outputs (the BCD). Follow the design process outlined for task 1 and build the circuit.
More interesting solution: Allow your circuit to have 8 separate inputs, one for each button. Build or grab out of a drawer a priority 8->3 encoder to handle cases when more than one button is pushed and convert the 8 bits to 3 bits. The order of priority should be: beverage, 1 min, 2 min, 3 min, 4 min, 5 min, popcorn. In other words, if the beverage input is high, then the BCD output should be 2, no matter what any of the other inputs are. If the 1 min input is high, then so long as the beverage input is low, the the BCD output should be 1 no matter what the other inputs are, and so on. Then follow the design process outlined for task 1 for the remainder of the circuit.
If you follow the above steps, you will have the majority of your writeup for this lab completed. Your E21 lab writeups will not, in general, be as long, or as formal as what you have had in other engineering courses. Clarity in your writeups is essential. What is important is that you convey what you have done in a clear and concise manner, and in sufficient detail that someone else could replicate your work.
In addition to the design process steps mentioned above, your lab writeup should include the following:
As noted in the syllabus, you should keep a lab notebook for this course. In this notebook you should keep diagrams of any circuit you build, along with enough information to replicate it. This is separate from your lab reports, but will be handed in for evaluation with every other lab or so.
Be sure to follow the wire color conventions on this and all other assignments. Black connects grounded locations, red connections Vcc locations (usually 5V), and other wires can be used to keep track of various inputs and outputs. Breadboards can quickly become complex, so being organized up front will save you time in the long run. Note that the different colors do have numbers attached to them as noted on the wire drawers.
You should probably use the switches on the breadboard to set your inputs. This will make it easy to switch inputs from one value to another.
For this assignment you should use the MAN 74 seven-segment displays with the green stripe. Do not use the ones with the red stripe, as they require external resistors to function properly. The pin-diagram for the 7-segment displays is given below.
From the top side of the chip with the green stripe to the right, the pins on the left side of the chip are numbered 1, 2, 4, 6, and 7 from top to bottom (3 and 5 are missing). The pins on the right side of the chip (the green stripe side) are numbered 8, 9, 12, 13, and 14 from bottom to top (10 and 11 are missing). The inputs to these pins are as follows:
The input to the 7448 chip (BCD to 7-segment display) is the BCD value given by your circuit. The 7-segment display will then show the output of your circuit so that the user knows their beverage/popcorn will be ready at the right time.