SlideShare a Scribd company logo
1 of 14
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
Block Diagram Of DAQ
Physical variables
(temperature, pressure, light)
Transducer
Signal conditioning
ADC
Processor
USART
MATLAB
Electrical Signal
Voltages
RS232
Serial
Interface
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 Oscillator
LED
(Power Indicator)
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
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
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
MATLAB Plotting
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
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
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
Total Cost is
TK 1316 /-

More Related Content

What's hot

Power electronics
Power electronicsPower electronics
Power electronics
Femi Prince
 
Presentation bipolar stepper motor driver circuit
Presentation bipolar stepper motor driver circuitPresentation bipolar stepper motor driver circuit
Presentation bipolar stepper motor driver circuit
Sarah Krystelle
 

What's hot (20)

Introduction to IGBT & its losses
Introduction  to IGBT & its losses Introduction  to IGBT & its losses
Introduction to IGBT & its losses
 
Power electronics
Power electronicsPower electronics
Power electronics
 
MHD power generator ppt
MHD power generator ppt MHD power generator ppt
MHD power generator ppt
 
Optical Current Transformer (OCT)
Optical Current Transformer (OCT)Optical Current Transformer (OCT)
Optical Current Transformer (OCT)
 
Generator protection LEC 2
Generator protection  LEC 2Generator protection  LEC 2
Generator protection LEC 2
 
Brushless dc motor
Brushless dc motorBrushless dc motor
Brushless dc motor
 
Wind energy
Wind energyWind energy
Wind energy
 
Speed Control of Induction Motor using Variable Frequency Drive
Speed Control of Induction Motor using Variable Frequency DriveSpeed Control of Induction Motor using Variable Frequency Drive
Speed Control of Induction Motor using Variable Frequency Drive
 
Solenoid
SolenoidSolenoid
Solenoid
 
Presentation bipolar stepper motor driver circuit
Presentation bipolar stepper motor driver circuitPresentation bipolar stepper motor driver circuit
Presentation bipolar stepper motor driver circuit
 
Wind speed probability distribution
Wind speed probability distributionWind speed probability distribution
Wind speed probability distribution
 
Actuators.ppt
Actuators.pptActuators.ppt
Actuators.ppt
 
Magneto optic current transformer
Magneto optic current transformerMagneto optic current transformer
Magneto optic current transformer
 
Apfc project 2016 17
Apfc project 2016 17Apfc project 2016 17
Apfc project 2016 17
 
UTILIZATION OF ELECTRICAL ENERGY
UTILIZATION OF ELECTRICAL ENERGY UTILIZATION OF ELECTRICAL ENERGY
UTILIZATION OF ELECTRICAL ENERGY
 
Condition monitoring of rotating electrical machines
Condition monitoring of rotating electrical machinesCondition monitoring of rotating electrical machines
Condition monitoring of rotating electrical machines
 
Power Electronics
Power ElectronicsPower Electronics
Power Electronics
 
A seminar on paper battery ppt
A seminar on paper battery pptA seminar on paper battery ppt
A seminar on paper battery ppt
 
Ppt turbo generator
Ppt turbo generatorPpt turbo generator
Ppt turbo generator
 
MPPT
MPPTMPPT
MPPT
 

Viewers also liked

Hydro Power In Pakistan
Hydro Power In PakistanHydro Power In Pakistan
Hydro Power In Pakistan
Farooq Saeed
 
Hydro electric power plant lecture
Hydro electric power plant lectureHydro electric power plant lecture
Hydro electric power plant lecture
c3b2a1
 
Hydro electric power plant
Hydro electric power plantHydro electric power plant
Hydro electric power plant
Dr. Ramesh B
 
Basics of Hydro power plant
Basics of  Hydro power plant Basics of  Hydro power plant
Basics of Hydro power plant
Prasad Vejendla
 
Hybrid power generation by and solar –wind
Hybrid power generation by and solar –windHybrid power generation by and solar –wind
Hybrid power generation by and solar –wind
Uday Wankar
 
Hydro power ppt
Hydro power pptHydro power ppt
Hydro power ppt
srgirlsdk
 

