2024-08-22, 08:54 AM
Hi all,
I'm rebuilding an Autohelm1000 that died on me during a stormy passage using Pypilot. Yesterday i got my Pypilot motordriver in the mail I hooked it up using a Arduino USB-UART converter (this one). Everything works like a charm, at least at my desk.
Now I'm wondering how can i get the buttons [+1] [-1] [+10] [-10] [AUTO/STANDBY] on the Autohelm to interact with the Pypilot Openplotter app. I read in another post that the RPI-GPIO pins can be hooked up. But wouldn't it be easier to just read the buttons in the Autohelm and transfer them via UDP/TCP/Serial to the RPI Pypilot frontend app.
I have them read with a ESP32 device and transferred to SignalK with a SensESP application, I guess i can write a piece of code that writes to the GPIO pins but that seems a bit like a massive detour. Also the pins are kind a inaccessible due to the MacArthur hat.
In another old post (from 2020) i read that these AP commands are passed through a socket. Can I use that socket?
Another related question: are XTR, VMG etc. sentences past trough to SignalK if the AP is following a route (can't test that at my desk. )
Thanks for your input,
Koen.
I'm rebuilding an Autohelm1000 that died on me during a stormy passage using Pypilot. Yesterday i got my Pypilot motordriver in the mail I hooked it up using a Arduino USB-UART converter (this one). Everything works like a charm, at least at my desk.
Now I'm wondering how can i get the buttons [+1] [-1] [+10] [-10] [AUTO/STANDBY] on the Autohelm to interact with the Pypilot Openplotter app. I read in another post that the RPI-GPIO pins can be hooked up. But wouldn't it be easier to just read the buttons in the Autohelm and transfer them via UDP/TCP/Serial to the RPI Pypilot frontend app.
I have them read with a ESP32 device and transferred to SignalK with a SensESP application, I guess i can write a piece of code that writes to the GPIO pins but that seems a bit like a massive detour. Also the pins are kind a inaccessible due to the MacArthur hat.
In another old post (from 2020) i read that these AP commands are passed through a socket. Can I use that socket?
Another related question: are XTR, VMG etc. sentences past trough to SignalK if the AP is following a route (can't test that at my desk. )
Thanks for your input,
Koen.