Lowrance NMEA 0183 to Cube Orange

Sorry for the long delay - I had to send the unit back because it stopped showing depth. Turns out it had a software error. Works great now.

So here is the answer!


Use the settings discussed here earlier this year:
[SERIAL2_PROTOCOL] = 9 (Rangefinder)

[SERIAL2_BAUD] = 38 (38400 baud) (or whatever you set the Serial Output on the Elite to)

[RNGFND1_TYPE] = 17 (NMEA)

[RNGFND1_MIN_CM] = 13

[RNGFND1_MAX_CM] = 30000 (i.e. 300m).

[RNGFND1_ORIENT] = 25 (i.e. down) if mounted on a boat

You will have to set up the Serial Output on the Elite to set the serial sentence to just output Depth and make sure the baud rate is the same as your Mission Planner

4 Likes

Hi @RDodds,
so summarized it is possible to get depth from lowrance to AP but not GPS to Lowrance, is that right? Because I want to build a boat using more accurate GPS (I am thinking about RTK or even buying the correction data from the government costing 2€ per day for decimeter accuracy) but I also want sidescan with accurate gps coordinates, that I can e.g. check with sidescan when I have irregularities in my data.
As i understand my only option is using depth from Lowrance and combine it with accurate gps in AP for Reefmaster (using the .log file), as I can’t input accurate gps to the lowrance and use the lowrance protocol in Reefmaster.

In theory it should be possible to send GPS data (with nmea) to lowrance.
But I couldn’t get it to work until now. And I didn’t find out yet what the cause is.

Probable causes:

  • my elite ti is too old to accept nmea input
  • wrong connection
  • wrong protocol (rs 232 Vs. Rs 422)
  • lost in translation between the two rs protocols.

I also don’t know if the autopilot outputs rtk corrected data if you set a serial port to GPS/nmea output.
If not you’d need to send the rtk data from your ground control to the boat.

As I said: should be possible. But noone managed to (as far as I know)

1 Like

Hi, if the autopilot is using an RTK GPS and its position is sent to the Lowrance (by setting the SERIAL_PROTOCOL = 20/NMEAOutput) then it the Lowrance will receive an RTK corrected position. In fact, the position output from the autopilot is not just the GPS position. It is the position from AP’s EKF which is better than the GPS because it is a combination of GPS+Accelerometers.

By the way, AP 4.3.0 has an important fix for the NMEA output which should greatly its accuracy. The lat,lon numbers were being truncated meaning they were off by up to about 1 meter.

1 Like

Didn’t know that Ryan. Thanks for the clarification. That’s not what I would have thought and speaks a lot for how good the arudpilot software is. This makes it even more interesting to feed the lowrance with the arudrover GPS data.

Out of the possible causes I identified, I somehow think that it probably is that my elite ti is too old.
I’m hoping for someone with a newer lowrance model to try this. Or maybe I find a good enough reason to buy a new lowrance sonar.

That all being said, using sonar with rtk throws up some other problems. Surely your readings will get more exact. But you’re combining two systems. One with centimeter or decimeter accuracy with a sonar with meter accuracy.
Depending on the frequency and sonar you’ll always measure a cone of multiple meters wide. So you’ll never get an underwater map with centimeter accuracy. Unfortunately. But rtk would greatly help to produce sidescan mosaic, which is what I’m after. To produce a good mosaic, the boat is supposed to drive really straight lines. And as far as I can tell it actually does, even without rtk. But the sonar has its own (worse) GPS and thinks the lines are not as straight.

Simply feeding GPS into lowrance would get rid of this problem. I’m on it, but don’t have that much time on my hands as I would need to fix the problem.
Maybe next year. I’m not letting lose!

1 Like

I’ve finally created a PR to add this info to the wiki. Sorry for the delay!

@rmackay9 Do you know if it is possible to get something out of the WASSP sensor?

@MshUav,

I’ve never looked at the WASSP sonars before but from looking at their website it seems they probably have an ethernet connection. AP doesn’t yet support Ethernet but it is coming within the next year I’m sure. After that I think we would need to write a driver to allow AP to send position data and receive distance data from the sensor so it can be logged and sent to the ground station.

If the sensor already has a serial interface then it’s possible we could write a driver now without waiting for Ethernet support but I can’t figure out from the web page whether such an interface exists.

In general I’m happy to write a driver if I can get my hands on the hardware somehow.

Don’t know if it can be of any help:

Furuno is the distributor for wassp products.

Hi @Holly918,
since. I am working on a school project right now, it depends if our sponsor gives us enough money to buy the lowrance elite ti2 or if we have to use only a normal sonar (no sidescan). I agree on your point with the cone, but I think using chirp it can be quite accurate nevertheless.
So there are two options:

  1. If mapping a lake as a depth map, I think it’s better to send the depth to the AP and combine it there with the EKF data. You need a RS422 to TTL converter to get the data from the sonar to the AP.
  2. You should be able to get the GPS data via NMEA out to the sonar (but then you have no depth data on the AP). There is a configuration menu in the lowrance software, where you can choose the gps source (there are external gps options from Lowrance itself but using EKF is cheaper, search on YouTube for setup guides).

