Sync time with host PC

Hi all,

I am planning to use 40 arduinos for data acquisition. I have the arduino sending packets with data back to a PC using an ethernet shield, but I'd like to include a time stamp in that data. What's the best way to sync the time on the arduinos? I would like to keep these off the internet if possible, so that rules out NTP.

Any ideas welcome! Thanks

You don't need Internet for NTP. You can set it up on your local network as well. Just run an NTP service on your computer, and have the Arduino send NTP requests to that computer.

Pieter

cjones323:
I have the arduino sending packets with data back to a PC using an ethernet shield, but I'd like to include a time stamp in that data. What's the best way to sync the time on the arduinos?

You could start by questioning whether you need to do this. Your intentions and procedure are not entirely clear but, if the data is being sent live to the PC, the timestamping can be done there - by the PC.