Installation and Operation
2.4.3.2
RUNNING THE DEMOS USING THE APPLICATION NOTE 941
PROGRAM
After saving the AN941 application program to your PC’s hard drive, the program
needs to be launched. This PC program communicates with the MCP215X Data Log-
- Windows XP” discusses how to operate the vending machine demo, while Section
XP” discusses how to operate the 250-byte Secondary device (S) to Primary device
(P) data transfer demo.
2.4.3.2.1
Steps to Operate the Vending Machine Demo - Windows XP
The vending machine demo is shown by following the steps in Table 2-8.
TABLE 2-8:
Step Action
VENDING MACHINE DEMO - WINDOWS ? XP
Result
1
2
3
4
5
Place both devices on a flat surface about 25 cm (10”)
apart, with the IR ports facing each other.
On the MCP215X Data Logger Demo Board:
Ensure that jumpers JP1 and JP2 are shorted (closed
position).
On the MCP215X Data Logger Demo Board:
Ensure that jumper JP7 is shorted (closed position).
On the PC:
Run the IrDA Demo.exe program.
On the MCP215X Data Logger Demo Board:
Insert the 9V battery into the battery holder (BT1) or
plug a 9V AC-to-DC power supply (such as those
On the PC:
The program is searching for an IrDA standard device.
On the MCP215X Data Logger Demo Board:
The green power LED (D10) will turn on, the DTR LED
will be on, while all the other UART flow control
supplied with some Microchip development tools) into signals (CTS, RTS, CD, RI and DSR) are off. The RD7
the 9V DC connection plug (J2).
You may need to depress the RESET switch if the
LCD does not display the Microchip program revision
information and then the directions for demo program
selection.
and RD6 LEDs will also be on.
In the IrDA ? standard demo PC program window:
The program should indicate that it has found an IrDA
standard device, called “Generic IrDA”.
6
7
8
On the PC:
If the PC is configured to show the IR icon in the
system tray, a single IR LED will be displayed.
Place the mouse cursor over this icon.
On the MCP215X Data Logger Demo Board:
Depress Switch 2 (SW2).
In the IrDA standard demo PC program window:
Depress and release the Connect button.
On the PC:
The message “Generic IrDA is in range” will be
displayed; “Generic IrDA” is the device ID of the
MCP2150.
On the MCP215X Data Logger Demo Board:
This causes the vending machine program to be
executed.
In the IrDA standard demo PC program window:
Once the connection is made, the program window
will be updated to show that the Connect button now
is called the Disconnect button.
On the MCP215X Data Logger Demo Board:
The CD LED will turn on, and the CTS LED will flash.
This indicates that an IR link has been established
between the PC and the demo board.
? 2004 Microchip Technology Inc.
DS51516A-page 35
相关PDF资料
MCP23X08EV BOARD EVALUATION FOR MCP23X08
MCP23X17EV BOARD EVAL FOR MCP23X17
MCP2515DM-PTPLS BOARD DAUGHTER PICTAIL MCP2515
MCP3905EV BOARD DEMO FOR MCP3905
MCP402XEV BOARD EVAL FOR MCP402X
MCP42XXEV BOARD EVALUATION MCP42XX
MCP43XXEV BOARD EVALUATION MCP43XX
MCP46XXDM-PTPLS BOARD PICTAIL DIGI POT MCP4XXX
相关代理商/技术参数
MCP2200 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:USB 2.0 to UART Protocol Converter with GPIO
MCP2200_11 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:USB 2.0 to UART Protocol Converter with GPIO
MCP2200_13 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:USB 2.0 to UART Protocol Converter with GPIO
MCP-220-00001-01 制造商:Supermicro Computer Inc 功能描述:HOT-SWAPPABLE HARD DRIVE TRAY BLACK - Bulk
MCP-220-00001-03 制造商:SUPER MICRO COMPUTER, INC. 功能描述:HOT-SWAP 3.5" DRIVE TRAY, SILVER - Bulk
MCP-220-00001-03(01) 制造商:SUPER MICRO COMPUTER, INC. 功能描述:SUPERMICRO SCA TRAY, BLACK - Bulk
MCP-220-00003-01 制造商:SUPER MICRO COMPUTER, INC. 功能描述:1U SPARE HOT SWAP DRIVE- BLACK (2ND GENERATION) - Bulk
MCP-220-00003-02 制造商:SUPER MICRO COMPUTER, INC. 功能描述:- Bulk