2020-03-29, 01:09 PM
Hi,
I have connected a depth sounder to an RS485 USB dongle to the Raspberry pi.
It works when I check with this command:
Sudo cat is also fine by the way. It only works with baudrate 4800 by the way.
It outputs this:
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:
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
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