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
Remote MPU9255
#9
(2020-02-13, 01:30 AM)seandepagnier Wrote: 3-5ms lag would be ok, but is the lag constant like it is from i2c?

I don't really recommend a wireless imu, instead it would be easier to use a second raspberry pi zero running tinypilot in remote client.

I it jumps around a bit depending where people are in the boat, humidity and what ever can interfere with the wifi signal. It is mounted at the top of the mast so it is approximately 40 - 50 feet from the RPI and threw a few layers of fibreglass. I am using UDP so if i miss one i get the next in 100ms I did not see a drop in the testing and watching it eats time. The slowest part is displaying the data in SK or Opencpn they dont like to display data that fast. Kip was a bit smother..   With the ESP32. masthead unit I did some tests with my phone and could pick up the esp32 from a few hundred feet away.  I Sent 3.3 volts to the davis and used a shorter line in the build but it work with the long one too.
I really don't think an IMU would work as they are little *(cky to work with it seems. I have 2 esp32 in a drawer but they are the clunky non breadboard types. maybe i will wire one up and see.
I will do a test.
Code:
pi@openplotter:~ $ ping 10.10.10.101
PING 10.10.10.101 (10.10.10.101) 56(84) bytes of data.
64 bytes from 10.10.10.101: icmp_seq=1 ttl=255 time=2.93 ms
64 bytes from 10.10.10.101: icmp_seq=2 ttl=255 time=2.08 ms
64 bytes from 10.10.10.101: icmp_seq=3 ttl=255 time=2.09 ms
64 bytes from 10.10.10.101: icmp_seq=4 ttl=255 time=2.37 ms
64 bytes from 10.10.10.101: icmp_seq=5 ttl=255 time=3.45 ms
64 bytes from 10.10.10.101: icmp_seq=6 ttl=255 time=2.04 ms
64 bytes from 10.10.10.101: icmp_seq=7 ttl=255 time=2.37 ms
64 bytes from 10.10.10.101: icmp_seq=8 ttl=255 time=2.24 ms
64 bytes from 10.10.10.101: icmp_seq=9 ttl=255 time=2.21 ms
64 bytes from 10.10.10.101: icmp_seq=10 ttl=255 time=2.68 ms
That is between  and esp8266 and a rpi running openplotter  @ 1 meter not much lag. It was sending data at the time to the rpi.
Reply


Messages In This Thread
Remote MPU9255 - by Ola_H - 2020-02-10, 04:35 PM
RE: Remote MPU9255 - by BartStevens - 2020-02-10, 09:12 PM
RE: Remote MPU9255 - by Vic - 2020-02-10, 11:44 PM
RE: Remote MPU9255 - by Ola_H - 2020-02-12, 08:57 AM
RE: Remote MPU9255 - by rastam4n - 2020-02-11, 05:12 PM
RE: Remote MPU9255 - by Ranur - 2020-02-12, 01:33 PM
RE: Remote MPU9255 - by ddelorme - 2020-02-12, 03:47 PM
RE: Remote MPU9255 - by seandepagnier - 2020-02-13, 01:30 AM
RE: Remote MPU9255 - by ddelorme - 2020-02-13, 07:02 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)