Suitable examples to use are the LM393 or LM311. The resistances in the voltage dividers in this circuit are uniformly 10k. Consequently input A lies at half the operating voltage (2.5V), assuming nothing is connected to the input - or the microcontroller pin connected is at high impedance. The non-inverting input of IC1A lies at two-thirds and the inverting input of IC1B at one third of the operating voltage, so that in both cases the outputs are set at High state. If the microcontroller pin at input A becomes Low, the output of IC1B becomes Low and that of IC1A goes High. If A is High, everything is reversed.
Circuit diagram:
Multitasking Pins Circuit Diagram
Roland PlischElektor Electronics 2008
Post a Comment