-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added rangefinder "GY-US42(v2) Ultrasonic Range Sensor" #6792
Added rangefinder "GY-US42(v2) Ultrasonic Range Sensor" #6792
Conversation
what is the maximum reliable altitude you have achieved with it? |
adding an average filter seems to me to be interesting >> https://github.com/JulioCesarMatias/RangeFinder |
@emtrax-ltd build if failing on several targets, please fix |
@DzikuVx ... fixed! |
add V2 after US42? |
not necessary -> v1 and v2 are compatible - "v1" is no longer available on the market ... "v2", because i |
specs says [email protected] or 7m@5v -> so 5m is the limit because i2c runs at 3.3v ... BUT i limited it to 4m because ardupilot also recommends this as maximum. |
for multirotors I think it's cool, but for the wing not much, because the altitude is very low, who knows in the future iNav may work with, for example, the Benewake TF02 |
Add the ultrasonic range sensor GY-US42 as a new rangefinder to inav.
Because of the sensor's i2c trigger write command (only point to the register and restart), there was the need to patch the Method "drivers/bus_ic2_hal.c-> i2cWriteBuffer(...)" for passing through null values to HAL_I2C_Master_Transmit (raw access).
The module and this software change was successfully testet with inav 3.0.0 (master) and the modified target "matekf405se" for the matek f405 wing.
This rebased pull request replaces the old one #5698