1
\$\begingroup\$

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

asked Sep 19, 2015 at 3:33
\$\endgroup\$

1 Answer 1

1
\$\begingroup\$

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.

answered Sep 19, 2015 at 3:44
\$\endgroup\$
3
  • \$\begingroup\$ Also, for what it's worth, Q8 is probably backwards, although without seeing the rest of the circuit I can't be positive. Also, the ADC should be seeing about 3 volts when the LED is on, since the LM358 is running open-loop. \$\endgroup\$ Commented Sep 19, 2015 at 3:53
  • \$\begingroup\$ Yes, I was disconnected the wire between pin2 and ground, and exchange Q8 D&S. But still not receive signals at ADC IN \$\endgroup\$ Commented Sep 19, 2015 at 4:05
  • \$\begingroup\$ What do you mean by "not receive signals"? You need to tell us exactly what you see. What voltage, how it varies with LED state, ADC reading... \$\endgroup\$ Commented Sep 19, 2015 at 16:06

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.