354
Explanation
One wire communication is detailed in these application notes from Maxim:
https://www.maximintegrated.com/en/app-notes/index.mvp/id/126
https://www.maximintegrated.com/en/app-notes/index.mvp/id/162
These notes are all that are needed for implementing the one wire communication interface for
DS18B20. Please go through these notes for details. The codes are self-explanatory and are
implemented from the code examples in these app notes.
Demo
Demo video: https://youtu.be/G0rSDnkcSZA.