Hi All, I'm having a little trouble with a circuit, please could someone help?
Project Objective
To produce a circuit which can modulate a high power LED. The assembly is intended to have real time current feedback via an op amp amplifying the PD across a low ohm resistor, before feeding back to an ADC on my μC. I have a switched 10k pot which switches on the voltage regulator circuit while the pot is used as a voltage reference to set the PWM DC.
The problem
When I prototyped this circuit it worked fine. However, after producing a board and using SMD components I noticed that the LEDs glow very slightly when the circuit is switched off. I have measured the current and it is tiny, almost too small for me to measure. I have traced the source back to the op amp (by removing various components until the phenomena stopped).
Additional info:
Supply Voltage: 14V
Regulated voltage: 5V
LED max current 3A
μC is actually a PIC16F88 not the PIC16F84 in schematic (same footprint as a PIC16F84)
Summery
I have provided a schematic for you guys to have a look at and would be very grateful if someone could point out my silly mistake, because I, for the life of me, can't figure it out!
BTW: I do not profess to be at all electronically literate; rather I enjoy playing with electronics to support my core abilities in Mechanical engineering. That said all constructive abuse welcome!
Many thanks,
Matt
Project Objective
To produce a circuit which can modulate a high power LED. The assembly is intended to have real time current feedback via an op amp amplifying the PD across a low ohm resistor, before feeding back to an ADC on my μC. I have a switched 10k pot which switches on the voltage regulator circuit while the pot is used as a voltage reference to set the PWM DC.
The problem
When I prototyped this circuit it worked fine. However, after producing a board and using SMD components I noticed that the LEDs glow very slightly when the circuit is switched off. I have measured the current and it is tiny, almost too small for me to measure. I have traced the source back to the op amp (by removing various components until the phenomena stopped).
Additional info:
Supply Voltage: 14V
Regulated voltage: 5V
LED max current 3A
μC is actually a PIC16F88 not the PIC16F84 in schematic (same footprint as a PIC16F84)
Summery
I have provided a schematic for you guys to have a look at and would be very grateful if someone could point out my silly mistake, because I, for the life of me, can't figure it out!
BTW: I do not profess to be at all electronically literate; rather I enjoy playing with electronics to support my core abilities in Mechanical engineering. That said all constructive abuse welcome!
Many thanks,
Matt