Back to courses

Executable controller program for PC. Note: In order to be able to run this program, parallel port library is needed to be installed.
Source code for PC-controller, Master and Slave modules.
PCB layout file for Master and Slave modules. Unfortunately complete documentation of this project is available in persian only (Report).

I designed and implemented a data-acquisition system. It connects to a PC using LPT port and transmits and receives data from maximum 544 analog/digital channels.

The connections between the different units are using RS485 protocol and therefore are very robust against environment noise. Here you can see a photo of 3 units I made for testing the system.

DAsystem

The unit with the red LED connects to the PC while the other two with green LEDs connect to the one with red LED with a twisted pair cable (RS485).



Here are some photos of intestines! First the data acquisition front-end:

DAunit

DAunit

DAunit

And then PC connection unit:
PCCunit

PCCunit

PCCunit

PC controlls and records all units and measurements. An example of selecting and programming channels on different module is illustrated. Input channels can be used to generate output channels. For example analog inputs can be applied to a predefined FIR filter and the output can be sent to another channel. Here are snapshots of the running program. In this example, an analog input channel is connected to the analog output which sends out a half-sine waveform where the values are read from a file.








All rights reserved ©2006
Saeeid Tahmasbi Oskuii