SeaTalk 1 to NMEA0183/2000 with Raspberry Pi - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: How I did it (https://forum.openmarine.net/forumdisplay.php?fid=6) +--- Thread: SeaTalk 1 to NMEA0183/2000 with Raspberry Pi (/showthread.php?tid=2820) |
RE: SeaTalk 1 to NMEA0183/2000 with Raspberry Pi - MatsA - 2021-03-14 (2021-03-13, 11:35 PM)Pierrot277 Wrote: Hello everybody,Yes that should work. But I would check that the ST70 really outputs ST1 and that the ST NG cable really have the pin 6 populated. On the other hand I wouldn't go for ST1 !! You are building for the future using ST NG/N2K using for example one of these products https://github.com/SignalK/signalk-server/wiki/FAQ:-Frequently-Asked-Questions#how-do-i-integrate-with-nmea2000-can-bus /Mats RE: SeaTalk 1 to NMEA0183/2000 with Raspberry Pi - Pierrot277 - 2021-03-14 (2021-03-14, 05:21 PM)MatsA Wrote:Hey Mats,(2021-03-13, 11:35 PM)Pierrot277 Wrote: Hello everybody,Yes that should work. But I would check that the ST70 really outputs ST1 and that the ST NG cable really have the pin 6 populated. Thanks for the advice, i think you are right and there is maybe nothing on the pin 6. I will use the waveshare RS485 can hat and configure directly via openplotter. It's maybe a more easier option. RE: SeaTalk 1 to NMEA0183/2000 with Raspberry Pi - ckckrs - 2021-03-24 (2020-09-08, 01:10 AM)Cari20 Wrote: https://github.com/dnegrotti/seatalk1_out/blob/master/Seatalk1_out.py Cari20, Great work and also for SignalK team. When I imported and examine the node for phyton function while waiting my circuit parts for boat test, I see the some parsing for *$STALK but when I tested this on phyton at VSC at home, the output is not exactly what I expected. I'm not experienced on programming maybe I'm missing something here? Your support appreciated, Thanks,Sancan Test code and result is: #Sends seatalk1 datagrams to serial output\ #By Cari20 (2020) loosely based on Marco Bergman ST2000 RPi remote\ msg2 = '*$STALK,30,00,0C' print(msg2) lst = msg2.split('*')[0].split(',') print(lst) lst.append(msg2.split('*')[1]) print(lst) if lst[0]=='*$STALK': print('helloinif') for i in lst[2:-1]: print(lst[i]) print('helloinloop') Sancans-MacBook-Pro-2:~ sensesp$ /usr/bin/python /Users/sensesp/Documents/PythonScripts/gpioseatalk.py *$STALK,30,00,0C [''] ['', '$STALK,30,00,0C'] Sancans-MacBook-Pro-2:~ sensesp$ RE: SeaTalk 1 to NMEA0183/2000 with Raspberry Pi - Corosol - 2021-09-13 Hi! I'm desperate about making the Seatalk work on my Raspberry, so may be someone here will have an idea about what is wrong. I have build the optocoupler interface described at https://github.com/SignalK/signalk-server/blob/master/Seatalk(GPIO).md with the optocoupler circuit below. I measured with an ohmmeter the resistance on the board and they are 3K as in Github optocoupler. I have at least 4 Seatalk instruments daisy-chained with official cables. On one of the cable there is a splice that connect to the autopilot course computer ST100/300 where I took out the Seatalk input signal to the Optocoupler.I also tried to connect the optocoupler directly to another instrument ST output, with the same results. I connected the circuit with a 4660 Ohm resistor to a Raspberry Pi zero W (headless, running Signalk server) and created the connection as describer in Github (GPIO 4 / inverted). I have no signal in Signalk, nor with the tool STALK_read.p. Then I measured the voltage (with a voltmeter, I don't have an osciloscope) at the Seatalk connector (with the optocoupler disconnected): I can see a fluctuating voltage between 11V and 12V so I conclueded that that was actually ST data (plus as the autopilot ST100/300 works fine, I gess it can be concluded that it receives correct ST data). Then I measured the voltage when the optcouper is connected at the same point: I can see fluctuating voltage around 5V to 6V. Then I measured the voltage at the GPIO pin and could see a fluctuating voltage of 1.5-1.7 V. So I imagined that for some reason, the voltage at the GPIO was not suffisant to pull the signal down (I've read somewhere on line that you need at least 1.8V to change GPIO inputs). So I replaced the 4660 resistor with 4000, then 3000 to see what happens. With 3000 the STALK_read.p started to display STALK messages (that I'm unable to decode) and the SIgnalK server started to show only 2 data (Magnetic deviation and depth). Nothing else (on top of that the only instrument which is not connected is the depth sounder ;-). I tried to remove the invert setting but it didn't change anything (Is there a possibility that I burnt the GPIO doing that?). - What is not working? the optocoupler part? The raspberry? - Is the Raspberry pi zero fast enough to decode the ST data flow ? (I believe 4.8 kbauds is not that fast for a pi zero. - Why do I receive only 2 paths or are they just badly decoded? Any idea? Thanks! BTW I'm in barcelona if any need for testing on a boat! Ray RE: SeaTalk 1 to NMEA0183/2000 with Raspberry Pi - Corosol - 2021-09-14 (2020-08-07, 10:25 AM)Sailoog Wrote: We are working in a simple board with a waterproof case to convert Seatalk1 using this method but we have a big problem, we have not any Seatalk1 device Did you succeed in building this box and testing it? I'm in Badalona Marina with ST1 instruments if you still need a test. RE: SeaTalk 1 to NMEA0183/2000 with Raspberry Pi - MatsA - 2021-09-14 (2021-09-13, 11:02 AM)Corosol Wrote: Hi!Hi ! Did a comment, yesterday, on this blogpost https://pysselilivet.blogspot.com/2020/06/seatalk1-to-nmea-0183-converter-diy.html if you missed it. RE: SeaTalk 1 to NMEA0183/2000 with Raspberry Pi - Sailoog - 2021-09-14 (2021-09-14, 09:09 AM)Corosol Wrote:(2020-08-07, 10:25 AM)Sailoog Wrote: We are working in a simple board with a waterproof case to convert Seatalk1 using this method but we have a big problem, we have not any Seatalk1 device Yes we did and we succesfully tested it in Masnou Marina. I think I still have some prototipes, I need to know where... send me a private message please. RE: SeaTalk 1 to NMEA0183/2000 with Raspberry Pi - labotica - 2022-02-24 (2020-08-07, 10:25 AM)Sailoog Wrote: We are working in a simple board with a waterproof case to convert Seatalk1 using this method but we have a big problem, we have not any Seatalk1 device Imagino que ja l'has trobat, però si no és així avisa'm RE: SeaTalk 1 to NMEA0183/2000 with Raspberry Pi - Sailoog - 2022-02-25 (2022-02-24, 10:43 PM)labotica Wrote:(2020-08-07, 10:25 AM)Sailoog Wrote: We are working in a simple board with a waterproof case to convert Seatalk1 using this method but we have a big problem, we have not any Seatalk1 device Si, al final ho van fer al Masnou i va funcionar molt be. El tema es que ho tornarem a necessitar aviat quan acabem un nou disseny a veure si aquest veu la lluny finalment si l'escassetat de components ens ho permet. Et dic alguna cosa per aquí, gràcies!!! RE: SeaTalk 1 to NMEA0183/2000 with Raspberry Pi - MatsA - 2023-10-11 Note !!!! Please find the ST 1 Signal K documentation in a new place https://github.com/SignalK/signalk-serve...seatalk.md |