Computers can do much more than store and manipulate data and programs. They can control other equipment, such as a TNC, or collect the data itself. It is easy to make a computer act like a digital voltmeter; and, with a little more programing, it can serve as something as complicated as a digital oscilloscope. To collect data you need a data acquisition interface.
Just such an item has been advertised in QZX for the last couple of months by Prairie Digital. Their QL Data Acquisition System is flexible, simple, easy to use, and inexpensive. It is also well designed for its purpose and certainly versatile enough for any ham shack.
QZX has been fortunate enough to get one to test. Such an interface represents an accessory which greatly increases the utility of a computer, especially in a technical envirornment such as the typical ham shack. Since many of our readers are unfamiliar with an interface of this type, I shall write a series of articles describing it in some detail. This and following articles will describe the operation of the board, the board itself, the results of tests, and give some indication of the software necessary to operate the board.
The board is a small fiberglass printed circuit board which plugs into the expansion port on the left end of the QL. This board contains 24 lines of programable I/O, an 8 channel 8 bit A to D converter, and a 12 bit counter, all on a board which sells for less than $90.00.
Now then what does all this mean? First I shall discuss the 24 lines of programmable I/O. That just means that there are 24 different pads on the board which can be influenced by the computer or which can influence the computer. These 24 lines are organized into three 8 bit bytes and are associated with three specific memory locations in the computer. One can either read out the contents of that memory location so that the 1’s and 0’s of that location appear as 5 or 0 volts on the card thus outputting information to the world; or one can write 1’s and 0’s to the memory location according to the presence of either 5 or 0 volts on the line thus placing information from the world into the computer.
Each of the three ports A,B, or C can be an input port or an output port depending on the instructions given to the board by the computer. Port C can even be split so that the high four bits can be programed separately from the low four bits. A good programmer can easily control each bit of the eight bit port individually so one could, for example, build a large bank consisting of 24 separate relays and independently control 24 separate lights or appliances. No ham is likely to do that. But one could easily assign one line to the push to talk circuit of a scanning 2 meter tranceiver, another to the up channel selection button, and a third to the down button.
These lines can be used for input too. One could connect the squelch circuit of a packet receiver to one line; and, with a simple timing program, determine the percent of time a packet channel was in use during the night. With 24 lines the possibilities can get quite complicated.
These I/O lines are digital. That is, they respond to the presence of absence of a signal. They are TTL compatible. That is, they respond to or provide 0 or 5 volts. Actually they regard as 0 or low any voltage less that 0.8 volts and as 1 or high any voltage above 3.5 volts.
The A to D converter is even more useful. This converter takes an analog signal in the 0 to 5 volt range and converts it into a series of eight digital pulses, hence the name of 8 bit analog to digital converter. Because the converter provided 256 different eight bit output codes, the five volt input range has a resolution of better than 20 millivolts.
The fact that this board has an eight channel A to D converter means that there is a multiplexer on the board that switches the A to D converter to one of eight different input lines depending on which one the software wants to be connected. The multiplexer could also continually scan any desired number of channels. You could, for example, continually monitor the AC line, the output of your power supply, the temperature of your final, and the signal strength of the station with which you are talking.
Well I am out of room for this month. Next month we will give more details of the circuit and some general comments on the construction.