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
Pypilot added to existing NMEA 0183 nav instruments
#11
Curious about the reverse: how does the accuracy of the heading from the mpu9255 compare to marine-specific heading sensors? I happen to have a KVH Autocomp 1000 fluxgate compass onboard connected to a Sailcomp 103ac and I'm wondering how/if it's still relevant.

I'm not sure if the Sailcomp works off of the Autocomp's NMEA output or lower-level signals. Can it be fooled into taking NMEA heading data from the tinypilot?
Reply
#12
(2020-09-16, 01:22 AM)SaltyPaws Wrote: Perhaps this is where I can use my existing hardware as the motor controller?

It just isn't supported.   pypilot source code is available but I do not have the ability (or desire) to support proprietary hardware in this way.   I dont even know how to talk to your existing hardware, but if you did, you could  implement this feature and I will accept patches. nmea0183 commands course, it does not give raw motor movement commands.

Other options would be to use the regular controller to drive relays, or just wait for the higher power controller on my store, the price should be about $100.


As far as comparison to fluxgate, without gyros, it must differentiate the fluxgate compass rather than integrate the gyro (and compensate drift with the magnetic sensors)  so the result will never be nearly as good, especially in any kind of sea state, but actual comparison would be interesting of course.   The type of fluxgate compass that can swing (gimbaled) are especially bad.
Reply
#13
Of course! Use the controller to drive relays! I can see that working. Your motor controller output to the rudder drive motor reverses polarity to change direction? A couple of diodes and a pair of auto spdt relays. Easy peasey.


Attached Files Image(s)
   
Reply
#14
actually... you want to put diodes across the relay coils to provide a current path when the controller turns off. The controller's mosfet have builtin diodes but extra diodes are not a bad idea.


Normally you can wire one output from the controller to each relay coil and use the common ground of the controller or common power, either way
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)