Sonar not working

Whenever I toggle on the sonar option in the configuration tab and save and reboot, it resets itself back to off. I have configured the sensor correctly on the ports page.

Anybody have any ideas? Thanks.

Posted May 4, 2023, 9:45 PM UTC

010
gnitsark•

Use something other than betaflight. You want ardupilot or at least inav. Betaflight is more for acro performance than autonomous flight.

1
jwindolfOP•

Not really interested in anything other than betaflight right now, as I mostly just fly acro. There is the sonar toggle and documentation says it works…

0
Papa_Guido•

Do you have a sonar device? If you don't, it won't turn on

1
jwindolfOP•

Yeah I have a HCSR04, it is wired up according to wiring shown on the data sheet that was supplied on the product listing. Maybe the Tx and Rx were reversed on that diagram… I will try swapping them

1
Papa_Guido•

If you're mostly flying acro, what is the sonar gonna do for you?

1
gnitsark•

What are you using sonar for if you're flying acro?

1
jwindolfOP•

I said mostly acro, and there are still uses for an altitude sensor even in acro. I don’t necessarily need altitude hold but I would like to see the data. I am asking how to do it I’m betaflight, hence the post being in the betaflight subreddit. If you know how to do this any insight would be appreciated, but telling me to use a different firmware doesn’t help

0
gnitsark•

Wow. You a little cranky? I'm just trying to offer my advice/ask a question out of curiosity. No need to be a jerk about it.

1
gnitsark•

Always. But at least I'm not an arrogant jerk to people who ask a question on the internet.

1