Other Parts Discussed in Thread: LM158-N, OPA2170, TL062, TLV2170
I will try to explain as clear as possible:
I created a PCB where a microcontroller will read 2 analog inputs. For the analog inputs I use the LM258 as voltage follower. To protect the input I used a 10kOhm resistor and a TVS.
Because my microcontroller uses 5 V I use on the output of the opamp a voltage divider 7/1. As VCC on the LM258WY is 24V (not 12V as on the schematic below)
Now when I switch the source on. My output ( pin1 and 7 ). already give an output of 24V. The input voltage (pin 3 and 5) is 0V.
When I connect 20V to the input I get a short in the system and I burn the LM258.
I don't get what is going wrong.
I simulated the system with an LM258AD (works fine in multisim)and I use a LM258WY. But I don't see in the datasheet that this would be the issue.
Could somebody please explain me what is happinng. I don't get it.
Thanks in advance,