Skip to content

algorithm to cover chinese cheap sensor #5

@dongjoon9331

Description

@dongjoon9331

Hi.
Thanks for the useful code.
By the way, cheap sensors made in China are still being sold. The problem is that I don't know which factory the sensors I buy from the internet mall come from.
Among them, the worst one returns a temperature value about once in 10 times, and the rest returnㄴ an infinite number.
So, I am using my own algorithm. That is, it takes only the numbers in the range that the DS18B20 can measure and discards the rest.
Please refer to https://javalab.org/microbit_ds18b20/ when upgrading the code later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions