Datasheet
OneWire
1-Wire is a serial bus system with low speed data transfer.
The rack level is configured with a OneWire object, and below this, the card objects for components
attached to the 1-Wire circuit.
The 1-Wire implementation in Proview uses the support for 1-Wire in the Linux kernel. 1-Wire has
to be specified in the kernel setup.
1-Wire devices has an identity that has to be stated in the Address attribute of the card object. The
identity should be stated in decimal form. To retrieve the identity, attach the sensor to the bus, and
list the directory /sys/bus/w1/w1 bus master.
> ls /sys/bus/w1/w1\ bus\ master
28-0000028fa89c
The first number is the family (28) and the last number is the identity (28fa89c) in hexadecimal
form. This should be converted to decimal and inserted into the Address attribute.
OneWire_AiDevice
A generic object for an analog input device connected to the 1-wire bus.
The path of the file containing the sensor value is stated in the DataFile attribute. A %s in the
filename will be replaced by the family and serial number, eg ā28-0000028fa89cā.
A search string is stated in ValueSearchString to indicate where in the file the sensor value is
located. When reading the value, the search string is searched for, and and the value is expected to
be found after the search string. If the search string is empty, the value will be read from the
beginning of the file.
The object contains an Ai channel, that should be connected to an Ai signal. The range attributes
should be set in the channel object. If the sensor value in the file is given as a integer value, set
Representation to Int32, if it is given as a float, set Representation to Float32.
Maxim_DS18B20
Card object for a DS18B20 temperature sensor. The identity of the sensor should be stated in the
Address attribute. The object contains a ChanAi object that should be connected to an Ai object.
The rawvalue range is -55000 ā 125000 which corresponds to an actvalrange of -55 ā 125 C. A
read operation with 12 bit resolution takes about 750 ms.










