Microchip AN1104 Capacitive Touch Sensing Application Note

This application note explains how to scan and detect more than four capacitive touch sensing buttons using PIC microcontrollers.


Microchip AN1104 Capacitive Touch Sensing Application Note - cover page
Brand
MICROCHIP
Category
microcontrollers
Document type
Application Note
Language
Chinese
Pages
10
File format
PDF
File size
346 KB
Published
22 February, 2012
Updated
22 October, 2026
MD5 checksum
ECD0755C18783749C1FDE320BC1966E1

About this manual

This document describes methods for scanning and detecting capacitive touch sensing buttons when the number of buttons exceeds the default limit of four. It is specifically targeted at PIC16F616, PIC16F690, and PIC16F887 series microcontrollers.

The note discusses three implementation methods: using an on-chip 4-to-1 analog multiplexer connected to the comparator module for a simple 4-sensor system; pairing inputs from the existing 4-sensor system to expand it into a 10-sensor system without additional circuitry; and creating an extensible system by using external analog multiplexers. This manual is written in Chinese.

What's inside

  • Introduction
  • Using Default Number of Buttons
  • Extending with Paired Presses
  • Software Implementation
  • Interrupt Service Routine (ISR)
  • Setting Comparators

Frequently asked questions

What is the maximum number of capacitive touch sensing buttons that can be scanned using the internal multiplexer?

The default configuration allows for scanning a maximum of four buttons.

How many sensors are supported when pairing existing inputs to create new touch sensors?

Pairing inputs allows the system to support up to ten sensors.

Download PDF (346 KB)

More MICROCHIP Manuals


View all MICROCHIP manuals →