Skin Temperature Measurement

Reading time: 5 minute
...

📝 Abstract

This report represents the design and implementation of a skin temperature measurement system. The system aims to measure the skin temperature from a sensor and send it to the PC using a USB cable to display on screen. The data needs to be updated every second. The PIC18F4550 microcontroller has been used in this project to obtain data from the sensor and send it to the PC using USB 2.0 that has been built into the microcontroller. The microcontroller has a 10-bit Analog Digital Converting accuracy that is one of the important criteria for this design as it is going to be used for medical purposes. As the project concentrates more on designing software than hardware, the EasyPIC4 development board was used which comes with all hardware required for this project. The Jackson diagram method was used to design and implement the coding program for the microcontroller software part of the system. The MikroC IDE has been used to compile and load the program into PIC18F4550 microcontroller. The program for the microcontroller uses C language that aims to keep the USB link alive by using interrupt function. A sensor collects data from sensor as 4 bits and send it to the PC every second using a USB cable. The data received from sensor, will be sent by microcontroller to the PC. The Visual Basic software was used in the PC side of device to catch and output the data on the screen. A template file for the Visual Basic program was generated by Easy HID wizard to make software programming part easier for designer. The USBTrace analyzer has been used in the scenario any problems occur during or after the design and construction of the software. The software enables a user to monitor the data on the USB bus that sends the data to the PC from microcontroller.

💡 Analysis

This report represents the design and implementation of a skin temperature measurement system. The system aims to measure the skin temperature from a sensor and send it to the PC using a USB cable to display on screen. The data needs to be updated every second. The PIC18F4550 microcontroller has been used in this project to obtain data from the sensor and send it to the PC using USB 2.0 that has been built into the microcontroller. The microcontroller has a 10-bit Analog Digital Converting accuracy that is one of the important criteria for this design as it is going to be used for medical purposes. As the project concentrates more on designing software than hardware, the EasyPIC4 development board was used which comes with all hardware required for this project. The Jackson diagram method was used to design and implement the coding program for the microcontroller software part of the system. The MikroC IDE has been used to compile and load the program into PIC18F4550 microcontroller. The program for the microcontroller uses C language that aims to keep the USB link alive by using interrupt function. A sensor collects data from sensor as 4 bits and send it to the PC every second using a USB cable. The data received from sensor, will be sent by microcontroller to the PC. The Visual Basic software was used in the PC side of device to catch and output the data on the screen. A template file for the Visual Basic program was generated by Easy HID wizard to make software programming part easier for designer. The USBTrace analyzer has been used in the scenario any problems occur during or after the design and construction of the software. The software enables a user to monitor the data on the USB bus that sends the data to the PC from microcontroller.

📄 Content

AUTHOR: SIAMAK SARJOGHIAN SKIN TEMPERATURE MEASUREMENT DATE: 26/10/2010

1 LONDON SOUTH BANK UNIVERSITY

Faculty of Engineering, Science and the Built Environment MSc Project Final Project Report

TITLE: SKIN TEMPERATURE MEASUREMENT

Author: SIAMAK SARJOGHIAN

Student ID: 2728973

Academic Session: 2009-2010

Supervisor: DR PERRY XIAO

Course Title: Embedded and Distributed System

Mode of Study: Full Time

AUTHOR: SIAMAK SARJOGHIAN SKIN TEMPERATURE MEASUREMENT DATE: 26/10/2010

2 LONDON SOUTH BANK UNIVERSITY Table of Contents TITLE: SKIN TEMPERATURE MEASUREMENT ………………………………………………………. 1 CHAPTERS: ……………………………………………………………………………………………………… 5 1) Introduction: ………………………………………………………………………………………………. 5 2) Aim and Objectives: ……………………………………………………………………………………. 7 2.1. Aim: …………………………………………………………………………………………………………….. 7 2.2. Objectives: …………………………………………………………………………………………………… 7 2.3. Specification: ……………………………………………………………………………………………….. 7 2.4. Deliverable: ………………………………………………………………………………………………. 8 3) Technical background and context (hardware/software): ……………………………… 8 3.1. Hardware: ………………………………………………………………………………………………. 8 3.2. Software: ……………………………………………………………………………………………….. 8 4) Technical Approach: …………………………………………………………………………………… 9

  1. Hardware: ………………………………………………………………………………………………….. 9 1.1-PIC18F4550 Microcontroller: …………………………………………………………………… 9 1.2-EasyPIC4 Development Board: ……………………………………………………………….. 18
  2. Software: …………………………………………………………………………………………………. 24 2.1-Microcontroller Software: ………………………………………………………………………….. 24 2.1.1-JSD diagram: ……………………………………………………………………………………… 25 2.1.2-MikroC Compiler for PIC: …………………………………………………………………… 27 2.1.3-Microcontroller clock: …………………………………………………………………………. 31 2.1.4-Main Program for Microcontroller: ……………………………………………………….. 33 2.2-PC Software: …………………………………………………………………………………………….. 37 2.2.1-Easy HID USB wizard …………………………………………………………………………. 37 2.2.2-Microsoft Visual Basic 6.0: ………………………………………………………………….. 42 2.2.3-USBTrace USB protocol analyzer …………………………………………………………. 45

Results & Discussions: ……………………………………………………………………………….. 48 6) Conclusions & Future works: …………………………………………………………………….. 50 7) Project Planning: ………………………………………………………………………………………. 51 Gantt chart:…………………………………………………………………………………………………….. 51 8) References and Appendices: ………………………………………………………………………. 52 8.1. References:…………………………………………………………………………………………………. 52 8.2. Appendices: ……………………………………………………………………………………………….. 53 Appendix 1: Main program For Microcontroller: ………………………………………………… 53 Appendix 2: USB Descriptor File: …………………………………………………………………….. 57 Appendix 3: Visual Basic Main Form Code: …………………………….

This content is AI-processed based on ArXiv data.

Start searching

Enter keywords to search articles

↑↓
ESC
⌘K Shortcut