DM183026 Microchip Technology, DM183026 Datasheet

KIT EVALUATION PIC16F/PIC24F

DM183026

Manufacturer Part Number
DM183026
Description
KIT EVALUATION PIC16F/PIC24F
Manufacturer
Microchip Technology
Series
mTouch™r
Datasheet

Specifications of DM183026

Sensor Type
Touch, Capacitive
Embedded
Yes, Other
Utilized Ic / Part
PIC16F727, PIC24FJ128GB106
Processor To Be Evaluated
PIC16F, PIC24F
Interface Type
USB
Silicon Manufacturer
Microchip
Kit Application Type
Sensing - Touch / Proximity
Application Sub Type
Capacitive Touch
Kit Contents
6x Brds, Analyser, Cable, CD
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Voltage - Supply
-
Interface
-
Sensitivity
-
Sensing Range
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DM183026
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
DM183026-2
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
DM183026-2
Manufacturer:
MICROCHIP
Quantity:
12 000
mTouch™ Capacitive Evaluation Kit
User’s Guide
© 2009 Microchip Technology Inc.
DS41385A

Related parts for DM183026

DM183026 Summary of contents

Page 1

... Capacitive Evaluation Kit © 2009 Microchip Technology Inc. User’s Guide DS41385A ...

Page 2

... PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance, TSHARC, WiperLock and ZENA 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

... Interfacing the Plug-in Boards to the CAP TOUCH Evaluation Boards ........ 27 Chapter 5. Troubleshooting 5.1 Highlights ...................................................................................................... 29 5.2 Common Issues ........................................................................................... 29 Appendix A. Evaluation Board Schematics............................................................... 31 Appendix B: mTouch™ CSM State Diagrams .......................................................... 35 Index ............................................................................................................................. 39 Worldwide Sales and Service .................................................................................... 40 © 2009 Microchip Technology Inc. mTouch™ CAPACITIVE EVALUATION Table of Contents KIT USER’S GUIDE DS41385A-page iii ...

Page 4

... Capacitive Evaluation Kit User’s Guide NOTES: DS41385A-page iv © 2009 Microchip Technology Inc. ...

Page 5

... Chapter 5. Troubleshooting – This chapter provides troubleshooting tips for commonly encountered issues. • Appendix A. “Evaluation Board Schematics” – This appendix provides detailed schematic diagrams of the evaluation board. © 2009 Microchip Technology Inc. mTouch™ CAPACITIVE EVALUATION Preface NOTICE TO CUSTOMERS KIT USER’ ...

Page 6

... Optional arguments mcc18 [options] file [options] Choice of mutually exclusive errorlevel {0|1} arguments selection Replaces repeated text var_name [, var_name...] Represents code supplied by void main (void) user { ... } © 2009 Microchip Technology Inc. Examples ® IDE User’s Guide ...

Page 7

... Assembler, Linker and Utilities for PIC24 MCUs and dsPIC User’s Guide (DS51317) This document helps you use Microchip Technology’s language tools for PIC24F devices based on GNU technology. The language tools discussed are the MPLAB ASM30 Assembler, MPLAB LINK30 Linker, MPLAB LIB30 Archiver/Librarian and other 16-bit device utilities. ® ...

Page 8

... MPLAB SIM simulator, as well as general editing and debugging features. • Programmers – The latest information on Microchip programmers. These include the MPLAB PM3 device programmer and the PICSTART development programmers. DS41385A-page 4 ® ® Plus and PICkit 1 and 2 © 2009 Microchip Technology Inc. ...

Page 9

... Local sales offices are also available to help customers. A listing of sales offices and locations is included in the back of this document. Technical support is available through the web site at: http://support.microchip.com DOCUMENT REVISION HISTORY Revision A (April 2009) • Initial Release of this Document © 2009 Microchip Technology Inc. Preface DS41385A-page 5 ...

Page 10

... Capacitive Evaluation Kit User’s Guide NOTES: DS41385A-page 6 © 2009 Microchip Technology Inc. ...

Page 11

... Chapter 1. Introduction to the Evaluation Board Thank you for purchasing Microchip Technology’s mTouch™ Capacitive Evaluation Kit. These evaluation boards are intended to introduce and demonstrate the possibilities for capacitive touch sense applications on the PIC16F and PIC24F microcontroller platforms. This chapter introduces the evaluation kit and provides an overview of its features. ...

Page 12

... To communicate with and program the mTouch Capacitive Evaluation Kit Boards, the following hardware and software requirements must be met: • PC-compatible system with CD-ROM drive • One available USB port on the powered USB hub ® • Microsoft Windows DS41385A-page 8 KIT CONTENTS ® XP SP2 or Windows Vista (32-bit) © 2009 Microchip Technology Inc. ...

Page 13

... If you do not see these messages and the evaluation board does not work, try unplugging and reconnecting the USB cable. If this does not work, refer to Chapter 5. “Troubleshooting”. © 2009 Microchip Technology Inc. Introduction to the Evaluation Board DS41385A-page 9 ...

Page 14

