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. Support Request Format for Best Results
  4. Barometer was not working perfectly (Temperature raises)

Barometer was not working perfectly (Temperature raises)

Scheduled Pinned Locked Moved Support Request Format for Best Results
5 Posts 2 Posters 1.1k 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.
  • T Offline
    T Offline
    Trinadh
    Contributor
    wrote on last edited by
    #1

    Hi.,

    we are using Voxl2-Mini , with out any external flight controller.(Using internal Px4)

    We are using a Barometer for height but are having issues while flying.

    So, we went to check the px4-listener, here are the results.,

    Altitude is continuously going up because the pressure is going down, and the temperature is going up.

    we have two voxl2-mini that we are facing the same issue, temp reaching up to 55°C

    Due to this flight was Going up and down while flying.

    This condition did not take long after power was on.

    Screenshot from 2024-12-03 15-19-14.png Screenshot from 2024-12-03 15-16-45.png Screenshot from 2024-12-03 15-14-52.png

    Alex KushleyevA 1 Reply Last reply
    0
    • T Trinadh

      Hi.,

      we are using Voxl2-Mini , with out any external flight controller.(Using internal Px4)

      We are using a Barometer for height but are having issues while flying.

      So, we went to check the px4-listener, here are the results.,

      Altitude is continuously going up because the pressure is going down, and the temperature is going up.

      we have two voxl2-mini that we are facing the same issue, temp reaching up to 55°C

      Due to this flight was Going up and down while flying.

      This condition did not take long after power was on.

      Screenshot from 2024-12-03 15-19-14.png Screenshot from 2024-12-03 15-16-45.png Screenshot from 2024-12-03 15-14-52.png

      Alex KushleyevA Offline
      Alex KushleyevA Offline
      Alex Kushleyev
      ModalAI Team
      wrote on last edited by
      #2

      @Trinadh , how large of oscillations in height are you observing? As a rule of thumb, there are about 12 Pascals in 1 meter change of altitude at Sea Level, so based on your data you may have seen fluctuations of about 1 meter (peak to peak)?

      Alex

      T 1 Reply Last reply
      0
      • Alex KushleyevA Alex Kushleyev

        @Trinadh , how large of oscillations in height are you observing? As a rule of thumb, there are about 12 Pascals in 1 meter change of altitude at Sea Level, so based on your data you may have seen fluctuations of about 1 meter (peak to peak)?

        Alex

        T Offline
        T Offline
        Trinadh
        Contributor
        wrote on last edited by
        #3

        @Alex-Kushleyev No, we are getting more than that, 1 meter nearly up to 2 meters. We are getting more problems in Position mode.

        We also want to connect BMP280 externally to voxl2 mini, is there any process to get that done,

        Alex KushleyevA 1 Reply Last reply
        0
        • T Trinadh

          @Alex-Kushleyev No, we are getting more than that, 1 meter nearly up to 2 meters. We are getting more problems in Position mode.

          We also want to connect BMP280 externally to voxl2 mini, is there any process to get that done,

          Alex KushleyevA Offline
          Alex KushleyevA Offline
          Alex Kushleyev
          ModalAI Team
          wrote on last edited by
          #4

          @Trinadh , OK, 1-2 meters is probably expected based on the data that you pasted before, which only have a few data points. I wanted to make sure it is in the same ballpark. That is not to say that the behavior you are seeing is normal.

          Further analysis is required..

          • Barometer driver should be compensating for temperature in PX4, although i have not explicitly verified that, it should be already implemented.
          • you should conduct a test by having the drone sit on the bench and collect the barometer pressure / temperature data and see if you are observing similar fluctuations. You can use a simple script i wrote for another post which gets baro data into python, so you can log and plot it (you would need to add the logging and plotting part, which should be relatively straighforward) : https://forum.modalai.com/topic/3965/create-a-new-pipe-to-publish-barometer-data-for-voxl-2 . I suggest just adding data to to a list of temperature and pressure values and plot it at the end using plotly, which can save the plot to a html file. Here is a good reference for using plotly https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-esc/-/blob/master/voxl-esc-tools/voxl-esc-spin.py?ref_type=heads#L367 (including saving to a file, since you dont open a browser window on voxl2).

          Other notes about barometer

          • if pressure in the environment actually changes, this will be reflected in drones altitude. For example, indoors, the pressure can change due to operation of HVAC systems, opening / closing doors, etc
          • barometers are sensitive to light, so we always use a "barometer cap" to shield the barometer from ambient light. Light entering the barometer through the small opening in the sensor can affect the sensor inside. Please make sure the barometer cap is installed over the barometer, if you are unsure how to do that, please let us know.
          • barometer is also sensitive to pressure changes due to airflow over the barometer itself, that is another reason why a "barometer cap" can help eliminate turbulent air flow right over the sensor itself.

          Alex

          Alex KushleyevA 1 Reply Last reply
          0
          • Alex KushleyevA Alex Kushleyev

            @Trinadh , OK, 1-2 meters is probably expected based on the data that you pasted before, which only have a few data points. I wanted to make sure it is in the same ballpark. That is not to say that the behavior you are seeing is normal.

            Further analysis is required..

            • Barometer driver should be compensating for temperature in PX4, although i have not explicitly verified that, it should be already implemented.
            • you should conduct a test by having the drone sit on the bench and collect the barometer pressure / temperature data and see if you are observing similar fluctuations. You can use a simple script i wrote for another post which gets baro data into python, so you can log and plot it (you would need to add the logging and plotting part, which should be relatively straighforward) : https://forum.modalai.com/topic/3965/create-a-new-pipe-to-publish-barometer-data-for-voxl-2 . I suggest just adding data to to a list of temperature and pressure values and plot it at the end using plotly, which can save the plot to a html file. Here is a good reference for using plotly https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-esc/-/blob/master/voxl-esc-tools/voxl-esc-spin.py?ref_type=heads#L367 (including saving to a file, since you dont open a browser window on voxl2).

            Other notes about barometer

            • if pressure in the environment actually changes, this will be reflected in drones altitude. For example, indoors, the pressure can change due to operation of HVAC systems, opening / closing doors, etc
            • barometers are sensitive to light, so we always use a "barometer cap" to shield the barometer from ambient light. Light entering the barometer through the small opening in the sensor can affect the sensor inside. Please make sure the barometer cap is installed over the barometer, if you are unsure how to do that, please let us know.
            • barometer is also sensitive to pressure changes due to airflow over the barometer itself, that is another reason why a "barometer cap" can help eliminate turbulent air flow right over the sensor itself.

            Alex

            Alex KushleyevA Offline
            Alex KushleyevA Offline
            Alex Kushleyev
            ModalAI Team
            wrote on last edited by
            #5

            regarding external baro, please see response here : https://forum.modalai.com/topic/3996/unstablr-baro-in-voxl-2-mini

            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