Hello , I need to use LM35 in order to check for temperature and if needed to shut down current supply.
I have found a spice model for the LM35 but the it has only one port of out.
How can I make a 3 port device like in the datasheet?
Also in the datasheet they use 2 diodes as in the photo ,why are they needed?(as shown in the photo)
Thanks.
https://www.ti.com/lit/ds/symlink/lm35.pdf?ts=1765256004717&ref_url=https%253A%252F%252Fwww.google.com%252F* LM35 Model
.subckt LM35 Out
I1 0 N001 1
R0 N001 0 1 tc1=0.01
I2 0 N002 1
R1 N002 0 1 tc1=0.01 TEMP=0
G1 0 Out N001 N002 10
R2 Out 0 0.1
.ends