Temperature sensor accuracy comparison



  • 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 🙂


  • Mod

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


  • Hero Member

    @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



  • @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 👍 .

    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...



  • 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!



  • @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....


  • Hero Member

    @wes said in Temperature sensor accuracy comparison:

    DHT22: ±0.2℃ @ ?

    Really? That doesn't sound right.



  • @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.



  • 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.


  • Hero Member

    Humidity accuracy will really sort them. Vast differences.


  • Admin

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


 

290
Online

7.8k
Users

8.7k
Topics

93.0k
Posts