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
Weather sensor with display crashing in OpenCPN
#1
Hi everyone. I bought the wind sensor with display from the pypilot store and a Davis anemometer. It works fine just on the display, but when I add it to OpenCPN it seems to crash and reboot.

Here's a video showing what I mean: https://youtu.be/sGNY9OGX1i8

As you can see it runs perfectly fine on a PC until I try configure it to open CPN where it seems to be in a reboot loop. Here's the debug data I pulled from OpenCPN:
<GREEN>21:13:20 (Serial:COM3) $ARMWV,262.14,R,0.00,N,A*2d<0x0D><0x0A>
<GREEN>21:13:20 (Serial:COM3) $ARMWV,262.14,R,0.00,N,A*2d<0x0D><0x0A>
<GREEN>21:13:20 (Serial:COM3) $ARMWV,262.14,R,0.00,N,A*2d<0x0D><0x0A>
<GREEN>21:13:20 (Serial:COM3) $ARMWV,262.14,R,0.00,N,A*2d<0x0D><0x0A>
<GREEN>21:13:20 (Serial:COM3) $ARMWV,262.14,R,0.00,N,A*2d<0x0D><0x0A>
<GREEN>21:13:20 (Serial:COM3) $ARMWV,262.14,R,0.00,N,A*2d<0x0D><0x0A>
<GREEN>21:13:21 (Serial:COM3) $ARMWV,262.14,R,0.00,N,A*2d<0x0D><0x0A>
<GREEN>21:13:21 (Serial:COM3) $ARMWV,262.14,R,0.00,N,A*2d<0x0D><0x0A>
<GREEN>21:13:21 (Serial:COM3) $ARMWV,262.14,R,0.00,N,A*2d<0x0D><0x0A>
<GREEN>21:13:21 (Serial:COM3) $ARMWV,262.14,R,0.00,N,A*2d<0x0D><0x0A>
<GREEN>21:13:21 (Serial:COM3) $ARMWV,262.14,R,0.00,N,A*2d<0x0D><0x0A>
<GREEN>21:13:21 (Serial:COM3) $ARMWV,262.14,R,0.00,N,A*2d<0x0D><0x0A>
/*Crashed here---> */
<GREEN>21:13:23 (Serial:COM3) $ARMDA,,,1.03477,B,,,,,,,,,,,,,,,,*31Sensor type:davis<0x0D><0x0A>
<GREEN>21:13:23 (Serial:COM3) Wind Off:0<0x0D><0x0A>
<GREEN>21:13:23 (Serial:COM3) Baro Off:0<0x0D><0x0A>
<GREEN>21:13:23 (Serial:COM3) Temp Off:0<0x0D><0x0A>
<GREEN>21:13:23 (Serial:COM3) Cal valid  118  901<0x0D><0x0A>
<GREEN>21:13:23 (Serial:COM3) bmX280 setup<0x0D><0x0A>
<GREEN>21:13:23 (Serial:COM3) $ARMWV,,R,0.00,N,A*30<0x0D><0x0A>
<GREEN>21:13:23 (Serial:COM3) $ARMWV,312.24,R,0.00,N,A*28<0x0D><0x0A>
<GREEN>21:13:23 (Serial:COM3) $ARMWV,270.54,R,0.00,N,A*2a<0x0D><0x0A>
<GREEN>21:13:23 (Serial:COM3) $ARMWV,263.90,R,0.00,N,A*20<0x0D><0x0A>

Then I tried reading that serial port in putty and it ran perfectly, no reboots or any other issues. Here's some data from putty:
▒▒/j*▒▒̙H=▒Sensor type:davis
Wind Off:0
Baro Off:0
Temp Off:0
Cal valid  118  901
bmX280 setup
$ARMWV,,R,0.00,N,A*30
$ARMWV,312.24,R,0.00,N,A*28
$ARMWV,270.54,R,0.00,N,A*2a
$ARMWV,263.90,R,0.00,N,A*20
$ARMWV,262.50,R,0.00,N,A*2d
$ARMWV,262.20,R,0.00,N,A*2a
$ARMWV,262.15,R,0.00,N,A*2c
$ARMWV,262.14,R,0.00,N,A*2d
$ARMWV,262.14,R,0.00,N,A*2d
$ARMWV,262.14,R,0.00,N,A*2d
$ARMWV,262.14,R,0.00,N,A*2d
$ARMWV,262.14,R,0.00,N,A*2d
$ARMWV,262.14,R,0.00,N,A*2d
$ARMWV,262.14,R,0.00,N,A*2d
$ARMWV,262.14,R,0.00,N,A*2d
$ARMWV,262.14,R,0.00,N,A*2d
$ARMWV,262.14,R,0.00,N,A*2d
$ARMWV,262.14,R,0.00,N,A*2d
$ARMWV,262.14,R,0.00,N,A*2d
$ARMWV,262.14,R,0.00,N,A*2d
$ARMWV,262.14,R,0.00,N,A*2d
$ARMWV,262.14,R,0.00,N,A*2d
$ARMDA,,,1.03473,B,,,,,,,,,,,,,,,,*35
$ARMTA,22.09,C*2f
$ARMWV,262.14,R,0.00,N,A*2d
$ARMWV,262.14,R,0.00,N,A*2d

Anyone have any idea what's going on? I have tried two USB cables, same behaviour on both.

Thanks

Edit: Also works fine in NavMonPc.
Reply


Messages In This Thread
Weather sensor with display crashing in OpenCPN - by patrickza - 2023-02-13, 09:20 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)