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:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New wind sensor - Pypilot + Davis
#6
- Removed all serial devices and SignalK connections (except moitessier) 
- Added wind sensor again, as NMEA0183 output, and a SignalK connection at 38400 baud.

The stream looks like this:


Code:
pi@openplotter:~ $ cat /dev/ttyOP_windsens

��/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�
/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�
/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙�/ZyLII*-��̙��)YI����������̊ę��Y��

After running the command to ensure 38400, output looks much better:


Code:
pi@openplotter:~ $ stty -F /dev/ttyOP_windsens 38400
pi@openplotter:~ $ cat /dev/ttyOP_windsens
$ARMWV,21.75,R,0.00,N,A*1f
$ARMWV,21.75,R,0.00,N,A*1f
$ARMWV,21.75,R,0.00,N,A*1f
$ARMWV,21.75,R,0.00,N,A*1f

But even at this stage, SignalK keeps showing the error: "7/28/2021, 12:59:43 PM: Error Resource temporarily unavailable Cannot lock port"

I must add that after restarting SignalK, the output is wrong again, even if I can clearly see that 38400 is the baud rate selected. Huh Huh
It seems something is setting the baud rate at 19200, but i have no clue what or how. This is after SignalK restart:

Code:
pi@openplotter:~ $ stty -F /dev/ttyOP_windsens
speed 19200 baud; line = 0;
min = 1; time = 0;
-brkint -icrnl -imaxbel
-opost -onlcr
-isig -icanon -iexten -echo -echoe -echok -echoctl -echoke
Reply


Messages In This Thread
New wind sensor - Pypilot + Davis - by MigGat - 2021-07-27, 11:38 AM
RE: New wind sensor - Pypilot + Davis - by MigGat - 2021-07-28, 08:21 AM
RE: New wind sensor - Pypilot + Davis - by MigGat - 2021-07-28, 10:15 AM
RE: New wind sensor - Pypilot + Davis - by MigGat - 2021-07-28, 12:00 PM
RE: New wind sensor - Pypilot + Davis - by MigGat - 2021-07-28, 06:48 PM
RE: New wind sensor - Pypilot + Davis - by MigGat - 2021-07-29, 08:00 AM
RE: New wind sensor - Pypilot + Davis - by MigGat - 2023-01-31, 06:13 PM
RE: New wind sensor - Pypilot + Davis - by MigGat - 2023-02-01, 04:51 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)