Speed through water (STW) sensor. Boat speed measurement

Perhaps so. But I will output the data in NMEA format. I like it better this way it will be easier to work with electronic charts, in MP they are terrible (you can say they are not for the boat).

Ideally what is needed is more nmea messages out of mission planner other than just GPS.

Yes, ideally, it would be great to output all NMEA data (log, gps, sonar, ais) to one port.

it looks like a few messages have been added since the last time i looked at it, I dont think it would be that difficult to add more.

@geofrancis,

Yes indeed, integrating the sensor’s output into the EKF as a wheel encoder or maybe an Airspeed sensor could be very useful for non-GPS navigation.

it’s not difficult if you know C++ :grinning:. We’ve talked about this before, and maybe @rmackay9 and @iampete will help in the future. I will make a request on Github.

Hi, thanks for raising the issue. I think the code needs to go into the flight code though not mission planner. So I think that issue should instead be raised over here.

1 Like

On your recommendation, I moved it to another section.

Updated 3D model
Body

2 Likes

I tested the device, everything works fine. It remains to select the coefficient so that the correct speed value is selected. The data is output in NMEA format.

1 Like

Hi. Good news. Tested it on the latest version(rover 4.4). Everything is displayed perfectly. I think in the future it will be possible to add a speed sensor to the reference information.

1 Like

I think it could interface with i2c so it doesnt use up a serial port. it would just need to emulate an airspeed sensor.

yes, it’s better, but I haven’t seen the settings in MP for such an option.

1 Like

A short video about the sensor in my YT channel

1 Like

your water speed sensor is used like an airspeed sensor. It’s the same way I’m getting the pitot tube working on the tug. Unfortunately, I haven’t found an easy way to emulate it yet with an Arduino on i2c.

I finished the design of the project on Github. In principle, it can be considered a completed project

1 Like

Have you tested it in the water yet?

Yes, everything is fine. I slightly adjusted the coefficient to match the values. There is a possibility of calibration after firmware, it is possible without it.

1 Like

Is there a reason you wanted to make your own as opposed to buying a commercial off-the-shelf solution? I am looking for an affordable STW sensor that I can integrate into a custom-built GPS/radio system, but I haven’t determined if the commercially available ones can be programmed to work with other GPS/radio/custom software.

you can use it in a boat if your system is built on NMEA 0183. if the system is based on NMEA 2000, then the software needs to be modified.