0% found this document useful (0 votes)
104 views44 pages

Data Acquisition Using ARM7

This document describes a data acquisition system using an ARM7 microcontroller. It discusses the components of a data acquisition system including sensors, signal conditioning, analog-to-digital converters and displays. It then provides details on using an ARM7 TDMI microcontroller for a simple data acquisition system, including descriptions of temperature and humidity sensors, an analog-to-digital converter, UART communication and an LCD display. Block diagrams and specifications of the various components are provided.

Uploaded by

Dushyanth Sai
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
104 views44 pages

Data Acquisition Using ARM7

This document describes a data acquisition system using an ARM7 microcontroller. It discusses the components of a data acquisition system including sensors, signal conditioning, analog-to-digital converters and displays. It then provides details on using an ARM7 TDMI microcontroller for a simple data acquisition system, including descriptions of temperature and humidity sensors, an analog-to-digital converter, UART communication and an LCD display. Block diagrams and specifications of the various components are provided.

Uploaded by

Dushyanth Sai
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 44

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITON USING ARM

DATA ACQUISITON USING ARM

19-4-2012

Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

Data acquisition is the process of sampling signals that measure real world physical conditions and converting the resulting samples into digital numeric values that can be manipulated. Data acquisition systems abbreviated with the acronym DAS or DAQ

19-4-2012

Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

Components of Data Acquisition System


The components of data acquisition systems include: Sensors Signal conditioning Analog-to-digital converters Display unit
19-4-2012
Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

SIMPLE DAS

19-4-2012

Project-

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7 Block Diagram
Temperature Sensor ARM7 Humidity Sensor TDMI LPC2148 MAX-232 IC 16 X 2 LCD unit

DRK

Computer

Power Supply

19-4-2012

Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

Power Supply
12v DC Regulated power supply

230v AC mains supply

19-4-2012

Project-

DRK
ARM

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

ARM is a 32-bit reduced instruction set computer (RISC) Instruction set architecture (ISA) developed by ARM Holdings It was named the Advanced RISC Machine and, before that, the Acorn RISC Machine. On April 26th, 1985, ARM was first developed by Acorn Computers

19-4-2012

Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

Why ARM??

Core Performance-ARM 7 and ARM 9 support 300 MIPS (Million Instructions per Second) Wide Support Low Power Consumption Various special features

19-4-2012

Project-

DRK
ARM Versions

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7
Architecture Family ARM1 ARM2,ARM3 ARM6,ARM7 STRONG ARM, ARM7 TDMI, ARM9 TDMI ARM7EJ, ARM9E, ARM10E, XSCALE ARM11, ARM CORTEX-M ARM CORTEX-A, ARM CORTEX-M, ARM CORTEX-R No cores are available. Will supports 64-bit data and addressing

ARMv1 ARMv2 ARMv3 ARMv4 ARMv5 ARMv6 ARMv7 ARMv8

19-4-2012

Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7
ARM7 Family

19-4-2012

Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

ARM7 TDMI
TheARM7 TDMI isbasedonARM7Core
3StagePipeline
T ThumbinstructionSets D Includesdebugextensions VonNeumannArchitecture M Enhanced Multiplier, yield a full 64-bit result I CorehasEmbeddedICElogicextensions

19-4-2012

Project-

BLOCK DIAGRAM

19-4-2012

Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

PIN DIAGRAM

19-4-2012

Project-

DRK
Features

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

Low Profile Quad Flat Pack (LQFP) packages On-chip static RAM 32kB On- chip Flash Program memory 512kB Two 10-bit ADCs provide a total of 14 analog inputs, with conversion times as low as 2.44 s per channel. Two 32-bit timers/external event counters (with four capture and four compare channels each) USB 2.0 Full-speed compliant device

19-4-2012

Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

Interrupt controller 10-bit DAC Two UARTS I2C bus I/O Controller SPI controller SSP Serial I/O controller Watch Dog timer Real Time Clock PWM Crystal Oscillator 1-25 MHz

19-4-2012

Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

ARM7isa32bitarchitecture

aPathsandInstructions(ARM)are32bitswide VonNeumannArchitecture
InstructionsandDatause samebus

ThumbMode
Subsetof16bitinstructions
19-4-2012
Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

19-4-2012

Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7
UnprivilegedMode Mosttasksrunonthismode

Processor Modes

EnteredwhenahighpriorityInterruptiso ccurred

Enteredwhenalowpriorityinterrupt(nor mal)is occurred

19-4-2012

EnteredonReset

Project-

DRK
Registers

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

ARM has 37 registers all of which are 32 bits long


1 dedicated Program Counter 1 dedicated Current Program Status Register (CPSR) 5 dedicated Saved Program Status Register (SPSR) 30 General Purpose Register

19-4-2012

Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

Status Register

19-4-2012

Project-

DRK
ADC

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

