PLUS+1 User Forum

PLUS+1™ Software => Code sharing => Topic started by: thatoneguy on November 15, 2013, 08:17:06 PM

Title: Temperature Sensor
Post by: thatoneguy on November 15, 2013, 08:17:06 PM
Hello out there,

Really green on Plus 1 programming.. had a question on Temperature Sensors does anyone have any examples on how they need to be implemented? I plan on using the standard Liquid Temperature Sensor...Any help/examples/point in the right direction would be awesome!!
Thanks
Title: Re: Temperature Sensor
Post by: spittet on November 15, 2013, 10:15:08 PM
There is a function block that already has the required "ohm vs temp" function built-in. This block is located under the Hardware Tab : Sensor-StandAlone/Temperature/Liquid Temperature Sensor/SubTemplate.

Simply feed it the input pin and it will retrieve the ohm value from it. Then, it will output the temperature, either in °C or °F, as you wish.

Sam
Title: Re: Temperature Sensor
Post by: thatoneguy on November 18, 2013, 05:26:02 PM
Thanks Sam.. I got that figured out I thought there was more to it than just hooking it up to the Ohms.
Title: Re: Temperature Sensor
Post by: oiltronic on January 02, 2014, 10:31:16 PM
Just be aware of the ohm limits on the input pin you wish to use. because some will clip at 10k, which I think is around -5C.  But if your oil is that cold there are probably other issues...