Connect a RB433 serial rs232 — rs232toUSB----USB rb951UI Ethernet(192.168.1.10)
on rb951ui :
/port remote-access
add port=usb2 tcp-port=9999
now i can Telnet from my PC : telnet 192.168.1.10 9999 , which will log me in to the RB433
So i know how this works, to test further i have to wait for my usb-rs485 converter to send/read a rs485 device.
Dont know what your goal is. i would like to request data from rs485 devices behind the mikrotik and send it as snmp/trap if possible.
it uses prolific PL2303 usb to serial chip, which is supported by RouterOS. then you just use routeros’ built in rfc2217 serial over tcp feature described here:
and I am unable to get that work. When I connect that cable I can see in system / resources / usb new device (XR21B1411) and when I go to system / ports there is a new port called usb2 (not serial).
Is this normal behavior? I cant get anything from terminal (and I tried to set up speed and parity in that USB2 port settings) and not sure if there is problem somewhere else or if the ROS cannot work with this cable. I already ordered one from ebay but thats for month…
Hey did you ever get this to work, or come up with a workable solution? We have a similar setup - PowerBox Pro and epsolar charge controller. It would be great to be able to get an exact voltage reading.
Hi Everyone!
I’m using a USB-RS485 adapter which works doing this. I got it from ebay (see link below) https://www.ebay.com.au/itm/276026422366
Plugging into Windows 10 it installs as a serial port ‘CH340’, when plugged into the USB socket of a Mikrotik (have tried RB2011 and L009) it appears in the ‘system/ports’ page of winbox as ‘usb2’ and you can change the baud rate and other parameters there.
You also need to set it on the ‘iot/modbus’ page (if using for serial modbus).
Then you’ll have a load of fun trying to write a script to read whatever it is you’re trying to communicate with.. There’s not a lot of information on this, but…
I’ve managed a rough script(s) to enable my L009 router (ROS V7.16) to poll a Meanwell DRS240 UPS (DC supply with battery backup) and publish to MQTT broker so as to enable alarms when there is a power outage. Can also poll the current and voltage too.
If anyone out there wants to know more, leave a message here???