Discussion in "Project Addition or Changes" started by    kanth_sourabh    Feb 14, 2012.
Sun Feb 19 2012, 12:14 pm
#11
Can you help in writing a code for the master and slave MC.
Mon Feb 20 2012, 02:05 pm
#12
Please tell me.. DS1307 is better or PCF8563 is better?
Wed Feb 22 2012, 02:56 am
#13
its all your choice.. PCF8563 has more functions than DS1307... I am not sure about the cost. check both datasheets and use the one suits your requirement.

[Topic moved to Project Addition or Changes Forum]
Wed Feb 22 2012, 04:11 am
#14


Can you help in writing a code for the master and slave MC.

kanth_sourabh


I will give advice if I can, but not write chunks of code.


Please tell me.. DS1307 is better or PCF8563 is better?

kanth_sourabh


You can use either for what you are doing,
or neither, if you track the time using the internal timers.
Wed Feb 22 2012, 04:16 pm
#15
Thank you soo much for all your support. I have decided that to make 5 time zone clock with single source, I will use single RTC (PCF8563) and a single microcontroller. Will attach 5 different clocks with the single microcontroller, will make one clock as master clock. Will add/sub the 'time difference' w.r.t. the master clock and will get it displayed in the rest of the clocks accordingly.
Now i'll only have to write a suitable code the microcontroller so that the entire setup works properly.
Will let you all know know whether it works or not.
Sun Mar 04 2012, 02:25 am
#16
best way to deal with time is to use linux timestamp method so it becomes easy to add/subtract time according to selected timezone. You can take reference from Minix source code for time related functions.

set your base clock/RTC to UTC time and then as per user request convert timezone afterwards based on UTC time.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Lewisuhakeply
Thu Apr 18 2024, 06:00 pm
Darrellciz
Thu Apr 18 2024, 11:07 am
Charlessber
Thu Apr 18 2024, 09:29 am
BartonSem
Thu Apr 18 2024, 04:56 am
DonaldKnown
Thu Apr 18 2024, 12:24 am
utaletxcyw
Wed Apr 17 2024, 10:21 am
Anthonyvab
Wed Apr 17 2024, 08:48 am
RobertCix
Wed Apr 17 2024, 06:46 am