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
Setup Pypilot motor controller with MacArthur HAT
#16
(2024-05-07, 10:44 PM)Lazzz Wrote:
(2024-05-07, 10:26 PM)braydengirard Wrote: How did you go about connecting to those pins? Any pictures Smile ! 

Thanks for the info. 

Still interested though how one would connect to the RJ45 port with the blue and green wires...


Keep in mind that this is just a "mock-up" at home for testing - I'm stuck at home with a leg in plaster for 6 weeks!!

I use one of these pin connectors for all my connections to the Pi5 such as the Motor controller, relays, PIR sensor etc. On the boat they are soldered & have heat shrink!! Before the MacArthur the 1wire & I2C were connected via this as well.

Awesome this makes sense, thank you. Hope you heal quick!

I ended up finding the pinout for the RJ45 in the MacArthur Hat Github repo for anyone else looking. Connected up the TX and RX for UART0 to the RX and TX on the motor controller, left the 3v (red) in the 1Wire 3V and the ground (black) in the 1Wire grnd.

All works well now after setting UART0 on OpenPlotter as an NMEA0183 Serial connection and assigning to PyPilot. Motor spins in both directions based on the heading!

Thanks all for the support here and hope this may help others using the MacArthur Hat with the Pi5 and a Pypilot motor controller.
Reply


Messages In This Thread
RE: Setup Pypilot motor controller with MacArthur HAT - by braydengirard - 2024-05-08, 02:44 AM

Forum Jump:


Users browsing this thread: 10 Guest(s)