Search found 12 matches
- Sun Sep 26, 2021 2:09 pm
- Forum: General Discussion
- Topic: touch_pad_config vs touch_pad_set_thresh? No difference?
- Replies: 1
- Views: 2247
Re: touch_pad_config vs touch_pad_set_thresh? No difference?
The answer, from o-marshmallow (https://github.com/o-marshmallow) on the ESP32 IDF github: About touch_pad_thresh, its goal is to modify the threshold at runtime, whereas touch_pad_config is used for initialization. It does more than setting the threshold. https://github.com/espressif/esp-idf/issues...
- Sun Sep 26, 2021 1:53 pm
- Forum: General Discussion
- Topic: touch_pad_config vs touch_pad_set_thresh? No difference?
- Replies: 1
- Views: 2247
touch_pad_config vs touch_pad_set_thresh? No difference?
Hi, what's the difference between touch_pad_config() and touch_pad_set_thresh()? They take the same parameters:
Code: Select all
esp_err_t touch_pad_config(touch_pad_t touch_num, uint16_t threshold)
esp_err_t touch_pad_set_thresh(touch_pad_t touch_num, uint16_t threshold)
- Sun Sep 26, 2021 1:24 pm
- Forum: General Discussion
- Topic: sleep + touchpad + Arduino mix. Is ISR needed?
- Replies: 0
- Views: 1787
sleep + touchpad + Arduino mix. Is ISR needed?
Hi, I'm running a mix of Arduino and ESP32 native API code. The touchpad wakes the ESP32 from deep sleep by using esp_sleep_enable_touchpad_wakeup() . And then setup() (Arduino) is executed. It works. I need the mix because the wake must be on TOUCH_TRIGGER_ABOVE, which Arduino doesn't have, and I a...
- Wed Sep 22, 2021 1:45 am
- Forum: General Discussion
- Topic: Touch Enabled Deep Sleep Power is too high; please help
- Replies: 7
- Views: 10464
Re: Touch Enabled Deep Sleep Power is too high; please help
hi, did you ever get a response for this? what are good parameters for touch_pad_get_meas_time() that would make current consumption low? I did play with the measure timing and duty cycle and now have a responsive touch sensor on both inputs with only 10uA current. May I ask what values you are now ...
- Wed Sep 08, 2021 7:17 pm
- Forum: General Discussion
- Topic: Getting Timer IRQ when touch pad measure is done
- Replies: 4
- Views: 7266
- Wed Sep 08, 2021 7:13 pm
- Forum: ESP IoT Solution
- Topic: interrupt on going touch TO release? reverse?
- Replies: 0
- Views: 8485
interrupt on going touch TO release? reverse?
hi, is there a way to generate an interrupt on a touch *release*, i.e. only when the capacitance decreases by a certain amount? the only way i can do it now is to poll the sensor, which wastes battery power. i know an interrupt can be generated when the capacitance is increased by touching. i need t...
- Fri Aug 13, 2021 9:26 pm
- Forum: General Discussion
- Topic: Use ULP to blink LED
- Replies: 3
- Views: 6429
Re: Use ULP to blink LED
I got it to blink with the following. My LED is on RTC_GPIO6 (RTC_GPIO_OUT_DATA_S+6), same as GPIO25 (see https://www.programmersought.com/article/40455220487/ ). The code is taken from https://codingfield.com/en/2019/01/15/ulp-esp32-un-exemple-simple/ . loop1: WRITE_RTC_REG(RTC_GPIO_OUT_REG,RTC_GPI...
- Thu Aug 12, 2021 2:18 am
- Forum: Hardware
- Topic: Touch read current, RTC ADC current from ULP, sample code?
- Replies: 0
- Views: 2859
Touch read current, RTC ADC current from ULP, sample code?
Hi, Is there any info on how much current touch pad reading draws and how long it takes? I need the ULP to wake every 4 secs and do a touch read (not a touch trigger). Also any info on how much RTC ADC SAR consumes when used by the ADC, and how long it takes? i'm not finding this anywhere. the close...
- Thu Aug 12, 2021 12:50 am
- Forum: General Discussion
- Topic: Touch sensor read with ULP?
- Replies: 3
- Views: 5394
Re: Touch sensor read with ULP?
hi, is there a sample using a .S file? the HULP example uses the C-macro library, which is hard to make work on Windows. Besides, I have other .s code already implemented. thanks!
- Sun Jul 25, 2021 11:54 pm
- Forum: General Discussion
- Topic: Touch sensor read with ULP?
- Replies: 3
- Views: 5394
Re: Touch sensor read with ULP?
try https://github.com/boarchuz/HULP/blob/m ... lp_touch.h
the library also has an example.
the library also has an example.