Is there a way to have a more sensitive Touch Sensor button during deep sleep to wake up?
When I change the value given to the touch_pad_sleep_set_threshold, I cannot get anything ok between too much sensitivity that gets triggered by itself, and just a regular one that requires user to directly touch the PCB. We need it to detect a finger through a front cover glass.
When my ESP32S3 do not sleep, they are easily configurable to detect touch that is even 4 mm away.
Is it really so much harder during seep sleep?
More sensitivity of Touch Sensor button during deep sleep
Re: More sensitivity of Touch Sensor button during deep sleep
Ok for someone in the future who also would like to see high sensitivity, these are my settings with which I have it increased:
touch_pad_denoise_t denoise = {
.grade = TOUCH_PAD_DENOISE_BIT12,
.cap_level = TOUCH_PAD_DENOISE_CAP_L7,
};
touch_filter_config_t filter_info = {
.mode = TOUCH_PAD_FILTER_IIR_4,
.debounce_cnt = 1,
.noise_thr = 3,
.jitter_step = 4,
.smh_lvl = TOUCH_PAD_SMOOTH_IIR_2,
};
With these filtering and noise threshold I was finally able to have some spectrum of usefull sensitivity with which I was able to tune it to be stronger or weaker.
touch_pad_denoise_t denoise = {
.grade = TOUCH_PAD_DENOISE_BIT12,
.cap_level = TOUCH_PAD_DENOISE_CAP_L7,
};
touch_filter_config_t filter_info = {
.mode = TOUCH_PAD_FILTER_IIR_4,
.debounce_cnt = 1,
.noise_thr = 3,
.jitter_step = 4,
.smh_lvl = TOUCH_PAD_SMOOTH_IIR_2,
};
With these filtering and noise threshold I was finally able to have some spectrum of usefull sensitivity with which I was able to tune it to be stronger or weaker.
Who is online
Users browsing this forum: No registered users and 99 guests