Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
If you want to use common standards. Then:
* The PC act like a "time server"
* And it uses a protocol to transfer time data. Something like "NTP" = Network time protocol.
But you can use any other method.
You have to decide.
There are numerous possible methods.
But we don't know nothing. We don't even know your PC's operating system. Maybe Windows, maybe Linix, maybe other
Maybe there's already a time server running, maybe not.
Maybe there's a web server running, maybe not.
Maybe you want to write your own PC program, maybe not..
Maybe...
I'm using 32 bit windows xp pc and have no internetas well no application on it.
If i use NTP protocol can i get time from pc and send it to my micro controller. I need only send data from pc to Microcontroller.
If you want the PC endlessly sending the time to the microcontroller without need of any request from it, perhaps you could think about to run there a PING command (you can call it in such a manner to keep running, no stop). If I'm correct, at the ICMP datagram there is a field with the time stamp of the sender. Not sure it it is a suited approach, but it is the first thing which came to mind
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.