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.
|
Click here to visit editor's freeware, shareware page.
Page WILL BE tested for compliance with INDUSTRY (not MS-only) standards, using the free, publicly accessible validator at validator.w3.org
....... P a g e . . . E n d s .....