Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
— | howto:electro:1-wire [2016/04/07 17:37] (aktuální) – vytvořeno - upraveno mimo DokuWiki 127.0.0.1 | ||
---|---|---|---|
Řádek 1: | Řádek 1: | ||
+ | ====== 1-Wire MicroLAN Sensor Network ====== | ||
+ | ===== Prevodniky ===== | ||
+ | ==== DS9490R ==== | ||
+ | |||
+ | lsusb: '' | ||
+ | |||
+ | {{http:// | ||
+ | {{http:// | ||
+ | |||
+ | ==== RS232 ==== | ||
+ | |||
+ | http:// | ||
+ | |||
+ | {{http:// | ||
+ | |||
+ | ===== Sensory ===== | ||
+ | ==== DS18B20 ==== | ||
+ | {{https:// | ||
+ | |||
+ | === How to tell fake DS18B20 from original === | ||
+ | |||
+ | ^ Test ^ Original ^ chinese fake ^ note ^ | ||
+ | | **Diode test\\ + lead on DQ\\ - lead on DCC** | **NC** | **approx 1.4V drop** | **MOST IMPORTANT TEST!\\ This is why it shorts bus in parasitic mode.** | | ||
+ | | Diode test\\ - lead on DQ\\ + lead on GND | 0.65V drop | 0.74V drop | | ||
+ | | parasitic power mode | works | does not work and shorts whole bus | | ||
+ | | default errata/trim value in OWFS | random number from 0 to 65535?? | always 65535 | I am not sure about this, but it looks like original sensors are factory trimmed, but fake are only faking the trim value.\\ These two are probably only way to get list of suspicious devices in your network. | | ||
+ | | default templow/ | ||
+ | | accuracy | factory trimmed | probably worse | I've put original right next to fake and they were 0.5 degrees C off. But i haven' | ||
+ | | visage | sligthly darker, smaller, clear letters, small " | ||
+ | | price | ??? | starts at $0.7 | | ||
+ | ===== Síť ===== | ||
+ | |||
+ | {{http:// | ||
+ | |||
+ | |||
+ | ^ Konektory ||||| | ||
+ | ^ RJ45 ^ RJ11 ^ ^ DS18B20 pin ^ ^ | ||
+ | | green-white | 1 | - | | Not Used | | ||
+ | | blue | 2 | Data | 2 | Transmit Data | | ||
+ | | blue-white | 3 | GND | 1 | Ground | | ||
+ | | green | 4 | +5V | 3 | Power | | ||
+ | |||
+ | ==== Rozbočovače ==== | ||
+ | |||
+ | {{http:// | ||
+ | {{http:// | ||
+ | |||
+ | ===== Software ===== | ||
+ | ==== OWFS ==== | ||
+ | |||
+ | <code bash / | ||
+ | owfs=/ | ||
+ | mkdir -p " | ||
+ | owfs --allow_other -u -a / | ||
+ | </ | ||
+ | |||
+ | <code ini / | ||
+ | 2894A40700008055=outdoor_backyard | ||
+ | 28067A010000807F=ac_out_cold | ||
+ | 285DCF0300008033=ac_out_hot | ||
+ | 28E378010000803E=ac_daitsu_cold_in | ||
+ | 28504B01000080AA=ac_daitsu_cold_out | ||
+ | 28208C0300008046=ac_daitsu_cold_coil | ||
+ | 28D47E03000080CD=ac_daitsu_hot_out | ||
+ | 286C79010000803D=ceiling_hall | ||
+ | 28185601000080EE=ceiling_row_1 | ||
+ | 287CA20700008041=ceiling_row_2 | ||
+ | 28ECA107000080BE=rack_2_top | ||
+ | 28B9850100008095=rack_2_floor | ||
+ | </ | ||
+ | |||
+ | ==== Munin ==== | ||
+ | FIXME | ||