MCP2140DM-TMPSNS Microchip Technology, MCP2140DM-TMPSNS Datasheet - Page 21

BOARD DEMO FOR MCP2140

MCP2140DM-TMPSNS

Manufacturer Part Number
MCP2140DM-TMPSNS
Description
BOARD DEMO FOR MCP2140
Manufacturer
Microchip Technology

Specifications of MCP2140DM-TMPSNS

Main Purpose
Interface, IrDA
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
MCP2140
Primary Attributes
IrDA Controller with PIC18F MCU and Temp Sensor Temp
Secondary Attributes
Set up as a Data Logger
Processor To Be Evaluated
MCP2140
Interface Type
ICSP
Silicon Manufacturer
Microchip
Silicon Core Number
MCP2140
Kit Application Type
Sensing - Temperature
Application Sub Type
Temperature Sensor
Kit Contents
Board
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Other names
MCP2140DM-TMPSNSR
MCP2140DM-TMPSNSR

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCP2140DM-TMPSNS
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
MCP2140DM-TMPSNS
Manufacturer:
MICROCHIP
Quantity:
12 000
 2004 Microchip Technology Inc.
2.4.3.2
Now that the HyperTerminal application program is configured, the PC can communi-
cate with the MCP2140 IrDA Standard Wireless Temperature Sensor Demo Board.
Section 2.4.3.2.1 “Operating the “Transmit 250 Byte Data String” Program”
discusses how to operate the “Transmit 250 Byte Data String” program, while Section
2.4.3.2.2 “Operating the “Transmit Temperature” Program” discusses how to
operate the “Transmit Temperature” program.
2.4.3.2.1
1. Ensure 3 AAA batteries are properly inserted into the battery holder.
2. Connect JP1 (closed position). The power LED (D5) will turn on. After a few
3. Depress and release the RESET button.
4. Turn on the PC laptop.
5. With both devices on a flat surface, place the Palm PDA about 25 cm (10”) away
6. If the PC is configured to show the IR icon in the system tray, a single IR LED
7. Start the HyperTerminal program using the saved setting from Section
8. Ensure that the HyperTerminal session indicates “Connected” (lower-left of
9. Place the mouse cursor over the IR icon in the system tray. The message
10. Type any number (0-9) in the HyperTerminal window. The MCP2140 IrDA Stan-
11. The HyperTerminal window should receive a string of data as shown in
12. Repeating steps 10 and 11 will cause the PC to transmit another data byte and
13. Disconnect (close) the HyperTerminal session. The DSR and CTS LEDs will
Note:
seconds, the PHACT LED (D4) will also turn on, indicating that the MCP2140 is
in the Non-Discovery Mode (NDM) state.
from the MCP2140 IrDA Standard Wireless Temperature Sensor Demo Board,
pointing the IR port of the PC toward the two clear LEDs (D1, D6) on the
MCP2140 IrDA Standard Wireless Temperature Sensor Demo Board.
icon will be displayed. Placing the mouse cursor over this icon will display the
message “MCP2140 A5 is in range”, where “MCP2140 A5” is the Device ID of
the MCP2140.
2.4.3.1 “Configuring HyperTerminal”. When HyperTerminal starts, it is in the
connected state. To disconnect, click on the telephone icon (4th icon from left on
toolbar). To connect, click on the telephone icon (3rd icon from left). Depending
on the current state of the HyperTerminal session, only one of the two telephone
icons will be active (the other will be grayed out).
HyperTerminal window) and the icon in the system tray changes to two IR LEDs
facing each other and “talking”.
displayed now says “Wireless link with MCP2140 A5 at 9600 bps”. This shows
that a link is established for data communication and that the IR communication
rate is 9600 bps (even though the HyperTerminal program is “talking” to the driver
at 115200, the IrDA standard hardware is communicating at the rate negotiated
with the MCP2140.
dard Wireless Temperature Sensor Demo Board requires a receive byte before
transmitting its data. This is due to the requirement of most PDAs needing to
transmit a data byte before opening the IR Link. The data byte is sent as it is
typed. At this time, the DSR (D2), CTS (D3) and PHACT (D4) LEDs are turned off.
Appendix D. “MCP2140 250 Byte Data Transmit Table”.
to receive another data string.
immediately turn off and the PHACT LED will turn on in about 10 seconds.
RUNNING THE DEMO USING HYPERTERMINAL
Hyperterminal
between the PC and the MCP2140 IrDA Standard Wireless Temperature
Sensor Demo Board. Make sure that any other programs (e.g., HotSync
connected to the IR ports are disabled.
Operating the “Transmit 250 Byte Data String” Program
®
should be disabled before establishing a connection
DS51487A-page 17
®
)

Related parts for MCP2140DM-TMPSNS