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.
翻译:此报告代表着皮肤温度测量系统的设计和执行。 此系统的目的是测量传感器的皮肤温度, 并将它用USB电缆在屏幕上显示。 数据需要每秒更新一次 。 此工程使用了 IPC18F450 微控制器从传感器获取数据, 并用 USB 2. 0 将其发送到 PC 。 微控制器有一个 10 比特 数字转换精确度, 这是该设计的重要标准之一, 因为它将用于医疗目的。 由于该项目更侧重于设计软件而不是硬件, EasyPIC4 开发委员会需要使用 Eright 。 此工程所需的所有硬件都使用 East18F4550 微控制器。 此项目使用了 IP18F4550 微控制器将程序编译并装入 PC 。 微控制器的软件程序使用中断功能来维持USB 链接。 一个感官从感应器收集到 基本Oral 数据, 用于使用 PC PC 数据控制器的系统, 将使用 PC 程序发送到 PC CD 数据 。 使用每个 CD 系统 数据 。 使用 系统 的 的 数据在 PC CD 服务器上, 将使用 CD 将 CD CD 数据 将 数据发送到 数据发送到 PC 。