Week 8

  1. Add 74LS244 buffers to Vector board computer to allowuse of test-stand. The buffer is used to conditionsignal lines between port B of the VIA at A000 and the 44-pin edge connector. The STANDARD BOARD has a listing of the required connections. The wiringof the 74LS244 buffer is included in the "CIRCUITS" page on the MAE 412web-site.  Note that some of the lines from the VIA are outputs andsome are inputs.  Use this wiring as a model later when you need tobuffer control and signal lines on and off your Vector board.

  2. Modify the ECHO program so that the NTRAIN mailboxis displayed in the left TIL 311 and the STRAIN mailbox is in the rightTIL 311. The code for doing this will replace the 'LDA RDATA' line in theECHO program.  It is possible to display both NTRAIN and STRAIN valuessimultaneously because they are 4-bit numbers having values between 0 andF.

    To compress both mailboxes into one, try the following: first load NTRAIN into the ACCUMULATOR; next, shift the ACCUMULATOR left 4 positions using the ASL command; then, use the ORA command with STRAIN to set the low 4-bits of the ACCUMULATOR; finally, store the ACCUMULATOR to location $4000.

    Burn this program in an EEPROM.  Also burn the original ECHO program in another EEPROM.  You will use both programs to test the test-stand.

  3. Check that your computer supports all test-stand operations. If things are working properly the signal lights on the test-stand willchange as trains enter and leave each block.  If the ECHO Programis running, you may send data to your computer.  If the Bar-Code TestProgram is running the number of the train occupying each block will beseen on the TIL 311 display.  Don't forget to test the relays on thetest-stand which should automatically kill power to the entrance trackwhile the block is occupied.  When the relay works properly, a secondtrain will appear to wait for the signal light to change from red beforeentering the block.

  4. Begin working with the AnyRail or the Right Track Software (on the desktop). This CAD package is located in the MAE412 forlder on your desktop. The AnyRail software is more user friendly than the RTS software. The RTS software is a little crude, but it is still very useful in helpingto plan your project.  Remember that the minimum radius for trackon the mainline is 9.75 inches.  Also remember that you must includethe central (bi-directional) track.  If you add a crossing betweenthe mainline and the central track you will need to provide an interlockingto prevent possible collisions between trains on the central track andthose on the mainline.  (You cannot specify that the central trackis not to be used -- it would defeat the modularity objective as discussedin the NTRAK materials in volume 1 of the on-line manual.)

  1. Document your vector board computer using ORCAD. This is required for the final report.