19-4-2012

Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

ADC
Implements Binary search algorithm Initially, DAC input set to midscale (MSB =1) VIN < VDAC , MSB remains 1 VIN > VDAC , MSB set to 0 Algorithm is repeated until LSB End of algorithm, DAC [input] = ADC [output] N cycles required for N-bit conversion

19-4-2012

Project-

DRK
FLOW CHART

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

19-4-2012

Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

TEMPERATURE SENSOR LM35 Features Calibrated directly in Celsius (Centigrade) Linear +10.0 mV/C Scale factor is 0.01V/ oC Rated for full -55 to +150C range Less than 60 A current drain Low self-heating, 0.08C in still air Nonlinearity only C typical

19-4-2012

Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

BLOCK DIAGRAM OF TEMPERATURE SENSOR

19-4-2012

Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

19-4-2012

Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

HUMIDITY SENSOR SY-HC-01

Capacitive type Humidity Sensor

19-4-2012

Project-

DRK
SY-HC-01

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

SPECIFICATION Rated Voltage Rated Power Operating Temperature Operating Humidity Storage Temperature Humidity Accuracy AC 0.26 mW 0-60C 20-95%RH -35 ~ 80 C

VALUE AC 1V max (at 1 KHz)

5%RH(at 25C, 60%RH)

19-4-2012

Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

OPERATING RANGE OF SENSOR

19-4-2012

Project-

DRK
UART
Data Bus

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7
8

RDR

SCCR TIE RIE

Ld
SEL SEL SEL 2 1 0

TDR

RxD

RSR

3 BAUD Rate Generator

TSR

TxD

Receiver Control Receiver TD RD RE RF

BClk

Transmitter Control

SCSR PE FE

Transmitter

19-4-2012

Project-

DRK
UART Frame

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

Start Bit Parity bit Stop Bit Data Bits

Always 0 As per parity selected / None Always 1 7 bits(with parity) / 8 bits (with no parity)

19-4-2012

Project-

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7 RS232 Standard 1 DCD
Create in 1960 and up19-4-2012d in 1969 Logic 1 : -3 to -25 volt Logic 0 : 3 to 25 volt The baud rate of the must match with the baud rate of the pc PC standard baud rate (hyper terminal configuration)
2400-4800-9600-14400-19200.
RS-232 -25V -3V +3V +25V TTL +2V +5V 0V +0.8V Logic High Low
Project-

DRK

2 3 4 5 6 7 8 9

RD TD DTR GND DSR RTS CTS RI

19-4-2012

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7 MAX-232

DRK

RS-232 -25V -3V +3V +25V

TTL +2V +5V 0V +0.8V

Logic High Low


Project-

19-4-2012

DRK
LCD

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

19-4-2012

Project-

DRK
LCD

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7
Name Ground Vcc VEE Register Select Read/write Enable DB0 DB1 DB2 DB3 DB4 DB5 DB6 DB7 Led+ LedProject-

Pin No Function 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Ground (0V) Supply voltage; 5V (4.7V 5.3V) Contrast adjustment; through a variable resistor Selects command register when low; and data register when high Low to write to the register; High to read from the register Sends data to data pins when a high to low pulse is given 8-bit data pins

Backlight VCC (5V) Backlight Ground (0V)

19-4-2012

Schematic

19-4-2012

Project-

Flow chart

Start

Initialize LCD and UART

Acquire analog values from sensors and convert them to digital values

Display the values of temperature in LCD unit

Convert the data in to ASCII

Transmit the data (ASCII) through UART 1 to Serial Port of PC

19-4-2012

Project-

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7 Software tools used
KEIL -VISION
FLASH MAGIC HYPER TERMINAL

DRK

19-4-2012

Project-

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7 HYPERTERMINAL

DRK

19-4-2012

Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

APPLICATIONS
General Research Manufacturing Industries Food Processing Monitoring in Buildings Automotive Civil Engineering Environmental Monitoring Real Time observation 19-4-2012
Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

FUTURE SCOPE
This project can be further implemented through wireless technology. Wireless is one of the most promising technologies for data acquisition. Monitoring and control can also be done by including buzzer alarm. Remote Data acquisition and monitoring is possible.

19-4-2012

Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

CONCLUSION
This project is used for industrial applications for data acquisition and monitoring of various parameters. By using this ARMLPC2148 microcontroller, this project is successfully implemented. It can be used in various industries for constant monitoring over a wide range of temperature and humiditys for various purposes. Data logging of values acquired from serial port to text file can also be done from Hyperterminal where off-line analysis can be done further using the data acquired.

19-4-2012

Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

?? QUERIES ??
19-4-2012
Project-

DRK

College of Engineering & Technology Department of Electronics & Communication Engineering DATA ACQUISITION USING ARM7

THANK YOU
19-4-2012
Project-

You might also like