Data Acquisition & Logging system

July 25, 2009 by admin
Filed under: Microcontrollers, electronics 

Data Logging System Using ATmega32,

LM335, USART, Visual Basic Interface

Image005

Introduction

This project tells you, how to design your own data acquisition cum logging hardware plus software. Temperature from different locations are the data items to be logged onto the PC. Ofcourse the data from the sensors are analog and most of the cases. I’ve used temperature sensors as data generators, one can measure any kind of physical parameter like sound level, distance etc. I’ve used ATmega32 from MegaAVR family by ATMEL because it has 8 channels of 10 bit resolution Analaog to Digital Convertor which is used to digitized the analog data from the sensors.

Digital data is sent to the PC from the microcontroller using inbuilt full duplex UART channel of mega32. Data can br read on the GUI dash board designed using VB 6.0, The source code for both AVR frimware and VB software is provided in the download section.

daq

Hardware

Complete hardware schematic diagram in PDF is available above. Main heart component of the circuit is the ATmega32 microcontroller form MegaAVR family. temperature sensor used is LM335 which is calibrated by 10mv per degree kelvin. LCD is attached to display the data on each channel rael time at the site of installation of device. As data from the controller is sent to the PC using serial channel a signal level convertor MAX232 is used, to convert RS232 signals into TTL signal and vice versa. 16 MHz crystal oscillator is used to provide master clock to the system. LC network is attached for noise reduction in ADC. LM335 needs kind of calibration, for that purpose a preset of 10K in series with a 1K resistance is used.

LCD is connected to PORTC, you must disable JTAG using fuse bit settings to let the display work.

daqvb

daqpcb

PCB layout for DAQ system using DIPTRACE

Download Complete source code schematic, VB source code PCB file ZIP file here

Contact-

Devesh Samaiya

devesh@electroons.com



Comments

4 Comments on Data Acquisition & Logging system

  1. mcdonalds coupons on Sun, 13th Sep 2009 10:36 pm
  2. Thanks much for that informational entry.

  3. data logging on Fri, 4th Dec 2009 12:30 am
  4. Quite a nice little project that would be perfect for intermediates like me to get stuck into, also ending up with something that is really useful!

  5. jyothi on Sun, 17th Jan 2010 3:40 am
  6. i downloaded but thre is no source code available in the download and the software
    seems corrupted. please update if u could.

  7. admin on Mon, 18th Jan 2010 10:14 am
  8. ya thats true, there may be some issues if you are using .exe file directly and you dont have VB installed on your machine. I suggest you to first install VB and then try. I am working to make the Logging software platform independent. I will publish it very soon ……

Tell me what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!





Anti-Spam Protection by WP-SpamFree