Skip to content

Matek F405 Wing wrong Data with I2C MS4525 Airspeed Sensor #3832

@Tim2309

Description

@Tim2309

Current Behavior

I have a Matek F405 Wing FC and 2 Different MS4525 Airspeed Sensors, if I connect it correctly like Matek says my airspeed sensor will increase the value up to 11799cm/s.
I tested it with 5V and 3.3V, the same problem.
I contaced the Matek support and they send me a modified (remapped) firmware, so I can test the sensor on I2C1 instead of I2C2 pads. All 3 sensors work but I have to use 3.3v with 5v it won't work.(no problem for me)

Then I tested it again with original firmware and on I2C2 with the initial problem.
Matek send me a new FC because they thought my I2C2 port is broken.
Today I received the new FC and connected everything, after powering up the sensor is still at maximum value...

Now I think it's a bug on the I2C2 port because it work on I2C1.
Here is the modified Firmware, it was the last beta version.
inav_2.0.0_MATEKF405SE.hex.zip

bildschirmfoto 2018-09-01 um 14 31 16

Steps to Reproduce

  1. Connect Airspeed Sensor on I2C2 and 3.3v
  2. Look into sensor tab in inv configurator

Expected behavior

The Airspeed should be near 0cm/s

Suggested solution(s)

Compare I2C1 and I2C2 and please fix the bug.
I can test everything and can provide all infos/logs you need.

  • FC Board name and vendor: Matek F405 Wing
  • INAV version string: INAV/MATEKF405SE 2.0.0 Aug 20 2018 / 19:22:34 (dbdd165)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions