Data Acquisition System

Download Report

Transcript Data Acquisition System

Data Acquisition System
Submitted by:
Harneet Singh
Sushant Kumar
Guide: Mr. Vinod Khera
Objective



To sample real world data, process it and
display on a LCD
This Data Acquisition System works as a
microcontroller-based digital thermometer for
measuring the temperature.
Displays fever if the temperature is more than
37 degrees.
Introduction



Data Acquisition is the sampling of real world data
Data that can be stored and processed
DAQ includes appropriate sensors that convert any
measurement parameter
START OF THE
PROGRAM
DECLARE VARIABLES, SET LCD
PARAMETERS. SET PORTSFOR I/O
INITIALIZE THE LCD AND DISPLAY
LOGO.WAIT 60 SECONDS TO STABILISE
INITIALISE DS18S21
READ DATA FROM DS18S21 AND
CONVERT TO DISPLAY FORMAT
DISPLAY NORMAL ALONG WITH
PRESENT TEMPERATURE
DISPLAY FEVER ALONG WITH
PRESENT TEMPERATURE
IS
TEMPERATURE > 37
Advantage of PIC16F84
What sets a microcontroller apart from other
processors are special circuits to deal with the
needs of real time applications.
PIC FEATURES






Harvard architecture
Improves bandwidth over traditional von
Neumann architecture
The PIC16FXX has a 13-bit program counter
capable of addressing an 8K x 14 program
memory space
Watchdog timer
RISC instruction set
SOIC package
PIC16F84 Microcontroller
Pin Diagram
Dallas DS18S21
Pin configuration
DALLAS DS18S21

Direct-to-digital temperature sensor

The output of the temperature sensor has 9-bit
resolution

The DS18S21 can function as a standalone thermostat
with user-programmable trip-points or as 8-bit
temperature sensor with a 1-Wire digital interface
DALLAS 18S21

operating temperature range of –55°C to
+125°C

Accurate to ±1°C over a range of 0°C to +85°C
Future Scope



It can be programmed to work as a temperature
alarm
This system can be integrated with a notification
service
This will make this system a networked embedded
system. The notification could be through
(SMS)/email
Conclusion

The features make the Data Acquisition System a
system of choice and a system of future, having
unlimited scope for development and expansion
References
1. www.oshonsoft.com
2. www.microchip.com
3. www.maxim-ic.com
4. www.educypedia.be
5. Datasheet of PIC16F8X
6. Datasheet of DS18S21