2018-09-09, 09:58 AM
(This post was last modified: 2018-09-09, 10:09 AM by nvelthuijsen.)
(2018-09-08, 06:01 PM)seandepagnier Wrote: For the autopilot you would not be using node red. While in theory it is possible, there is too much lag and node read is not meant for real time applications.
Yes you can use the pi gpio directly, but you still need a way to detect the rudder stops. If you use switches, you can use gpio input for those. Otherwise, rudder-feedback and motor stall detection both require analog to digital converter as well as monitoring temperature and voltages, and a way to isolate the raspberry. So for my controllers I already have a uC no reason to use the raspberry gpio, that is why I don't use it.
Hi Sean,
Thanks for your reply. I indeed want to use switches to detect the rudderstops and use the GPIO inputs.
Can you tell me how to configure openplotter/pypilot on a raspberry pi to use these GPIO pins for input and output?
Thanks and keep up the good work!