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

Delphi: Accessing Dallas MicroLan (aka 1-wire) Devices

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.

This particular tutorial is pretty sketchy... please don't judge the others from this. However, while it may lack guidance, there is source code for four examples of using the Dallas (Maxim) MicroLan (aka 1-Wire) chips. For more on the MicroLan and why it's cool, see... My guide to MicroLan

Click here to download a zip file with the source code of the four programs.

The programs are all simple demos of access to the Dallas / Maxim MicroLan aka 1-Wire (both TM) network.

All are written in Delphi (version 2 or higher, though conversion to D1 not impossible). They VERY BASIC... and not intended as "finished" applications. They should help programmers get to grips with using the MicroLan chips.

IN PARTICULAR note that the source must be modified before things you compile will work with your chips. You may need to change the values assigned to the adapter type, and the port it is on. You will usually have to supply the ID of the chip you wish to work with... the ID unique to the particular chip in your hand... not just some generic family ID. (This is one of the strengths of the MicroLan product line. It is pretty cool, and makes special things possible!)

17a: Looks to see if the program can find any MicroLan chips on a network. Even though the chip ID codes do not have to be supplied, the port location and adapter type must be set in the source code before it is compiled and run.

17b: This is "crude" to highlight the ESSENTIAL CORE of READING a bit of data from a 2405. Note that the 2405 can also be wired as an output device, i.e. the bit you write TO it appears on it's i/o pin, but that's a story for another day! (See 17c) This demo assumes you have a 2405 wired to read from, say, a switch.

17c: This is "crude" to highlight the ESSENTIAL CORE of WRITING TO a 2405, to turn it's o/p on or off. Note that the 2405 can also be wired as an input device, i.e. you can read a bit FROM it which will be 1 or 0, depending on what's on it's i/o pin, but that's a story for another day! (See 17b) This demo assumes you have a 2405 wired to write to, say, an LED.

17d: This is "crude" to highlight the ESSENTIAL CORE of using a DS1820 temperature sensor.

Click here to download a zip file with the source code of the four programs.


   Search this site or the web        powered by FreeFind
 
  Site search Web search
Site Map    What's New    Search


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... hope they are helpful. However.. this doesn't pay my bills!!! If you find this stuff useful, (and you run an MS-DOS or Windows 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
Here is how you can contact this page's author, 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 .....