SPOJE.NET

Technická dokumentace

Uživatelské nástroje

Nástroje pro tento web


howto:electro:1-wire

1-Wire MicroLAN Sensor Network

Prevodniky

DS9490R

lsusb: ID 04fa:2490 Dallas Semiconductor DS1490F 2-in-1 Fob, 1-Wire adapter

maxim-integrated-ds9490r.jpg pinoutds9490r.jpg

RS232

Sensory

DS18B20

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/temphigh value in OWFS 70/75?? -1/-1
accuracy factory trimmed probably worse I've put original right next to fake and they were 0.5 degrees C off. But i haven't done any systematical testing.
visage sligthly darker, smaller, clear letters, small "P" letter on back label is slightly off sometimes
price ??? starts at $0.7

Síť

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

41egxujhhzl._ac_ul160_sr160_160_.jpg cy-beige-color-5-way-outlet-6p4c-rj11-rj12-telephone-phone-modular-jack-line-splitter-adapter.jpg

Software

OWFS

/etc/rc.local
owfs=/mnt/1wire
mkdir -p "$owfs"
owfs --allow_other -u -a /etc/owfs-alias.conf -m "$owfs"
/etc/owfs-alias.conf
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

howto/electro/1-wire.txt · Poslední úprava: 2016/04/07 17:37 autor: 127.0.0.1