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
#7
(2023-05-17, 03:13 PM)MigGat Wrote: So today I received my pypilot motor controller and tried to set it up using this tutorial: https://github.com/pypilot/workbook/wiki...Controller

Connected the controller to 12V supply, ok

But when I tried to connect to the Rpi UART0, i see that it's already used by MAIANA. Acording to MacArthur HAT docs, UART3 and UART5 are also used (or can be used) by NMEA0183 connections.

So I tried to enable UART4 which aparently use GPIO 8 (CE0_N) and 9 (MISO). By doing so, i see that a new device appears as "ttyAMA1", but when I change the Pypilot app to "Enable autopilot" instead of "IMU only", i get the warning  saying "The device /dev/ttyAMA0 in UART0 should be added to the list of serial ports pypilot manages":



But even if I add an alias to ttyAMA1, and go to Pypilot Serial settings and add that device, the same message stays there



I have no idea what i'm doing wrong or how can I start to diagnose, any help will be much appreciated

Could I ask for a picture of how you connected the serial connection from the motor controller to the MacArthur hat? I am having a hard time understanding where the Red, Black, Blue and Green wires should be connected on the MacArthur Hat. I have been messing around with a combination of the black and red in the 1wire 3v header and the green and blue in the NMEA 0183 TX / RX ++ -- and +- and I can not seem to get the motor controller to be recognized. I have had solid red lights on the motor controller, solid red and solid yellow, and also a flashing green TX light on the MacArthur hat. But no matter what I do I can't seem to get pypilot to recognize the motor controller.

Thanks!
Reply


Messages In This Thread
RE: Setup Pypilot motor controller with MacArthur HAT - by braydengirard - 2024-05-07, 03:24 PM

Forum Jump:


Users browsing this thread: 6 Guest(s)