Uploaded March 2026 | Updated November 2026, 1 week ago
In Part 2 of the Peripheral Touch Controller (PTC) Deep Dive, we move from theory to implementation on a 32-bit microcontroller.
After introducing the PTC and capacitive touch fundamentals in Part 1, this video demonstrates how to configure the Peripheral Touch Controller using MPLAB® Code Configurator (MCC) and Microchip’s Touch Library inside VS Code® with the MPLAB Extensions.
Using the PIC32CM PL10 Curiosity Nano, we configure the onboard capacitive touch button to detect a press event. When the button is touched, a message is sent over UART and the onboard LED turns on. When released, the LED turns off and a corresponding message is printed to the terminal.
This example shows how touch sensing, GPIO, and UART can be combined to build a simple capacitive touch application.
What You'll Learn
• Create a project in VS Code using MPLAB Extensions
• Configure peripherals with MPLAB Code Configurator (MCC)
• Set up the Harmony Touch Library for a capacitive button
• Send messages over UART and control an onboard LED based on touch input
Resources
PIC32CM PL10 Product Page
mchp.us/4lAnb2j
PIC32CM PL10 Curiosity Nano Evaluation Kit
mchp.us/3N0e3Y9
Peripheral Touch Controller Deep Dive – Part 1
youtube.com/watch?v=MIKMHODDkQs
Source Code for This Example
mchp.us/4sFdGkH
MPLAB Extensions for VS Code
marketplace.visualstudio.com/items?itemName=Microchip.mplab-extension-pack
In Part 2 of the Peripheral Touch Controller (PTC) Deep Dive, we move from theory to implementation on a 32-bit microcontroller.
After introducing the PTC and capacitive touch fundamentals in Part 1, this video demonstrates how to configure the Peripheral Touch Controller using MPLAB® Code Configurator (MCC) and Microchip’s Touch Library inside VS Code® with the MPLAB Extensions.
Using the PIC32CM PL10 Curiosity Nano, we configure the onboard capacitive touch button to detect a press event. When the button is touched, a message is sent over UART and the onboard LED turns on. When released, the LED turns off and a corresponding message is printed to the terminal.
This example shows how touch sensing, GPIO, and UART can be combined to build a simple capacitive touch application.
What You'll Learn
• Create a project in VS Code using MPLAB Extensions
• Configure peripherals with MPLAB Code Configurator (MCC)
• Set up the Harmony Touch Library for a capacitive button
• Send messages over UART and control an onboard LED based on touch input
Resources
PIC32CM PL10 Product Page
mchp.us/4lAnb2j
PIC32CM PL10 Curiosity Nano Evaluation Kit
mchp.us/3N0e3Y9
Peripheral Touch Controller Deep Dive – Part 1
youtube.com/watch?v=MIKMHODDkQs
Source Code for This Example
mchp.us/4sFdGkH
MPLAB Extensions for VS Code
marketplace.visualstudio.com/items?itemName=Microchip.mplab-extension-pack










