DS18B20 Fake tester sketch This sketch tests all resolutions of DS18B20, writes values in alarm trigger registers, and measures conversion time, it uses OLED display as Output (or serial.). The fake sensor doesn't support 9, 10-bit resolution, and doesn't store values in alarm registers. Also, my fake sensor has a very short conversion time of 35 ms at 12bit, the normal sensor needs about 600 ms at 12bit
ESP8266: https://s.click.aliexpress.com/e/_97j7kp
OLED Display: https://s.click.aliexpress.com/e/_9AdhMZ
Watch how it works https://youtu.be/gzyqUVxOktY
It doesn't work correctly with version higher than 1.2.0
Adafruit SSD1306 library: https://github.com/adafruit/Adafruit_SSD13
Tested with ESP8266 Core 2.7.4
Modified sketch that supports Adafruit SSD1306 library 2.5.0 and ESP8266/ESP32 you can find here: https://github.com/electrical-pro/Ds_Fake_Tester/issues/1#issuecomment-988925914
SDA to D1 (GPIO5)
SCK to D5 (GPIO14)