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.
Converter power modules for 48 V networks Altron Arrow
Power Electronics / Power Management
The economic and quality-of-life benefits of electrification is driving the adoption of HV to 48 V DC-DC conversion across many markets with 48 V power modules becoming more common.
Read more...Memory for asset tracking Altron Arrow
DSP, Micros & Memory
The Page EEPROM, ST’s latest memory, has been designed for efficient datalogging and fast firmware upload/download in battery-operated devices.
Read more...Enhanced graphics on STM32U3
Design Automation
ST has introduced a new program designed specifically for users working with its mainstream STM32 MCUs, including STM32C0, U0, WBA, and U3 series.
Read more...Microchip and AVIVA Links collaboration Altron Arrow
News
Microchip and AVIVA Links have achieved groundbreaking ASA-ML interoperability, accelerating the shift to open standards for automotive connectivity.
Read more...Expanded STM32WL3x line for IoT sensors Altron Arrow
Telecoms, Datacoms, Wireless, IoT
The STM32WL31x and STM32WL30x are more tailored versions of the STM32WL33x for designers who wish to focus on specific features, while lowering their bill of materials.
Read more...Ultra-low jitter clock buffers Altron Arrow
Telecoms, Datacoms, Wireless, IoT
New SKY53510/80/40 family of clock fanout buffers from Skyworks are purpose-built for data centres, wireless networks, and PCIe Gen 7 applications.
Read more...Ultra-low power MEMS accelerometer Altron Arrow
Analogue, Mixed Signal, LSI
Analog Devices’ ADXL366 is an ultra-low power, 3-axis MEMS accelerometer that consumes only 0,96 µA at a 100 Hz output data rate and 191 nA when in motion-triggered wake-up mode.
Read more...Converting high voltages without a transformer Altron Arrow
Editor's Choice Power Electronics / Power Management
With appropriate power converter ICs, such as the LTC7897 from Analog Devices, many applications can be suitably powered without having to use complex and cost-intensive transformers.
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.