OpenMarine
MacArthur hat and pypilot motor controller - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: MacArthur HAT (https://forum.openmarine.net/forumdisplay.php?fid=29)
+--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=31)
+--- Thread: MacArthur hat and pypilot motor controller (/showthread.php?tid=5220)



MacArthur hat and pypilot motor controller - pxNav - 2024-03-03

How to connect pypilot motor controller to the MacArthur hat? On the motor controller has +3.3V, tx, rx and gnd lines, I try to connect NMEA 0183 data flow. Is this possible at all or need to connect directly to the Rasperry pi?

I can't find any basic instructions anywhere, looks like documentation is before than MacArthur hat entered on market.


RE: MacArthur hat and pypilot motor controller - Sailoog - 2024-03-04

You have to connect the pypilot motor controller to UART0 using the Raspberry pin header. 

If you use UART0 for pypilot you can not use a MAIANA transponder or a dAISy HAT. If you need UART0 for one of these devices you can also use UART2 in Raspberry 4 (GPIO 0 and GPIO 1) or UART1 in Raspberry 5 (GPIO 0 and GPIO 1) for your pypilot controller.


RE: MacArthur hat and pypilot motor controller - pxNav - 2024-03-05

(2024-03-04, 05:52 PM)Sailoog Wrote: You have to connect the pypilot motor controller to UART0 using the Raspberry pin header. 

If you use UART0 for pypilot you can not use a MAIANA transponder or a dAISy HAT. If you need UART0 for one of these devices you can also use UART2 in Raspberry 4 (GPIO 0 and GPIO 1) or UART1 in Raspberry 5 (GPIO 0 and GPIO 1) for your pypilot controller.

Thanks! Now it works with UART0!  

Btw. Pi 5 serial0 -> /dev/ttyAMA10 by default, need to add "dtparam=uart0_console" to the config.txt.


RE: MacArthur hat and pypilot motor controller - Sailoog - 2024-03-05

I think you need dtparam=uart0_console only if you want to use the new three-pin JST-SH connector in RPi5. If you needed that for using UART0 in pypilot, it could be because the pypilot code is not yet updated to RPi5.