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
autohelm 800 refit with pypilot motor controller
#2
(2020-05-03, 12:52 PM)adrien Wrote: 1) I would like to reuse the autohelm buttons connected to the arduino to send back some basic command to pypilot like engage/disengage or tack. Can pypilot accept that kind of command from the arduino? if yes, where can i find the command frames?

2) I was thinking using an isolated RS422 link between open plotter and the arduino. But i also may consider using a low power wierless connection like blutooth or ziegbee reducing wiering and garanteeing isolation. does someone have feedback on wiereless communication between pypilot and the motor controller?

1) I built both tinypilot (pizero) and the arduino in a former ST2000+, see this post. The keys were mapped to the pizero with a piece of custom code I added to the tinypilot image, the code is in github. The pypilot is connected to the opencpn plugin in openplotter through wifi. This was a lot of work.

2) For short distances you can even connect them only though an optocoupler/level shifter. Remember the link between pi and arduino is bi-directional. But with openplotter outside the autohelm, you'd also connect the keys back to the openplotter... I'm not aware of anyone having done this wirelessly.
Reply


Messages In This Thread
RE: autohelm 800 refit with pypilot motor controller - by ironman - 2020-05-04, 09:50 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)