Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Magnetometer not registering with betaflight...
#31
From the datasheet (https://www.st.com/resource/en/datasheet...h743vi.pdf), the pins that can be mapped to I2C are:
A08/C09
B06/B07, B08/B09, B10/B11
D12/D13

Unfortunately none of those pairs are exposed on the board, so you're out of luck with I2C. The only option would be something like this: https://intofpv.com/t-adding-gps-compass...ingle+uart
Reply
Login to remove this ad | Register Here
#32
(31-Oct-2021, 05:54 AM)skunkwurk Wrote: Quick question, would one of you be able to help me set resource A09 and A10 to I2C_SCL 2 and I2C_SDA 2 under active IO resources?  I ran the commands below to free up uart1 and assigned the pads to be used as I2C SCL and SDA ports. I was hoping to see both A09 and A10 active under SCL 2 and SDA2.  Thoughts?

(31-Oct-2021, 06:09 AM)skunkwurk Wrote: Its a iflight beast H7

Unless you are using INAV or Arducopter then a magnetometer is pretty useless anyway. All you can do is display the your compass heading in the OSD of your goggles (unless you are using the DJI FPV System in which case you can't because they don't support the compass OSD elements). That is all. It can't be used for GPS Rescue or anything else in Betaflight.

And Pawel Spychalski recommends that you do not use an iFlight FC with INAV anyway because they are not officially supported or tested.
Reply
#33
ok - thank you for the assistance.
Reply
#34
Question 
Good day, everyone.
1) FC - KAKUTE H7 V1.2
    Holybro Kakute H7 — Plane documentation (ardupilot.org)

2) GPS AND COMPASS - MATEQ M8Q-5883
    GPS & Compass M8Q-5883 – Matek Systems

3) DUMP.txt - in attachement.

4) CONNECTION (GPS - FC):
    5V - 5V
    G - GND
    RX - T4
    TX - R4
    DA -  Sda
    CL - Scl


5) 3D FIX IN BETAFLIGHT 10.9.0 - YES

BETAFLIGHT does not recognize the magnetometer. I tried to solder and clean the ports, it does not help, the situation is the same. 
Maybe there are some ways out of this situation?

I'm a beginner in hobbies.
Reply
#35
(19-Mar-2023, 03:43 PM)alex860203 Wrote: Good day, everyone.
1) FC - KAKUTE H7 V1.2
    Holybro Kakute H7 — Plane documentation (ardupilot.org)

2) GPS AND COMPASS - MATEQ M8Q-5883
    GPS & Compass M8Q-5883 – Matek Systems

3) DUMP.txt - in attachement.

4) CONNECTION (GPS - FC):
    5V - 5V
    G - GND
    RX - T4
    TX - R4
    DA -  Sda
    CL - Scl


5) 3D FIX IN BETAFLIGHT 10.9.0 - YES

BETAFLIGHT does not recognize the magnetometer. I tried to solder and clean the ports, it does not help, the situation is the same. 
Maybe there are some ways out of this situation?

I'm a beginner in hobbies.

In the future, create a new thread for an issue like this. You'll likely get a faster response.

If you're using Betaflight 4.4.0, it's likely you didn't include Magnetometers in the build options. I would consider not using the magnetometer with Betaflight, at least until 4.5.0 is released, as it will do more harm than good. It's very difficult to calibrate a magnetometer properly on a small quad, and if the mag starts providing bad data while in RTH/GPS rescue mode the quad will fly away or failsafe and disarm. Only enable compass if you really know what you are doing, and/or are wanting to help test the new GPS rescue features. 

In order to get the compass working, you'll need to reflash with Magnetometers included under Other Options. You can also include the custom define for that mag specifically in the Custom Defines box:
   
Reply
#36
Thanks!
Reply
#37
(20-Mar-2023, 05:27 AM)V-22 Wrote: In the future, create a new thread for an issue like this. You'll likely get a faster response.

If you're using Betaflight 4.4.0, it's likely you didn't include Magnetometers in the build options. I would consider not using the magnetometer with Betaflight, at least until 4.5.0 is released, as it will do more harm than good. It's very difficult to calibrate a magnetometer properly on a small quad, and if the mag starts providing bad data while in RTH/GPS rescue mode the quad will fly away or failsafe and disarm. Only enable compass if you really know what you are doing, and/or are wanting to help test the new GPS rescue features. 

In order to get the compass working, you'll need to reflash with Magnetometers included under Other Options. You can also include the custom define for that mag specifically in the Custom Defines box:

V-22 your comment is the comment that keeps on giving sir.  I would have gone thru untold amounts of frustration trying to get the baro to work if I had not stumbled on to this thread.  THANK YOU!!
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Bringing an old betaflight target into 4.4.0 husafreak 10 1,606 22-Nov-2023, 02:45 PM
Last Post: Pathfinder075
  What happens when I load a Betaflight Preset Tune in my FC? husafreak 6 525 07-Nov-2023, 02:56 AM
Last Post: husafreak
  No betaflight connection with just USB aerokam 5 444 20-Oct-2023, 05:44 PM
Last Post: SnowLeopardFPV
  Help Facing problem installing betaflight firmware from ardupilot Prashant9316 5 496 09-Oct-2023, 08:33 AM
Last Post: voodoo614
  Help Betaflight telemetry output smartport paulno 24 1,325 05-Oct-2023, 06:23 PM
Last Post: SnowLeopardFPV


Login to remove this ad | Register Here