this post was submitted on 29 Jun 2023
2 points (100.0% liked)
Ask Electronics
3335 readers
2 users here now
For questions about component-level electronic circuits, tools and equipment.
Rules
1: Be nice.
2: Be on-topic (eg: Electronic, not electrical).
3: No commercial stuff, buying, selling or valuations.
4: Be safe.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I tied the Arduino's GND to the power supply GND, the output is still 10V, tried different ICs as well, not really sure what the issue is at this point. Tying the non inverting input pin to ground does turn OFF the LED, but the led stays on regardless if the 5V is coming from the arduino or not, it seems that the op amp outputs 10V regardless of the non-inverting pin, however if I use different resistors to lower the gain or change the input voltage to 3.3V instead of 5V, I do get the output voltage. I just don't understand how there can be 10V at the output with no voltage from the inverting or non-inverting pin.
Well, you should get 10V. You input 5V, the voltage gain is 2, so the output should be 10V. I don't see a problem here, the circuit is working as expected.
But that's the thing, it outputs 10V even when the 5V rail from Arduino is disconnected at V+ (pin 3).
Put a pot between the arduino's +5V and the circuit, see what happens when you turn it. A 10K to 100K pot should be enough.