ESP32 - Timestamps

Florent
Posts: 2
Joined: Mon Jul 13, 2020 12:49 pm

ESP32 - Timestamps

Postby Florent » Mon Jul 13, 2020 12:54 pm

Hi,

i'm using an ESP32 and a MPU9250 Sensor. I send the gyro values to a Java Server but the values have to get timestamped as soon as they arrive to the ESP32. Now the simple way would be to get the time via NTP-Client but there is a delay until the time arrives through the internet on my ESP32. I need to get precise timestamps and I can't allow delays happening when getting the current time. My question is how could I manage to get accurate timestamps without relying on the internet?

Thanks.

lbernstone
Posts: 827
Joined: Mon Jul 22, 2019 3:20 pm

Re: ESP32 - Timestamps

Postby lbernstone » Mon Jul 13, 2020 2:30 pm

You can use a real time clock run off a battery.
https://www.aliexpress.com/item/32798201168.html

Who is online

Users browsing this forum: Google [Bot] and 70 guests