- Last edited one year ago ago
Introduction to touch sensing with STM32
This page contains application examples, document references, tips and tricks and so on related to STM32 touch sensing.
1 What is touch sensing?
Touch sensors are used in HMIs (human-machine interfaces)
- Instead of using mechanical switches, actuation is achieved by touching the finger touch on a surface.
There are three methods:
- Capacitance switch:
- the electrode is placed behind a non-conductive panel
- the change in capacitance is detected
- Resistive touch switch:
- two electrodes are bridged by the user's fingertip
- the resistance of the fingertip is detected
- Piezo touch switch:
- a voltage is generated by pushing/bending a piezoelectric material
- the voltage change is detected
The TSC (touch sense controller) peripheral is based on the capacitance switch method - when a human touches the surface of the sensor area, the capacitance changes.
Basic TSC working mode description
2 Getting started with STM32 and touch sensing
Application note AN5105 summarizes all information regarding touch-sense controller usage.
This application note explain step-by-step how to handle touch sensors using STM32F072BDISCO and STM32L0538DISCO discovery boards.
3 STM32 compliance with touch sensing
3.1 Maximum number of sensors on STM32 Series products
3.2 Maximum number of sensors on LQFP64 packages
4 STMicroelectronics resources
AN5105 Getting Started with Touch control
UM1913 Developing applications on STM32Cube with STMTouch touch sensing library
AN4316 Tuning a STMTouch-based application
AN4312 Guidelines for designing touch sensing applications with surface sensors
AN4299 Guidelines to improve conducted noise robustness on STM32 series touch sensing applications
AN4310 Sampling capacitor selection guide for MCU based touch sensing applications
AN3960 ESD considerations for touch sensing applications