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
Connect IMU to pyPilot through TTL over USB
#1
I've got a MPU9255 that communicates via TTL and not I2C (WIT-motion  WT901C TTL). I connect this IMU to my OpenPlotter RPI 3B+ via a TTL to USB and it is detected as a serial connection. 
Is i possible to get pypilot to use this IMU instead of the one I have connected through I2C, because I want to remove the IMU from electromagnetic interference and position it close to the center of motion on my boat.
Reply
#2
you could also use i2c for a few meters usually, and repeaters are also possible.

Anyway, it's not a problem directly on the pi. You could use ttl or usb sensors but I don't recommend usb because of latency. So I don't have a great solution since the pi has only one hardware serial port. The pi4 has more uart.
Reply
#3
Andreas29 has made a IMU/I2C extention:
https://forum.openmarine.net/showthread.php?tid=3137
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)