Hi Frank,

Hi Jens,

Is it a big relay? Could be that the PIC is trying to energize the relay, through
input protection diodes in the 4049, when in battery mode.

It is a small reed relais that draws about 10mA. But I do not really get how the PIC would do that? There is no connection to the relais except over RA2 but that is an input.

What really bugs me is that the phenomenon does not always occur, I cannot reproduce it. I have had it running for 12 hours without a problem. This suggests some irregular CMOS (?) behavior.

R11 is across 5V input. RA2 is connected to +5V input. Is that a schematic mistake?

Nope, RA2 checks if there is any primary voltage on JP1, and R11 is the pulldown.

Do you really need the relay. Why not just use D1 and D2. Diode current is zero because 5V input voltage is slightly higher etc. The relay is not an improvement.

I think it is, because if the supply voltage is slightly lower than the battery voltage, the batteries would supply power and not th external source.

Connect VCC IC2 and IC8 to IC1. Use software to turn off leds, when in battery mode. Or make one led flash shortly every 2 seconds, to preserve power in backup mode.

I'll try that. I just hope the CD4094 do not draw tooo much current in quiescent mode (OE = 0).

Many thanks,
Jens

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

Reply via email to