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. Hardware
  3. DS18B20 Output temperature

DS18B20 Output temperature

Scheduled Pinned Locked Moved Hardware
5 Posts 3 Posters 1.1k Views 3 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.
  • B Offline
    B Offline
    bobthebuilder
    wrote on last edited by
    #1

    This is my first post and I am not sure I have put it in the right place. I want to increase the reading of my DS18B20 by 5 degrees. For example it is now reading 43. 2 degrees C and I would like the one wire output to be 48.2 degrees. Is this possible?

    mfalkviddM 1 Reply Last reply
    0
    • B bobthebuilder

      This is my first post and I am not sure I have put it in the right place. I want to increase the reading of my DS18B20 by 5 degrees. For example it is now reading 43. 2 degrees C and I would like the one wire output to be 48.2 degrees. Is this possible?

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by mfalkvidd
      #2

      Hi @bobthebuilder, welcome to the forum!

      In the example sketch, just before send(msg.setSensor(i).set(temperature,1)); you can add this:

      temperature=temperature + 5.0
      
      B 1 Reply Last reply
      1
      • mfalkviddM mfalkvidd

        Hi @bobthebuilder, welcome to the forum!

        In the example sketch, just before send(msg.setSensor(i).set(temperature,1)); you can add this:

        temperature=temperature + 5.0
        
        B Offline
        B Offline
        bobthebuilder
        wrote on last edited by
        #3

        @mfalkvidd Thanks very much mfalkvidd. My DS18B20 feeds a Paladin diverter which transfers solar energy to my hot water. I don't have access to the code in the Paladin. Can I put an arduino programmed to raise the indicated temperature by 5 degrees between the sensor and the Paladin diverter?

        YveauxY 1 Reply Last reply
        0
        • B bobthebuilder

          @mfalkvidd Thanks very much mfalkvidd. My DS18B20 feeds a Paladin diverter which transfers solar energy to my hot water. I don't have access to the code in the Paladin. Can I put an arduino programmed to raise the indicated temperature by 5 degrees between the sensor and the Paladin diverter?

          YveauxY Offline
          YveauxY Offline
          Yveaux
          Mod
          wrote on last edited by
          #4

          @bobthebuilder said in DS18B20 Output temperature:

          Can I put an arduino programmed to raise the indicated temperature by 5 degrees between the sensor and the Paladin diverter?

          As I understand from your limited description that would require emulation of the DS18B20 protocol by an Arduino.
          You would connect the DS18B20 to the Arduino, raise the measured temperature as described above and then make it look to the diverter as if the reading came directly from the DS18B20.
          I'm sure it can be done, but I don't have example code for it. You could try googling...

          http://yveaux.blogspot.nl

          1 Reply Last reply
          0
          • B Offline
            B Offline
            bobthebuilder
            wrote on last edited by
            #5

            thanks Yveaux That seems like the way I will have to go. I will work on it.

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


            18

            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