Search found 137 matches

by boarchuz
Mon Sep 09, 2019 7:18 am
Forum: ESP32 Arduino
Topic: Arduino Http component not working with ESP IDF launched WiFi
Replies: 2
Views: 249

Re: Arduino Http component not working with ESP IDF launched WiFi

Because you've implemented your own event handler instead. You should be using WIFI_CONNECTED_BIT of s_wifi_event_group to check WiFi connection state.
by boarchuz
Sat Sep 07, 2019 4:52 am
Forum: ESP32 IDF
Topic: Clean transition from automatic light sleep to deep sleep
Replies: 3
Views: 219

Re: Clean transition from automatic light sleep to deep sleep

Doesn't appear to be. Minimal: #include "sdkconfig.h" #include "esp_sleep.h" #include "esp_pm.h" void app_main() { printf("Wakeup cause: %d\n", esp_sleep_get_wakeup_cause()); esp_pm_config_esp32_t pm_config_ls_enable = { .max_freq_mhz = CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ, .min_freq_mhz = CONFIG_ESP32...
by boarchuz
Fri Sep 06, 2019 8:23 pm
Forum: ESP32 IDF
Topic: Clean transition from automatic light sleep to deep sleep
Replies: 3
Views: 219

Clean transition from automatic light sleep to deep sleep

I'm wondering if there's a 'proper' way to do so. Without any intervention, the ESP32 will immediately wake after esp_deep_sleep_start() with reason: ESP_SLEEP_WAKEUP_TIMER (from the automatic light sleep scheduler). I've been getting around this so far with a simple: esp_sleep_disable_wakeup_source...
by boarchuz
Wed Sep 04, 2019 4:19 am
Forum: ESP32 IDF
Topic: Wake up from sleep on ISR
Replies: 6
Views: 494

Re: Wake up from sleep on ISR

Are you sure it's not waking up? Is it possible that it's waking, but not executing the ISR? What is the duration of the interrupt signal?
by boarchuz
Thu Aug 29, 2019 2:11 am
Forum: ESP32 IDF
Topic: Need some help with the ULP
Replies: 2
Views: 210

Re: Need some help with the ULP

This is one of those things that will become a lot less daunting once you have a go and work through it. I need to be able to bit-bang the same GPIOs from both CPU and ULP Do you? Why not have the ULP continue reading the sensor even while the heavy lifters are awake? Easier, and potentially much mo...
by boarchuz
Wed Aug 28, 2019 8:02 pm
Forum: ESP IoT Solution
Topic: Increasing Battery Life While Using WiFi
Replies: 2
Views: 642

Re: Increasing Battery Life While Using WiFi

You might be surprised. Try this: https://github.com/espressif/esp-idf/tree/master/examples/wifi/power_save With a combination of automatic light sleep, dynamic frequency scaling, and modem power saving, the ESP32 can maintain a WiFi connection while drawing as little as 3mA (with some spikes in the...
by boarchuz
Fri Aug 16, 2019 8:34 am
Forum: ESP32 Arduino
Topic: C++: Cannot find preferences library
Replies: 1
Views: 210

Re: C++: Cannot find preferences library

It's because you're in the PHX namespace there. Try "::Preferences preferences;"
by boarchuz
Thu Aug 15, 2019 2:57 pm
Forum: Hardware
Topic: ESP-PROG pin headers
Replies: 4
Views: 440

Re: ESP-PROG pin headers

ESHF-105-01-L-D-SM looked good on Mouser for 5x2, no 3x2 variety in that series though.

I gave up and ended up buying both from here ("Position 6" and "Position 10"): https://www.aliexpress.com/item/33020323141.html
Delivery took ~3 weeks.

Go to advanced search