Swedish Chef
Well-known member
I have a compressor in development which has a few bits of logic switching in it. Standard fayre with a momentary switch, into a 40106, into a 4013 which then uses BC516s and BC517s to drive the LEDs and relays respectively. The feedback that we've had from engineers so far has been very positive but one point that has cropped up a few times is the unit's inability to "remember" its settings if powered down over night.
All of the switching circuitry has it's own 12V rail and Ground which runs all of the logic, transistors and relays. The unit is out being 'road tested' at the moment but I have been scratching my head thinking about how easy it might be to use a battery to get the flip flops to remember their states, or if I need to scrap all of the logic and do the whole lot with a PIC.
The 1st idea I came up with was to deliver Vcc to the flip flops through diodes and then have a backup battery, again delivered through a diode to prevent interaction between the Vcc when on, and the battery, so that at power off the flip flops "remember" what state they are in until the unit is powered up again.
I can't believe that this is an ideal way to do it, so can anybody shed any light on the subject?
Yours illogically
:shock:
chef
All of the switching circuitry has it's own 12V rail and Ground which runs all of the logic, transistors and relays. The unit is out being 'road tested' at the moment but I have been scratching my head thinking about how easy it might be to use a battery to get the flip flops to remember their states, or if I need to scrap all of the logic and do the whole lot with a PIC.
The 1st idea I came up with was to deliver Vcc to the flip flops through diodes and then have a backup battery, again delivered through a diode to prevent interaction between the Vcc when on, and the battery, so that at power off the flip flops "remember" what state they are in until the unit is powered up again.
I can't believe that this is an ideal way to do it, so can anybody shed any light on the subject?
Yours illogically
:shock:
chef