Skip to main content
Storca's user avatar
Storca's user avatar
Storca's user avatar
Storca
  • Member for 6 years, 6 months
  • Last seen more than 3 years ago
awarded
comment
How to connect multiple MPU-9250 IMU sensors to a single Arduino Uno?
I2C is a bus, it's sole purpose is to connect multiple devices together (1 master, multiple slaves)
awarded
comment
What precision can I expect by syncronising DS3231 with PC serial?
This is the way I'll go for my project, I think it is a cheap way to get a correct precision of a millisecond :)
comment
What precision can I expect by syncronising DS3231 with PC serial?
Thank you for the answer :) ; gps utc time sync might also be a good option for precise time syncronisation
Loading…
awarded
comment
What precision can I expect by syncronising DS3231 with PC serial?
@per1234 the "faster than expected" was a mistake from me, I belived that the serial transmited data faster than it should, but I was wrong. Btw thanks to everyone trying to help me :)
comment
What precision can I expect by syncronising DS3231 with PC serial?
@Majenko If I understand correctly, I have to add 2 more bits to each byte to get an idea of the transfer time, that would do 7.4 * 35 * (8+2) ~ 2.6ms offset
Loading…
awarded
revised
Loading…
revised
Loading…
revised
Loading…
revised
Loading…
comment
What precision can I expect by syncronising DS3231 with PC serial?
@Majenko I've done a simple echo programm that reads from serial and returns the message at 300bauds So, according to wikipedia, it takes ~3ms to transmit a single bit at 300 bauds, if I transmit 22 characters, the time will be 2*22*8*3 = 1056ms or ~1s to send and read the data back (that's what I get by testing it, so I was wrong in my question sry for that) In my case I have 35 characters to transmit ; 7.4 micro seconds per bit at 57600 bauds ; so the time taken to send will be 7.4 * 35 * 8 = 2072 so that's 2ms offset. Sorry for asking a question that I was able to answer by myself...
comment
What precision can I expect by syncronising DS3231 with PC serial?
@Majenko yes, that's what I'm trying to ask, sorry for not being clear.
comment
What precision can I expect by syncronising DS3231 with PC serial?
I am using an arduino Uno or Nano with an ATMega238P
Loading…