KOGGER Underwater Sonar¶
The KOGGER Sonar is a compact and low-cost underwater echosounder module with UART interface, 5-14Volts Power Supply Voltage.
- CP210x USB->UART converter and USB OTG cable to configure the module by Android smartphone.
Configuring the echosounder module¶
The module should be configured before it is connected to the ArduPilot. You need the Android device and GUI installed for configuring the KOGGER Sonar module. The GUI is opensource Kogger Android. The APK can be downloaded from here: Kogger Android Releases.
- The setup looks like:
- Make the following adjustment in the GUI:
That’s it. The module is ready to use with autopilot.
Connecting to the ArduPilot hardware¶
The KOGGER Sonar provides distance measurements using the NMEA protocol over serial/uart.
If the SERIAL2 (TELEM2) is used then the following parameters should be set:
The sensor can be connected to any available serial/uart port on the autopilot. In the diagram below the first sensor is connected to SERIAL2 (TELEM2).
Then the following range finder related parameters should be set:
- RNGFND1_TYPE = 17 (NMEA)
- RNGFND1_MIN_CM = 30
- RNGFND1_MAX_CM = 5000 (i.e. 50m). This is the distance in centimeters that the rangefinder can reliably read.
- RNGFND1_ORIENT = 25 (i.e. down) if mounted on a boat
Testing the sensor¶
Distances read by the sensor can be seen in the Mission Planner’s Flight Data screen’s Status tab. Look closely for “sonarrange”.