HOME - - - - - - - TUTORIALS INDEX - - - - - - - - - - - - Other material for programmers

Delphi: Using Dallas MicroLan (aka 1-wire) DS2438

This has good information, and a search button at the bottom of the page

Please don't dismiss it because it isn't full of graphics, scripts, cookies, etc!

Click here if you want to know more about the source and format of these pages.


STOP PRESS... apologies. I seem to have lost the files which were once online, and contained all of the useful material that this page related to. I've looked for them quite hard.... will try even harder later, but suspect they are GONE... sigh. Sorry.

That's the bad news. The perhaps almost as bad news is that I have managed to find some code that probably derived from the demo that was the subject of this page. I have crudely extracted that code, and posted it here as a text file you can download. (It will open in a new window or tab.) Sorry about the messiness of this "solution".


This particular tutorial is more than usually sketchy... please don't judge my other tutorials from this. You will find extensive commentary in the BAD LINK (Click on the "source code" link to download a zip. The zip also includes the .exe for this program.) To compile that code, you also need the Dallas unit IBTMEXPW.PAS which is included with the TMEX SDK. You must compile to code, to put the unique ID of your DS2438 into it, and possibly change the adapter type and port number. (These matters are documented within the code.)

The DS2438 is called a "Battery Monitor". However, it contains a neat ADC, a temperature sensor, and a "clock" (not a RTC, but you could put one together with some software, I think.)

The program I've provided in the zip isn't perfect, but it will give you a head start with writing programs to read the ADC or the temperature sensor. I believe that the DS2438's temperature sensing capabilities make it better than a DS18x20, even if you don't need the chip's other functions. (Reads to 1/32nd of a Celsius degree).

In addition to the documented source code on offer above, you can BAD LINK to download a zip of an older program I wrote illustrating access to the DS2438. The zip also includes the .exe for this program, which was silly of me, as it won't run unless you have my DS2438 chip! (You have to recompile the code with your chip's unique ID.)

Don't despair if you don't find the datasheet at Dallas easily... it's there. Try the "parametric search" and look under battery monitor.

Try this (for the data from Dallas) if you like.


For more on the MicroLan and why it's cool, see... My guide to MicroLan


            powered by FreeFind
  Site search Web search
Site Map    What's New    Search This search merely looks for the words you enter. It won't answer "Where can I download InpOut32?"
The search engine is not intelligent. It merely seeks the words you specify. It will not do anything sensible with "What does the 'could not compile' error mean?" It will just return references to pages with "what", "does", "could", "not".... etc.

Also: This search only searches the material on one of my websites.

      Click here to visit another of my sites.

      Click here to visit my third site.




Click here if you're feeling kind! (Promotes my site via "Top100Borland")
Ad from page's editor: Yes.. I do enjoy compiling these things for you. I hope they are helpful. However... this doesn't pay my bills!!! Sheepdog Software (tm) is supposed to help do that, so if you found this stuff useful, (and you run a Windows or MS-DOS PC) please visit my freeware and shareware page, download something, and circulate it for me? Links on your page to this page would also be appreciated!
Click here to visit editor's freeware, shareware page.

Link to Tutorials main page

Info on how to contact this page's editor, Tom Boyd.


Valid HTML 4.01 Transitional Page WILL BE tested for compliance with INDUSTRY (not MS-only) standards, using the free, publicly accessible validator at validator.w3.org


If this page causes a script to run, why? Because of things like Google panels, and the code for the search button. Why do I mention scripts? Be sure you know all you need to about spyware.

....... P a g e . . . E n d s .....