Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. Monitoring a wood boiler heating system

Monitoring a wood boiler heating system

Scheduled Pinned Locked Moved My Project
23 Posts 9 Posters 10.3k Views 10 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • korttomaK Offline
    korttomaK Offline
    korttoma
    Hero Member
    wrote on last edited by korttoma
    #13

    Finally got a MAX31865 + PT100 on a breadboard set up and measuring the smoke temperature.

    0_1487049565791_WP_20170201_09_28_03_Pro.jpg

    But I seem to have an issue, either there is something wrong with the library I'm using or the sensor just cant handle the heat. If it gets hot enough I get negative values.

    0_1487049584504_Rök.jpg

    The boileroom is not quite fit for debugging, would be nice to have a wireless serial port of some kind.

    EDIT: Maybe I can use a 470ohm potentiometer to debug this instead of the PT100?

    • Tomas
    bjacobseB enloE 2 Replies Last reply
    0
    • korttomaK korttoma

      Finally got a MAX31865 + PT100 on a breadboard set up and measuring the smoke temperature.

      0_1487049565791_WP_20170201_09_28_03_Pro.jpg

      But I seem to have an issue, either there is something wrong with the library I'm using or the sensor just cant handle the heat. If it gets hot enough I get negative values.

      0_1487049584504_Rök.jpg

      The boileroom is not quite fit for debugging, would be nice to have a wireless serial port of some kind.

      EDIT: Maybe I can use a 470ohm potentiometer to debug this instead of the PT100?

      bjacobseB Offline
      bjacobseB Offline
      bjacobse
      wrote on last edited by bjacobse
      #14

      @korttoma said in Monitoring a wood boiler heating system:

      Finally got a MAX31865 + PT100 on a breadboard set up and measuring the smoke temperature.

      But I seem to have an issue, either there is something wrong with the library I'm using or the sensor just cant handle the heat. If it gets hot enough I get negative values.

      Could it be something that you store your read value in a too small variable, so that you get variable rollover?

      1 Reply Last reply
      2
      • korttomaK Offline
        korttomaK Offline
        korttoma
        Hero Member
        wrote on last edited by
        #15

        @bjacobse I hope so, I got it on my desk now. Just need to get the variable resistor today so I can start debugging.

        /**
         * The MySensors Arduino library handles the wireless radio link and protocol
         * between your home built sensors/actuators and HA controller of choice.
         * The sensors forms a self healing radio network with optional repeaters. Each
         * repeater and gateway builds a routing tables in EEPROM which keeps track of the
         * network topology allowing messages to be routed to nodes.
         *
         * Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
         * Copyright (C) 2013-2015 Sensnology AB
         * Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors
         *
         * Documentation: http://www.mysensors.org
         * Support Forum: http://forum.mysensors.org
         *
         * This program is free software; you can redistribute it and/or
         * modify it under the terms of the GNU General Public License
         * version 2 as published by the Free Software Foundation.
         *
         *******************************
         *
         * DESCRIPTION
         *
         * Example sketch showing how to send in DS1820B OneWire temperature readings back to the controller
         * http://www.mysensors.org/build/temp
         */
        
        
        // Enable debug prints to serial monitor
        //#define MY_DEBUG 
        
        // Enable and select radio type attached
        #define MY_RADIO_NRF24
        //#define MY_RADIO_RFM69
        //#define MY_RFM69_FREQUENCY RF69_433MHZ
        
        // Define a static node address, remove if you want auto address assignment
        #define MY_NODE_ID 23
        
        #include <SPI.h>
        #include <MySensors.h>  
        
        #include <Adafruit_MAX31865.h>
        
        #define CHILD_ID 1
        
        // Use software SPI: CS, DI, DO, CLK
        //Adafruit_MAX31865 max = Adafruit_MAX31865(10, 11, 12, 13);
        // use hardware SPI, just pass in the CS pin
        Adafruit_MAX31865 max = Adafruit_MAX31865(8);
        
        // The value of the Rref resistor. Use 430.0!
        #define RREF 430.0
        
        #define TEMP_TRANSMIT_THRESHOLD 2
        
        float temperature;
        float lastTemperature = 10;
        float diffTemp = 1;
        unsigned long SLEEP_TIME = 20000; // Sleep time between reads (in milliseconds)
        
        
        bool receivedConfig = false;
        bool metric = true;
        // Initialize temperature message
        MyMessage msg(CHILD_ID,V_TEMP);
        
        void before()
        {
          max.begin(MAX31865_3WIRE);  // set to 2WIRE or 4WIRE as necessary
        }
        
        void setup()  
        { 
        
        }
        
        void presentation() {
          // Send the sketch version information to the gateway and Controller
          sendSketchInfo("PT100 Temp", "1.0");
        
             present(CHILD_ID, S_TEMP);
          
        }
        
        void loop() {     
        
          uint16_t rtd = max.readRTD();
        
          Serial.print("RTD value: "); Serial.println(rtd);
          float ratio = rtd;
          ratio /= 32768;
          
          Serial.print("Ratio = "); Serial.println(ratio,8);
          
          Serial.print("Resistance = "); Serial.println(RREF*ratio,8);
          
        
          // Fetch temperature
          temperature = max.temperature(100, RREF);
          Serial.print("Temperature = "); Serial.println(temperature);
            // Only send data if temperature has changed and no error
          diffTemp = abs(lastTemperature - temperature);
          
          Serial.print("DiffTemp = "); Serial.println(diffTemp); 
           
            if (diffTemp > TEMP_TRANSMIT_THRESHOLD) {
              // Send in the new temperature
              send(msg.set(temperature,1));
              // Save new temperatures for next compare
              lastTemperature = temperature;
            }
          sleep(SLEEP_TIME);
        }
        

        In the meantime I replaced it with a node that uses a K-Type thermocouple and this one works just fine.

        0_1487134981651_K-Type.jpg

        • Tomas
        1 Reply Last reply
        0
        • korttomaK Offline
          korttomaK Offline
          korttoma
          Hero Member
          wrote on last edited by
          #16

          I can now confirm that the problem is in fact the PT100 sensor because if I "simulate" the sensor with a variable resistor everything works fine all the way up to 988.8 degrees and down to -241.3.

          Seems like I will have to use the K-Type sensor after all.

          • Tomas
          bjacobseB 1 Reply Last reply
          1
          • korttomaK korttoma

            I can now confirm that the problem is in fact the PT100 sensor because if I "simulate" the sensor with a variable resistor everything works fine all the way up to 988.8 degrees and down to -241.3.

            Seems like I will have to use the K-Type sensor after all.

            bjacobseB Offline
            bjacobseB Offline
            bjacobse
            wrote on last edited by
            #17

            @korttoma
            Glad that you found the rootcause + published your analysis

            1 Reply Last reply
            0
            • korttomaK korttoma

              Finally got a MAX31865 + PT100 on a breadboard set up and measuring the smoke temperature.

              0_1487049565791_WP_20170201_09_28_03_Pro.jpg

              But I seem to have an issue, either there is something wrong with the library I'm using or the sensor just cant handle the heat. If it gets hot enough I get negative values.

              0_1487049584504_Rök.jpg

              The boileroom is not quite fit for debugging, would be nice to have a wireless serial port of some kind.

              EDIT: Maybe I can use a 470ohm potentiometer to debug this instead of the PT100?

              enloE Offline
              enloE Offline
              enlo
              wrote on last edited by
              #18

              @korttoma just being curious: how did you install that smoke sensor? drill an hole into the chimney?

              korttomaK bjacobseB 2 Replies Last reply
              0
              • enloE enlo

                @korttoma just being curious: how did you install that smoke sensor? drill an hole into the chimney?

                korttomaK Offline
                korttomaK Offline
                korttoma
                Hero Member
                wrote on last edited by korttoma
                #19

                @enlo there was a hole on the back of the wood boiler where the pipe goes to the chimney.
                It looked like a bolt and when I unscrewed it with a 14mm wrench I found that it had 12mm (or 1/2") threading so the hole was quite big and I can fit most sensors in it..
                Because the sensor is so close to the boiler it gets quite hot so it is actually not a surprise that the sensor could not handle it but the behaviour was quite strange. I thought that if it would fail it would also destroy the sensor but it just malfunctions and goes back to normal when it cools down.

                The sensor claimed to have a measurement range of -200~500 Degrees like most of the sensors for sale.

                The K-Type thermocouple I'm using now has "Operating Temperature: 0 – 800 °C" but the item on Ali is nolonger available. I looks like this one though ->

                https://www.aliexpress.com/item/K-Type-2M-EGT-Thermocouple-WRNK-191-Probe-type-Exhaust-Probe-High-Temperature-Sensors-Threads-Stainless/32754224250.html

                • Tomas
                enloE 1 Reply Last reply
                1
                • enloE enlo

                  @korttoma just being curious: how did you install that smoke sensor? drill an hole into the chimney?

                  bjacobseB Offline
                  bjacobseB Offline
                  bjacobse
                  wrote on last edited by
                  #20

                  @enlo
                  I would assume to drill a hole in the metal chimney that is between the wood boiler and the brick chimney.
                  then depending of the K-type thermocouple
                  then there is a nut so you can secure this like this:
                  https://www.aliexpress.com/item/Newest-High-Temperature-100-To-1250-Degree-Thermocouple-K-Type-100mm-Stainless-Steel-Probe-Sensors/32786956791.html?spm=2114.40010308.4.1.LxioyK

                  Or else you can sealed with special heat resistant seal:
                  https://www.amazon.co.uk/Heat-Resistant-Sealant-1250-300ml/dp/B0046450C4

                  1 Reply Last reply
                  1
                  • korttomaK Offline
                    korttomaK Offline
                    korttoma
                    Hero Member
                    wrote on last edited by
                    #21

                    I just put the sensor through a 1cm sheet of heat resistant rockwool.
                    I bet that the draft of the chimney is enough to ensure that the fire does not find it's way through this little hole.

                    • Tomas
                    1 Reply Last reply
                    0
                    • korttomaK korttoma

                      @enlo there was a hole on the back of the wood boiler where the pipe goes to the chimney.
                      It looked like a bolt and when I unscrewed it with a 14mm wrench I found that it had 12mm (or 1/2") threading so the hole was quite big and I can fit most sensors in it..
                      Because the sensor is so close to the boiler it gets quite hot so it is actually not a surprise that the sensor could not handle it but the behaviour was quite strange. I thought that if it would fail it would also destroy the sensor but it just malfunctions and goes back to normal when it cools down.

                      The sensor claimed to have a measurement range of -200~500 Degrees like most of the sensors for sale.

                      The K-Type thermocouple I'm using now has "Operating Temperature: 0 – 800 °C" but the item on Ali is nolonger available. I looks like this one though ->

                      https://www.aliexpress.com/item/K-Type-2M-EGT-Thermocouple-WRNK-191-Probe-type-Exhaust-Probe-High-Temperature-Sensors-Threads-Stainless/32754224250.html

                      enloE Offline
                      enloE Offline
                      enlo
                      wrote on last edited by
                      #22

                      @korttoma Thanks for your explanation!
                      I am thinking about integrating a heat sensor too but I am not confident enough to manipulate the chimney - yet :)

                      1 Reply Last reply
                      0
                      • archiijsA Offline
                        archiijsA Offline
                        archiijs
                        wrote on last edited by archiijs
                        #23

                        Hi, all this is awesome, about the same what I would like to make as I'm heating the house with wood boiler (actually wood gasification boiler to be correct), and accumulation tank. Still working on hot water boiler, but that's not far.

                        For now, I got working Individually DS18b20 node (still with automatic addressing) and one node that reads the temperature in my boilers second burning chamber with a k-type thermocouple but still struggling to get them bout working with one node.
                        It would be very helpful for some guidance or example for this.

                        So my goal is to get 2x thermocouples (additional for smoke temperatures) and some 18b20s in one node + some standard stuff what I am not still sure about.

                        But for now big thanks to mysensors team and community for this.
                        alt text

                        1 Reply Last reply
                        1
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        29

                        Online

                        11.7k

                        Users

                        11.2k

                        Topics

                        113.1k

                        Posts


                        Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • MySensors
                        • OpenHardware.io
                        • Categories
                        • Recent
                        • Tags
                        • Popular