Humidity Sensor PICtail™ Demo Board User’s Guide
DS51594A-page 8
©
2005 Microchip Technology Inc.
1.4.6
PC Platform
The Personal Computer (PC) shown in Figure 1-2 needs to run on Windows
®
98 SE or
later. It provides a convenient interface for the user, communicates with the other
boards and provides power through the USB connection.
1.4.7
Humidity Sensor PC Program
The
capacitance.exe
PC Program communicates with the PIC16F690 MCU on the
Humidity Sensor PICtail™ Demo Board through the USB port on the PICkit™ 1 Flash
Starter Kit. It also imports data through the same connections and displays them.
The user inputs the board configuration, and can select to view either capacitance or
relative humidity (assuming the HS1101LF sensor is plugged in).
1.5
ASSEMBLY CODE MODULES
The following assembly code modules (for the PIC16F690) make up the Humidity
Sensor project:
•
main.inc
- contains I/O port and global defines used throughout the project
•
main.asm
- contains the main executive routine including configuration bit
assignments
•
initialize_f690.asm
- initializes the PIC16F690 to known initial values
•
capacitance.asm
- reads capacitance using a dual slope integration technique
•
humidity.inc
- contains PwLI table segment values
•
humidity.asm
- contains PwLI routine to convert capacitance to %RH humidity
•
ssc.asm
- contains Synchronous Serial Communications (SSC), which is a
synchronous serial communications protocol between a target PICmicro
®
micro-
controller (MCU) and the PICkit™ 1 Flash Starter Kit or PICkit™ 2 Starter Kit
•
16f690.lkr
- linker script for Humidity Sensor project
These files can be downloaded from the Microchip web site (www.microchip.com) and
are contained in the “
00084R1.zip
” file.
Содержание Humidity Sensor PICtail
Страница 1: ...2005 Microchip Technology Inc DS51594A Humidity Sensor PICtail Demo Board User s Guide...
Страница 16: ...Humidity Sensor PICtail Demo Board User s Guide DS51594A page 12 2005 Microchip Technology Inc NOTES...
Страница 20: ...Humidity Sensor PICtail Demo Board User s Guide DS51594A page 16 2005 Microchip Technology Inc NOTES...
Страница 31: ...Bill Of Materials BOM 2005 Microchip Technology Inc DS51594A page 27 NOTES...