Viewers also liked (20)

hybrid power station (PV and hydro)
hybrid power station (PV and hydro) hybrid power station (PV and hydro)
hybrid power station (PV and hydro)
 
904787
904787904787
904787
 
hydro power plant
hydro power planthydro power plant
hydro power plant
 
Utilization Of Hybrid PV-Wind Energy System
Utilization Of Hybrid PV-Wind Energy SystemUtilization Of Hybrid PV-Wind Energy System
Utilization Of Hybrid PV-Wind Energy System
 
Hydro Power In Pakistan
Hydro Power In PakistanHydro Power In Pakistan
Hydro Power In Pakistan
 
Hydro electric power plant
Hydro electric power plantHydro electric power plant
Hydro electric power plant
 
Hybrid wind solar energy system
Hybrid wind solar energy systemHybrid wind solar energy system
Hybrid wind solar energy system
 
Hydroelectric power
Hydroelectric power Hydroelectric power
Hydroelectric power
 
Hydro power presentation
Hydro power presentationHydro power presentation
Hydro power presentation
 
Working of hydroelectric power plant
Working of hydroelectric power plant Working of hydroelectric power plant
Working of hydroelectric power plant
 
Hydro electric power plant lecture
Hydro electric power plant lectureHydro electric power plant lecture
Hydro electric power plant lecture
 
Hydro electric power plant
Hydro electric power plantHydro electric power plant
Hydro electric power plant
 
Hydro electric power plant
Hydro electric power plantHydro electric power plant
Hydro electric power plant
 
Basics of Hydro power plant
Basics of  Hydro power plant Basics of  Hydro power plant
Basics of Hydro power plant
 
Hybrid wind-solar Power generation system
Hybrid wind-solar Power generation systemHybrid wind-solar Power generation system
Hybrid wind-solar Power generation system
 
Hybrid power generation by and solar –wind
Hybrid power generation by and solar –windHybrid power generation by and solar –wind
Hybrid power generation by and solar –wind
 
Hydro power ppt
Hydro power pptHydro power ppt
Hydro power ppt
 
Hydro power-plant
Hydro power-plantHydro power-plant
Hydro power-plant
 
Hydro Power Plant
Hydro Power PlantHydro Power Plant
Hydro Power Plant
 
Hydro power plant
Hydro power plantHydro power plant
Hydro power plant
 

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

Advanced motion controls dzralte 012l080
Advanced motion controls dzralte 012l080Advanced motion controls dzralte 012l080
Advanced motion controls dzralte 012l080
Electromate
 
Advanced motion controls dzralte 025l200
Advanced motion controls dzralte 025l200Advanced motion controls dzralte 025l200
Advanced motion controls dzralte 025l200
Electromate
 
Remote Controlling of Home Appliance
Remote Controlling of Home ApplianceRemote Controlling of Home Appliance
Remote Controlling of Home Appliance
Md. Moneruzzaman
 
Advanced motion controls dzralte 020l080
Advanced motion controls dzralte 020l080Advanced motion controls dzralte 020l080
Advanced motion controls dzralte 020l080
Electromate
 
Advanced motion controls dzcante 012l080
Advanced motion controls dzcante 012l080Advanced motion controls dzcante 012l080
Advanced motion controls dzcante 012l080
Electromate
 
Advanced motion controls dzralte 010l200
Advanced motion controls dzralte 010l200Advanced motion controls dzralte 010l200
Advanced motion controls dzralte 010l200
Electromate
 
Advanced motion controls dzralte 040l080
Advanced motion controls dzralte 040l080Advanced motion controls dzralte 040l080
Advanced motion controls dzralte 040l080
Electromate
 
Advanced motion controls dzcante 010l200
Advanced motion controls dzcante 010l200Advanced motion controls dzcante 010l200
Advanced motion controls dzcante 010l200
Electromate
 
Advanced motion controls dzcante 020l080
Advanced motion controls dzcante 020l080Advanced motion controls dzcante 020l080
Advanced motion controls dzcante 020l080
Electromate
 

