Author Topic: Temperature Sensor  (Read 10791 times)

thatoneguy

  • Guest
Temperature Sensor
« 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

Offline spittet

  • PLUS+1 Guru
  • *****
  • Posts: 118
  • Karma: +6/-1
Re: Temperature Sensor
« Reply #1 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

thatoneguy

  • Guest
Re: Temperature Sensor
« Reply #2 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.

Offline oiltronic

  • PLUS+1 Guru
  • *****
  • Posts: 170
  • Karma: +15/-0
Re: Temperature Sensor
« Reply #3 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...