Go Down

Topic: Emulating a temp sensor (Read 1 time) previous topic - next topic

Greenbeast

Feb 21, 2010, 08:38 pm Last Edit: Feb 21, 2010, 09:12 pm by Greenbeast Reason: 1
This could be ridiculously basic but can i emulate a LM35 temp sensor by using a suitably rated resistor between the 5v pin and an analog pin?

For example dropping the voltage to 300mV to emulate a 30C temperature


boceifo

not with just one resistor, you will need a 3 wire pot to do that.  The outer ones go to 5V and ground, and the center goes to you analog input.  Or you could make a voltage divider with several resistors in series and take the different voltage drops between the resistors to use as a simulation.

pwillard

The concepts on the following WIKI are what you are after...

http://en.wikipedia.org/wiki/Voltage_divider



Go Up