MCP2140DM-TMPSNS Microchip Technology, MCP2140DM-TMPSNS Datasheet

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
®
MCP2140 IrDA
Standard
Wireless Temperature Sensor
Demo Board User’s Guide
 2004 Microchip Technology Inc.
DS51487A

Related parts for MCP2140DM-TMPSNS

MCP2140DM-TMPSNS Summary of contents

Page 1

... MCP2140 IrDA Wireless Temperature Sensor Demo Board User’s Guide  2004 Microchip Technology Inc. ® Standard DS51487A ...

Page 2

... PICLAB, PICtail, PowerCal, PowerInfo, PowerMate, PowerTool, rfLAB, rfPICDEM, Select Mode, Smart Serial, SmartTel and Total Endurance are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. ...

Page 3

... E.3 Agilent HSDL 3000 Implementation ........................................................... 41 Appendix F. Using AN888 Program with a Palm™ PDA .......................................... 43 F.1 Introduction .................................................................................................. 43 Worldwide Sales and Service .................................................................................... 48  2004 Microchip Technology Inc. MCP2140 IrDA WIRELESS TEMPERATURE SENSOR DEMO BOARD USER’S GUIDE Table of Contents ® Standard Wireless Temperature ® ...

Page 4

... MCP2140 IrDA Standard Wireless Temp Sensor Demo Board NOTES: DS51487A-page iv  2004 Microchip Technology Inc. ...

Page 5

... MCP2140 IrDA Standard Wireless Temperature Sensor Demo Board. Items discussed in this chapter include: • About This Guide • Recommended Reading • The Microchip Web Site • Customer Support  2004 Microchip Technology Inc. MCP2140 IrDA WIRELESS TEMPERATURE SENSOR DEMO BOARD USER’S GUIDE Preface ® ...

Page 6

... Palm PDA and Application Note 888, “Programming the Palm OS Embedded IR Applications” (DS00888), to demonstrate the demo board. DS51487A-page 2 ® TFDU 4100 (default selection), TFDU 4300 and HSDL 3000. This section describes what needs to be done to ® Standard ® for  2004 Microchip Technology Inc. ...

Page 7

... Text in angle brackets < > Courier font: Plain Courier Italic Courier 0xnnnn Square brackets [ ] Curly brackets and pipe character Ellipses...  2004 Microchip Technology Inc. Represents Referenced books MPLAB Emphasized text ...is the only compiler... A window the Output window A dialog the Settings dialog ...

Page 8

... Microchip's development systems software products. This line also provides information on how customers can receive currently available upgrade kits. The Development Systems Information Line numbers are: 1-800-755-2345 – United States and most of Canada 1-480-792-7302 – Other International Locations DS51487A-page 4  2004 Microchip Technology Inc. ...

Page 9

... The MCP2140 IrDA Standard Wireless Temperature Sensor Demo Board • Demo Board Firmware • MCP2140 IrDA Standard Wireless Temperature Sensor Demo Board User’s Guide  2004 Microchip Technology Inc. MCP2140 IrDA WIRELESS TEMPERATURE SENSOR DEMO BOARD USER’S GUIDE ® ...

Page 10

... MCP2140 IrDA Standard Wireless Temp Sensor Demo Board NOTES: DS51487A-page 6  2004 Microchip Technology Inc. ...

Page 11

... Layouts” and Appendix B. “Bill-Of-Materials (BOM)” for more detailed circuit information. FIGURE 2-1: Three AAA 1.5V Batteries J1 ICD Header (for programming)  2004 Microchip Technology Inc. MCP2140 IrDA WIRELESS TEMPERATURE SENSOR DEMO BOARD USER’S GUIDE MCP2140 DEMO BOARD BLOCK DIAGRAM LEDs Power DSR ...

Page 12

... Open = Board NOT connected to battery supply DS51487A-page 8 ® STANDARD WIRELESS TEMP SENSOR DEMO BOARD Switches LED Signal Indicators Signal Header ICD Header Optical Transceiver Supports: TFDU 4100 (Default) TFDU 4300 (Optional) HSDL 3000 (Optional) PIC18F1320 MCP2140  2004 Microchip Technology Inc. ...

Page 13

... FIGURE 2-3: MCP2140 IrDA  2004 Microchip Technology Inc. ® STANDARD WIRELESS TEMP SENSOR DEMO BOARD When RESET switch Depressed to not Depressed If Depressed: temperature sensor firmware routine is initialized Not depressed: data upload firmware routine is initialized. DS51487A-page 9 ...

Page 14

