Lab #1 (1/31/2002)
This lab is intended to introduce you to the digital training kit, and to the wiring of simple electronic circuits.
© D. Thiébaut

SMITH COLLEGE       CSC270  Lab #1


EXPERIMENT 1: Investigating the Digital Training Kit

EXPERIMENT 2:


    A simple priority-encoder circuits.

    In this part you will wire up a simple circuit corresponding to the priority encoder we saw this morning in class. Make sure you follow the rules for good wiring as you go along (highlighted in red in the text below). More information and details will be given out during the lab.
    Put the circuit (which we will sometimes refer to as chip, or IC--short for integrated circuit) with the designation 74LS32 on the breadboard area of the kit, with the notch to your left (in other words, you should be able to read the markings on the chip without problems). Make sure it sits over the middle groove. (You can right click on the pictures and select "View Image" to see the full size photo)
    Add wires as shown in the picture to the left. When wiring circuits up, always use short wires if possible, so as to avoid huge loops and spaghetti-type results.
    Then add wires between two switches and the chip.
    Then a wire between the chip and a logic indicator.

  1. Add a label (or post-it) over the switches and identify the left switch as "Mouse" and the right switch as "Printer". Add a label or post-it above the indicator and label it "INT".
  2. Set the two switches in the OFF position, so that they generate a 0. If you do not remember which position generates what value, temporarily connect a wire between a switch and an LED, and activate the switch a few times to get it straight.
  3. Power ON
  4. The switches are off, indicating that neither the mouse nor the printer are requesting attention from the processor, right?
  5. Activate one of the switches. What happens to the LED?
  6. Turn this switch OFF and activate the other one. Observations?
  7. Power OFF.
  8. You will have noticed that we have not implemented the "code" signal. Using your recently acquired knowledge of the kit, and your intuition, implement the "code" signal such that a logic indicator can be use to see its value.
  9. Power ON. Verify that your completed circuit works as a priority encoder. If neither the mouse nor the printer switches are activated, then INT is low. If one is activated, INT is high, and "code" is equal to 0 or 1 depending on which peripheral is active.
  10. Verify that if both peripherals are active, the "code" signal shows the Id of the peripheral with the highest priority.


That's it for this lab. Translate your notes into a lab report that you will hand in next Monday. It will not be graded, but you will get feedback to help you better organize the next reports. When preparing your lab reports, keep these important points in mind: P.S. Some of you requested that I made the picture below available for the lab report... Here it is
To view in a separate window, full scale, click here.