LM358 circuit with Arduino micrcontroller ADC input

adcarduino

Need help use LM358 circuit with Arduino micrcontroller ADC input

I want to implement a LED fault compensation circuit. When a LED has failed, there will be an open circuit and no current will flow through the string. Hence, a zero current will be sensed at the RS and it will be feed backed through ADC to the microcontroller. The microcontroller will take response.

but I can't get the signal at ADC, please advice my circuit any wrong.

thanks

attached hereenter image description here

Best Answer

R8 is connected to ground at both ends. The feedback for the opamp won't work properly. It is likely that the output of the opamp is stuck at one level

Disconnect the wire from opamp pin 2 to the bottom connection of R6.