... A firmware technique to correct for this would be to use the PIC18F1320 LVD module. A hardware technique would be to use a voltage regulator to ensure that the system voltage remains constant, regardless of the voltage output of the batteries. DS51487A-page 10 as its reference voltage. DD  2004 Microchip Technology Inc. ...

Page 15

... Appendix F. “Using AN888 Program with a Palm™ PDA” shows how to use the Palm PDA and AN888 to demonstrate the demo board. The operation for the Pocket PC and Windows XP applications are similar and are discussed in AN926 and AN941.  2004 Microchip Technology Inc. ® on the PC). ...

Page 16

... The DSR and CTS LEDs will immediately turn off and the PHACT LED will turn on in about 10 seconds. DS51487A-page 12 ONLINE WINDOW AFTER RECEIVING 250 BYTE DATA STRING 32345678 4bcdefgh 52345678 6BEDEFGH 72345678 8bcdefgh 92345678 ABCDEFGH B2345678 Cbcdefgh D2345678 EBCDEFGH F2345678 1bcdefgh 22345678 abc 123 Intl Ctl Esc On Log < > Macros i  2004 Microchip Technology Inc. ...

Page 17

... The DSR and CTS LEDs will immediately turn off and the PHACT LED will turn on in about 10 seconds. Note: Temperature value transmitted by the PIC18F1320 will be dependent on battery voltage (see Section 2.3.2.2 ““Transmit Temperature” Program Description”).  2004 Microchip Technology Inc. ONLINE WINDOW AFTER RECEIVING TEMPERATURE DATA STRING Temp = 28 Temp = 28 Temp = 28 ...

Page 18

... In the New Connection Properties window on the Connect To tab the “Connect Using” pull-down and select the virtual serial port created by the IrCOMM2K driver installation (such as COM7). FIGURE 2-7: DS51487A-page 14 CONNECTION DESCRIPTION WINDOW NEW CONNECTION PROPERTIES WINDOW  2004 Microchip Technology Inc. ...

Page 19

... Under the “Backspace key sends” item, select the Ctrl+H radio button. - From the “Emulation” pull-down menu, select Auto-detect. - For “Telnet Terminal ID”, enter ANSI. - For “Backscroll buffer lines”, select 500 from the pull-down menu.  2004 Microchip Technology Inc. COM7 PROPERTIES WINDOW NEW CONNECTION PROPERTIES WINDOW - SETTINGS TAB DS51487A-page 15 ...

Page 20

... OK button in the New Connection Properties window. FIGURE 2-11: 15. Now that all the settings are configured, in HyperTerminal’s pull-down menu, select File > Save As. Select the name that you wish. DS51487A-page 16 NEW CONNECTION PROPERTIES - ASCII SETUP NEW CONNECTION PROPERTIES - HOST SYSTEM ENCODING METHOD  2004 Microchip Technology Inc. ...

Page 21

... Repeating steps 10 and 11 will cause the PC to transmit another data byte and to receive another data string. 13. Disconnect (close) the HyperTerminal session. The DSR and CTS LEDs will immediately turn off and the PHACT LED will turn on in about 10 seconds.  2004 Microchip Technology Inc. ® should be disabled before establishing a connection ® ...

Page 22

... Disconnect (close) the HyperTerminal session. The DSR and CTS LEDs will immediately turn off and the PHACT LED will turn on in about 10 seconds. Note: Temperature value transmitted by the PIC18F1320 will be dependent on battery voltage (see Section 2.3.2.2 ““Transmit Temperature” Program Description”). DS51487A-page 18  2004 Microchip Technology Inc. ...

Page 23

... UART port. The key signals for the MCP2140-to-microcontroller interface are shown in Table 2-1. Further information on the Host Controller interface may be obtained from the MCP2140 data sheet (DS21790).  2004 Microchip Technology Inc. DS51487A-page 19 ...

Page 24

... Host Controller ready to receive data Carrier Detect. The state of this bit is communicated to the IrDA standard Primary device via the IrDA standard CD bit Carrier Present 0 = Carrier Present ST = Schmitt Trigger input with CMOS levels O = Output Description ® standard Primary  2004 Microchip Technology Inc. ...

Page 25

... Appendix C. “MCP2140 Connection Sequence Overview” shows the connection sequence between a Primary device and the MCP2140 (Secondary device). This connection sequence is shown at an overview level and does not show exact operation.  2004 Microchip Technology Inc. MCP2140 IR INTERFACE PINS Pin Pin ...

Page 26

... FIGURE 2-12: DS51487A-page 22 ® Microcontroller Functions MCP2140 RXPD WAVEFORM SHAPING CIRCUIT 100 R18 10 k TP1 R15 RXPDREF OPT RXPDREF R20 1 Q6 TP2 OPT RXPD RXPD R16 4.7 k R13 10 k RXD C9 (From Optical 47 pF Transceiver)  2004 Microchip Technology Inc. ...

