Community discussions

MikroTik App
 
HaQs
Member Candidate
Member Candidate
Topic Author
Posts: 153
Joined: Sat Oct 20, 2007 3:26 pm
Location: POLAND

feature request : 1-wire temperature sensor DS18B20 /RS232

Sun Jun 13, 2010 7:11 pm

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.
You do not have the required permissions to view the files attached to this post.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: feature request : 1-wire temperature sensor DS18B20 /RS2

Sun Jun 13, 2010 8:32 pm

"MikroTik: Routing the Temperature"...

please write to support@mikrotik.com

but... I don't think it will be implemented in near future...
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Re: feature request : 1-wire temperature sensor DS18B20 /RS2

Mon Jun 14, 2010 12:18 am

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
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: feature request : 1-wire temperature sensor DS18B20 /RS2

Mon Jun 14, 2010 2:25 am

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"...
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Re: feature request : 1-wire temperature sensor DS18B20 /RS2

Mon Jun 14, 2010 3:58 am

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.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: feature request : 1-wire temperature sensor DS18B20 /RS2

Mon Jun 14, 2010 11:28 am

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.
 
User avatar
tgrand
Long time Member
Long time Member
Posts: 667
Joined: Mon Aug 21, 2006 2:57 am
Location: Winnipeg, Manitoba, Canada

Re: feature request : 1-wire temperature sensor DS18B20 /RS2

Mon Feb 11, 2013 8:45 pm

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.
 
hengst
Frequent Visitor
Frequent Visitor
Posts: 91
Joined: Sun Jan 03, 2010 3:04 pm

Re: feature request : 1-wire temperature sensor DS18B20 /RS232

Fri Oct 21, 2016 6:12 pm

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.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: feature request : 1-wire temperature sensor DS18B20 /RS232

Fri Oct 21, 2016 6:26 pm

Looking like no effort was put to this. You need to look elsewhere.
 
User avatar
saaremaa
Member Candidate
Member Candidate
Posts: 162
Joined: Tue Feb 02, 2010 7:48 pm
Location: Baltijos šalių miestas

Re: feature request : 1-wire temperature sensor DS18B20 /RS232

Thu Oct 27, 2016 7:50 am

 
User avatar
noyo
Member Candidate
Member Candidate
Posts: 116
Joined: Sat Jan 28, 2012 12:25 am
Location: Mazury - Poland
Contact:

Re: feature request : 1-wire temperature sensor DS18B20 /RS232

Tue Feb 01, 2022 8:35 am

it works?
 
User avatar
Hominidae
Member
Member
Posts: 309
Joined: Thu Oct 19, 2017 12:50 am

Re: feature request : 1-wire temperature sensor DS18B20 /RS232

Tue Feb 01, 2022 4:24 pm

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 ;-)
 
User avatar
kiler129
Member
Member
Posts: 354
Joined: Tue Mar 31, 2015 4:32 pm
Location: IL, USA
Contact:

Re: feature request : 1-wire temperature sensor DS18B20 /RS232

Tue Feb 01, 2022 5:46 pm

it works?
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.

Who is online

Users browsing this forum: Amazon [Bot], Bing [Bot], Buckeye, Google [Bot], LdB, phascogale and 119 guests