background image

DS51748A-page ii

 

©

 2008 Microchip Technology Inc.

Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE

Microchip disclaims all liability

arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.

Trademarks

The Microchip name and logo, the Microchip logo, Accuron, 
dsPIC, K

EE

L

OQ

, K

EE

L

OQ

 logo, MPLAB, PIC, PICmicro, 

PICSTART, PRO MATE, rfPIC and SmartShunt are registered 
trademarks of Microchip Technology Incorporated in the 
U.S.A. and other countries.

FilterLab, Linear Active Thermistor, MXDEV, MXLAB, 
SEEVAL, SmartSensor and The Embedded Control Solutions 
Company are registered trademarks of Microchip Technology 
Incorporated in the U.S.A.

Analog-for-the-Digital Age, Application Maestro, CodeGuard, 
dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN, 
ECONOMONITOR, FanSense, In-Circuit Serial 
Programming, ICSP, ICEPIC, Mindi, MiWi, MPASM, MPLAB 
Certified logo, MPLIB, MPLINK, mTouch, PICkit, PICDEM, 
PICDEM.net, PICtail, PIC

32

 logo, PowerCal, PowerInfo, 

PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Total 
Endurance, UNI/O, 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.

© 2008, Microchip Technology Incorporated, Printed in the 
U.S.A., All Rights Reserved.

 Printed on recycled paper.

Note the following details of the code protection feature on Microchip devices:

Microchip products meet the specification contained in their particular Microchip Data Sheet.

Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the 
intended manner and under normal conditions.

There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our 
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data 
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.

Microchip is willing to work with the customer who is concerned about the integrity of their code.

Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not 
mean that we are guaranteeing the product as “unbreakable.”

Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.

Microchip received ISO/TS-16949:2002 certification for its worldwide 
headquarters, design and wafer fabrication facilities in Chandler and 
Tempe, Arizona; Gresham, Oregon and design centers in California 
and India. The Company’s quality system processes and procedures 
are for its PIC

®

 

MCUs and dsPIC

®

 DSCs, K

EE

L

OQ

®

 

code hopping 

devices, Serial EEPROMs, microperipherals, nonvolatile memory and 
analog products. In addition, Microchip’s quality system for the design 
and manufacture of development systems is ISO 9001:2000 certified.

Summary of Contents for PICDEM Touch Sense 2

Page 1: ...2008 Microchip Technology Inc DS51748A PICDEM Touch Sense 2 Demo Board User s Guide...

Page 2: ...p Technology Incorporated in the U S A All other trademarks mentioned herein are property of their respective companies 2008 Microchip Technology Incorporated Printed in the U S A All Rights Reserved...

Page 3: ...Application 2 1 Introduction to the Touch Interface 11 2 2 Individual Touch Sense Demonstrations 12 Chapter 3 Using the mTouch Sensing Solution 3 1 About the mTouch Sensing Solution 13 3 2 Using the...

Page 4: ...PICDEM Touch Sense 2 Demo Board User s Guide DS51748A page iv 2008 Microchip Technology Inc NOTES...

Page 5: ...ibes the diagnostic software and how to use it with the Touch Sense 2 Demo Board Chapter 4 Demo Board Hardware This chapter provides a functional overview of the Touch Sense 2 Demo Board and identifie...

Page 6: ...log A menu selection select Enable Programmer Quotes A field name in a window or dialog Save project before build Underlined italic text with right angle bracket A menu path File Save Bold characters...

Page 7: ...ion Device Data Sheets and Flash Programming Specifications Refer to the appropriate device data sheet for device specific information and specifications Also refer to the appropriate device Flash Pro...

Page 8: ...ication whenever there are changes updates revisions or errata related to a specified product family or development tool of interest To register access the Microchip web site at www microchip com clic...

Page 9: ...E Technical Support Customers should contact their distributor representative or field application engineer FAE for support Local sales offices are also available to help customers A listing of sales...

Page 10: ...PICDEM Touch Sense 2 Demo Board User s Guide DS51748A page 6 2008 Microchip Technology Inc NOTES...

Page 11: ...d power to the board no additional external power supply is needed For independent operation the demo board may be disconnected from the PC and powered at test points for independent functionality The...

Page 12: ...the CD ROM drive The installation process starts automatically The process pauses for user responses to accept the Microchip software licenses and to confirm the installation directories respond appr...

Page 13: ...m to top and back again No other LEDs should be lit At the same time a sequence of pop up balloons in the system tray lower right of desktop should appear stating that 1 new hardware has been found 2...

