Skip to content

Node Red Temperature

diverjoe edited this page May 16, 2018 · 7 revisions

Temperature Flow

Notes

  • Uses an inexpensive ($3) waterproof digital sensor - DS18B20. This was chosen over an RTD because it does not need signal condition or ANY extra circuits. Just connect it to the Pi and it just works. Also, specs are pretty darn good as well! The DS18B20 uses the 1-Wire protocol that is address based. The sensor has a pre-stamped, unique address in each one made.
  • Used the node-red-contrib-ds18b20-sensor node to connect to the sensor. It is more mature than others and will auto-detect any/all DS18B20's on the system.
  • Values are sent to
    • Dashboard big numbers along with Red/Lime color changes
    • Chart (disconnect right now)
    • InfluxDB/Grafana for graphing
  • Temperature msg goes out for other flows to use like the pH and EC sensors that make Temperature corrections
  • Temperature is changed to a heater command based on a temperature set in the UI
  • Flow Source Code

How to hookup 1 or more DS18B20 sensors to a Pi