Similar to Development of an Embedded System and MATLAB Program for Industrial and Biomedical Data Acquisition and Analysis (20)

Tlc5940 ep
Tlc5940 epTlc5940 ep
Tlc5940 ep
 
Advanced motion controls dzralte 012l080
Advanced motion controls dzralte 012l080Advanced motion controls dzralte 012l080
Advanced motion controls dzralte 012l080
 
Advanced motion controls dzralte 025l200
Advanced motion controls dzralte 025l200Advanced motion controls dzralte 025l200
Advanced motion controls dzralte 025l200
 
AUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROLAUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROL
 
Remote controlling of home appliance by moniruzzaman iiuc
Remote controlling of home appliance by moniruzzaman iiuc Remote controlling of home appliance by moniruzzaman iiuc
Remote controlling of home appliance by moniruzzaman iiuc
 
Remote Controlling of Home Appliance
Remote Controlling of Home ApplianceRemote Controlling of Home Appliance
Remote Controlling of Home Appliance
 
One input voltage and three output voltage universal biquad filters with orth...
One input voltage and three output voltage universal biquad filters with orth...One input voltage and three output voltage universal biquad filters with orth...
One input voltage and three output voltage universal biquad filters with orth...
 
Advanced motion controls dzralte 020l080
Advanced motion controls dzralte 020l080Advanced motion controls dzralte 020l080
Advanced motion controls dzralte 020l080
 
Advanced motion controls dzcante 012l080
Advanced motion controls dzcante 012l080Advanced motion controls dzcante 012l080
Advanced motion controls dzcante 012l080
 
Advanced motion controls dzralte 010l200
Advanced motion controls dzralte 010l200Advanced motion controls dzralte 010l200
Advanced motion controls dzralte 010l200
 
The Visual Sideline Assistant
The Visual Sideline AssistantThe Visual Sideline Assistant
The Visual Sideline Assistant
 
Mixed Signal PSoC based System
Mixed Signal PSoC based SystemMixed Signal PSoC based System
Mixed Signal PSoC based System
 
Ijetcas14 641
Ijetcas14 641Ijetcas14 641
Ijetcas14 641
 
Advanced motion controls dzralte 040l080
Advanced motion controls dzralte 040l080Advanced motion controls dzralte 040l080
Advanced motion controls dzralte 040l080
 
IMPLEMENTING A DIGITAL MULTIMETER
IMPLEMENTING A DIGITAL MULTIMETERIMPLEMENTING A DIGITAL MULTIMETER
IMPLEMENTING A DIGITAL MULTIMETER
 
Advanced motion controls dzcante 010l200
Advanced motion controls dzcante 010l200Advanced motion controls dzcante 010l200
Advanced motion controls dzcante 010l200
 
Advanced motion controls dzcante 020l080
Advanced motion controls dzcante 020l080Advanced motion controls dzcante 020l080
Advanced motion controls dzcante 020l080
 
Original N-Channel Mosfet TK7P60W 600V 7A TO-252 New Toshiba
Original N-Channel Mosfet TK7P60W 600V 7A TO-252 New ToshibaOriginal N-Channel Mosfet TK7P60W 600V 7A TO-252 New Toshiba
Original N-Channel Mosfet TK7P60W 600V 7A TO-252 New Toshiba
 
Presentation
PresentationPresentation
Presentation
 
Original N-channel 600 V 0.160 Ω 19 A PowerFLAT™ 8x8 HV ultra low gate charge...
Original N-channel 600 V 0.160 Ω 19 A PowerFLAT™ 8x8 HV ultra low gate charge...Original N-channel 600 V 0.160 Ω 19 A PowerFLAT™ 8x8 HV ultra low gate charge...
Original N-channel 600 V 0.160 Ω 19 A PowerFLAT™ 8x8 HV ultra low gate charge...
 

Recently uploaded

Recently uploaded (20)

Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

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

  • 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
  • 4. Sample of Transducer Module DC Input Signal Output Variable Resistor
  • 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
  • 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. 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. 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. Total Cost is TK 1316 /-