2021-06-27, 12:33 AM
(This post was last modified: 2021-06-27, 12:35 AM by SailingRiver.)
(2021-06-26, 07:59 AM)seandepagnier Wrote: my motor controller essentially functions as an arduino
you would only need an arduino if you are making your own controller.
The most likely problem is that hardware serial is not enabled. This is easy to verify by typing:
ls -l /dev/serial0
The result should be /dev/ttyAMA0 if you get /dev/ttyS0 it is not enabled.
the next thing is to make sure the serial console is not active, you may need to edit /boot/cmdline.txt Also ensure bluetooth service isn't running "service bluetooth status"
These steps are supposed to be handled by the openplotter-pypilot scripts automatically, but it's possible they are somehow failing in your case.
Once again Sean to the rescue. My issue was that I used the other ground pin. You should really use the gnd on the 3rd pin.
(2021-06-26, 07:59 AM)seandepagnier Wrote: my motor controller essentially functions as an arduino
you would only need an arduino if you are making your own controller.
The most likely problem is that hardware serial is not enabled. This is easy to verify by typing:
ls -l /dev/serial0
The result should be /dev/ttyAMA0 if you get /dev/ttyS0 it is not enabled.
the next thing is to make sure the serial console is not active, you may need to edit /boot/cmdline.txt Also ensure bluetooth service isn't running "service bluetooth status"
These steps are supposed to be handled by the openplotter-pypilot scripts automatically, but it's possible they are somehow failing in your case.
One more question as soon as autopilot is started does the controller send voltage to the clutch port? I will check it myself but if you can confirm I Wil just use it without checking.