Mark_R
Member
Hi,
Please consider the attached circuit.
This is a Fairchild MID400 AC monitor IC. When AC is applied to its input (pins 1 & 2) its output (pin 6) goes low. The output is being monitored by a GPIO of a PIC with a 10K pullup. I added the LED and series resistor for visual indication of the output state.
The question is; do I still need the 10K pullup? Would the LED and series resistor pullup the output?
My thinking is that I still need the 10K as when the output is off the diode would not be biased past its turn on voltage and would effectively do nothing. Or not.![Confused :confused: :confused:](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Thoughts?
EDIT: RA0 in the diagram goes to the PIC
EDIT2: I fixeed the schematic so that Vcc is at the top, per convention. Sorry for the confusion.
Please consider the attached circuit.
This is a Fairchild MID400 AC monitor IC. When AC is applied to its input (pins 1 & 2) its output (pin 6) goes low. The output is being monitored by a GPIO of a PIC with a 10K pullup. I added the LED and series resistor for visual indication of the output state.
The question is; do I still need the 10K pullup? Would the LED and series resistor pullup the output?
My thinking is that I still need the 10K as when the output is off the diode would not be biased past its turn on voltage and would effectively do nothing. Or not.
Thoughts?
EDIT: RA0 in the diagram goes to the PIC
EDIT2: I fixeed the schematic so that Vcc is at the top, per convention. Sorry for the confusion.
Attachments
Last edited: