Microprocessor Lab Hints and Troubleshooting Tips for Physics 335 Students - Prof. Leslie , Lab Reports of Physics

Valuable hints and tips for students enrolled in physics 335 - microprocessor labs. It covers wiring techniques, use of capacitors, handling of socketed chips, and more. Neat wiring is emphasized to prevent headaches later in the quarter.

Typology: Lab Reports

Pre 2010

Uploaded on 03/10/2009

koofers-user-5do
koofers-user-5do šŸ‡ŗšŸ‡ø

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Physics 335 - Microprocessor Labs
Comments and Hints for the 68008 Labs
April 6, 2007
These hints will help you and your TA survive and troubleshoot more easily in the microprocessor
portion of this laboratory. WIRING NEATLY IS CRITICAL TO YOUR SANITY – TAKE A
LITTLE EXTRA TIME TO WIRE RIGHT AS IT WILL SAVE YOU HEADACHES LATER IN
THE QUARTER
•Before doing any wiring, read page 371 in the lab manual and also the Reminders on p 443.
•A breadboard is provided at the front of the room for your reference which has been wired
through lab 22. Consulting this board may help answer some questions and provide insights
about laying out your own board. Please do not change any of the wiring on this board.
•Most of the chips and components are already installed on the breadboard. Please leave them
in their present positions and leave them on the breadboard at the end of the quarter.
•At the end of the quarter, please remove all of the chips, components and wiring you placed
on the board, leaving only the already installed chips (mentioned above) in place.
•It is sometimes useful to follow the resistor color code for bused signals. This practice helps
prevent mistakes and makes troubleshooting easier. We do not have the ribbon cable men-
tioned in the lab manual (and it turns out it’s clumsy to use in this case) but all ten colors
of wire are provided.
•0.1 and 4.7 µF capacitors are provided for decoupling purposes in your parts cabinets. Use
a few 0.1 µF capacitors in the horizontal power bus strips of your breadboard. A 4.7 µF
capacitor is handy near where your power enters the board, but REMEMBER TO WATCH
THE CAPACITOR POLARITY or a smoke genie will appear.
•Some chips in the parts cabinet and breadboards are socketed (for mechanical protection)
either because they are expensive, hard to get, or both. Please leave them socketed.
•Don’t forget to use pull up resistors on all unused inputs of CMOS chips (why?).
•Please do not cut the leads from the board mounted switches too short. Someone may want
to configure their board differently. You can leave the extra wire on the bottom side of the
board. Also, please avoid the temptation to bend tightly or weave the wiring. The wiring
is solid core wire, which is needed for breadboard work, but has a tendency to break if bent
tightly.
•If you find any of the smaller circuit diagrams to be ambiguous, it may help to consult the
ā€œBig Pictureā€ schematic on pp. 606-607.
1
pf2

Partial preview of the text

Download Microprocessor Lab Hints and Troubleshooting Tips for Physics 335 Students - Prof. Leslie and more Lab Reports Physics in PDF only on Docsity!

Physics 335 - Microprocessor Labs

Comments and Hints for the 68008 Labs

April 6, 2007

These hints will help you and your TA survive and troubleshoot more easily in the microprocessor portion of this laboratory. WIRING NEATLY IS CRITICAL TO YOUR SANITY – TAKE A LITTLE EXTRA TIME TO WIRE RIGHT AS IT WILL SAVE YOU HEADACHES LATER IN THE QUARTER

  • Before doing any wiring, read page 371 in the lab manual and also the Reminders on p 443.
  • A breadboard is provided at the front of the room for your reference which has been wired through lab 22. Consulting this board may help answer some questions and provide insights about laying out your own board. Please do not change any of the wiring on this board.
  • Most of the chips and components are already installed on the breadboard. Please leave them in their present positions and leave them on the breadboard at the end of the quarter.
  • At the end of the quarter, please remove all of the chips, components and wiring you placed on the board, leaving only the already installed chips (mentioned above) in place.
  • It is sometimes useful to follow the resistor color code for bused signals. This practice helps prevent mistakes and makes troubleshooting easier. We do not have the ribbon cable men- tioned in the lab manual (and it turns out it’s clumsy to use in this case) but all ten colors of wire are provided.
  • 0.1 and 4.7 μ F capacitors are provided for decoupling purposes in your parts cabinets. Use a few 0.1 μ F capacitors in the horizontal power bus strips of your breadboard. A 4.7 μ F capacitor is handy near where your power enters the board, but REMEMBER TO WATCH THE CAPACITOR POLARITY or a smoke genie will appear.
  • Some chips in the parts cabinet and breadboards are socketed (for mechanical protection) either because they are expensive, hard to get, or both. Please leave them socketed.
  • Don’t forget to use pull up resistors on all unused inputs of CMOS chips (why?).
  • Please do not cut the leads from the board mounted switches too short. Someone may want to configure their board differently. You can leave the extra wire on the bottom side of the board. Also, please avoid the temptation to bend tightly or weave the wiring. The wiring is solid core wire, which is needed for breadboard work, but has a tendency to break if bent tightly.
  • If you find any of the smaller circuit diagrams to be ambiguous, it may help to consult the ā€œBig Pictureā€ schematic on pp. 606-607.

A few more specific hints

  • Be sure to always RESET the microprocessor (from the keypad) after turning on the power. Failure to do so may result in unresponsive or bizarre system behavior. Resetting the processor puts all registers, counters, etc. in a known startup state.
  • Lab 19 – The 3 Volt supply is located on the underside of the board and is brought out to a binding post marked as such. For 1N6263 Schottky diodes, use the 1N5817 (also Schottky) diodes. For the 1n748 3.9 volt zener, use the 1N5228B diode (also a 3.9 Volt zener).
  • It is a good exercise to key in some or all of the ā€œTen Tiny Programs on pp 515-7. Be warned that there are some bugs in the code in older versions of the manual.
  • The Register-Check programs on pp. 541-7 are also a recommended exercise, and may prove useful later in debugging your own programs.

Some errors / omissions in older versions of the manual.

  • Figure L18.3 (p446) – Use 10k pull up resistors on the HALT* and RESET* microprocessor inputs.
  • Figure L18.9 (p450) - Use a pull up resistor on the R/W* line from the microprocessor to the HCT27 input. On the other HCT 27 gate in this diagram, A12 goes to pin 13, not pin 3 as indicated. This error is also present on the Big Picture schematic.
  • Labs 20-22 – Pin 15 of the AD7569 is driven by OUTPORT2, Not OUTPORT0 as indicated. Every diagram in the manual showing the AD7569 has this error.

THAT’S ALL!