To help engineers implement touch-sensitive controls with minimum additional effort, cost and size, STMicroelectronics has made available an open-source capacitive touch sensing software library for its 8-bit STM8 MCU platform.
The software library transforms any 8-bit STM8 MCU into a capacitive touch-key controller. Designers can combine touch sensing functions through multiple configurations, such as touch keys, wheels or sliders, while preserving the traditional STM8 MCU features for the application firmware, including communication, LED control, beeper and LCD control. The software is provided as royalty-free C source code and offers engineers the flexibility to configure, adapt or accommodate the library according to application needs.
Human touch is detected by monitoring the charge and the discharge timing cycle of an RC network formed by a single resistor and the touch electrode capacitance. Depending on which STM8 variant is used, as many as 24 individual touch pads can be supported. The touch sensing library only uses a small amount of the chip’s memory and processing capability, allowing designers to combine other application tasks in a single device. To optimise power consumption, the software also takes advantage of the STM8’s low-power modes.
The touch sensing library embeds advanced tools to help define keys, slider controls or rotary sensors, and to optimise touch sensitivity by adjusting parameters such as the touch detection threshold and the resolution of sliders or rotary controls. There are also innovative programmable features to optimise measurement accuracy and make the final application immune to noise.
An embedded automatic calibration software layer saves final adjustment during manufacturing and enables faster time to market. To maximise long-term reliability the library contains an environmental change system (ECS), which compensates for natural fluctuations in operating voltage and capacitance, as well as environmental effects such as temperature and humidity.
As well as source code for the touch-sensing software library, full supporting documentation includes the API description, a user manual for the software library, application notes and board layout recommendations, as well as code examples.
Accelerate development of AI-enabled embedded systems
Design Automation
ADI’s CodeFusion Studio (CFS) is a modern embedded software development platform aimed at accelerating the creation of AI-enabled embedded systems.
Read more...EMC limits and levels Altron Arrow
Editor's Choice Circuit & System Protection
As soon as electronics and electrical systems started interfering with each other, the world had to come to some consensus. Considering physics is universal and does not care about what country electrical/electronic products are used in, it should be the same everywhere, right? It is nearly there, but not quite.
Read more...Introducing STM32CubeMX2 Altron Arrow
Design Automation
STMicroelectronics has launched STM32CubeMX2, a new evolution of its popular configuration and code generation tool for STM32 microcontrollers.
Read more...Next-gen SPE Altron Arrow
Telecoms, Datacoms, Wireless, IoT
Next-generation 100/1000BASE-T1 Single Pair Ethernet PHYs integrate MACsec security, time sensitive networking, and functional safety.
Read more...Industrial vibration sensing simplified Altron Arrow
Analogue, Mixed Signal, LSI
The IIS3DWBG1 from STMicroelectronics is a high performance, three-axis digital vibration sensor engineered for demanding industrial applications where accurate motion monitoring is essential.
Read more...AI assistant for STM32 developers
Design Automation
The STMicroelectronics STM32 Sidekick is an AI-driven assistant fully integrated into the STM32 ecosystem designed to streamline embedded development using STM32 microcontrollers.
Read more...Cost-effective microcontroller series Altron Arrow
DSP, Micros & Memory
The STM32C5 series from STMicroelectronics delivers an excellent balance of performance, efficiency, and affordability for embedded designs that require more capability without increasing bill of materials cost.
Read more...Understanding two key tools for cleaner serial data Altron Arrow
Editor's Choice Analogue, Mixed Signal, LSI
Understanding how pre-emphasis and equalisation works, and when to use one over the other, is critical when designing reliable high-speed systems.
Read more...Next-gen robotic systems initiative EBV Electrolink
Design Automation
EBV Elektronik recently introduced MOVE – Driving Robotics Forward, a new initiative designed by EBV Elektronik‘s Embedded Solutions team to support the development of next-generation robotic systems.
While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.