projects:1-wire:software
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Nächste Überarbeitung | Vorherige Überarbeitung | ||
| projects:1-wire:software [2012/12/06 11:04] – angelegt benh | projects:1-wire:software [2013/12/20 18:25] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | uzgizg | + | ====== 1-Wire Software ====== |
| + | [[http:// | ||
| + | {{: | ||
| + | - download sources <code bash> | ||
| + | - untar archive <code bash>tar xzvf digitemp-3.6.0.tar.gz</ | ||
| + | - change directory <code bash>cd digitemp-3.6.0/</ | ||
| + | - compile source <code bash> | ||
| + | - copy binary <code bash>cp ./ | ||
| + | - create softlink <code bash>ln -s / | ||
| + | - search for 1-wire sensors (walk the tree) <code bash> | ||
| + | DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane | ||
| + | GNU Public License v2.0 - http:// | ||
| + | Turning off all DS2409 Couplers | ||
| + | .. | ||
| + | Devices on the Main LAN | ||
| + | 10444341020800A3 : DS1820/ | ||
| + | 28F4E539040000FD : DS18B20 Temperature Sensor</ | ||
| + | - write config file to .digitemprc <code bash> | ||
| + | 10444341020800A3 : DS1820/ | ||
| + | 28F4E539040000FD : DS18B20 Temperature Sensor | ||
| + | ROM #0 : 10444341020800A3 | ||
| + | ROM #1 : 28F4E539040000FD</ | ||
| + | - edit config file <code bash>vi .digitemprc</ | ||
| + | TTY / | ||
| + | READ_TIME 1000 | ||
| + | FAIL_TIME 5 | ||
| + | LOG_TYPE 1 | ||
| + | #LOG_FORMAT "%b %d %H:%M:%S Sensor %s C: %.2C F: %.2F" | ||
| + | LOG_FORMAT " | ||
| + | CNT_FORMAT "%b %d %H:%M:%S Sensor %s #%n %C" | ||
| + | HUM_FORMAT "%b %d %H:%M:%S Sensor %s C: %.2C F: %.2F H: %h%%"</ | ||
| + | - request temperature from sensors <code bash> | ||
| + | 2012-12-07 00:48:51 Sensor_0 (10444341020800A3) 20.31 | ||
| + | 2012-12-07 00:48:52 Sensor_1 (28F4E539040000FD) 20.94</ | ||
| + | |||
| + | | ||
projects/1-wire/software.1354788275.txt.gz · Zuletzt geändert: (Externe Bearbeitung)
