Search found 31 matches

by lesept
Mon Dec 27, 2021 4:14 pm
Forum: ESP32 Arduino
Topic: Directly read n-th line in a file in SPIFFS
Replies: 4
Views: 7097

Re: Directly read n-th line in a file in SPIFFS

Thanks. Which library does this? LittleFS, SPIFFS?

Edit: Never mind, it seems it exists in both...
Thanks again, and Happy New Year! :D
by lesept
Sun Dec 26, 2021 11:20 pm
Forum: ESP32 Arduino
Topic: Directly read n-th line in a file in SPIFFS
Replies: 4
Views: 7097

Re: Directly read n-th line in a file in SPIFFS

Thanks for your answer. I think this is exactly my case.
My file would be made of several lines (around 2000) each of which is made of 197 bytes.
So it's easy to know the exact place of each lines.

How can I then access for example the 200th line?
by lesept
Sun Dec 26, 2021 12:17 am
Forum: ESP32 Arduino
Topic: Directly read n-th line in a file in SPIFFS
Replies: 4
Views: 7097

Directly read n-th line in a file in SPIFFS

Hi
Is it possible to access directly a given line of a file stored in SPIFFS, I mean without reading all the lines before from the beginning of the file ? Thanks
by lesept
Thu Jul 23, 2020 8:18 am
Forum: Hardware
Topic: Pick up WiFi noise
Replies: 3
Views: 4683

Re: Pick up WiFi noise

Thanks for your answers. You are right, I need to give more details. I want to generate a different random voltage value 80 million times per second. I am currently considering the Zener circuit, but as I saw that the ESP32's true random number generator was based on reading the antenna voltage (or ...
by lesept
Wed Jul 22, 2020 3:14 pm
Forum: Hardware
Topic: Pick up WiFi noise
Replies: 3
Views: 4683

Pick up WiFi noise

Hello
In a project I need to create some random white noise at very high frequency (80 MHz). Would it be possible to pick up the noise from the antenna port and amplify it to do this?
If yes, should I connect some wires in parallel to the antenna port of my ESP32 board?

Any idea welcome. Thanks
by lesept
Sun Jul 21, 2019 3:37 pm
Forum: ESP32 Arduino
Topic: ESP32 + OLED + battery reboots constantly
Replies: 0
Views: 2602

ESP32 + OLED + battery reboots constantly

Hi I recently purchased on AliExpress a board with an ESP32, an OLED display and a battery support. It is very similar to this one: https://ae01.alicdn.com/kf/HTB1a6.lkaSWBuNjSsrbq6y0mVXaI/For-ESP32-0-96-0-96-inch-OLED-Display-WiFi-Bluetooth-18650-Lithium-Battery-Shield-Development.jpg_640x640.jpg I...
by lesept
Thu May 16, 2019 12:43 pm
Forum: ESP32 Arduino
Topic: Cannot connect to NTP server with fixed IP
Replies: 7
Views: 13867

Re: Cannot connect to NTP server with fixed IP

martinayotte wrote:
Tue May 14, 2019 3:15 pm
As I said, try using 8.8.8.8 as DNS, it should work ...
Changed the order of the parameters in the config. Changed the DNS to 8.8.8.8.
It works now, thanks a lot!
by lesept
Tue May 14, 2019 8:09 am
Forum: ESP32 Arduino
Topic: Cannot connect to NTP server with fixed IP
Replies: 7
Views: 13867

Re: Cannot connect to NTP server with fixed IP

@martinayotte : Actually, I don't know. How can I find this information?
@boarchuz : I'll try to change the order. Thanks
by lesept
Mon May 13, 2019 1:31 pm
Forum: ESP32 Arduino
Topic: Cannot connect to NTP server with fixed IP
Replies: 7
Views: 13867

Cannot connect to NTP server with fixed IP

Hi I usually use the sketch from here https://lastminuteengineers.com/esp32-ntp-server-date-time-tutorial/ to get the time via NTP. But when I use a fixed IP for my ESP32, the connexion to the NTP server doesn't work anymore. Here is the modified sketch: the fixed IP part works in any other conditio...
by lesept
Thu May 02, 2019 7:56 am
Forum: General Discussion
Topic: IP Address of Clients in AP mode
Replies: 5
Views: 10166

Re: IP Address of Clients in AP mode

Is there a way to know the IP address of a client connected to the ESP32 as SoftAP using Arduino IDE ?