1
\$\begingroup\$

I try to make simple LED/photodiode circuit by arduino and 741 op amp. I used mid-IR LED by 200mA current and suitable photodiode for it. I wanted make pulsed signal by digital output of Arduino UNO but the generated signal does not turn off (LOW state) and input signal to led observed on op amp output even when the LED is not in front of photodiode.

Where is my mistake?

schematic

simulate this circuit – Schematic created using CircuitLab

enter image description here

\$\endgroup\$
5
  • 1
    \$\begingroup\$ a 741 with 5V? Did I read it right? \$\endgroup\$ – Sredni Vashtar Dec 20 '20 at 13:42
  • 1
    \$\begingroup\$ If you have access to an arduino, you can also buy a better opamp than the 741. The supply voltage of 5V is simply not high enough for that, and even if it were (it really isn't), that's about the worst opamp you can buy. This can't work. \$\endgroup\$ – Marcus Müller Dec 20 '20 at 13:42
  • \$\begingroup\$ @MarcusMüller What is the reason of observing input signal to led on op amp output even when the LED is not in front of photodiode, Is this also due to the op amp? \$\endgroup\$ – Seyedali Hosseini Dec 20 '20 at 13:52
  • 1
    \$\begingroup\$ But... are you powering the op amp with the signal coming out of the Arduino? \$\endgroup\$ – Sredni Vashtar Dec 20 '20 at 13:53
  • 1
    \$\begingroup\$ Reasons not to use a 741 op-amp. The reasons pretty much apply to your choice of 741 in your target circuit. \$\endgroup\$ – Andy aka Dec 20 '20 at 14:14
0
\$\begingroup\$
  1. Connect a large value resistor between the output of the op amp and the V- input. This is a transimpedance amplifier configuration. You may have to add a small value capacitor in parallel with that resistor to keep the amplifier stable.

  2. I am not sure of the intent of R1 which pulls the output of the op amp toward the positive supply rail. I would remove it unless it unless there is a specific reason for it being there. If the intent is to shift the output value, this is best achieved by adding a voltage divider to the V+ input, rather than fighting with the op amp's output

  3. My guess is that there is a mistaken connection and that R1 was intended to connect to the V- input instead of the positive supply rail.

  4. I concur with others who have said to use a different op amp -- a "rail to rail" op amp. The output range of a 741 with a unipolar 5V supply is rather small.

\$\endgroup\$
3
  • \$\begingroup\$ What is the reason of observing input signal to led on op amp output even when the LED is not in front of photodiode, Is this also due to the op amp? \$\endgroup\$ – Seyedali Hosseini Dec 20 '20 at 13:52
  • \$\begingroup\$ I believe it is a combination of 2 things. First, the output range of a 741 with a 5V unipolar power supply is small. It is definitely less than 3 volts, and I wouldn't be surprised if it were only 1 or 2. Second, your resistor R1 is pulling the output toward the positive 5V, even when the op amp is trying to give a low voltage output. \$\endgroup\$ – Math Keeps Me Busy Dec 20 '20 at 13:59
  • \$\begingroup\$ "Is rather small" is ... um... an understatement: the minimum supply is -10 V on negative supply and +10 V on positve supply (that' makes for a total of 20V) according to the LM741 datasheet. 5V simply only gets you 1/4 to the minimum recommended operating voltage. Even if we ignore recommendations, the LM741 can't get closer than ca 3V to each rail, so at less than 6 V supply, you have absolutely no reliable output at all. Wrong component. \$\endgroup\$ – Marcus Müller Dec 20 '20 at 14:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.