Page 27

... If desired, the PIC18F1320 could be electrically removed, and the remaining MCP2140 circuitry could be interfaced to another system board for quick system validation. The PIC18F1320 can be electrically removed by either: 1. Physically removing the device. 2. Erasing the PIC18F1320’s program memory (after device reset, all pins are inputs).  2004 Microchip Technology Inc. DS51487A-page 23 ...

Page 28

... MCP2140 IrDA Standard Wireless Temp Sensor Demo Board NOTES: DS51487A-page 24  2004 Microchip Technology Inc. ...

Page 29

... Implementation”. The third relates to the pinout of transistor Q6 (MMUN2111LT1). An incorrect pinout was specified, so the device needs to be rotated 1 pin in the clockwise direction. Figure A-8 shows how this change will appear.  2004 Microchip Technology Inc. MCP2140 IrDA WIRELESS TEMPERATURE SENSOR DEMO BOARD USER’S GUIDE LAYER ORDER ® ...

Page 30

... MCP2140 IrDA Standard Wireless Temp Sensor Demo Board FIGURE A-2: MCP2140 IrDA BOARD SCHEMATIC - PAGE 1 DS51487A-page 26 ® STANDARD WIRELESS TEMPERATURE SENSOR DEMO  2004 Microchip Technology Inc. ...

Page 31

... FIGURE A-3: MCP2140 IrDA BOARD SCHEMATIC - PAGE 2  2004 Microchip Technology Inc. ® STANDARD WIRELESS TEMPERATURE SENSOR DEMO 2 3 DS51487A-page 27 ...

Page 32

... MCP2140 IrDA Standard Wireless Temp Sensor Demo Board FIGURE A-4: MCP2140 IrDA BOARD LAYOUT - TOP LAYER DS51487A-page 28 ® STANDARD WIRELESS TEMPERATURE SENSOR DEMO  2004 Microchip Technology Inc. ...

Page 33

... FIGURE A-5: MCP2140 IrDA BOARD LAYOUT - BOTTOM LAYER  2004 Microchip Technology Inc. ® STANDARD WIRELESS TEMPERATURE SENSOR DEMO DS51487A-page 29 ...

Page 34

... MCP2140 IrDA Standard Wireless Temp Sensor Demo Board FIGURE A-6: MCP2140 IrDA BOARD LAYOUT - GROUND LAYER DS51487A-page 30 ® STANDARD WIRELESS TEMPERATURE SENSOR DEMO  2004 Microchip Technology Inc. ...

Page 35

... FIGURE A-7: MCP2140 IrDA BOARD LAYOUT - POWER LAYER  2004 Microchip Technology Inc. ® STANDARD WIRELESS TEMPERATURE SENSOR DEMO DS51487A-page 31 ...

Page 36

... The last ECN relates to all transceiver circuits. Transistor Q6 was laid out with the wrong pinout. To correct for this, transistor Q6 needs to be rotated clockwise by 1 pin. Figure A-8 shows how to connect transistor Q6 on the PCB. FIGURE A-8: TRANSISTOR Q6 ECN DS51487A-page 32 R20 R13 U6 Q6 R16 R18 TP2 TP1  2004 Microchip Technology Inc. ...

Page 37

... Holder, Battery, 3-Cell, AAA, pc mount 1 JP1 Conn, Header, 2-Pos .100 Vert Tin 1 J1 Conn, Mod Jack ,6-6 R/A PCB 50AU  2004 Microchip Technology Inc. MCP2140 IrDA WIRELESS TEMPERATURE SENSOR DEMO BOARD USER’S GUIDE Description Yageo America Yageo America Panasonic ...

Page 38

... DS51487A-page 34 Description Mfgr. ® Vishay Panasonic Panasonic ® Vishay Panasonic Panasonic Kemet ® Agilent Technologies Yageo America Panasonic Part Number TFDU4100-TR3 ® ERJ-6ENF47R5V ERJ-6ENF14R0V T491B475K016AS C0603C104K3RACTU TFDU4300 ERJ-6ENF47R5V Application dependant C0603C104K3RACTU T491B475K016AS HSDL-3000#007 9C08052A6R80FGHFT C0603C474K8PACTU ECS-T1CY685R  2004 Microchip Technology Inc. ...

Page 39

... Send IAS Queries Open channel for data Normal Response Mode (NRM) Send Data or Status Send Data or Status Shutdown link No IR Activity (for 10 seconds)  2004 Microchip Technology Inc. MCP2140 IrDA WIRELESS TEMPERATURE SENSOR DEMO BOARD USER’S GUIDE ® STANDARD MCP2140 (Secondary Device) ...

