On 3/31/2011 12:40 PM, jb-electronics wrote:
Hi folks,

In a little test run, the clock was connected to the main power supply (wall
wart) and worked fine. I let it run for about 1 hour. Then I removed the wall
wart, and it switched to battery. But now get this: The PIC suddenly got really
warm, and when I re-activated wall wart power, nothing happened. The PIC cooled
down, though, but the software hung. So I removed the PIC, removed the
batteries, reinstalled everything, and the problem has not occured since.

But I am quite confused. Why did something happen in the first place?

Best whishes,
Jens


Jens,

Why do you use a relay? It is not needed. The diodes provide the switch function for you.

The PIC may have seen a voltage glitch which sent it into some bad mode, like CMOS latchup. Cycling the power off then on would clear the latchup condition.

I would remove the relay K1 and replace it with a toggle switch to allow the owner to turn off the batteries if the clock will be unplugged for a long time.
The switch would be turned ON to provide the battery backup feature.


--
David Forbes, Tucson, AZ

--
You received this message because you are subscribed to the Google Groups 
"neonixie-l" group.
To post to this group, send an email to neonixie-l@googlegroups.com.
To unsubscribe from this group, send email to 
neonixie-l+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/neonixie-l?hl=en-GB.

Reply via email to