MrDEB
Well-Known Member
Have been tinkering with some older schematics and need to add a dis-ableing light detection section as IR doesn't work in daylight.
Contemplated using photo transistor to ground output of PIR but then battery life may be lessened and it doesn't seem to work.
Installing ADC code to detect state of photo transistor.
Sorry, got off subject. I have been installing a diode in series w/ 22k resistor/Vcc to MCLR
WHY?? have yet to see anyone else do this. Is it nessary.
Have added a diode for battery reversal protection. Thinking of inserting right after power switch.
Contemplated using photo transistor to ground output of PIR but then battery life may be lessened and it doesn't seem to work.
Installing ADC code to detect state of photo transistor.
Sorry, got off subject. I have been installing a diode in series w/ 22k resistor/Vcc to MCLR
WHY?? have yet to see anyone else do this. Is it nessary.
Have added a diode for battery reversal protection. Thinking of inserting right after power switch.