please I need help with the arduino BMP280 breakout board I got from AliExpress. I’m pretty new to the arduino world, I need it for my rocket datalogger, I downloaded the adafruit BMP280 library but I don’t know how or where to change the data rate and what does the “default standby time” mean in the library sensor code? I want to get at least 10-20points of data per second as the rocket will be traveling very fast. Can someone please help me with a solution, or if there’s another library that solves my problem. I’m really stuck. Also, I don’t want my code to stop while waiting for temp, pressure and altitude values and also get the altitude before launch so that I can now the approximate height of the rocket above see level. Any help would be appreciated.

Details Connection type: 12c Application : Water rocket altimeter/datalogger and flightcomputer.

Brand: Unknown Microcontroller: Arduino Nano

  • you said nothing about what you have ... you only described what you want to use it for ... please provide a link to the datasheet for the device
    – jsotola
    Commented Oct 8, 2020 at 23:50
  • Show what you've done so far in getting the altitude from the pressure reading, and what stop you from reading it multiple times?
    – hcheung
    Commented Oct 9, 2020 at 0:28
  • Take a look at the source code of Adafruit library
    – hcheung
    Commented Oct 9, 2020 at 0:37
  • With a single instantaneous pressure reading you can't get sea-level and elevation. You need to know sea-level to get elevation. You need to know elevation to get sea-level. You can get a "flight level" by setting the sea-level pressure to 1013.25hPa but that's only a true elevation on a very small number of days in the year (if any). So you need to work out how you're going to set the MSL value for your altimeter before flight. You really need to post the code that you've tried so far.
    – Dougie
    Commented Oct 9, 2020 at 10:41


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.