Skip to content

electrical-pro/Ds_Fake_Tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

Ds_Fake_Tester

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

Components

ESP8266: https://s.click.aliexpress.com/e/_De5gu7f

SSD1306 OLED I2C Display: https://s.click.aliexpress.com/e/_c4Ci1fiP

Demo

Watch how it works https://youtu.be/gzyqUVxOktY

IMAGE ALT TEXT

Compile with 1.2.0 version of Adafruit SSD1306 library !

It doesn't work correctly with version higher than 1.2.0

Adafruit SSD1306 library: https://github.com/adafruit/Adafruit_SSD13 image

Tested with ESP8266 Core 2.7.4

Update

Modified sketch that supports Adafruit SSD1306 library 2.5.0 and ESP8266/ESP32 you can find here: #1 (comment)

Connections

SDA to D1 (GPIO5)

SCK to D5 (GPIO14)

About

DS18B20 Fake tester sketch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages