I have been making an electronic device which has two output channels and alternates between them. The outputs are controlled throgh SSRs (solid state MOSFET relays eg AQZ205).
The old version of the device used a 555 to switch between the two relays, either sourcing or sinking current.
The new version of the device uses a microprocessor (Arduino Pro Mini) to essentially do the same thing.
The problem is that during reset, for a couple of seconds, the output pin of the MCU is neither sourcing or sinking, neither 0 nor 1. It is actually open circuit and then both SSRs open up as they are connected as the LEDs you see in the diagram.
To have both SSRs open at the same time is disastrous - it is something that MUST be avoided.
So I need a way that no matter what the input is, Vcc, GND, or somewhere in between, the output can only be Vcc or GND.
One solution is to flash the Pro Mini directly with my code and avoid the "bootloader". The bootloader is a special piece of code which allows you to program the Arduino during reset and for a couple of seconds after. It is during those 2-3 seconds that the output pin in question is in an indeterminate state and both SSRs are on.
Another solution might be in hardware : I was thinking of using the 4049 or the 4069 to buffer the output of the Arduiono. In that case, no matter what the output is, low, or high, or open circuit, the output of the 4049/4069 will either be 1 or 0, guaranteed. But these are 16 pin chips and I only really need one of their 6 inverters/buffers, seems like a complete waste of board space.
Could you suggest something different?