Accessing Maxim DS18B20 temperature sensors

I have several of the Maxim 1-wire DS18B20 temperature sensors on a wire and want to know what library to use to write a program to read and display the temperatures.

Any sample code would be greatly appreciated. I am fairly familiar with Delphi 7 coding and am now using the RAD Delphi 11 setup.

Many thanks, Brian

2 Likes

You have the wrong Delphi; this is Chief Delphi, a forum mostly for the FIRST Robotics Competition, a high school sport; this is not a forum about Delphi, the programming language.

However, we do have a lot of folks here familiar with interfacing with sensors (outside of the Delphi platform). The DS18B20 looks like it uses a custom protocol; the datasheet references Application Note 126 for a software implementation, but note this implementation is in C for a microcontroller that can maintain tight timing.

2 Likes

Thanks Peter for your reply. I will look at the application note and see if it will help men. Brian

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.