Re: ESP32 interfaced with AHT10 sensor
Posted: Sun Jul 06, 2025 10:52 am
I'm using an AHT20 sensor on a battery-driven board.
As already recommended here I power the sensor with a GPIO pin. After powering I wait 50ms by calling v
TaskDelay( 50 / portTICK_PERIOD_MS );
to get the sensor up.
One hint for hidden power consumers:
On one board I needed to call rtc_gpio_isolate() for a connected onboard LED before going to deep sleep. Without that the LED showed "some light".
As already recommended here I power the sensor with a GPIO pin. After powering I wait 50ms by calling v
TaskDelay( 50 / portTICK_PERIOD_MS );
to get the sensor up.
One hint for hidden power consumers:
On one board I needed to call rtc_gpio_isolate() for a connected onboard LED before going to deep sleep. Without that the LED showed "some light".