Week 9 involved further testing of the boards. First up was a power pin test. With no IC's in the boards and the power at 5V connected, all power pins on the board were checked for 5V using a multimeter. This was a straightforward test and caused no difficulty, all boards passed.
Next up was a functional test. First I connected the mux and switch board together using the 18 pin connector and some ribbon cable. Once connected I examined the ribbon cable to make sure the connection looked okay. The resistor packs were rechecked to make sure they are correctly soldered onto the board. I then checked pin 1 and pin 10 on the swicthboard to make sure they were tied to the mux board with ground and 5V respectively.
Everything seemed fine and I was ready to continue with the functional test. With the power connected to the multiplexer board, a square wave at 1kHz was put through the parallel port connection at pin 1 using a signal generator. Pin 2 of the parallel port was tied to the power to set the counter. This signal was monitored using an oscilloscope. A second signal was monitored using the oscilloscope to check the wave form on the nand gate on IC5 and the wave forms on different pins on the counter, to make sure that the waves were correct, keeping in mind what they should be with respect to the original signal. Everything checked out okay.
|
Functional test setup |
Next the signal generator was connected to Q3 on the counter and the wave forms on the different pins of the multiplexer were tested. The switchboard was needed for part of this to help test the pins from the multiplexer connected to the switches. When a switch was pressed a wave was recorded on the multiplexers from the switchboard. This also enabled me to tie up which switch was connected to which pin on the multiplexers.
Finally I checked the switches themselves, by monitoring an outputted wave on pin 3 of the parallel port pressing the switches individually. The pictures below demonstrate the wave form at Q3 on the counter and various switches being pressed. Eventually, everything worked out as it should . I say eventually because I had a lot of difficulty doing this test. Basic errors being the most part of these difficulties. It was very easy to mix up which pin was being tested which was sometimes confusing and frustrating not getting the results you were expecting, only to go back and find that you were testing the wrong pin. It was sometimes difficult to get a clear signal on the oscilloscope and involved a lot of configuration. Also, there was at times a lot of noise interference, probably resulting from the amount of wires I had crossing over one another during testing. All in all, I'm glad that's over. The board testing is completed, moving on to software next week.
|
Pic represents a switch being pressed |
|
Pic represents a switch being pressed |
|
Pic represents a switch being pressed, also demonstrates some noise interference. |