Search found 33 matches

by tvoneicken
Thu Dec 06, 2018 7:16 pm
Forum: General Discussion
Topic: ESP32 on Batteries - your setup
Replies: 50
Views: 91428

Re: ESP32 on Batteries - your setup

FYI, I have an almost complete set of posts on using the esp32 (and esp8266) on battery. I believe it does answer a slew of questions. It's not done, 1 or 2 more posts to go... The first post on the esp32 is https://blog.voneicken.com/lp-wifi-esp32-1/ but you may want to go back in the series to rea...
by tvoneicken
Mon Nov 26, 2018 8:34 pm
Forum: General Discussion
Topic: High power and delay before associating with secure AP
Replies: 0
Views: 3073

High power and delay before associating with secure AP

I am testing the speed at which the esp32 can associate with a secured AP after coming out of deep-sleep. I notice that after probing for the AP the esp32 spends about 700ms with an elevated power consumption but no communication. Can you explain what is happening? It is particularly curious to me t...
by tvoneicken
Mon Nov 26, 2018 8:26 pm
Forum: General Discussion
Topic: Why does WiFi probing take so long?
Replies: 0
Views: 2939

Why does WiFi probing take so long?

I am testing the speed at which the esp32 can associate with an AP after coming out of deep-sleep. One of the longest delays is in the probing for the AP. I am passing the SSID, password, channel number and BSSID to `esp_wifi_set_config` and I see that the probing is shorter than if I don't specify ...
by tvoneicken
Tue Nov 20, 2018 12:48 am
Forum: General Discussion
Topic: Lowest power consumption while maintaining an association
Replies: 6
Views: 10619

Re: Lowest power consumption while maintaining an association

Thanks for the update. Did you see the issue I'm having with getting the power_save example to run? (https://github.com/espressif/esp-idf/issues/2711) Would it be possible for you to provide the elf or bin of your power_save example (assuming it works on an esp-wroom-32) and the AP info? I would lov...
by tvoneicken
Sun Nov 18, 2018 10:25 pm
Forum: General Discussion
Topic: SYSTEM_EVENT_AP_STADISCONNECTED not being received by ESP32 team
Replies: 4
Views: 5635

Re: SYSTEM_EVENT_AP_STADISCONNECTED not being received by ESP32 team

Maybe you should open a ticket here https://github.com/espressif/esp-idf/issues and specify which version of the IDF you are using plus provide steps to reproduce? I do get these events in my code, more often than I care for...
by tvoneicken
Sun Nov 18, 2018 9:22 pm
Forum: General Discussion
Topic: Lowest power consumption while maintaining an association
Replies: 6
Views: 10619

Re: Lowest power consumption while maintaining an association

Regarding the question why does IDF not provide a function to enter light sleep while maintaining association, I think the answer is that the automatic light sleep feature was intended to provide that. We assume that the wifi driver should know better when a wake-up is required. I see that you want...
by tvoneicken
Sun Nov 18, 2018 4:41 pm
Forum: General Discussion
Topic: Lowest power consumption while maintaining an association
Replies: 6
Views: 10619

Re: Lowest power consumption while maintaining an association

Thanks for the thoughtful reply, igrr! I will continue to work on this and report back or ask more questions.
by tvoneicken
Sat Nov 17, 2018 11:41 pm
Forum: General Discussion
Topic: Lowest power consumption while maintaining an association
Replies: 6
Views: 10619

Lowest power consumption while maintaining an association

I'm trying to determine the lowest power consumption that I can get while maintaining an AP association. So far I'm arriving at ~20-25mA, is this the best I can expect? Overall, I do not understand why Espressif does not provide functions to power down the chip without disconnecting from the AP. As ...
by tvoneicken
Fri Nov 16, 2018 2:56 am
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 426
Views: 785039

Re: What would you like to see in The Next Chip?

How about lower power consumption while maintaining an association with an AP? The esp8266 has been a real disappointment in this respect. The esp32 doesn't seem much better. Some things are software and not hardware issues, such as being able to force light sleep for extended periods and just wake ...
by tvoneicken
Tue Jan 12, 2016 5:37 am
Forum: ESP-IDF
Topic: preemptible tasks
Replies: 1
Views: 6031

preemptible tasks

[I know I could answer this by searching through the sources, but maybe some kind soul here know off-the-bat?]

Does the FreeRTOS configuration in the SDK support preemptible tasks? Or are the tasks non-preemptible like on the esp8266?