Friday, July 24, 2009

Cheap Data Acquisition Hardware (DAQ)


Every one knows about DAQs manufactured by National Instruments and other big MNCs, but these are too expensive to use for small applications where only few channels are required with not much of sampling rate.
The ATMega series has in built 8 channel 10 bit ADC with conversion time of upto 17us. Hence ATMega16 or 32 can be used to make a cheap DAQ. All u need is some skills in computer programming along with time to make the cheap DAQ.
Basically, we have to make an ADC-USART. The algo is simple, first initiate the ADC of the controller to sample the port and give u digital value for the sensor output. As soon as u get the data, store it in a buffer and transmit it serially to the Laptop. You may need a USB to Serial Converter in case u dont have a serial port. use VB6 to make a program which reads the serial port and make a graph out of the readings. Make sure ur baud rate is much above 9600, say 57600 or higher.

No comments:

Post a Comment