Цитата:
Сообщение от paulerr
специальный адаптер? Три провода на UART - тоже адаптер, сильно похожий на DS9097.
Обещаю проверить схему из первого сообщения на СР2102 и 18В20
|
CP2102 не нашел

, нашел PL2303. Роутер MR3020, прошивка Attitude Adjustment, скомпиленная с поддержкой PL2303 и owfs
Два датчика, монтажная плата и один проводок на tx+rx.
Код:
root@OpenWrt:/# mkdir /tmp/owfs
root@OpenWrt:/# dmesg |grep ttyUSB
[ 10.250000] usb 1-1: pl2303 converter now attached to ttyUSB0
root@OpenWrt:/# owfs --passive=/dev/ttyUSB0 /tmp/owfs/ --allow_other
root@OpenWrt:/# ls -l /tmp/owfs/
drwxrwxrwx 1 root root 8 Jan 1 00:02 28.0D82D6040000
drwxrwxrwx 1 root root 8 Jan 1 00:02 28.6788EF040000
drwxr-xr-x 1 root root 8 Jan 1 00:01 alarm
drwxr-xr-x 1 root root 8 Jan 1 00:01 bus.0
drwxr-xr-x 1 root root 8 Jan 1 00:01 settings
drwxrwxrwx 1 root root 8 Jan 1 00:02 simultaneous
drwxr-xr-x 1 root root 8 Jan 1 00:01 statistics
drwxr-xr-x 1 root root 32 Jan 1 00:01 structure
drwxr-xr-x 1 root root 8 Jan 1 00:01 system
drwxr-xr-x 1 root root 8 Jan 1 00:01 uncached
root@OpenWrt:/# cat /tmp/owfs/*/temperature
28.9375 28.1250root@OpenWrt:/#
root@OpenWrt:/#