Posts: 2,836
Threads: 60
Joined: Mar 2016
Reputation:
267
Thanks for reporting Duncan.
Please try the new wiring.
You can also try the old wiring but adding a 4.7K or 5K resistor in serial with the MacArthur Seatalk1 DATA connector. That will give us more clues.
Posts: 157
Threads: 13
Joined: Nov 2020
Reputation:
15
Ok, I’m back at the boat and with the new wiring, inverted, and jumper set to ST and/or removed I only see navigation.log and navigation.trip. I then waited about two mins and headingMagnetic and rudder.angle appeared. After some more time gnss appeared with a null value. I’ll wait a little longer to see if I get more fields but it seems very slow and is if there is too much resistance/low signal strength.
Anything else I can do to test this for you?
Posts: 50
Threads: 1
Joined: Mar 2023
Reputation:
4
2023-05-26, 11:29 PM
(This post was last modified: 2023-05-27, 12:28 AM by Adrian.)
Can you remind me whether the original Seatalk wiring worked with your setup or not?
If you have a volt meter, can you check whether the ST Data line idles at 12V?
Posts: 13
Threads: 2
Joined: May 2023
Reputation:
0
Hi
I'm back on board testing the seatalk connection on the HAT this afternoon. With the new wiring, inverted and ST jumper set, the STLINK FAIL error doesn't occur (postive). However, although I get several variables coming through in Signal K, all of them are null values. I sat here for about 1/2 an hour and nothing.
I then put the wiring back and removed the invert signal, the STLINK FAIL error came back on the autohelm but all the data for the wind and tridata instruments started to appear...
I forgot to bring down my resistor pack so I can't test the resistor and the old wiring at the moment.
Hope that helps
Posts: 2,836
Threads: 60
Joined: Mar 2016
Reputation:
267
2023-06-01, 06:39 PM
(This post was last modified: 2023-06-01, 06:46 PM by Sailoog.)
Thanks a lot Duncan. I think that is very helpful. Some questions:
- was the ST jumper in the open position or removed with the new wiring?
- does "several variables" mean data that should come from the wind and tridata seatalk instruments?
Adrian will correct me if I am wrong but I think your result confirms our latest conclusions. The important thing of your test is that using the new wiring your seatalk bus and devices keep talking and the STLINK FAIL error is gone.
Null values could also confirm some issues observed by Adrian. In the other part of the circuit (after the opto) we do not have a clean and square digital signal but a rounded one with some soft valleys making it difficult for the Raspberry to interpret what is 0 and 1. That could explain why you can see signal k keys translated from the seatalk data but erratic values and Boatingbaileys's results. This effect is less visible using the old wiring but is still present.
We have some new prototypes on its way using the new wiring and replacing the opto by regular transistors which have faster switching times. Elements to protect the Raspberry has been added as well.
I am still interested on your test with the old wiring adding a 4.7K or 5K resistor to the seatalk1 DATA connector. That could give us more info about the seatalk1 bus behavior.
Thanks again.
Posts: 13
Threads: 2
Joined: May 2023
Reputation:
0
Hi Sailoog
Just to answer your questions;
- The ST jumper is in the position depicted in your drawings at the start of this thread
- The variable -as I described them are- is the data that is coming from the wind and tridata instruments.
Just to add, with the new wiring, I'm seeing the seatalk LED flash (as you described). When I switch back to the original wiring then the LED is more solid.
I've tried re-cabling the seatalk network so that my tridata instrument is the first device on the seatalk bus but if I use the original wiring the Authohelm still comes back with STLINK FAIL error and I can't use it. If I switch it to the new wiring, the and it doesn't get the error but all the data is null. Really frustrating cause I can't effectively use the seatalk bus becuase it knocks out my autohelm.
I'm not sure it's relevant but the autohelm is the only device that has it's own dedicated power. The tridata and the wind instruments are getting there power from the autohelm via the seatalk one network.
I will come back next week and try the resistor.