Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Connecting RM3100 Magnetometer

Connecting RM3100 Magnetometer

Scheduled Pinned Locked Moved Ask your questions right here!
3 Posts 2 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ryan_meagherR Offline
    ryan_meagherR Offline
    ryan_meagher
    Contributor
    wrote on last edited by ryan_meagher
    #1

    I am trying to connect the PNI RM3100 magnetometer to the flight core it requires 3.3v. Would you recommend pulling 3.3v from an unused connector such as J12? Also do the SCL and SDA lines on the J10 connector have internal pull-ups somewhere on the flight core?

    1 Reply Last reply
    0
    • VinnyV Offline
      VinnyV Offline
      Vinny
      ModalAI Team
      wrote on last edited by
      #2

      Hi Ryan,
      We provided several 3.3V and 5V tap-offs for exactly these reasons. For 3.3V, you have 2 options. J12.1 (with J12.4 as the return) as you pointed out, but be aware that this is the R/C port power which has the option to be disabled by software for binding. By default, I believe it is ON. You can pull 250mA safely from this port without harming the rest of the board. The other port that has 3.3V is J13.1 (and J13.2 respectively for the return). That can also easily provide 250mA. However, Be advised, we did not design either of those 3.3V PTO's (power tap-offs) to the tight ripple specification/requirement of the RM3100. That spec calls for only 50mV of ripple. We designed for a much wider range. So, the RM3100 board should have a lot of capacitance to help reduce this potential spec violation, and I would certainly measure it at the RM3100 if you are expecting to meet their performance specs.
      For the I2C interface, all of our I2C busses are at 3.3V logic levels. The port on J6 pins 4/5, J10 4/5, and J13 3/4 all have pullups to 3.3V of 4.7K-Ohms installed on-board. The RM3100 specifies an IOL of just 1mA, so we should be ok there, but make sure you do not have any other pull-ups in the system or you will start to exceed 1mA. I would recommend you try with the J13 port since you get all you need with one cable, and the pull-ups are not on the potential switched rail of the R/C port (in other words, if you use J12 for power only, and J10 or J13 for I2C, there is a chance the SW will disable the power rail, or during startup before it is ON, the pullups are back-feeding into the magnetometer device).
      That connector is a BM05B-SRSS-TB(LF)(SN), and you can find the mating shrouds SHR-05V-S-B on digikey with pre-crimped wires as well, or even a 1:1 cable assembly A05SR05SR30K152B.
      Let us know if you have any other questions.
      Thanks!
      Vinny

      1 Reply Last reply
      0
      • ryan_meagherR Offline
        ryan_meagherR Offline
        ryan_meagher
        Contributor
        wrote on last edited by
        #3

        Thanks for this detailed response! This would be good information to put in the technical documentation when searching in google for "modalai flight core connections for magnetometer" there wasn't much information on how to setup a magnetometer with the flight core.

        I was able to setup the the RM3100 by using J13.[1,2] for 3.3 VCC and GND and the J10.[4,5] for the I2C protocol. This allowed me to set

        SYS_HAS_MAG=1 
        

        in PX4 and successfully calibrate the compass

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        ModalAI
        Categories Recent Tags ModalAI.com Docs
        © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups