Search found 15 matches

by Marius28
Thu Feb 22, 2024 2:23 pm
Forum: ESP-IDF
Topic: ESP32-C6 internal 150 vs 32 kHz RC oscillator
Replies: 2
Views: 1435

Re: ESP32-C6 internal 150 vs 32 kHz RC oscillator

Hello Marius28 , Using another RC oscillator will not solve the time deviation problem. You need a more precise clock source. A typical solution to reduce the time drift in sleep mode is by adding an external RTC clock . Thanks, i already thought that i need an external clock source. But why is the...
by Marius28
Mon Feb 19, 2024 12:09 pm
Forum: ESP-IDF
Topic: ESP32-C6 internal 150 vs 32 kHz RC oscillator
Replies: 2
Views: 1435

ESP32-C6 internal 150 vs 32 kHz RC oscillator

Hello, in my project the ESP32-C6 is most of the time in deep sleep. Now after 5 days the system clock has deviated by almost 5 minutes. At the ESP32-C6 System Time documentation i read something about another internal 32 kHz RC oscillator but there is no description only for the default 150 kHz RC ...
by Marius28
Thu Dec 28, 2023 1:20 pm
Forum: ESP-IDF
Topic: WiFi reconnecting not possible
Replies: 1
Views: 1421

Re: WiFi reconnecting not possible

It seems to be working with

Code: Select all

keep_alive = enabled
by Marius28
Fri Dec 22, 2023 7:47 pm
Forum: ESP-IDF
Topic: httpd server issue "httpd_txrx: httpd_sock_err: error in send : "
Replies: 2
Views: 3886

Re: httpd server issue "httpd_txrx: httpd_sock_err: error in send : "

Have the same error message but no workaround so far...
by Marius28
Fri Dec 22, 2023 5:59 pm
Forum: ESP-IDF
Topic: WiFi reconnecting not possible
Replies: 1
Views: 1421

WiFi reconnecting not possible

Hello, i have some trouble with my ESP32-C6 as WiFi access point. When i plug in the ESP board and start the WiFi access point the first connection from PC or smartphone works well. But if i disconnect and try to reconnect it fails always until i restart the whole ESP. 1.) Sometimes i get these mess...
by Marius28
Sun Dec 03, 2023 6:41 pm
Forum: ESP-IDF
Topic: Which memory is the best for frequently storing data
Replies: 10
Views: 9515

Re: Which memory is the best for frequently storing data

You're right in that NVS probably is not ideal here. If you store data as a csv, you'd use up, say, 5 bytes per record, or 20 bytes per minute. If a filesystem like spiffs doesn't do any superfluous erases (Microcontrollers question comes in here) you'd need 291 days to write to the entire 8MiB par...
by Marius28
Fri Dec 01, 2023 10:58 am
Forum: ESP-IDF
Topic: Which memory is the best for frequently storing data
Replies: 10
Views: 9515

Re: Which memory is the best for frequently storing data

Generating CSV from the stored binary data 'on the fly' only when responding to an HTTP request shouldn't be hard (may want to use chunked transfers); and this avoids any dependency on filenames or mount points the file server may impose on you... What would be the advantage to store the data inter...
by Marius28
Thu Nov 30, 2023 5:58 pm
Forum: ESP-IDF
Topic: Which memory is the best for frequently storing data
Replies: 10
Views: 9515

Re: Which memory is the best for frequently storing data

Though it should be pretty unnecessary to use ASCII/CSV as format for internal storage. From the looks of it, you want to store 4 values (ADC samples?) and one timestamp per record (per minute?). An easy fit into 5 uint16_t's, i.e. 10 bytes. Taking into account that 4 samples represent exactly one ...
by Marius28
Thu Nov 30, 2023 2:02 pm
Forum: ESP-IDF
Topic: Which memory is the best for frequently storing data
Replies: 10
Views: 9515

Re: Which memory is the best for frequently storing data

How much data loss is acceptable in case of loss of power? No data should be loss in case of loss of power. If you store data as a csv, you'd use up, say, 5 bytes per record, or 20 bytes per minute. If a filesystem like spiffs doesn't do any superfluous erases (Microcontrollers question comes in he...
by Marius28
Mon Nov 27, 2023 3:13 pm
Forum: ESP-IDF
Topic: Which memory is the best for frequently storing data
Replies: 10
Views: 9515

Which memory is the best for frequently storing data

Hello, i'm struggling with my ESP32-C6-WROOM-N8 module to store adc measurements over some days. I want to store 4 adc measurements every minute in for example a .txt or .csv file. With this stored data i create a diagram on my http server read out by javascript to show it to the user. Therefore i'm...