Hello,
I face a small challenge.
I'm designing an app which when plugged into the USB port of a PC, must read and store the PC time on a RTC chip (DS1307). Basically, I need to sync the time.
Please help me on this ..
You can use Microchip USB stack to connect PIC to PC via USB
The problem you described is to be handled in PC side... write an software that sends PC time via USB whenever it detects connection from the specified USB ID.. and your firmware should made to handle this...
I think it is cheaper and easier by using usb to rs232 chip than using real usb stack.
You just need to send pc time to PIC and set time to RTC.
Using real usb is too waste.
Guys! Thank you for all the tips, but it's really not helping me all that much. I'm a layman you see.. I need more help. Your posts seem a bit too vague to me. Please give me more details. Ppl sayin that i can use stacks/vb.net/etc doesn really help. Gimme some links to tutorials or pls teach me. I'll be very greatful to you guys..
Simply just write code in vb.net
you have to take system date and send it your USB port
In the PIC programming read the data arrange it
and Display on whatever you want