Microchip Technology PICDEM Touch Sense 2 User Manual
Microchip Technology PICDEM Touch Sense 2 User Manual

Microchip Technology PICDEM Touch Sense 2 User Manual

Demo board

Advertisement

Quick Links

PICDEM™ Touch Sense 2
Demo Board User's Guide
© 2008 Microchip Technology Inc.
DS51748A

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PICDEM Touch Sense 2 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Microchip Technology PICDEM Touch Sense 2

  • Page 1 PICDEM™ Touch Sense 2 Demo Board User’s Guide © 2008 Microchip Technology Inc. DS51748A...
  • Page 2 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.
  • Page 3: Table Of Contents

    4.1 Application Functional Overview ..............19 4.2 Board Components ..................21 Chapter 5. Troubleshooting 5.1 Highlights ...................... 23 5.2 Common Issues ................... 23 Appendix A. Demo Board Schematics............... 25 Index ..........................29 Worldwide Sales and Service ..................30 © 2008 Microchip Technology Inc. DS51748A-page iii...
  • Page 4 PICDEM Touch Sense 2 Demo Board User’s Guide NOTES: © 2008 Microchip Technology Inc. DS51748A-page iv...
  • Page 5: Preface

    Select the Help menu, and then Topics to open a list of available online help files. INTRODUCTION This chapter contains general information that will be useful to know before you use the PICDEM Touch Sense 2 Demo Board. Items discussed in this chapter include: • Document Layout • Conventions Used in this Guide •...
  • Page 6 PICDEM Touch Sense 2 Demo Board User’s Guide CONVENTIONS USED IN THIS GUIDE This manual uses the following documentation conventions: DOCUMENTATION CONVENTIONS Description Represents Examples Arial font: ® Italic characters Referenced books MPLAB IDE User’s Guide Emphasized text ...is the only compiler...
  • Page 7 Preface RECOMMENDED READING This user’s guide describes how to use the PICDEM Touch Sense 2 Demo Board. Other useful documents are listed below. The following Microchip documents are avail- able and recommended as supplemental reference resources. Readme Files For the latest information on using other tools, read the tool-specific Readme files in ®...
  • Page 8 PICDEM Touch Sense 2 Demo Board User’s Guide THE MICROCHIP WEB SITE Microchip provides online support via our web site at www.microchip.com. This web site is used as a means to make files and information easily available to customers. Accessible by using your favorite Internet browser, the web site contains the following information: •...
  • Page 9 Technical support is available through the web site at: http://support.microchip.com DOCUMENT REVISION HISTORY Revision A (June 2008) • Initial Release of this Document © 2008 Microchip Technology Inc. DS51748A-page 5...
  • Page 10 PICDEM Touch Sense 2 Demo Board User’s Guide NOTES: © 2008 Microchip Technology Inc. DS51748A-page 6...
  • Page 11: Chapter 1. Introduction To The Demo Board

    • Initial Board Setup OVERVIEW The PICDEM Touch Sense 2 Demo Board provides a simple platform for developing a variety of capacitive touch sense applications. Despite a simple and low part-count design, the Touch Sense 2 board shows how to implement USB-enabled touch applications with multiple outputs using a single microcontroller.
  • Page 12: Initial Board Setup

    PICDEM Touch Sense 2 Demo Board User’s Guide INITIAL BOARD SETUP With its pre-installed demo application, the PICDEM Touch Sense 2 Demo Board is designed to be used straight out of the box. Except for a single connection to a computer, no additional hardware or configuration is necessary.
  • Page 13 If you do not see these messages and the demo board does not work, try unplugging and reconnecting the USB cable. If this does not work, refer to Chapter 5. “Troubleshooting”. © 2008 Microchip Technology Inc. DS51748A-page 9...
  • Page 14 PICDEM Touch Sense 2 Demo Board User’s Guide NOTES: © 2008 Microchip Technology Inc. DS51748A-page 10...
  • Page 15: Chapter 2. The Demonstration Application

    4. “Soft” Power Control A more detailed description of the Touch Sense 2 Demo Board’s operation is provided in Chapter 4. “Demo Board Hardware”. FIGURE 2-1: TOUCH SENSE AREAS ON THE TOUCH SENSE 2 BOARD Programmer © 2008 Microchip Technology Inc. DS51748A-page 11...
  • Page 16: Individual Touch Sense Demonstrations

    PICDEM Touch Sense 2 Demo Board User’s Guide 2.1.1 Touch Sensitivity The response of the sensor to fingertip touch is influenced by many factors: touch areas, voltage and current levels, ambient humidity, static buildup, and so on. Most of these factors have been accounted for in designing the demo application firmware, and are based on typical environmental values, as well as certain assumed constants (e.g.,...
  • Page 17: Chapter 3. Using The Mtouch™ Sensing Solution

    USING THE mTOUCH SENSING SOLUTION Before starting the mTouch sensing solution, be sure that the PICDEM Touch Sense 2 Demo Board is connected to a USB port on a personal computer (or a USB hub connected to the computer), and that the demo board is operating normally.
  • Page 18 PICDEM Touch Sense 2 Demo Board User’s Guide 3.2.1 The Board Window The smaller of the two windows is the Board window. This window is used to select the Microchip hardware application to be used with the diagnostic tool, and which subsystem is to be examined.
  • Page 19 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-4). FIGURE 3-4: GLOBAL SETTINGS DIALOG BOX © 2008 Microchip Technology Inc. DS51748A-page 15...
  • Page 20 PICDEM Touch Sense 2 Demo Board User’s Guide The global limit area allows the minimum and maximum values for all of the bar graphs to be globally set manually. The values must be in the range from 0 to 65535. Enter a value in the text box and press <Enter>...
  • Page 21 When the checkbox is selected, a dialog pop-up appears to confirm the file name (generally, <channel-name>.txt) and working directory (C:\Program Files\ Microchip\mTouch2). Data is logged to the file at the same rate as it is plotted (5 samples per second). © 2008 Microchip Technology Inc. DS51748A-page 17...
  • Page 22 PICDEM Touch Sense 2 Demo Board User’s Guide 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 the Charting window for the channel most recently selected.
  • Page 23: Chapter 4. Demo Board Hardware

    PICDEM™ TOUCH SENSE 2 DEMO BOARD USER’S GUIDE Chapter 4. Demo Board Hardware This chapter provides a functional overview of the PICDEM Touch Sense 2 Demo Board and identifies the major hardware components. Topics covered include: • Application Functional Overview •...
  • Page 24 PICDEM Touch Sense 2 Demo Board User’s Guide FIGURE 4-2: TOUCH SENSE 2 DEMO BOARD, WITH TOP ACRYLIC COVER REMOVED TO SHOW SENSORS Nine of the A/D channels are used to monitor the numeric keypad switches (S1 through S12 and S21 through S27), arranged in a 4x5 array. Each “switch” is composed of interleaved conductors from two channels.
  • Page 25: Board Components

    Numeric Keypad Area – Sensors on Front of Board (S1-12, S21-28, D1-10, D28-37) Touch Slider Area – Sensor on Front of Board (S14, D12-17, D39-64) Power Touch Switch – Sensor on Front of Board (S20, D65) © 2008 Microchip Technology Inc. DS51748A-page 21...
  • Page 26 PICDEM Touch Sense 2 Demo Board User’s Guide 4.2.1 Components The components listed here (in order of their reference tags in Figure 4-3) are the key components of the application side of the Touch Sense 2 Demo Board: 1. PIC24FJ256GB110 Microcontroller (U1): This provides the processing power for the Touch Sense demo applications.
  • Page 27: Chapter 5. Troubleshooting

    Standby mode and then powered up using the power control. In this case, disconnect the board and reconnect after 5 to 10 seconds. © 2008 Microchip Technology Inc. DS51748A-page 23...
  • Page 28 PICDEM™ Touch Sense 2 Demo Board User’s Guide NOTES: © 2008 Microchip Technology Inc. DS51748A-page 24...
  • Page 29: Appendix A. Demo 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, and Associated LEDs • Figure A-3: Directional Touch Sensor and LEDs, External Connections and Power Supply © 2008 Microchip Technology Inc. DS51748A-page 25...
  • Page 30 PICDEM Touch Sense 2 Demo Board User’s Guide FIGURE A-1: TOUCH SENSE 2 DEMO BOARD SCHEMATIC, SHEET 1: MICROCONTROLLER AND ASSOCIATED COMPONENTS © 2008 Microchip Technology Inc. DS51748A-page 26...
  • Page 31 Demo Board Schematics FIGURE A-2: TOUCH SENSE 2 DEMO BOARD SCHEMATIC, SHEET 2: KEYPAD AND SLIDER TOUCH SWITCHES AND ASSOCIATED LEDs © 2008 Microchip Technology Inc. DS51748A-page 27...
  • Page 32 PICDEM Touch Sense 2 Demo Board User’s Guide FIGURE A-3: TOUCH SENSE 2 DEMO BOARD SCHEMATIC, SHEET 3: DIRECTIONAL TOUCH SENSOR AND LEDs, EXTERNAL CONNECTIONS AND POWER SUPPLY © 2008 Microchip Technology Inc. DS51748A-page 28...
  • Page 33: Index

    Sensing Solution ........13 WWW Address............4 Board Window ..........14 Diagnostic Tool Window ........14 Global Settings ..........15 Introduction ............13 Sensor Charting and Logging ......17 Sensor Setup ............ 16 © 2008 Microchip Technology Inc. DS51748A-page 29...
  • Page 34: Worldwide Sales And Service

    Fax: 86-592-2388130 Fax: 886-2-2508-0102 Toronto China - Xian Thailand - Bangkok Mississauga, Ontario, Tel: 86-29-8833-7252 Tel: 66-2-694-1351 Canada Fax: 86-29-8833-7256 Fax: 66-2-694-1350 Tel: 905-673-0699 China - Zhuhai Fax: 905-673-6509 Tel: 86-756-3210040 Fax: 86-756-3210049 01/02/08 © 2008 Microchip Technology Inc. DS51748A-page 30...

Table of Contents