how to get precise time with pic - help needed

Status
Not open for further replies.
precise time with pic

use a watch crystal, they are stable and quite precise...for more precision a RTC can be used.
 

precise time with pic

GPS sysnchronisation is another option. But a bit complicated.
 

Re: precise time with pic

blueroomelectronics said:
Breadboards are no good for high frequency crystals.
For 4MHz breadboard is OK - works for me all the time. Keep the connections short. Optionally, you can lift the pins of the microcontroller and solder the crystal directly onto them.
 

Re: precise time with pic

Hello!

Actually it's the best option I know and it's not complicated at all.
You just need to plug the GPS and wait for the data bursts.
On some devices, you also have a 1 second output pin.

And you get a precision of about 1 ms... forever.
Well, that said, if you really want a 1ms precision, you have to count
the clocks of all the instructions you use and act accordingly, which is
a tricky task.

Dora.

pranam77 said:
GPS sysnchronisation is another option. But a bit complicated.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…