JBUILDER TINI APPLICATIONS -
LIST ONE WIRE DEVICES ATACHED TO TINI


Systronix Home

Tutorial Home

Java Apps Home

The Program & Description
Listow is one of the sample programs provided by Dallas, modified slightly by me. It displays all the OneWire devices connected to TINI. The current version of the program connects only to the "default" OneWire adapter which on TINI is the "external" OneWire net using the DS2480 serial-to-OneWire adapter. It could be modified to also read the internal OneWire net, and to display more information about the devices found (contributions welcome).
Java source: listow.java and listow.tini (built for 1.02p3)
ZIP file with everything: listow.zip

Output

Telnetting in TINI, here's the output. Note this program may be available on our public tini, reachable by telnet at 166.70.144.45.

The device code 10 is the DS1920 in a Systronix TILT iButton socket, and the four device code 12 are DS2406's in an 8x1Wire board.

TINI /> java listow.tini &
List OneWire Test

Adapter: TINIExternalAdapter Port: serial1

TINI />
Device: AC0000001EB33910 Device type: 10
Device: 9A00000018A63C12 Device type: 12
Device: FD00000018A4C512 Device type: 12
Device: 8C00000018A80F12 Device type: 12
Device: C400000018A68F12 Device type: 12

TINI />