Page 40

... MCP2140 IrDA Standard Wireless Temp Sensor Demo Board NOTES: DS51487A-page 36  2004 Microchip Technology Inc. ...

Page 41

... NOTE: 0x0D = Carriage Return, 0x0A = Line Feed ;  2004 Microchip Technology Inc. MCP2140 IrDA WIRELESS TEMPERATURE SENSOR DEMO BOARD USER’S GUIDE PIC18F1320 250 BYTE DATA TRANSMIT TABLE D’250’ ; the first byte is the byte count “12345678”, 0x0D, 0x0A “2BCDEFGH”, 0x0D, 0x0A “ ...

Page 42

... MCP2140 250 Byte Data Transmit Table NOTES:  2004 Microchip Technology Inc. DS51487A-page 38 ...

Page 43

... R13, R18, R16, R17, C9 and Q6 (which may then require R15 and R20). E.2 HIGHLIGHTS Diagrams included in this appendix: • Vishay TFDU 4300 implementation • Agilent HSDL 3000 implementation  2004 Microchip Technology Inc. MCP2140 IrDA WIRELESS TEMPERATURE SENSOR DEMO BOARD USER’S GUIDE ® STANDARD DS51487A-page 39 ...

Page 44

... Figure E-2 shows how to make this correction on the layout. FIGURE E-1: TFDU 4300 OPTICAL TRANSCEIVER ECN - SCHEMATIC VDD ECN FIGURE E-2: TFDU 4300 OPTICAL TRANSCEIVER ECN - LAYOUT DS51487A-page 40 ECN Blue wire Resistor R14 to C16 and C12 connection to V (via below DD R10)  2004 Microchip Technology Inc. ...

Page 45

... Figure E-4 shows how to make this correction on the layout. FIGURE E-3: HSDL 3000 OPTICAL TRANSCEIVER ECN - SCHEMATIC VDD ECN FIGURE E-4: HSDL 3000 OPTICAL TRANSCEIVER ECN - LAYOUT  2004 Microchip Technology Inc. ECN Blue wire HSDL 3000 Pin 5 at C20 connection to V (via at DD top of R18) ...

Page 46

... MCP2140 IrDA Standard Wireless Temp Sensor Demo Board NOTES: DS51487A-page 42  2004 Microchip Technology Inc. ...

Page 47

... For Pocket Application Note 926, “Programming the Pocket PC OS for Embedded IR Applications” (DS00926) • For Windows XP - Application Note 941, “Programming Windows Embedded IR Applications” (DS00941)  2004 Microchip Technology Inc. MCP2140 IrDA WIRELESS TEMPERATURE SENSOR DEMO BOARD USER’S GUIDE ® ...

Page 48

... Figure F-1. FIGURE F-1: The following procedure describes how to operate the “Transmit 250 Byte Data String“ program on the MCP2140 IrDA Standard Wireless Temperature Sensor Demo Board. DS51487A-page 44 MCP215XDEMO MAIN FORM  2004 Microchip Technology Inc. ...

Page 49

... To disconnect the IR link, tap the Disconnect button. The DSR and CTS LEDs will immediately turn off and the PHACT LED will turn on in about 10 seconds.  2004 Microchip Technology Inc. MCP215XDEMO TRACE BUFFER WINDOW AFTER RECEIVING 250 BYTE DATA STRING ...

Page 50

... PHACT LED will turn on in about 10 seconds. Note: Temperature value transmitted by the MCP2140 will be dependent on battery voltage (see Section 2.3.2.2 ““Transmit Temperature” Program Description”). DS51487A-page 46 MCP215XDEMO TRACE BUFFER WINDOW AFTER RECEIVING 250 BYTE DATA STRING Temp = 24 Temp = 24 Temp = 25 Temp = 24  2004 Microchip Technology Inc. ...

Page 51

... NOTES:  2004 Microchip Technology Inc. DS51487A-page 47 ...

Page 52

... Fax: 65-6334-8850 Taiwan - Kaohsiung Tel: 886-7-536-4816 Fax: 886-7-536-4817 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Taiwan - Hsinchu Tel: 886-3-572-9526 Fax: 886-3-572-6459  2004 Microchip Technology Inc. EUROPE Austria - Weis Tel: 43-7242-2244-399 Fax: 43-7242-2244-393 Denmark - Ballerup Tel: 45-4420-9895 Fax: 45-4420-9910 France - Massy Tel: 33-1-69-53-63-20 ...

Related keywords