Using touch GPIO with ungrounded AC/DC converter
Posted: Sun Oct 10, 2021 7:23 pm
Hi folks,
I couldn't find proper documentation regarding the behavior I'm observing.
Basically, my touch sensor is working just fine when tested with USB power, but if using a AC/DC 5V converter on Vin, readings seem to be erratic.
It seems to me it is caused by the lack of actual ground on the circuit, and I'm wondering how to solve this so I can have a stable reading on touch7 gpio. In fact, the reading goes way down when I touch the ESP32 shield or the USB connector.
What is a proper way to a stable touch GPIO reading when using a DC converter ?
Thanks !
I'm using a ESP31DEVKITV1 with ESPHome firmware
I couldn't find proper documentation regarding the behavior I'm observing.
Basically, my touch sensor is working just fine when tested with USB power, but if using a AC/DC 5V converter on Vin, readings seem to be erratic.
It seems to me it is caused by the lack of actual ground on the circuit, and I'm wondering how to solve this so I can have a stable reading on touch7 gpio. In fact, the reading goes way down when I touch the ESP32 shield or the USB connector.
What is a proper way to a stable touch GPIO reading when using a DC converter ?
Thanks !
I'm using a ESP31DEVKITV1 with ESPHome firmware