|
Hi, to answer your questions:
1. Since I did not set up the date/time, and I don't have a Real Time Clock installed on the board, I can only assume Armbian automatically grabs the date/time from some time server when it has an internet connection. Is this assumption correct?
When you boot your OrangePi the correct date/time is taken from a Network server so time at boot will be accurate
2. Is the only purpose of a Real Time Clock to keep the date/time correct, when the board is powered off, and no internet is available? Does it offer any other advatnages, like better timing accuracy or resolution? (I have a Maxim DS1307 RTC that I'm not currently using, but am considering maybe using)
Yes, if the board is powered off and no network then a RTC will maintain the time.
3. What is the accuracy of the Orange Pi Zero's clock? Like I said, when I execute DateTime.Now in C# / Mono, I get up to millisecond resolution. How accurate is this? Is it truly accurate to 1 millisecond?
Remeber that your Orange Pi is a computer not microcontroller so its running many con-current tasks.
Many people will tell you thatt Linux is not real time but so what? How many real time systems do you work with?
If youre going to control hardware from the GPIO ports like relays then this question is academic as it takes 30 or 50ms for a relay
to respond.
The Orange Pi is probably not truly accurate to 1 ms but you can eitehr call the NTP time server to update time,
use a real time clock or perhaps interface to a microcontroller.
I cannot think of any program or device that requires accuracy of a millisecond, so may help if you explain what
hardware you are trying to control.
Hope that helps.
|
|