Has anyone made a PIC circuit that reads the international time standard?
I've seen some clocks out there that do it inexpensively and need it for
circuit I'm deigning. Any help would be much appreciated.
> Dear fellow electronic artists,
>
> Has anyone made a PIC circuit that reads the international time standard?
> I've seen some clocks out there that do it inexpensively and need it for
> circuit I'm deigning. Any help would be much appreciated.
I am right now working on a PIC based project to decode a time signal
called WWVB, which is transmitted by NIST (National Institute of Science
and Technology) in the continental United States. The main problem is
ofcourse the signal reception.
> Dear fellow electronic artists,
>
> Has anyone made a PIC circuit that reads the international time standard?
> I've seen some clocks out there that do it inexpensively and need it for
> circuit I'm deigning. Any help would be much appreciated.
>
> Thanks in advance,
>
> C. Webb
Hook it to a GPS receiver. You can get UTC with better than 100us.
<WHINE MODE ON>
Note that I called it a 'GPS receiver', and not a 'GPS'. It grates me to
shreds when people call the receiver 'a GPS'. It is not. The GPS is a
constellation of satellites, and there is not a snowball's hope in hell that
you can fit it into a box!
It is like talking about a LCD dislay...
<WHINE MODE OFF>
--
Friendly Regards
Tjaart van der Walt spam_OUTtjaartTakeThisOuTwasp.co.za
_____________________________________________________________
| WASP International http://www.wasp.co.za/~tjaart/index.html |
| R&D Engineer : GSM peripheral services development |
| Vehicle tracking | Telemetry systems | GSM data transfer |
| Voice : +27-(0)11-622-8686 | Fax : +27-(0)11-622-8973 |
| WGS-84 : 26¡10.52'S 28¡06.19'E |
|_____________________________________________________________|
>Craig Webb wrote:
>
>> Dear fellow electronic artists,
>>
>> Has anyone made a PIC circuit that reads the international time standard?
>> I've seen some clocks out there that do it inexpensively and need it for
>> circuit I'm deigning. Any help would be much appreciated.
You can get ready-made receivers for the Rugby (UK) and DCF (Germany +
?europe?) time transmissions, of course this is only useful if you're
in range. Another (less accurate) alternative is to use RDS (radio
data system) in areas where this is transmitted on FM broadcasts.
GPS is probably the most universal, but the antenna needs a good view
of the sky, and is relatively expensive (compared to DCF etc., but
getting cheaper rapidly), and takes a relatively large amount of
power. {Quote hidden}
>> Thanks in advance,
>>
>> C. Webb
>
>Hook it to a GPS receiver. You can get UTC with better than 100us.
>
><WHINE MODE ON>
>Note that I called it a 'GPS receiver', and not a 'GPS'. It grates me to
>shreds when people call the receiver 'a GPS'. It is not. The GPS is a
>constellation of satellites, and there is not a snowball's hope in hell that
>you can fit it into a box!
>
>It is like talking about a LCD dislay...
><WHINE MODE OFF>
.. or using 'video' as a noun.
____ ____
_/ L_/ Mike Harrison / White Wing Logic / .....wwlKILLspam@spam@netcomuk.co.uk _/ L_/
_/ W_/ Hardware & Software design / PCB Design / Consultancy _/ W_/
/_W_/ Industrial / Computer Peripherals / Hazardous Area /_W_/
I'm very curious. What the hey is WWVB?? I use WWV on 2.5, 5, 10, etc MHz
all the time but never heard of the "B". By the way the "Pocket Watch B"
module is great for time keeping thingy's. Mine only lost 6 seconds in 21
days. It will interface to most anything.... ..==Mac==
>On Tue, 3 Mar 1998, Craig Webb wrote:
>
>> Dear fellow electronic artists,
>>
>> Has anyone made a PIC circuit that reads the international time standard?
>> I've seen some clocks out there that do it inexpensively and need it for
>> circuit I'm deigning. Any help would be much appreciated.
>
>I am right now working on a PIC based project to decode a time signal
>called WWVB, which is transmitted by NIST (National Institute of Science
>and Technology) in the continental United States. The main problem is
>ofcourse the signal reception.
>
>Amey
>
> I've had thoughts about doing the same thing. If you would be willing to
> share your code, I'd be very grateful for a copy of it.
>
> I ran across a web page describing a home-built antenna for picking up the
> WWVB signal. Right now I'm on the road, but if this is something that would
> interest you, I'll pass it on when I get back to my home computer.
This is a project work.... no copyright stuff!!!! So I wouldn't mind
sharing code.... However I am still in the initial phase..... If you are
interested in looking at the code, I will send it to you.... Maybe you can
give some good suggestions.
I will certainly be interested in any antenna information for receiving
the signal. Right now I am trying to use a Radio Shack antenna to receive
the signal.... If you have any information on antennas, I will be grateful
to hear about it.... Hopefully then I will be able to receive signal in my
lab....
> Amey,
> What kind of antenna are you using? Full wave of 60Khz is something
> like 5000m?
I did not build any antenna of my own. I am trying to use the one which is
avalaible with the already existing clocks (like for example , the one
from Radio Shack.... they have a clock based on this signal.... also
Klockit has one based on WWVB signal....).
I think all of them use loop antennas to acheive such a big length
I should check this before I post, but I'm at work and the book I need
(ARRL Handbook) is ~20 miles away at home. I'm pretty sure that the 'B'
in WWVB stands for Boulder, as in Boulder, Colorado, where one of the
two WWV stations is located. The other one, which I have heard called
WWVH. Where 'H' stands for Hawaii.
BTW, I've been changed over to NT/Outlook. I would like to know if what
I send from Outlook causes anyone problems. So, if this post has a lot
of garbage attached to it (besides the stuff I wrote), my apologies in
advance.
> I'm very curious. What the hey is WWVB?? I use WWV on 2.5, 5, 10, etc
> MHz
> all the time but never heard of the "B". By the way the "Pocket Watch
> B"
> module is great for time keeping thingy's. Mine only lost 6 seconds in
> 21
> days. It will interface to most anything.... ..==Mac==
>
>
At 06:28 PM 3/4/98 -0500, Frank Richterkessing wrote:
>BTW, I've been changed over to NT/Outlook. I would like to know if what
>I send from Outlook causes anyone problems. So, if this post has a lot
>of garbage attached to it (besides the stuff I wrote), my apologies in
>advance.
>
> I'm very curious. What the hey is WWVB?? I use WWV on 2.5, 5, 10, etc MHz
> all the time but never heard of the "B". By the way the "Pocket Watch B"
> module is great for time keeping thingy's. Mine only lost 6 seconds in 21
> days. It will interface to most anything.... ..==Mac==
At 06:28 PM 3/4/98 -0500, you wrote:
>I should check this before I post, but I'm at work and the book I need
>(ARRL Handbook) is ~20 miles away at home. I'm pretty sure that the 'B'
>in WWVB stands for Boulder, as in Boulder, Colorado, where one of the
>two WWV stations is located. The other one, which I have heard called
>WWVH. Where 'H' stands for Hawaii.
I'm pretty sure WWV is in Fort Collins, CO
Sean
+--------------------------------+
| Sean Breheny |
| Amateur Radio Callsign: KA3YXM |
| Electrical Engineering Student |
+--------------------------------+
Fight injustice, please look at http://homepages.enterprise.net/toolan/joanandrews/
> I'm very curious. What the hey is WWVB?? I use WWV on 2.5, 5, 10, etc MHz
> all the time but never heard of the "B". By the way the "Pocket Watch B"
> module is great for time keeping thingy's. Mine only lost 6 seconds in 21
> days. It will interface to most anything.... ..==Mac==
Ok... I don't know what WWVB stands for. In fact I think it is not an
acronym. Anyway, the WWVB signal is a low frequency signal transmitted on
60Khz, BCD coded time information only but no announcements...
> I'm very curious. What the hey is WWVB?? I use WWV on 2.5, 5, 10, etc
> MHz
> all the time but never heard of the "B". By the way the "Pocket Watch
> B"
> module is great for time keeping thingy's. Mine only lost 6 seconds
in
> 21
> days. It will interface to most anything.... ..==Mac==
>
>
> At 06:28 PM 3/4/98 -0500, you wrote:
> >I should check this before I post, but I'm at work and the book I need
> >(ARRL Handbook) is ~20 miles away at home. I'm pretty sure that the 'B'
> >in WWVB stands for Boulder, as in Boulder, Colorado, where one of the
> >two WWV stations is located. The other one, which I have heard called
> >WWVH. Where 'H' stands for Hawaii.
>
> I'm pretty sure WWV is in Fort Collins, CO
>
> Sean
>
>
> +--------------------------------+
> | Sean Breheny |
> | Amateur Radio Callsign: KA3YXM |
> | Electrical Engineering Student |
> +--------------------------------+
> Fight injustice, please look at
> http://homepages.enterprise.net/toolan/joanandrews/
>
> Personal page: http://www.people.cornell.edu/pages/shb7
> EraseMEshb7spam_OUTTakeThisOuTcornell.edu
> Phone(USA): (607) 253-0315
>
/*****************************************/
/* Matt Calder, Dept. of Statistics, CSU */
/* http://www.stat.colostate.edu/~calder */
/*****************************************/
I am designing a PIC 16c84 circiut to which is a system of clocks in a whole
building. All these PIC circuits are controlled and updated form a central
location (a pc). for now I am passing data via the rs232. Later on I will pass
data super imposed on the mains. But unfortunately I still have bugs when
reading the data serially. For some strange reason, the PIC seems to stop after
the first bit. I tried simulating it with a simulus file and everything seems
ok.Does anyone of you have implemented an rs232 successfully (form pc to pic)?
By the way I am using RB0 as a receive pin. Initailly my idea was to generate
an interrupt when the start bit is detected but for some strange reason, this
did not work. The data baud rate required is 110 bits per second.
Hi
What do you mean exactly international time? I am designing a PIC circiut to
work as a system of clocks in a whole building. All these PIC circuits are
controlled and updated form a central location (a pc). for now I am passing
data via the rs232. Later on I will pass data super imposed on the mains. But
unfortunately I still have bugs when reading the data serially. Does anyone
of you have implemented an rs232 successfully (form pc to pic)? The data baud
rate required is 110 bits per second.
> -----Original Message-----
> From: johnsspam_OUTavenuetech.com [SMTP:@spam@johnsKILLspamavenuetech.com]
> Sent: Thursday, March 05, 1998 10:18 AM
> To: 'pic microcontroller discussion list'
> Subject: RE: International Time Standard: help
>
> I am running NT/Outlook, but I know that this msg is going
> to have garbage, and I am about to get flamed. Your msg
> is clean. What are your settings?
>
>
Being on a network with NT, I don't have much control over my PC
anymore. I looked through the settings (not being exactly sure where to
look). Trying to pick out applicable items: Under Tools/Options I have
under E-mail tab, I do not have Word as my E-mail editor (possible
source of problems?). Under Reading, I have Include and indent original
message text chosen for forwarding and replying (another option is to
Attach original message, possible problem cause?). Under Security,
everything is ghosted out, so I don't know how they set this up. I had
read some messages where others had mentioned a "digital signature" as
being the culprit. Any help?
Also, thanks to Ross Mckenzie for letting me know that I'm apparently
not p****ing people off by posting "binary garbage" in my messages.
In a message dated 98-03-05 12:29:58 EST, you write:
<<
I am designing a PIC 16c84 circiut to which is a system of clocks in a whole
building. All these PIC circuits are controlled and updated form a central
location (a pc). for now I am passing data via the rs232. Later on I will
pass
data super imposed on the mains. But unfortunately I still have bugs when
reading the data serially. For some strange reason, the PIC seems to stop
after
the first bit. I tried simulating it with a simulus file and everything seems
ok.Does anyone of you have implemented an rs232 successfully (form pc to
pic)?
By the way I am using RB0 as a receive pin. Initailly my idea was to generate
an interrupt when the start bit is detected but for some strange reason, this
did not work. The data baud rate required is 110 bits per second.
>>
Hello Chris,
I use RS232 and RS485 extensivly with the 16F84. My RS232 routines are not
interupt driven though. I have threatend to re-write them but for now they
are not.
Have you looked at the interupt mask bits? You have to clear them in your
interupt routine in order get subsequent interupts. A RETFIE instuction will
only clear the global interupt mask not the change on 'B' mask. Only clear
the mask at the end of your interupt service routine, otherwise you might get
an interupt while you are in the interupt routine. If this happens too often
you can run out of stack space and the program will go off into never never
land. Also are you saving your registers at the begining of the interupt
routine and restoring the registers at the end of the routine? If you were in
a routine that was computing a goto (for example) based on the contents of the
W reg., and you got interupted at that point, you might not return from the
interupt routine with the correct contents of W causing your computed jump to
go into left field.
At 03:54 PM 3/5/98 -0500, Frank Richterkessing wrote:
>Also, thanks to Ross Mckenzie for letting me know that I'm apparently
>not p****ing people off by posting "binary garbage" in my messages.
>
>-Frank
>
>Frank Richterkessing
>GE Appliances
>RemoveMEfrank.richterkessingTakeThisOuTappl.ge.com
>
Errrr, Frank,
I don't remember using those words. Would be most unlike me <g>.
At 10:18 AM 3/5/98 -0500, you wrote:
>I am running NT/Outlook, but I know that this msg is going
>to have garbage, and I am about to get flamed. Your msg
>is clean. What are your settings?
>
>{Original Message removed}
At 18:28 98.03.04 -0500, you wrote:
>I should check this before I post, but I'm at work and the book I need
...[SNIP]
>BTW, I've been changed over to NT/Outlook. I would like to know if what
>I send from Outlook causes anyone problems. So, if this post has a lot
>of garbage attached to it (besides the stuff I wrote), my apologies in
...[SNIP]
Don't worry, your mail has arrived clean of any kind of the so called
garbage at the end.
Jorge f
===============================================================
cumprimentos / best regards
Jorge Ferreira //spamBeGonejorgegfspamBeGonemail.telepac.pt
------ Make sure brain is in gear before engaging mouth -------
===============================================================
I managed to find the mistake in my RS232 routine. What I did is made a delay on
the PC between every byte. Every time a byte is received, the pic exits the ISR
and continues to work. When a new bit is detected, an interrupt occurs and it
reads the next byte.