... Capacitive Evaluation Kit User’s Guide NOTES: DS41385A-page 10 © 2009 Microchip Technology Inc. ...

Page 15

... The PC side application accompanying the mTouch Capacitive Evaluation Kit can be used to change the sensitivity of the sensors by writing trip point information back to the board. This is discussed in more detail in Section 3.2.2.1 “Global Diagnostic Window Settings”. © 2009 Microchip Technology Inc. mTouch™ CAPACITIVE EVALUATION KIT USER’S GUIDE DS41385A-page 11 ...

Page 16

... When the key numbered ‘0’ is pressed, the LED D1 will be lit. Similarly, when the keys numbered ‘1’ to ‘11’ are pressed, the LEDs D2 through D12 will be lit, respectively. Here, one LED will be lit for every press of the key on the plug-in board. DS41385A-page 12 DEFAULT PLUG-IN CHANNELS FOR 8-KEY PLUG-IN BOARD © 2009 Microchip Technology Inc. ...

Page 17

... Readme.txt file. Note: Plugging a sensor board in, while a motherboard is running, may require resetting the touch algorithm, most easily done by cycling power. © 2009 Microchip Technology Inc. The Demonstration Application DEFAULT PLUG-IN CHANNELS FOR 4-CHANNEL SLIDER PLUG-IN BOARD ...

Page 18

... Capacitive Evaluation Kit User’s Guide FIGURE 2-3: FIGURE 2-4: DS41385A-page 14 PLUG IN THE SENSORS BEFORE POWERING BOARD PLUG IN POWER AFTER SYSTEM IS CONFIGURED © 2009 Microchip Technology Inc. ...

Page 19

... Alternatively, the program may be launched by clicking on the Start button and then Programs > Microchip > mTouch. The application launches with two windows, the Board Selection window and Main Bar Graph Diagnostic Tool window, as shown in Figure 3-1. © 2009 Microchip Technology Inc. mTouch™ CAPACITIVE EVALUATION KIT USER’S GUIDE DS41385A-page 15 ...

Page 20

... USB (see Figure 3-2). FIGURE 3-2: DS41385A-page 16 THE mTouch™ SENSING SOLUTION AT START- address. For the PIC24F THE BOARD WINDOW (mTouch™ SENSING SOLUTION 2 TAB SHOWN) © 2009 Microchip Technology Inc. ...

Page 21

... In the Diagnostic Tool window, certain global settings can be changed for all sensors, and the way the evaluation board and the diagnostic software interact. These features are available through the Settings dialog box, which opens when Settings in the mTouch Sensing Solution Diagnostic Tool window is selected (Figure 3-3). © 2009 Microchip Technology Inc. DS41385A-page 17 ...

Page 22

... Enter for the value to take effect. Note that changing this setting overrides any auto-scaling that has been performed. DS41385A-page 18 DIAGNOSTIC TOOL WINDOW FOR mTouch™ SENSING SOLUTION WITH SUCCESSFUL USB CONNECTION (MATRIX KEY PLUG-IN BOARD AREA SELECTED) GLOBAL SETTINGS DIALOG BOX © 2009 Microchip Technology Inc. ...

Page 23

... Note 1: The Use Saved Values radio button must be set for these values to be valid and used by the evaluation board. See Section 3.2.2.1 “Global Diagnostic Window Settings” for more information. © 2009 Microchip Technology Inc. DS41385A-page 19 ...

Page 24

... As with the other set points, values for LL and UL are valid from 0 to 65,535 (provided, of course, that UL is always greater than LL). The AutoScale R1 button automatically selects the minimum and maximum values to be displayed for the bar graph. FIGURE 3-5: DS41385A-page 20 SENSOR DISPLAY SETUP DIALOG BOX © 2009 Microchip Technology Inc. ...

Page 25

... Just like the sensor Setup dialog boxes, clicking on another channel while a Data Charting window is open does not close the original window or open a second Data Charting window. Instead, the window becomes the Data Charting window for the channel most recently selected. FIGURE 3-6: © 2009 Microchip Technology Inc. DATA CHARTING WINDOW DS41385A-page 21 ...

Page 26

... Capacitive Evaluation Kit User’s Guide NOTES: DS41385A-page 22 © 2009 Microchip Technology Inc. ...

Page 27

... CTMU can determine when a touch event occurs. The sensors on the CAP TOUCH – CTMU Evaluation Board comprise carefully placed circuit traces and capacitive touch pads. © 2009 Microchip Technology Inc. mTouch™ CAPACITIVE EVALUATION KIT USER’S GUIDE ...

Page 28

... Slider Plug-in Board 8-Channel Direct Key Slider Plug-in Board PLUG-IN BOARDS DS41385A-page C™ PIC16F727 ICSPDAT ICSPCLK MCLR GPIO J4 CPS15 Vss CAP TOUCH – CSM EVALUATION BOARD by Q1, an MCP1702 BUS 16 LEDs (D1-D16) Sensor Boards USB mini-B Receptacle © 2009 Microchip Technology Inc. ...

Page 29

