DEVELOPMENT OF AN EMBEDDED SYSTEM AND MATHLAB
PROGRAM FOR INDUSTRIAL AND BIOMEDICAL DATA
ACQUISITION AND ANALYSIS
A Projec...
Block Diagram Of DAQ
Physical variables
(temperature, pressure, light)
Transducer
Signal conditioning
ADC
Processor
USART
...
Circuit Diagram of DAQ
Sample of Transducer Module
DC Input
Signal Output
Variable Resistor
Power Supply Unit
POT
(1K) CAP
(2200 uF) Transformer
Bridge Diode
7812
(Voltage Regulator)
LED
(Power Indicator)
DC Output
Data Acquisition Card
DB9 female port
ATmega16 MCU
USB cable
MAX232
IC
Push Button
(Reset)
Rail
(Analogue Input)
Crystal O...
Hardware Installation and Testing
Flow Chart of the AVR Program
Start
Sending
ADC Value
Set ADC Registers
(ADCMUX,
ADCH/ADCL,
ADCSRA,
SRIOR)
Set ADC Source
...
Flowchart of the MATLAB Program
Start Initialize the serial port Open the serial port
Program Terminated
Channel
Selection...
MATLAB Plotting
Cost Calculation (DAQ Card)
Name of Component Price(TK)
MCU - ATmega16 (1) 450
IC - Max232 (1) 47
Crystal Oscillator (1) 1...
Cost Calculation (Transducer Module)
Name of Component Price(TK)
Variable Resistor (8) 4 × 8 = 32
LED (8) 2 × 8 = 16
Resis...
Cost Calculation (Power Supply Unit)
Name of Component Price(TK)
Transformer 12V 600mA (1) 108
Regulator IC – LM7812 (1) 1...
Total Cost is
TK 1316 /-
Upcoming SlideShare
Loading in …5
×

Development of an Embedded System and MATLAB Program for Industrial and Biomedical Data Acquisition and Analysis

1,770 views

Published on

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".

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,770
On SlideShare
0
From Embeds
0
Number of Embeds
233
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Development of an Embedded System and MATLAB Program for Industrial and Biomedical Data Acquisition and Analysis

  1. 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. 2. Block Diagram Of DAQ Physical variables (temperature, pressure, light) Transducer Signal conditioning ADC Processor USART MATLAB Electrical Signal Voltages RS232 Serial Interface
  3. 3. Circuit Diagram of DAQ
  4. 4. Sample of Transducer Module DC Input Signal Output Variable Resistor
  5. 5. Power Supply Unit POT (1K) CAP (2200 uF) Transformer Bridge Diode 7812 (Voltage Regulator) LED (Power Indicator) DC Output
  6. 6. Data Acquisition Card DB9 female port ATmega16 MCU USB cable MAX232 IC Push Button (Reset) Rail (Analogue Input) Crystal Oscillator LED (Power Indicator)
  7. 7. Hardware Installation and Testing
  8. 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. 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
  10. 10. MATLAB Plotting
  11. 11. Cost Calculation (DAQ Card) Name of Component Price(TK) MCU - ATmega16 (1) 450 IC - Max232 (1) 47 Crystal Oscillator (1) 16 DB9F Connector (1) 27 Rail (2) 19 × 2 = 38 Push Switch (1) 4 LED (1) 2 Capacitor (8) 2 × 8 = 16 Resistor (2) 1× 2 = 2 USB Connector (1) 28 USB to Serial Cable (1) 250 Vero Board (1) 30 Connecting Wire 2 TOTAL 912
  12. 12. Cost Calculation (Transducer Module) Name of Component Price(TK) Variable Resistor (8) 4 × 8 = 32 LED (8) 2 × 8 = 16 Resistor (16) 1 × 16 = 16 Capacitor (8) 2 × 8 = 16 Connector 8 Pin (1) 22 DC Female Socket (1) 8 Vero Board (1) 30 Connecting Wire 10 TOTAL 150
  13. 13. Cost Calculation (Power Supply Unit) Name of Component Price(TK) Transformer 12V 600mA (1) 108 Regulator IC – LM7812 (1) 16 Resistor (1) 1 Variable POT Resistor (1) 14 Capacitor 100uF 25V (1) 11 Capacitor 104j 100V (1) 3 Diode (4) 8 × 4 = 32 Vero Board (1) 30 DC Socket (1) 8 Cable 31 TOTAL 254
  14. 14. Total Cost is TK 1316 /-

×