# Setting up sonar with px4fmuv2

**URL:** <https://discuss.px4.io/t/setting-up-sonar-with-px4fmuv2/6233>\
**Category:** QGroundControl\
**Created:** [March 30, 2018, 6:53pm UTC](https://discuss.px4.io/t/setting-up-sonar-with-px4fmuv2/6233 "2018-03-30T18:53:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![harshal1410](https://discuss.px4.io/letter_avatar_proxy/v4/letter/h/a4c791/32.png) [@harshal1410](https://discuss.px4.io/u/harshal1410)\
**Post date:** [March 30, 2018, 6:53pm UTC](https://discuss.px4.io/t/setting-up-sonar-with-px4fmuv2/6233/1 "2018-03-30T18:53:55Z")

</div>

I tried connecting sonar MB1240 and MB1340 with pixhawk on I2C port, and changed parameters  
EKF2\_HGT\_MODE to 2 , sens\_en\_mb12xx to 1,ekf2\_rng\_aid to 1 but the altitude data is not visible on qground control!  
Can someone help me setting up sonar with pixhawk on qground control,and point out what have i done wrong?
