Your DS18B20 temperature sensor is likely a fake, counterfeit, clone
Trust in hardware supply chains when manufactring a PCB for a product can be quite fragile: when one component operates outside of spec, the entire device could be rendered useless. In the case of the DS18B20, the author states in the &#x27;Warning&#x27; section that the primary way of determining counterfeit sensors is to check the ROM output compared to a known format. When counterfeit parts like this are added, it creates vulnerabilities in the entire system due to the ability for a bad actor to leverage this vulnerability and cause one part in an entire system to fail.<p>For example, the company FTDI snuck in code that was in a series of Windows updates that was able to detect counterfeit FTDI and brick them via software to send back all 0&#x27;s.[0][1] This anti-consumer behavior on behalf of comapnies can a be a headache for end-users and programmers alike.<p>[0] <a href="https:&#x2F;&#x2F;hackaday.com&#x2F;2014&#x2F;10&#x2F;22&#x2F;watch-that-windows-update-ftdi-drivers-are-killing-fake-chips&#x2F;" rel="nofollow">https:&#x2F;&#x2F;hackaday.com&#x2F;2014&#x2F;10&#x2F;22&#x2F;watch-that-windows-update-ft...</a><p>[1] <a href="https:&#x2F;&#x2F;hackaday.com&#x2F;2016&#x2F;02&#x2F;01&#x2F;ftdi-drivers-break-fake-chips-again&#x2F;" rel="nofollow">https:&#x2F;&#x2F;hackaday.com&#x2F;2016&#x2F;02&#x2F;01&#x2F;ftdi-drivers-break-fake-chip...</a>