CAPSENSE Button and Slider using FreeRTOS
Last updated
Last updated
Assoc. Prof. Wiroon Sriborrirux, Founder of Advance Innovation Center (AIC) and Bangsaen Design House (BDH), Electrical Engineering Department, Faculty of Engineering, Burapha University
In this lab, participants will integrate the Infineon PSoC 6 microcontroller's CAPSENSE functionalities with FreeRTOS, a real-time operating system. Participants will develop touch-responsive interfaces, including buttons and sliders, utilizing the CAPSENSE capabilities. By incorporating FreeRTOS, they will learn to manage concurrent tasks efficiently, ensuring smooth and responsive touch interactions. This lab aims to showcase the synergy between capacitive touch technologies and real-time operating systems, emphasizing the benefits of multitasking in enhancing user interface performance and overall system efficiency.
Computer
💻
ModusToolbox™ software v3.0 or later
CY8CKIT-062S2-43012 Infineon Board
Technical Report
This code example features a 5-segment linear slider and two CAPSENSE™ buttons. Button 0 turns the LED ON, Button 1 turns the LED OFF, and the slider controls the brightness of the LED. The code example also demonstrates interfacing with the CAPSENSE™ Tuner using the I2C interface.
FreeRTOS is a real-time operating system for embedded devices, which provides a framework for building applications with multiple threads (tasks), and offers features like task scheduling, priority management, and inter-task communication mechanisms.
🎉 Congratulations! You can now complete this lab
GNU Arm® embedded compiler v10.3.1 (GCC_ARM
) - Default value of TOOLCHAIN
Arm® compiler v6.16 (ARM
)
IAR C/C++ compiler v9.30.1 (IAR
)
PSoC™ 62S2 Wi-Fi Bluetooth® pioneer kit (CY8CKIT-062S2-43012
)
PSoC™ 62S1 Wi-Fi Bluetooth® pioneer kit (CYW9P62S1-43438EVB-01
)
PSoC™ 62S1 Wi-Fi Bluetooth® pioneer kit (CYW9P62S1-43012EVB-01
)
PSoC™ 62S3 Wi-Fi Bluetooth® prototyping kit (CY8CPROTO-062S3-4343W
)
ModusToolbox™ Software Training
Infineon provides a wealth of data at www.infineon.com to help you select the right device, and quickly and effectively integrate it into your design.
Document title: CAPSENSE Button and Slider using FreeRTOS
1.0.0
CAPSENSE Button and Slider using FreeRTOS
Assoc. Prof. Wiroon Sriborrirux
Mr. Sriengchhun Chheang
Mr. Sabol Socare
© BDH Corporation, 2022-2023