This application note describes how to implement a driven shield on STM8T and STM8TS capacitive sensors. Driven shields can be used to reduce the influence of metal objects, ground planes or nearby traces, thereby increasing the detection range of capacitive sensors.