Community discussions

 
flegmatoid
just joined
Topic Author
Posts: 3
Joined: Mon Oct 17, 2011 8:47 pm

RS232 via USB on SXT 5HnD

Mon Oct 17, 2011 10:39 pm

Hello,

I'm looking for way to read serial telemetry data on 5HnD. Encapsulating it onto IP layer would be more that perfect.
I have a serial-to-USB converted based on FT232 chipset:

Image

USB Device is recognized by routerOS
Image

Even though it's driver is loaded, its not listed under USB nor Serial ports:
Image

Questions:
1. How do I access serial device?
2. How do I read it's data?
3. How do I encapsulate serial output onto some transport protocol?

I searched mikrotik forums inside-out, there seems to be plenty similar requests, but not a single working example

Thanks in advance
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6283
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: RS232 via USB on SXT 5HnD

Tue Oct 18, 2011 1:52 pm

in what direction you want to connect? It shows that serial console is assigned to USB port. So if you want to connect to this router using serial (through USB) then you can now. If you want to connect from router to some external device, then you have to disable console on the interface under
/system console
 
flegmatoid
just joined
Topic Author
Posts: 3
Joined: Mon Oct 17, 2011 8:47 pm

Re: RS232 via USB on SXT 5HnD

Tue Oct 18, 2011 8:26 pm

thanks, it does work now after disabling serial console.
[admin@MikroTik] > system serial-terminal usb1
[Ctrl-A is the prefix key]
  40p 
[Q - quit connection]      [B - send break]
[A - send Ctrl-A prefix]   [R - autoconfigure rate]
trying rate 115200
rate detected
!ANG:,159.59,82.52,-174.68,SEN:,-255.00,12.00,-26.00,-1.00,-3.00,0.50,-580,-129,
-205,5.06,212,99393,RAW:,274,6,0,0,-3,0,-588,-252,-194
!ANG:,159.55,82.50,-174.37,SEN:,-254.00,10.00,-23.00,-1.00,-3.00,0.50,-578,-129,
-204,5.06,212,99393,RAW:,273,8,-3,0,-3,0,-586,-252,-193
 
el berto
Member Candidate
Member Candidate
Posts: 197
Joined: Wed Sep 26, 2007 10:53 am

Re: RS232 via USB on SXT 5HnD

Wed Nov 14, 2012 10:06 pm

Hi, I've seen on supported hardware there is the PL2303 USB/serial converter chipset.
It works correctly if directly connected to USB poprt of Routerboard, but it doesn't work if used with 5 port USB hub.
Do you have ever tried to use FT232 chipset based device behind a hub?
I haven't available FT232 devices, so I would know something more before buy it....
Thanks.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 24268
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: RS232 via USB on SXT 5HnD

Thu Nov 15, 2012 1:10 pm

Hi, I've seen on supported hardware there is the PL2303 USB/serial converter chipset.
It works correctly if directly connected to USB poprt of Routerboard, but it doesn't work if used with 5 port USB hub.
Do you have ever tried to use FT232 chipset based device behind a hub?
I haven't available FT232 devices, so I would know something more before buy it....
Thanks.
it's a known issue, you must use it directly
No answer to your question? How to write posts
 
el berto
Member Candidate
Member Candidate
Posts: 197
Joined: Wed Sep 26, 2007 10:53 am

Re: RS232 via USB on SXT 5HnD

Thu Nov 15, 2012 2:18 pm

I've tried also with USB-serial with chipset FT232: same trouble.
Is this a bug somebody are studying a solution for (so it would be solved in next future) or is not intersting?
I'm refearring about devices you could need serial port (console) and also USB device, unfortunataly Mikrotik is taking out all serial port (DB9) from devices (I can't understand why, at least leave a smaller connector on the board!)...

Who is online

Users browsing this forum: No registered users and 13 guests