Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BME280 Data to test Calculations

    BME280 Data to test Calculations

    Badger
    New Poster

    Hello,

    Could someone please send me some the raw calibration values, and the raw register values for the Temperature/Pressure/Humidity for the BME280.

    With also the correct calculated Temperature/Pressure/Humidity readings?

    I would like to test my calculations as I think my pressure calculations are incorrect.

     

    Thanks!

    8 REPLIES 8

    Hi o_o

    Thank you for your reply, here are the register numbers with the corresponding returned values:

    <code>

    Calibration
    Register        Returned Value
    0x88               0x6C
    0x89               0x6E
    0x8A               0x77
    0x8B               0x66
    0x8C               0x32
    0x8D               0x00
    0x8E               0xA8
    0x8F               0x92
    0x90               0x27
    0x91               0xD5
    0x92               0xD0
    0x93               0x0B
    0x94               0x6F
    0x95               0x18
    0x96               0xCA
    0x97               0xFF
    0x98               0xF9
    0x99               0xFF
    0x9A               0xAC
    0x9B               0x26
    0x9C               0x0A
    0x9D               0xD8
    0x9E               0xBD
    0x9F               0x10
    0xA1               0x4B
    0xE1               0x65
    0xE2               0x01
    0xE3               0x00
    0xE4               0x14
    0xE5               0x0B
    0xE6               0x00
    0xE7               0x1E

    Temperature/Pressure/Humidity
    Register        Returned Value
    0xF7               0x55
    0xF8               0x33
    0xF9               0x80
    0xFA               0x81
    0xFB               0x7F
    0xFC               0xB0
    0xFD               0x79
    0xFE               0x13

    +24.44°C
    1148.38hPa
    54.17%rH

    Temperature/Pressure/Humidity
    Register        Returned Value
    0xF7               0x54
    0xF8               0x5F
    0xF9               0x50
    0xFA               0x80
    0xFB               0xCD
    0xFC               0xB0
    0xFD               0x7F
    0xFE               0x17

    +23.55°C
    1195.33hPa
    62.47%rH

    </code>

    Thank you for your help.

    Hi,

    So I think I have figured out the problem, the calibration values were not being treated as signed (the ones that should be).

    So could someone verify these results for me please? (The Raw Calibration Values are the same as above).

    Temperature/Pressure/Humidity
    Register Returned Value
    0xF7       0x55
    0xF8       0x33
    0xF9       0x80
    0xFA       0x81
    0xFB       0x7F
    0xFC       0xB0
    0xFD       0x79
    0xFE       0x13

    +24.44°C
    996.21hPa
    54.17%rH

    Temperature/Pressure/Humidity
    Register Returned Value
    0xF7       0x54
    0xF8       0x5F
    0xF9       0x50
    0xFA       0x80
    0xFB       0xCD
    0xFC       0xB0
    0xFD       0x7F
    0xFE       0x17

    +23.55°C
    1000.40hPa
    62.47%rH

    Thanks!

    Hi,

    Do my calculations look correct using the corresponding calibration and Temperature/Pressure/Humidity readings?

    Thanks!

    Hey badger,

     

    I took a lot of time and updated the calculation spreadsheet so you can validate it on your own using hexadecimal values.

     

    Enjoy!

     

    EDIT: Foudn a tiny mistake in the calculation sheet, corrected version attached

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist