Go to GlobalSpec.com Home
Free Registration 
Download Engineering Toolbar
GlobalSpec Home
Find:      Advanced Search >>
Newsletter FREE GlobalSpec e-Newsletters
Receive the latest news, trends, and technology relevant to your work.
(See Titles)
Software Handling for Capacitive Sensing
Find Products & Suppliers related to
Software Handling for Capacitive Sensing
 
Research
Software Handling for Capacitive Sensing
From ww1.microchip.com

AN1103 Software Handling for Capacitive Sensing Initialization Author: Tom Perme Microchip Technology Inc. To begin, the hardware must be properly initialized. A detailed depiction of the proper settings for the PIC16F88X family is shown in Appendix A: “Register INTRODUCTION Settings for the PIC16F88X Family”. The different families of parts may have slightly different register This application note describes various ways of detect- setting values, but the key bits and signal paths are to ing button presses using capacitive sensing. It be set the same. Therefore, Appendix A: “Register assumes general knowledge of the sensing process, Settings for the PIC16F88X Family” may be used as and it is suggested that AN1101, “Introduction to a guideline for which bits to set in the other families of Capacitive Sensing” be read prior to this application parts where differences in registers occur. note in order to understand the hardware concepts. Below is a short checklist to ensure everything is set Some capacitive sensing solutions on the market offer properly: only a “black box” approach to capacitive sensing, where an IC is purchased and it signals button presses with • Port Direction and Analog/Digital Selection limited configurability. Microchip’s capacitive sensing • Oscillator Signal Paths Enabled solution offers the utmost in flexibility because the soft- • Enable Timers and Set Timer0 Prescalar ware routines to detect a button press can be completely • Enable Interrupts user-written. This is not to say the user must develop their own software routines as Microchip provides Servicing Interrupts capacitive sensing routines which may be used to get started immediately with your capacitive sensing The capacitive sensing is interrupt-based on the solution. Timer0 interrupt signaled by the flag, T0IF. The first thing the Interrupt Service Routine (ISR) should do is INTRODUCTION TO SOFTWARE check if the flagging interrupt is a Timer0 interrupt or another interrupt. If it is a Timer0 interrupt, then the All of the detection schemes described operate on the capacitive sensing must be serviced. same fundamental principle that a drop in frequency If another interrupt vectors program flow to the ISR, the count from the running average indicates a button ISR should service that interrupt, and at the end of the press. The basic physical process to scan buttons is to interrupt routine, it must check that Timer0 did not roll set an oscillator, sensitive to capacitance, to oscillate over during the ISR. If it did, the T0IF flag will be set, and on a button pad for a fixed time period. After the fixed the sample it represents should be assumed as bad. period, measure the frequency and check if the T0IF should then be cleared and the timers restarted to frequency is different than normal. Then, move the take another sample. The sample is bad because the oscillator to the next button pad to scan. Scanning fixed period for measurement, based on Timer0, numerous buttons is accomplished sequentially. becomes variable if not serviced immediately. There are two primary pieces of code which a user must The

 


Products & Services
Fuses protect electrical devices and components from overcurrents and short circuits that occur in improperly operating circuits.
Charge and capacitive signal conditioning modules or systems amplify, attenuate, filter and/or convert a charge signal from an accelerometer, load cell, pressure transducer, displacement transducer or other type of capacitive sensor.
Coordinating measuring machine (CMM) probes are transducers that convert physical measurements into electrical signals, using various measuring systems within the probe structure.
Electrical capacitance sensors detect and measure capacitance, the charge storage capacity of an electronic component.
Capacitive linear position sensors are devices that sense position / displacement using capacitance technology.
Back to Top

Product Announcements
Mouser Electronics, Inc. - Microchip Technology’s PICDEM™ Touch Sense 1 Board
Mouser Electronics, Inc., known for its rapid introduction of the newest products, today announced it is stocking thePICDEM™ Touch Sense 1 Demo Board (Part # DM164125) from Microchip Technology... (read more)
Digi-Key Corporation - Mircrochip PICDEM™ Touch Sense 1 at Digi-Key
From Digi-Key, Microchips touch sensing sensing is fast becoming an alternative to traditional push-button user interfaces, because it requires no mechanical movement, and enables a completely sealed... (read more)
Mouser Electronics, Inc. - Cypress CapSense Express™ Touch Sensing Controller
Mouser Electronics, known for its rapid introduction of the newest products, today announced it is stocking the CapSense Express™ Touch Sensing Controller from Cypress Semiconductor, a leading... (read more)
Mouser Electronics, Inc. - Microchip Technology’s PIC32 Family
Mouser Electronics, Inc., known for its rapid availability and introduction of the newest products, today announced it is stocking the PIC32 family of 32-bit microcontrollers (MCUs) from Microchip... (read more)
ACCES I/O Products, Inc. - Model 104-IIRO-8, 8-Channel PC/104 Utility Board
ACCES I/O Products, Inc. introduces its Model 104-IIRO-8, a low cost eight-channel PC/104 utility board featuring change-of-state detection and 60V optical isolation on the input lines, and standard... (read more)
Loadstar Sensors, Inc. - iLoad TR Digital USB Load Cell
The iLoad TR Digital USB load cell is based on our award winning capacitive technology. In addition, this family is designed for applications requiring reduced sensitivity to off-center loading. These... (read more)
Digi-Key Corporation - Cypress Touch Sensing Controller at Digi-Key
From Digi-Key, the CapSense Express Touch Sensing Controller, supported by PSoC Express™ Visual Embedded System Design Tool and the CapSense Express Configuration Tool, supports up to ten... (read more)
Mouser Electronics, Inc. - Freescale’s DEMOACKIT Evaluation System
Mouser Electronics, Inc., known for its rapid availability and introduction of the newest products, today announced it is now stocking the DEMOACKIT Evaluation System for the Flexis™ AC Series... (read more)
Back to Top

Topics of Interest
AN1104 Capacitive Multibutton Configurations inputs. The third approach creates an expandable Author: Keith Curtis system, which relies on multiplexing additional Microchip Technology Inc. sensors... (Read More)
AN576 Techniques to Disable Global Interrupts ing this instruction, the program would complete execu- tion of this instruction, and then immediately branch to Author: Mark Palmer the user’s interrupt... (Read More)
AN1081 Interfacing a 4x4 Matrix Keypad with an 8-Bit GPIO Expander • I/O Direction Register (IODIR): The IODIR Author: Mike Curran register controls the direction of the port pins. A Microchip... (Read More)
AN1102 Layout and Physical Design Guidelines for Capacitive Sensing FIGURE 1: EXAMPLE PAD SIZES AND Author: Tom Perme SHAPE Microchip Technology Inc. 0.500 x 0.500 INTRODUCTION (12,7 x 12,7) This... (Read More)
AN1101 Introduction to Capacitive Sensing A SHORT HISTORY Author: Tom Perme Microchip Technology Inc. While capacitive sensing has been around for more than 50 years, it is becoming increasingly... (Read More)
Back to Top

Technical Articles
Software Handling for Capacitive Sensing - Microprocessors and Microcontrollers
Use of Non-contact Thin Gap Sensors in Controlling Coater Gap Uniformity - Linear Position Sensing
Back to Top
See more product announcements for Fuses
PolySwitch Resettable Devices

PolySwitch Resettable Devices
Tyco Electronics, Raychem Circuit Protection Products


Fast-Acting Surface-Mount Fuses

Fast-Acting Surface-Mount Fuses
Tyco Electronics, Raychem Circuit Protection Products


Slow Blow Surface-mount Fuses

Slow Blow Surface-mount Fuses
Tyco Electronics, Raychem Circuit Protection Products


11 See more product announcements for Fuses



Home   |   About GlobalSpec   |   Advertise With Us   |   Site Map   |   Top Categories   |   Terms of Use
Privacy Policy   |   Link To Our Site   |   Submit a Site   |   Recommend This Site
©1999-2008 GlobalSpec.  All rights reserved.  GlobalSpec, the GlobalSpec logo, SpecSearch, The Engineering Search Engine and The Engineering
Web are registered trademarks of GlobalSpec, Inc. The Engineering Toolbar and DesignInfo are service marks of GlobalSpec, Inc.
No portion of this site may be copied, retransmitted, reposted, duplicated or otherwise used
without the express written permission of GlobalSpec Inc.   350 Jordan Rd, Troy, NY, 12180