Search found 83 matches

by ullixesp
Mon Aug 21, 2023 11:30 am
Forum: ESP32 Arduino
Topic: What exactly is the String size which can be stored in NVS with the preferences lib?
Replies: 6
Views: 1560

Re: What exactly is the String size which can be stored in NVS with the preferences lib?

I now use a separate NVS for my data, and put the data as blobs. It does seem cleaner. Thanks for the suggestions! I have now set the size of the original NVS at 0x2000 (so far all is ok), and my custom NVS at 0x3000. This turns out to be surprisingly small for my application. What gave me a bit of ...
by ullixesp
Sun Aug 20, 2023 7:54 am
Forum: ESP32 Arduino
Topic: What exactly is the String size which can be stored in NVS with the preferences lib?
Replies: 6
Views: 1560

Re: What exactly is the String size which can be stored in NVS with the preferences lib?

Looks rather straight forward, thank you, I will try!

Can you tell what the minimum size of the original nvs must be to keep all things working?
by ullixesp
Sat Aug 19, 2023 8:42 am
Forum: ESP32 Arduino
Topic: What exactly is the String size which can be stored in NVS with the preferences lib?
Replies: 6
Views: 1560

Re: What exactly is the String size which can be stored in NVS with the preferences lib?

Thank you. Doesn't seem to be as easy as it initially looked. One would assume that "Free Entries" has to be at least greater than zero, but the docu isn't very forthcoming in explanation: Arduino or c-string String types use a minimum of two key table entries with the number of entries increasing w...
by ullixesp
Fri Aug 18, 2023 3:10 pm
Forum: ESP32 Arduino
Topic: What exactly is the String size which can be stored in NVS with the preferences lib?
Replies: 6
Views: 1560

What exactly is the String size which can be stored in NVS with the preferences lib?

I use an ESP32-dev with the Arduino framework (on platformio under vscode), and the NVS storage with the preferences lib for some log data. I am quite pleased how easy and reliable this lib can be used. But I now tried to expand the storage of strings and I am running into unexpected limits. The Esp...
by ullixesp
Thu Aug 03, 2023 1:31 pm
Forum: Hardware
Topic: RTC Watchdog Timer
Replies: 5
Views: 30784

Re: RTC Watchdog Timer

@ESP_Dazz: I tried your code, but failed to get a benefit. I now hope for some further help. I am using an ESP32 under vscode with platformio, using the Arduino framework. Overall the program works, but fails on WiFi transfer with a Task-WDT fail when a binary file to be transferred is bigger than a...
by ullixesp
Sun Jan 29, 2023 2:10 pm
Forum: ESP32 Arduino
Topic: ESP32 web server; works in STA mode -but- not AP mode
Replies: 1
Views: 1128

Re: ESP32 web server; works in STA mode -but- not AP mode

This looks like the 3rd web server problem in a row, and I have the same suggestion:

before you spend more time on this I suggest to use the ASYNC server:
https://github.com/me-no-dev/ESPAsyncWebServer
A bit steeper hurdle to start, but at some point you will need it anyway!
by ullixesp
Sun Jan 29, 2023 2:07 pm
Forum: ESP32 Arduino
Topic: ESP32 wifi server with multiple clients
Replies: 3
Views: 4193

Re: ESP32 wifi server with multiple clients

Ignore what you have done so far and use @Ibernstone's advice and use the ASYNC server.
At some point you'll need it anyway, why not start right away?
by ullixesp
Sun Jan 29, 2023 2:05 pm
Forum: ESP32 Arduino
Topic: ESP32 WiFiServer.available() not working like Arduino's version
Replies: 3
Views: 1704

Re: ESP32 WiFiServer.available() not working like Arduino's version

before you spend more time on this I suggest to use the ASYNC server:
https://github.com/me-no-dev/ESPAsyncWebServer
A bit steeper hurdle to start, but at some point you will need it anyway!
by ullixesp
Thu Jan 19, 2023 9:39 am
Forum: ESP32 Arduino
Topic: What is the internal impedance of the ADC in a ESP32?
Replies: 4
Views: 4364

Re: What is the internal impedance of the ADC in a ESP32?

Not sure what to do with these numbers. As my voltages change very slowly, I don't need the impedance and can ignore the 2pF.

When I naively(!) take the 50nA and the 3.3V, I get by Ohm's law 3.3/50E-9 = 66 MegOhm.

Hmmm. This would be very high. Realistic?