I built this circuit up and substituted a resistor for the LDR and put a LED on the headlight line. The circuit flashes the LED correctly but I can not get the circuit to shut off no matter what the value of the LDR is. I have increased it all the way up to 1m ohm ... no difference. The idea is to have the LDR disable the circuit at dark. I also only have one pin left to use on the processor.
I am using a slow PWM signal from a PIC and I want the headlight line to provide the 12v being controlled by the PIC.
What am I doing wrong with this?
I am using a slow PWM signal from a PIC and I want the headlight line to provide the 12v being controlled by the PIC.
What am I doing wrong with this?