Page 14: ...PICDEM Touch Sense 2 Demo Board User s Guide DS51748A page 10 2008 Microchip Technology Inc NOTES...

Page 15: ...the fixed current source will now charge the circuit to a lower voltage This change is how the microcontroller detects a touch event A more detailed description of the CTMU s operation is provided Sec...

Page 16: ...an 8 point compass rose of red arrows surrounding a white circle Above this is a second compass rose with white arrows instead of red Touching any one of the arrows in the keypad causes the correspon...

Page 17: ...se 2 Demo Board The mTouch sensing solution can also be used for development of custom applications The operation of the mTouch sensing solution described here is specific to its use with the Touch Se...

Page 18: ...and 5 columns C1 through C5 When the directional keypad is selected four status displays are shown north south east and west For the touch slide sensor three displays are shown top bottom and power An...

Page 19: ...orithms that use scaled values of the raw A D reading to improve averaging and overall performance of the hardware 3 2 2 1 GLOBAL DIAGNOSTIC WINDOW SETTINGS In the Diagnostic Tool window users can cha...

Page 20: ...s is enabled by default Use Saved Values enables the values entered into the mTouch sensing solution to be sent to and used by the demo board via USB The trip and guardband values set by the mTouch se...

Page 21: ...ure 3 6 that displays a plot of the channel s conversion value versus time Plotting of data begins immediately when the Chart R1 is pressed and continues to plot as long as the Run checkbox in the Plo...

Page 22: ...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 Charting window Instead the window becomes...

Page 23: ...C based interface application The Touch Sense application uses the microcontroller s Charge Time Measurement Unit CTMU and all 16 of the microcontroller s A D input channels to monitor the touch inter...

Page 24: ...he demo board s soft power switch S20 this is an interleaved capacitive touch pad similar to those in the numeric keypad When power is applied to the Touch Sense 2 Demo Board the microcontroller immed...

Page 25: ...umeric keypad interface a separate switch S13 not shown in the figure allows users to connect or disconnect the ICD lines from the scan lines While this is not strictly necessary it does help to reduc...

Page 26: ...Programmer Debugger module and the MPLAB REAL ICE module Switch S11 to the left of the header connects the PGD and PGC lines of the interface with columns 3 and 4 of the keypad which are also used as...

Page 27: ...tly clean the surface with a moistened not wet soft cloth Only use water for cleaning do not use glass cleaner or commercial solvents Check the bar graph settings for the sensors in the mTouch sensing...

Page 28: ...PICDEM Touch Sense 2 Demo Board User s Guide DS51748A page 24 2008 Microchip Technology Inc NOTES...

Page 29: ...emo Board Schematics The following schematic diagrams are included in this appendix Programmer Debugger Figure A 1 Microcontroller and Associated Components Figure A 2 Keypad and Slider Touch Switches...

Page 30: ...CDEM Touch Sense 2 Demo Board User s Guide DS51748A page 26 2008 Microchip Technology Inc FIGURE A 1 TOUCH SENSE 2 DEMO BOARD SCHEMATIC SHEET 1 MICROCONTROLLER AND ASSOCIATED COMPONENTS U1 PI2FJ256GB1...

Page 31: ...Demo Board Schematics 2008 Microchip Technology Inc DS51748A page 27 FIGURE A 2 TOUCH SENSE 2 DEMO BOARD SCHEMATIC SHEET 2 KEYPAD AND SLIDER TOUCH SWITCHES AND ASSOCIATED LEDs...

Page 32: ...2 Demo Board User s Guide DS51748A page 28 2008 Microchip Technology Inc FIGURE A 3 TOUCH SENSE 2 DEMO BOARD SCHEMATIC SHEET 3 DIRECTIONAL TOUCH SENSOR AND LEDs EXTERNAL CONNECTIONS AND POWER SUPPLY O...

Page 33: ...EDs 20 M Microchip Internet Web Site 4 mTouch Sensing Solution 13 Board Window 14 Diagnostic Tool Window 14 Global Settings 15 Introduction 13 Sensor Charting and Logging 17 Sensor Setup 16 N Numeric...

Page 34: ...24 2334 2393 China Shenzhen Tel 86 755 8203 2660 Fax 86 755 8203 1760 China Wuhan Tel 86 27 5980 5300 Fax 86 27 5980 5118 China Xiamen Tel 86 592 2388138 Fax 86 592 2388130 China Xian Tel 86 29 8833 7...

Reviews: