This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RS485 USB - SignalK NMEA Serial input log
#1
Hi,

I have connected a depth sounder to an RS485 USB dongle to the Raspberry pi.
It works when I check with this command:

Code:
sudo screen /dev/ttyUSB2 4800

Sudo cat is also fine by the way. It only works with baudrate 4800 by the way.

It outputs this:


Code:
pi@openplotter:~ $ sudo cat /dev/ttyUSB2
SDDPT,,*57
$SDDBT,,f,,M,,F*28
$SDDPT,,*57
$SDDBT,,f,,M,,F*28
$SDDPT,,*57
$SDDBT,,f,,M,,F*28
$SDDPT,,*57
$SDDBT,,f,,M,,F*28
$SDDPT,,*57
$SDDBT,,f,,M,,F*28
$SDDPT,,*57
$SDDBT,,f,,M,,F*28
$SDDPT,,*57
$SDDBT,,f,,M,,F*28
$SDDPT,,*57
$SDDBT,,f,,M,,F*28

I have tried assigning the serial port within OP to Kplex as an input.
I also tried the other way, manually add a serial connection in SignalK for port /dev/ttyUSB2 with the correct baudrate: 4800
In addition to this I've set the SignalK NMEA converter plugin to check the depth sentences.

However, there is no SignalK sentence being generated, and no value for the depth.
The log for the connection says this:


Code:
Mar 29 11:51:51 false
Mar 29 11:51:51 initing!
Mar 29 11:51:51 nmea0183
Mar 29 11:51:51 Error: Device or resource busy, cannot open /dev/ttyUSB2


It only has the "cannot open" error when I check the "checksum logging" for the connection.
I have de-assigned the serial in OP to none, so I know the port is not being used by any other process.

Anybody have any idea how i can get the depth sounder to work? I feel I am getting close.

Kind regards,

Jamos
Reply


Messages In This Thread
RS485 USB - SignalK NMEA Serial input log - by jamos.tan@gmail.com - 2020-03-29, 01:09 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)