Worked in a thesis project under the supervision of MD. Shamsul Arefin, Asst. Prof., Faculty of Engineering, AIUB, on "Development of an Embedded System and MATLAB Program for Industrial and Biomedical Data Acquisition and Analysis".
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Embedded DAQ and MATLAB for industrial data logging
1. DEVELOPMENT OF AN EMBEDDED SYSTEM AND MATHLAB
PROGRAM FOR INDUSTRIAL AND BIOMEDICAL DATA
ACQUISITION AND ANALYSIS
A Project submitted by
Mutsuddy, Heerok ID: 08-12248-3
Under the supervision of
Md Shamsul Arefin
Assistant Professor
Dept. of Electrical and Electronic Engineering
Faculty of Engineering
American International University - Bangladesh
Electrical and Electronic Engineering Department
Faculty of Engineering
American International University - Bangladesh
2. Block Diagram Of DAQ
Physical variables
(temperature, pressure, light)
Transducer
Signal conditioning
ADC
Processor
USART
MATLAB
Electrical Signal
Voltages
RS232
Serial
Interface
5. Power Supply Unit
POT
(1K) CAP
(2200 uF) Transformer
Bridge Diode
7812
(Voltage Regulator)
LED
(Power Indicator)
DC Output
6. Data Acquisition Card
DB9 female port
ATmega16 MCU
USB cable
MAX232
IC
Push Button
(Reset)
Rail
(Analogue Input)
Crystal Oscillator
LED
(Power Indicator)
8. Flow Chart of the AVR Program
Start
Sending
ADC Value
Set ADC Registers
(ADCMUX,
ADCH/ADCL,
ADCSRA,
SRIOR)
Set ADC Source
Set Reference Voltage
Start Conversion
Read ADC
Initializing the serial port
Set USART communication parameters
(data bits, stop bit, parity bit)Set USART for asynchronous mode
Set baud rate
Enable transmitter and receiver
Has UDRE flag been set to 1?
(register UCSRA)
Write the string to register UDR
for transmission
YES
NO
9. Flowchart of the MATLAB Program
Start Initialize the serial port Open the serial port
Program Terminated
Channel
Selection?
Channel 1?
Active/Idle
Cycle ≤ Input
Plotting
data
Cycle=Cycle + 1
Default
Channel 2?
Active/Idle
Channel 3?
Active/Idle
Channel 4?
Active/Idle
Channel 5?
Active/Idle
Channel 6?
Active/Idle
Channel 7?
Active/Idle
Channel 8?
Active/Idle
YES
NO
NO
YES