hi I am new to arduino, and I have many problems with my logic, in this program I want a led to turn on if the value is> = 25 and turn off if it is not, I am using proteus to simulate, when I place the value above 3 turns on, and if it is less than 3 it turns off, I don't understand why it doesn't work with the value I want.
guide me
this is my diagram,LM35 will be the one that is simulated with the potentiometer, What I am trying to do is start the potentiometer with a value for example 25, and if I raise the value to more than 25 the led turns on, otherwise the led turns off.
Depending on which LM35 you have, the output is about 10mV per degree C. What are you seeing and why do you think the 10mV will be what you simulated?
Paul