My project is a stratum-1 ntp server to feed the time to a network that is not internet connected. I’ve got one successfully running using a raspberry pi (running linux and paired with a GPS receiver), which was pretty trivial (being linux), but I think it’d be a tremendous feat to get an arduino device actually doing it. I’m no code genius, so I’m muddling my way around here. Most of my arduino projects up to this point have been relatively simple.
I’ve got a GPS receiver wired up to my SparkCore and am able to read the data over TTL using nearly the same code I used on an arduino pro. The next step is the code to act as an SNTP server, and I have a couple of questions to present to the community before I jump in headfirst and confuse myself to death.
So, here are my questions:
- Theoretically, would the storage available even be big enough for a simple server application such as this PLUS 100-so lines of code to grab GPS data? I’ve done some google-diving and haven’t come up with a lot of examples for comparison, and don’t truly know where to being, yet.
- Is there any way to determine the current storage total used?
Absolutely welcome any feedback, critical or otherwise. I’ve had a number of people tell me this is no role suitable for a microcontroller, but I’m yet to convince myself otherwise!