Skip to main content

Sensing

Example Description
CAPSENSE Buttons and Slider This code example features a 5-segment CAPSENSE™ 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 monitoring CAPSENSE™ data using CAPSENSE™ Tuner GUI tool. For more details, see the README on GitHub.
CAPSENSE Buttons and Slider FreeRTOS 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 the CAPSENSE™ Tuner using the I2C interface. For more details, see the README on GitHub.
CAPSENSE Custom Scan This code example demonstrates CAPSENSE™ custom scanning through callback functions from CAPSENSE™ Middleware that allows altering the sensor parameters during runtime or synchronizing the CAPSENSE™ scan with non-CAPSENSE™ operations. For more details, see the README on GitHub.
CAPSENSE on CM0p This code example demonstrates how to create a CAPSENSE™ design using only the CM0+ core of PSOC™ 6 MCU devices. This code example features 5-segment CAPSENSE™ slider and two CAPSENSE™ buttons. Button 0 (BTN0) turns the LED ON, button 1 (BTN1) turns the LED OFF and the slider controls the brightness of the LED. This code example also demonstrates monitoring CAPSENSE™ data using CAPSENSE™ Tuner GUI tool. For more details, see the README on GitHub.
Low-power CAPSENSE FreeRTOS This code example demonstrates how to create a low-power CAPSENSE™ design using PSOC™ 6 MCU. This example features a 5-segment CAPSENSE™ slider and a Ganged Sensor, and displays the detected touch position over the serial terminal. For more details, see the README on GitHub.
Motion Sensor over I2C FreeRTOS This example demonstrates how to interface PSOC™ 6 MCU with a BMI160/BMI270 motion Sensor over an I2C interface within a FreeRTOS task using the BMI160/BMI270 motion sensor library. This example reads the raw motion data and estimates the orientation of the board. For more details, see the README on GitHub.
Last updated on