NXP LPC11xx Capacitive Touch Sensing Application Note

This application note describes how to implement capacitive touch sensing using the ADC input of the NXP LPC11xx microcontroller with demonstration code.


NXP LPC11xx Capacitive Touch Sensing Application Note - cover page
Brand
NXP
Category
microcontrollers
Document type
Application Note
Language
English
Pages
9
File format
PDF
File size
514 KB
Published
17 October, 2026
Updated
17 October, 2026
Model
LPC11xx
MD5 checksum
B844A3B200DD4C6152BC3E59BD7B1262

About this manual

This document explains how to implement a simple capacitive touch sensing function using the Analog-to-Digital Converter (ADC) input of the NXP LPC11xx microcontroller. It details the working mode of the system, which involves charging an external capacitor via an IO pin configured as an output, followed by discharging it while configured as an ADC input to detect changes in capacitance caused by a finger touch. The process includes configuring the pin, starting the ADC conversion, sampling the result, and debouncing the signal.

What's inside

  • Introduction
  • Working Mode
  • Demo Program
  • Source Code
  • References

Frequently asked questions

What hardware is used for the demonstration in this note?

The demonstration uses the PCF8883 evaluation kit with a MicroCore48 board.

Which microcontroller series is covered?

The application note covers the LPC11xx series microcontrollers.

What compiler and environment are used for the example code?

The code is written in C and compiled using KEIL uVision (MDK-ARM V4.14).

Download PDF (514 KB)

More NXP Manuals


View all NXP manuals →