Giter VIP home page Giter VIP logo

bme280-to-mysql-logger's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

alainmuller

bme280-to-mysql-logger's Issues

SensorID based on individual BME280 properties

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  

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.