I don’t know if it’s possible to do both at the same time since getting depth is using serial settings in rangefinder and the other one uses the NMEA out setting.

1 Like

HI @enginuity-cansat,

Thanks for the comments. Theoretically it should be possible for the autopilot to send position information to the sonar via NMEA and also receive the depth information back from the sonar (also via NMEA) all using the same serial port. If it’s not possible then it is a restriction within the sonar I think.

Hi @rmackay9 ,
so the setting SERIAL_PROTOCOL = 20 (NMEAOutput) should be able to send GPS and get depth data at the same time, but [SERIAL2_PROTOCOL] = 9 (Rangefinder) and [RNGFND1_TYPE] = 17 (NMEA) is Input only?
Did I understand that right?

@enginuity-cansat,

Ah, right of course … sorry I didn’t think this through. So on the autopilot side it would actually require using up two serial ports. One would use SERIALx_PROTOCOL = 20 (NMEAOutput) and the other SERIALy_PROTOCOL = 9 (RangeFinder) and RNGFND1_TYPE = 17 (NMEA) and then the single serial port on the sonar side would need to have its RXD pin connected to the autopilot’s serial port “x” (the one sending NMEA Output) and its TXD pin connected to the autopilot’s serial port “y” (Rangefinder).

With the autopilot’s serial ports in high demand this isn’t ideal clearly and we have a to-do item to allow multiple features/subsystems to share a NMEA port.

Thanks for pointing this out.

@rmackay9,
now it make sense, thank you for the clarification. I am looking forward to try it out, if our sponsor gives us enough financial support. If we get the stuff i will post an update on this thread. Thank you for your help.

2 Likes

I’ve found the reason why the GPS data wasn’t appearing in the lowrance. This doco above has a couple wires around the wrong way. It doesn’t affect the lowrance sending depth to pix, but it is on the receive wires - so lowrance wasn’t receiving correct data from the pix.

The green and orange need to be swapped at the RS422 adapter.

Previously I got bidirectional intergration (GPS and depth) working using a RS232 adapter, but i really struggled with the RS422. On the early HDS lowrance range, only the bigger units support RS232. But all of them support RS422.

The online doco is conflicting/poor on what Y Z A B pins are for so it took some experimenting to solve the puzzle.

2 Likes

@aussiemaverick,

Thanks for the feedback. So to be clear, you think that there is something wrong with the document above that is now on our wiki page here? So under the “Hardware Setup” there is a “From Lowrange Elite T2i” label and a blue RS422-to-TTL converter shown… and you don’t think the mapping from wire colour to 422 adapeter is really this?

  • orange → Y
  • green → Z
  • yellow → B
  • blue → A

Actually looking at the digram some more, surely the right side is incorrect. Surely the Blue and Yellow “TXD” and “RSD” fields are swapped too.

FYI @RDodds

@rmackay9
@RDodds

Yes I 100% think there is a problem with the wiki. It doesn’t affect data from lowrance like depth, but if you like me and seems some others, want to feed GPS from PIX to lowrance, then if you follow the wiki - it will never work - and you won’t know that the wiring is wrong.

Per your other question, the right side pix wiring is actually correct (for the single use case above- eg depth ). For dual use case (eg depth into pix, and GPS from PIX into lowrance).

Yes I was fooled by this too. Usual practice and common sense says RX goes to TX. However I guess the RSD label means - “to RX” port on your device (eg PIX).

I have a RS232 to TTL adapter and it has the same “feature” confusing RX/TX labelling.

So for the YL-128 RS422 adapter

Lowrance cabling
Y - Green
Z - Orange
B - Yellow
A - Blue

When I get a chance, I’ll try to write up a simple guide for both RS422 and RS232 for bi directional comms with PIX / Lowrance. For bi directional comms, I needed to use 2 serial ports on PIX. I saw @rmackay9 previously talked about future feature using 1 serial port for 2 purpose, but I don’t think this exists yet ?

1 Like

Here is original diagram with RS422 side fixed.

Couple notes

  • This example uses a single serial port on PIX - so can only be used for 1 function at a time. Eg Depth from lowrance to PIX — OR ----- GPS from PIX to lowrance - but not both at same time. If need that - I will provide another - diagram.
  • Also pay attention as my pixhawk serial port looks different to this pic. Check if pin 1 is on left or right for your model.

Heres my setup - uses 2 serial ports on pixhawk to get GPS “TO” lowrance and depth “FROM” lowrance.

Great work! As you have found, the documentation is less than stellar. For someone new to this the whole process can be very daunting. I was, at the time, focused on depth. Thank you for taking time to share this solution.