feature request : 1-wire temperature sensor DS18B20 /RS232

Please add to ROS support for:
simple 1wire to RS232 adapter:
1wire.jpg
other sample:
http://www.hoppie.nl/tempsens/

This adapter is very cheap and small size, all elements are easy buy.

Cost < 2 euro.

This adapter can be add to RB411 and any other RB with RS232 / PC to monitor outdoor boxes.


feature request 2: suppor for any cheap USB to RS232 converter then temperature sensor can be connected to usb.
feature request 3: snmp OID to remote monitor connected sensors.

“MikroTik: Routing the Temperature”…

please write to support@mikrotik.com

but… I don’t think it will be implemented in near future…

you can half way do this now, you just can’t use mikrotik to manage the rs232 endpoint. you can setup a virtual serial port that a remote computer can use though. /port remote-access

I wanted to post about special-login (from this point of view it’s the same), but I’m not sure that device uses “data connection”…

if its rs232 the ‘/port remote-access’ in raw mode should pass the same data as if plugged into it directly. the special login section seems to be similiar but more like a telnet interface.

according to the article:

The host machine needs a small circuit to convert the 1-Wire bus to something that can be connected to a standard RS232 connector, although > the protocol is not at all RS232> .

Just needs 4 diodes and 1 resistor.
You can talk with these devices through any rs232 interface.

What would be nice, is an api to add monitors to routerOS snmp.

any updates on this ? , people did use this by this time ?

i would like to use it kind of same for rs485 devices connected via the serial/usb of a Mikrotik.

Looking like no effort was put to this. You need to look elsewhere.

http://msevm.com/main/therm/ds18b20.htm
http://msevm.com/main/therm/ds18b20t.htm

it works?

my 2 cents: why bother?..since 2016 a lot of other things came to life in the maker industry.

You can easily get a DS1820 probe with an arduino/ESP8266, wired/ethernet or WiFi with even greater flexibility and scalability…waiting for the first person to host MQTT/mosquitto broker on a MT; now as Docker is available with v7 :wink:

This hack has nothing to do with RS232 nor even UART. 1-wire is not serial and this will not work on many RS232 controllers. Implementing this in a router would be really dumb if it doens’t work on most hardware. You can make it work using a simple Attiny with a proper UART<>1-wire conversion. This way MT or any other UART device can access them without a hack on the Linux RS232 driver.