... Figure 4-4). FIGURE 4-3: CAP TOUCH – CTMU EVALUATION BOARD COMPONENT LAYOUT (TOP SIDE RF0 RF1 RF3 RF4 C18 © 2009 Microchip Technology Inc. Evaluation Board Hardware 2 C (transferred through USB by the PICkit Serial R16 R15 J1 R14 C13 ...

Page 30

... DS41385A-page 26 Component to the Evaluation Board DD DC required by the demo board. ® microcontroller. These LEDs are lit based on from V to the regulated BUS © 2009 Microchip Technology Inc. ...

Page 31

... Download the Hex file onto the evaluation board using the MPLAB ICD 2 interface. 6. Check the working of the respective plug-in boards and view their output through the 16 LEDs on the evaluation board. © 2009 Microchip Technology Inc. Evaluation Board Hardware ® ICD programmer interface through ...

Page 32

... Debugger mode is enabled in the MPLAB DS41385A-page 28 ICSP™ J1 Connector ® MPLAB ICD 2 REAL ICE™ IN-CIRCUIT EMULATOR BOARD A to mini–B USB Cable J5 USB Cable Workstation ® IDE. © 2009 Microchip Technology Inc. ...

Page 33

... The board’s edge connector will add some additional parasitic capacitance to the system. 5. Touching the solder connections can create a very strong coupling to the sensor and trigger buttons. © 2009 Microchip Technology Inc. mTouch™ CAPACITIVE EVALUATION KIT USER’S GUIDE , + present on the USB connection. ...

Page 34

... Capacitive Evaluation Kit User’s Guide NOTES: DS41385A-page 30 © 2009 Microchip Technology Inc. ...

Page 35

... Microcontroller, Touch Key Plug-in LEDs and Associated Components • Figure A-2: “mTouch™ – CSM Evaluation Board schematic” – Microcontroller, Touch Key Plug-in LEDs and Associated Components © 2009 Microchip Technology Inc. mTouch™ CAPACITIVE EVALUATION KIT USER’S GUIDE ...

Page 36

... Capacitive Evaluation Kit User’s Guide FIGURE A-1: mTouch™ – CTMU EVALUATION BOARD SCHEMATIC DS41385A-page 32 © 2009 Microchip Technology Inc. ...

Page 37

... FIGURE A-2: mTouch™ – CSM EVALUATION BOARD SCHEMATIC © 2009 Microchip Technology Inc. Evaluation Board Schematics DS41385A-page 33 ...

Page 38

... Capacitive Evaluation Kit User’s Guide NOTES: DS41385A-page 34 © 2009 Microchip Technology Inc. ...

Page 39

... FIGURE B-1: mTouch™ – CSM STATE DIAGRAMS Start – main.c InitializeSystem() No CalculateButton? Yes CapSenseStateMachine() ButtonDecode() © 2009 Microchip Technology Inc. mTouch™ CAPACITIVE EVALUATION KIT USER’S GUIDE Start – isr() Service I Interrupt for mTouch™ GUI Check for Timer1 overflow ...

Page 40

... Capacitive Evaluation Kit User’s Guide Yes InitializeSystem() Yes InitializeSystem() DS41385A-page 36 Start – CapSenseStateMachine() Correct, Scale, and Cap CurrentSample Is ReleaseAverage[ButtonIndex] outside of ReleaseAverageGuardBand SupplyVoltage outside of VoltageGuardBand? No Calculate PercentReleased State Machine Design (next page) Return © 2009 Microchip Technology Inc. ...

Page 41

... ReleaseDebounce: Start Debounce counter PercentReleased < PercentReleased > OffThreshold OffThreshold PressedTime < ButtonTimeout Pressed: Start ButtonTimout counter © 2009 Microchip Technology Inc. mTouch™ CSM State Diagrams SetSampleTime: StartUpDelay MeasureSamplePeriod complete for each Button and once for each Button in average in ReleasedAverage 1/2 StartUpDelay is timing StartUpDelay complete Debounce counter > ...

Page 42

... Capacitive Evaluation Kit User’s Guide No Turn LED1 Off No Turn LED2 Off No Turn LED16 Off DS41385A-page 38 Start – ButtonDecode() Yes ButtonState[Button0] > Turn LED1 On Released Yes ButtonState[Button1] > Turn LED2 On Released ETC... Yes ButtonState[ButtonF] > Turn LED16 On Released Return © 2009 Microchip Technology Inc. ...

Page 43

... Sensing Solution Board Window .................................................. 16 Diagnostic Tool ................................................. 15 Diagnostic Tool Window ................................... 17 Global Settings ................................................. 17 Individual Sensor Display Setup ....................... 19 © 2009 Microchip Technology Inc. mTouch™ CAPACITIVE EVALUATION KIT USER’S GUIDE Index Introduction ....................................................... 15 Sensor Data Charting and Logging................... 21 Using the mTouch™ Sensing Solution Diagnostic Tool ...

Page 44

... Fax: 886-3-6578-370 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 © 2009 Microchip Technology Inc. EUROPE Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 France - Paris Tel: 33-1-69-53-63-20 ...

Related keywords