Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SensorID based on individual BME280 properties #1

Open
Bolukan opened this issue Oct 28, 2018 · 0 comments
Open

SensorID based on individual BME280 properties #1

Bolukan opened this issue Oct 28, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Bolukan
Copy link
Owner

Bolukan commented Oct 28, 2018

During production each BME280 is individually calibrated. The trimming values can be accessed via 42 register addresses, named calib_00...calib_41: 0x88-08D (temperature), 0x8F-0x9F (pressure), 0xA1, 0xE1-0xE7 (humidity).

The idea is to use a 4 bytes hash (CRC32) to create an unique sensorID. Furthermore the mac-address of the ESP8266 can still be send to the database as deviceID.

This idea will need extension of the BME280 library.

Sources:

Registername address Register content
calib_00 0x88 dig_T1
calib_01 0x89 dig_T1
calib_02 0x8A dig_T2
calib_03 0x8B dig_T2
calib_04 0x8C dig_T3
calib_05 0x8D dig_T3
calib_06 0x8E dig_P1
calib_07 0x8F dig_P1
calib_08 0x90 dig_P2
calib_09 0x91 dig_P2
calib_10 0x92 dig_P3
calib_11 0x93 dig_P3
calib_12 0x94 dig_P4
calib_13 0x95 dig_P4
calib_14 0x96 dig_P5
calib_15 0x97 dig_P5
calib_16 0x98 dig_P6
calib_17 0x99 dig_P6
calib_18 0x9A dig_P7
calib_19 0x9B dig_P7
calib_20 0x9C dig_P8
calib_21 0x9D dig_P8
calib_22 0x9E dig_P9
calib_23 0x9F dig_P9
calib_24 0xA0  
calib_25 0xA1 dig_H1
calib_26 0xE1 dig_H2
calib_27 0xE2 dig_H2
calib_28 0xE3 dig_H3
calib_29 0xE4 dig_H4
calib_30 0xE5 dig_H4/dig_H5
calib_31 0xE6 dig_H5
calib_32 0xE7 dig_H6
calib_33 0xE8  
calib_34 0xE9  
calib_35 0xEA  
calib_36 0xEB  
calib_37 0xEC  
calib_38 0xED  
calib_39 0xEE  
calib_40 0xEF  
calib_41 0xF0  
@Bolukan Bolukan added the enhancement New feature or request label Oct 28, 2018
@Bolukan Bolukan modified the milestone: Library BME280 extended Nov 8, 2018
@Bolukan Bolukan self-assigned this Nov 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant