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. Temperature sensor accuracy comparison

Temperature sensor accuracy comparison

Scheduled Pinned Locked Moved Hardware
11 Posts 7 Posters 5.1k Views 8 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.
  • wesW Offline
    wesW Offline
    wes
    wrote on last edited by wes
    #1

    I did a comparison of temperature sensor accuracy as per the datasheets, and thought it might be useful to share:

    DHT11: ±2℃ @ 25℃
    DHT22: ±0.5℃ @ ?
    AM2302: ±0.5°C @ -20°C to +80°C
    AM2320: ±0.5°C @ -20°C to +80°C
    SHT21: ±0.3°C @ 5°C to 60°C
    DS18B20: ±0.5°C @ -10°C to +85°C
    HTU21D: ±0.3°C @ 5°C to 60°C
    BME280: ±0.5℃ @ 25℃; ±1.0°C @ 0°C to 65°C
    BMP085: ±0.5℃ @ 25℃; ±1.0°C @ 0°C to 65°C
    BMP180: ±0.5℃ @ 25℃; ±1.0°C @ 0°C to 65°C
    BMP280: ±0.5℃ @ 25℃; ±1.0°C @ 0°C to 65°C
    MCP9808 ±0.25°C @ -40°C to +125°C
    Si7021-A20: ±0.4°C @ -10°C to +85°C

    Corrections welcome in case I have misread or misinterpreted any of the datasheets or have got the wrong datasheet.

    Hope this is useful :-)

    Blog: https://www.wes.id.au/
    Nodes: Arduino Pro Mini ATMega328P 3.3V 8MHz, RFM69 433MHz, Canton Power CE024 0.8-3.3V regulator & single AA battery
    Gateway & Controller: Raspberry Pi 3 + Home Assistant

    mfalkviddM korttomaK zboblamontZ NeverDieN 4 Replies Last reply
    7
    • wesW wes

      I did a comparison of temperature sensor accuracy as per the datasheets, and thought it might be useful to share:

      DHT11: ±2℃ @ 25℃
      DHT22: ±0.5℃ @ ?
      AM2302: ±0.5°C @ -20°C to +80°C
      AM2320: ±0.5°C @ -20°C to +80°C
      SHT21: ±0.3°C @ 5°C to 60°C
      DS18B20: ±0.5°C @ -10°C to +85°C
      HTU21D: ±0.3°C @ 5°C to 60°C
      BME280: ±0.5℃ @ 25℃; ±1.0°C @ 0°C to 65°C
      BMP085: ±0.5℃ @ 25℃; ±1.0°C @ 0°C to 65°C
      BMP180: ±0.5℃ @ 25℃; ±1.0°C @ 0°C to 65°C
      BMP280: ±0.5℃ @ 25℃; ±1.0°C @ 0°C to 65°C
      MCP9808 ±0.25°C @ -40°C to +125°C
      Si7021-A20: ±0.4°C @ -10°C to +85°C

      Corrections welcome in case I have misread or misinterpreted any of the datasheets or have got the wrong datasheet.

      Hope this is useful :-)

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

      Great work @wes, thanks!
      Here is some additional information: https://forum.mysensors.org/post/38344 (follow awi's "study" link)

      1 Reply Last reply
      2
      • wesW wes

        I did a comparison of temperature sensor accuracy as per the datasheets, and thought it might be useful to share:

        DHT11: ±2℃ @ 25℃
        DHT22: ±0.5℃ @ ?
        AM2302: ±0.5°C @ -20°C to +80°C
        AM2320: ±0.5°C @ -20°C to +80°C
        SHT21: ±0.3°C @ 5°C to 60°C
        DS18B20: ±0.5°C @ -10°C to +85°C
        HTU21D: ±0.3°C @ 5°C to 60°C
        BME280: ±0.5℃ @ 25℃; ±1.0°C @ 0°C to 65°C
        BMP085: ±0.5℃ @ 25℃; ±1.0°C @ 0°C to 65°C
        BMP180: ±0.5℃ @ 25℃; ±1.0°C @ 0°C to 65°C
        BMP280: ±0.5℃ @ 25℃; ±1.0°C @ 0°C to 65°C
        MCP9808 ±0.25°C @ -40°C to +125°C
        Si7021-A20: ±0.4°C @ -10°C to +85°C

        Corrections welcome in case I have misread or misinterpreted any of the datasheets or have got the wrong datasheet.

        Hope this is useful :-)

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

        @wes Thanks for the list of sensor accuracy. But for for example battery nodes there are other parameters that are at least as important as temp accuracy and you left out the Si7021 that is really good for battery driven nodes.

        Si7021
        Precision Relative Humidity Sensor ± 3% RH (max), 0–80% RH
        High Accuracy Temperature Sensor ±0.4 °C (max), –10 to 85 °C
        Wide operating voltage (1.9 to 3.6 V)
        Low Power Consumption 150 µA active current 60 nA standby current

        • Tomas
        wesW 1 Reply Last reply
        3
        • wesW wes

          I did a comparison of temperature sensor accuracy as per the datasheets, and thought it might be useful to share:

          DHT11: ±2℃ @ 25℃
          DHT22: ±0.5℃ @ ?
          AM2302: ±0.5°C @ -20°C to +80°C
          AM2320: ±0.5°C @ -20°C to +80°C
          SHT21: ±0.3°C @ 5°C to 60°C
          DS18B20: ±0.5°C @ -10°C to +85°C
          HTU21D: ±0.3°C @ 5°C to 60°C
          BME280: ±0.5℃ @ 25℃; ±1.0°C @ 0°C to 65°C
          BMP085: ±0.5℃ @ 25℃; ±1.0°C @ 0°C to 65°C
          BMP180: ±0.5℃ @ 25℃; ±1.0°C @ 0°C to 65°C
          BMP280: ±0.5℃ @ 25℃; ±1.0°C @ 0°C to 65°C
          MCP9808 ±0.25°C @ -40°C to +125°C
          Si7021-A20: ±0.4°C @ -10°C to +85°C

          Corrections welcome in case I have misread or misinterpreted any of the datasheets or have got the wrong datasheet.

          Hope this is useful :-)

          zboblamontZ Offline
          zboblamontZ Offline
          zboblamont
          wrote on last edited by
          #4

          @wes Nice.... Perhaps this could be expanded to operating range also?

          My reasoning is my own case where I had already plumped for a chain of DS18B20 on a long Cat5e in the house, one-wire to rule them all :+1: .

          The problem I had was requiring two external sensors capable of -10 down to -25c at opposite ends of the house, the only solution I could see being two dedicated nodes.
          Only after re-reading the spec did it dawn on me the chip range was -55 to +125, but at reduced accuracy of +/- 2. Made a few enquiries, and was advised accuracy at -25 was typically less than +/- 1 so I saved on two nodes by extending the existing chain both ends and living with the lesser degree of accuracy, all the same devices....
          YMMV...

          1 Reply Last reply
          1
          • korttomaK korttoma

            @wes Thanks for the list of sensor accuracy. But for for example battery nodes there are other parameters that are at least as important as temp accuracy and you left out the Si7021 that is really good for battery driven nodes.

            Si7021
            Precision Relative Humidity Sensor ± 3% RH (max), 0–80% RH
            High Accuracy Temperature Sensor ±0.4 °C (max), –10 to 85 °C
            Wide operating voltage (1.9 to 3.6 V)
            Low Power Consumption 150 µA active current 60 nA standby current

            wesW Offline
            wesW Offline
            wes
            wrote on last edited by
            #5

            Added Si7021-A20 - thanks @korttoma

            @zboblamont agreed, and actually it would be great to have a comparison of ALL the specs like operating range, voltage, standby power consumption etc, and cover other types of sensors besides temperature, but it's probably a bit hard to maintain all that in a forum post. Thoughts on best place to set this up? (Wiki page? Google sheets?)

            @zboblamont my house actually has Cat5 ports in every room but I never thought of using them to set up a OneWire bus. Genius!

            Blog: https://www.wes.id.au/
            Nodes: Arduino Pro Mini ATMega328P 3.3V 8MHz, RFM69 433MHz, Canton Power CE024 0.8-3.3V regulator & single AA battery
            Gateway & Controller: Raspberry Pi 3 + Home Assistant

            zboblamontZ 1 Reply Last reply
            0
            • wesW wes

              Added Si7021-A20 - thanks @korttoma

              @zboblamont agreed, and actually it would be great to have a comparison of ALL the specs like operating range, voltage, standby power consumption etc, and cover other types of sensors besides temperature, but it's probably a bit hard to maintain all that in a forum post. Thoughts on best place to set this up? (Wiki page? Google sheets?)

              @zboblamont my house actually has Cat5 ports in every room but I never thought of using them to set up a OneWire bus. Genius!

              zboblamontZ Offline
              zboblamontZ Offline
              zboblamont
              wrote on last edited by zboblamont
              #6

              @wes Perhaps a Table pinned in Hardware might be the most logical location...?

              It was geniuses here that this noob picked it up from, including crimping the DS18B20s into the plugs.
              In my own case I used small white low profile telephone sockets to blend into the decor unobtrusively, and crimped into RJ11 not RJ45, but the same principle applies...
              If you can line the legs up right and allocate the 3 cores required, swapping out is easy and uniform.

              So long as the one-wire layout rules fit your network as installed, you're good to go....

              wesW 1 Reply Last reply
              1
              • wesW wes

                I did a comparison of temperature sensor accuracy as per the datasheets, and thought it might be useful to share:

                DHT11: ±2℃ @ 25℃
                DHT22: ±0.5℃ @ ?
                AM2302: ±0.5°C @ -20°C to +80°C
                AM2320: ±0.5°C @ -20°C to +80°C
                SHT21: ±0.3°C @ 5°C to 60°C
                DS18B20: ±0.5°C @ -10°C to +85°C
                HTU21D: ±0.3°C @ 5°C to 60°C
                BME280: ±0.5℃ @ 25℃; ±1.0°C @ 0°C to 65°C
                BMP085: ±0.5℃ @ 25℃; ±1.0°C @ 0°C to 65°C
                BMP180: ±0.5℃ @ 25℃; ±1.0°C @ 0°C to 65°C
                BMP280: ±0.5℃ @ 25℃; ±1.0°C @ 0°C to 65°C
                MCP9808 ±0.25°C @ -40°C to +125°C
                Si7021-A20: ±0.4°C @ -10°C to +85°C

                Corrections welcome in case I have misread or misinterpreted any of the datasheets or have got the wrong datasheet.

                Hope this is useful :-)

                NeverDieN Offline
                NeverDieN Offline
                NeverDie
                Hero Member
                wrote on last edited by NeverDie
                #7

                @wes said in Temperature sensor accuracy comparison:

                DHT22: ±0.2℃ @ ?

                Really? That doesn't sound right.

                1 Reply Last reply
                1
                • zboblamontZ zboblamont

                  @wes Perhaps a Table pinned in Hardware might be the most logical location...?

                  It was geniuses here that this noob picked it up from, including crimping the DS18B20s into the plugs.
                  In my own case I used small white low profile telephone sockets to blend into the decor unobtrusively, and crimped into RJ11 not RJ45, but the same principle applies...
                  If you can line the legs up right and allocate the 3 cores required, swapping out is easy and uniform.

                  So long as the one-wire layout rules fit your network as installed, you're good to go....

                  wesW Offline
                  wesW Offline
                  wes
                  wrote on last edited by
                  #8

                  @zboblamont said in Temperature sensor accuracy comparison:

                  crimping the DS18B20s into the plugs.

                  That's even more genius, love it!

                  @neverdie said in Temperature sensor accuracy comparison:

                  @wes said in Temperature sensor accuracy comparison:

                  DHT22: ±0.2℃ @ ?

                  Really? That doesn't sound right.

                  Updated to ±0.5℃. I originally looked at this datasheet which says ±0.2℃; I've since found two other datasheets which both say ±0.5℃. I suspect whoever wrote the first datasheet was getting confused between accuracy, repeatability, and resolution.

                  Blog: https://www.wes.id.au/
                  Nodes: Arduino Pro Mini ATMega328P 3.3V 8MHz, RFM69 433MHz, Canton Power CE024 0.8-3.3V regulator & single AA battery
                  Gateway & Controller: Raspberry Pi 3 + Home Assistant

                  1 Reply Last reply
                  2
                  • remisR Offline
                    remisR Offline
                    remis
                    wrote on last edited by
                    #9

                    Good topic :Accuracy, and voltage range.

                    I don"t want to use any more the DHT22. Humidity results are not comparaible with sensiron and other captors results.
                    We can add humidity and accuracy...
                    Lot of people forget to filter power supply, and check voltage range with measurements.

                    1 Reply Last reply
                    0
                    • NeverDieN Offline
                      NeverDieN Offline
                      NeverDie
                      Hero Member
                      wrote on last edited by
                      #10

                      Humidity accuracy will really sort them. Vast differences.

                      1 Reply Last reply
                      0
                      • hekH Offline
                        hekH Offline
                        hek
                        Admin
                        wrote on last edited by hek
                        #11

                        @wes
                        If you create a project/page on openhardware.io about the temp sensors, we can embed it on mysensors.org.

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


                        24

                        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