final report interfacing

5
 Final report Mini Project Computerized Temperature Measurement System Introduction of mini project.  The main objec tive of this min i project is to develop a computerized temperature measurement system consisting of both hardware and software. pon completing this mini project! we are able to apply all "nowledge and s"ills obtained from two previous activities. The emphasis will be given to# Mastering microcontroller development cycle including programming! uploading codes and constructing electronic circuit$ %&plaining the analogue to digital conversion procedure and serial communication routine between computer and hardware$ Mastering 'in(pp developmen t cycle by demonstrating good )le management habit! user centric software interface and functional applications $ all using *+,$ Capable to present a complete product pac"age containing hardware prototype and standalone 'in(pp for the usage at any computers. Figure -# Circuit schematic for computerized temperature measurement system. Figure # Mini Project Computerized Temperature Measurement System

Upload: nidifara

Post on 05-Oct-2015

212 views

Category:

Documents


0 download

DESCRIPTION

report

TRANSCRIPT

Final reportMini Project Computerized Temperature Measurement System

Introduction of mini project.

The main objective of this mini project is to develop a computerized temperature measurement system consisting of both hardware and software. Upon completing this mini project, we are able to apply all knowledge and skills obtained from two previous activities. The emphasis will be given to: Mastering microcontroller development cycle including programming, uploading codes and constructing electronic circuit; Explaining the analogue to digital conversion procedure and serial communication routine between computer and hardware; Mastering WinApp development cycle by demonstrating good file management habit, user centric software interface and functional applications; all using VB6; Capable to present a complete product package containing hardware prototype and standalone WinApp for the usage at any computers.

Figure 1: Circuit schematic for computerized temperature measurement system.

Figure 2 : Mini Project Computerized Temperature Measurement System

Real picture with labeling. Cable Ribbon

PCB ConnectorsFemale HeaderResistor 10kResistor 470Red LEDResistorCapacitorMicrocontrollerPush ButtonGreen LEDYellow LEDCrustal Oscillator

Figure 3 : Circuit prototype permanently on the printed circuit board (strip board) for computerized temperature measurement system.

Figure 4: Pin layout of the temperature sensor

Temperature Sensor

Digital MultimeterCircuitCold Water

Figure 5: Full circuit for computerized temperature measurement systemCalibration data and error analysis data (graphs)TemperatureBits

7256

101024

151792

202560

253072

303584

354352

405120

455632

506144

556912

607424

657936

708704

759216

809728

Based on the linear of graph equation y = mx + c,We get y = 126.3 x 167.34 where negative shows the zero error of measurement. R2 is almost closed to 1 which is 0.9968. Its indicate the linearity of the graph wheregraph lies on a straight line, and which can be described by giving its slope and its y intercept.Based on the table, when the temperature increase, bits also increase.

Figure 6 : Graph temperature vs bitsRound of to 2 d.pGraph Slope

Figure 7: Coding in VB6

Specifications and software screenshots.

Figure 8 : Coding in VB6 (full)

Figure 8 : Reading on multimeter is almost closer to the computer screen after we insert the error in VB6