{"datasheetId":"ds_4a074a6167dd949e3ba6","chunkCount":148,"revision":"2026-11-09T20:07:56.110Z","source":"index","nextCursor":"49","chunks":[{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0001","chunkIndex":0,"heading":null,"headingPath":[],"preview":"Combined humidity and pressure sensor BME280 – Data sheet Document revision Document release date Document number Sales Part Number (SPN) 1.24 February 2024 BST BME280 DS001 24 0 273 141 185 Notes Data and descriptions in this document are","images":[{"path":"images/9700c44efd79bd072a7c64e6c80de5c08d606eb19ca18072213a54555182314c.jpg","name":"9700c44efd79bd072a7c64e6c80de5c08d606eb19ca18072213a54555182314c.jpg","mimeType":"image/jpeg","semanticKind":null,"semanticCaption":null,"viewUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/asset?path=images%2F9700c44efd79bd072a7c64e6c80de5c08d606eb19ca18072213a54555182314c.jpg"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0001"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0002","chunkIndex":1,"heading":"BME280","headingPath":["BME280"],"preview":"BME280 Digital humidity, pressure and temperature sensor Key features • Package • Digital interface 2.5 mm x 2.5 mm x 0.93 mm metal lid LGA • Supply voltage I²C (up to 3.4 MHz) and SPI (3 and 4 wire, up to 10 MHz) VDD main supply voltage ra","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0002"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0003","chunkIndex":2,"heading":"Key parameters for humidity sensor","headingPath":["BME280","Key parameters for humidity sensor"],"preview":"Key parameters for humidity sensor • Response time (�63%) 1 s • Accuracy tolerance ±3 % relative humidity • Hysteresis ±1% relative humidity Key parameters for pressure sensor • RMS Noise 0.2 Pa, equiv. to 1.7 cm • Offset temperature coeffi","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0003"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0004","chunkIndex":3,"heading":"Target devices","headingPath":["BME280","Target devices"],"preview":"Target devices • Handsets such as mobile phones, tablet PCs, GPS devices • Navigation systems • Gaming, e.g flying toys • Camera (DSC, video) • Home weather stations • Flying toys • Watches General Description The BME280 is as combined digi","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0004"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0005","chunkIndex":4,"heading":"General Description","headingPath":["BME280","General Description"],"preview":"The pressure sensor is an absolute barometric pressure sensor with extremely high accuracy and resolution and drastically lower noise than the Bosch Sensortec BMP180. The integrated temperature sensor has been optimized for lowest noise and","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0005"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0006","chunkIndex":5,"heading":"Index of Contents","headingPath":["BME280","Index of Contents"],"preview":"Index of Contents 1. Specification ....8 1.1 General electrical specification....8 1.2 Humidity parameter specification....9 1.3 Pressure sensor specification....10 1.4 Temperature sensor specification....11 2. Absolute maximum ratings....1","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0006"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0007","chunkIndex":6,"heading":"Index of Contents","headingPath":["BME280","Index of Contents"],"preview":"5.4.2 Register 0xE0 \"reset\"....27 5.4.3 Register 0xF2 \"ctrl\\ hum\"....27 5.4.4 Register 0xF3 \"status\"....28 5.4.5 Register 0xF4 \"ctrl\\ meas\"....28 5.4.6 Register 0xF5 \"config\"....30 5.4.7 Register 0xF7...0xF9 \"press\" (\\ msb, \\ lsb, \\ xlsx)..","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0007"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0008","chunkIndex":7,"heading":"Index of Contents","headingPath":["BME280","Index of Contents"],"preview":"7.10.2 Orientation within the reel.... 47 7.11 Mounting and assembly recommendations.... 48 7.12 Environmental safety.... 48 7.12.1 RoHS.... 48 7.12.2 Halogen content.... 48 7.12.3 Internal package structure.... 48 8. Appendix A: Alternativ","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0008"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0009","chunkIndex":8,"heading":"Index of Contents","headingPath":["BME280","Index of Contents"],"preview":"12.Document history and modification.... 59 1. Specification If not stated otherwise, • All values are valid over the full voltage range • All minimum/maximum values are given for the full accuracy temperature range • Minimum/maximum values","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0009"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0010","chunkIndex":9,"heading":"1.1 General electrical specification","headingPath":["BME280","1.1 General electrical specification"],"preview":"1.1 General electrical specification Table 1: Electrical parameter specification","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0010"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0011","chunkIndex":10,"heading":"1.1 General electrical specification","headingPath":["BME280","1.1 General electrical specification"],"preview":"1.2 Humidity parameter specification Table 2: Humidity parameter specification","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0011"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0012","chunkIndex":11,"heading":"1.2 Humidity parameter specification","headingPath":["BME280","1.2 Humidity parameter specification"],"preview":"Figure 1: humidity sensor operating range 1.3 Pressure sensor specification Table 3: Pressure parameter specification","images":[{"path":"images/50b1e7b66251bb90ada4220735bdcd97102caa83aa2f7125a7216be7d9c7c6e5.jpg","name":"50b1e7b66251bb90ada4220735bdcd97102caa83aa2f7125a7216be7d9c7c6e5.jpg","mimeType":"image/jpeg","semanticKind":null,"semanticCaption":null,"viewUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/asset?path=images%2F50b1e7b66251bb90ada4220735bdcd97102caa83aa2f7125a7216be7d9c7c6e5.jpg"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0012"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0013","chunkIndex":12,"heading":"1.3 Pressure sensor specification","headingPath":["BME280","1.3 Pressure sensor specification"],"preview":"1.4 Temperature sensor specification Table 4: Temperature parameter specification","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0013"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0014","chunkIndex":13,"heading":"1.4 Temperature sensor specification","headingPath":["BME280","1.4 Temperature sensor specification"],"preview":"2. Absolute maximum ratings The absolute maximum ratings are determined over complete temperature range using corner lots. The values are provided in Table 5. Table 5: Absolute maximum ratings","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0014"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0015","chunkIndex":14,"heading":"3. Functional description","headingPath":["BME280","3. Functional description"],"preview":"3. Functional description 3.1 Block diagram Figure 2 shows a simplified block diagram of the BME280: Figure 2: Block diagram of BME280 3.2 Power management The BME280 has two distinct power supply pins • VDD is the main power supply for all","images":[{"path":"images/eba7a9b6ce8b3826c35139de6b3fa8b4c8510b3d4bb44d44dba8e3df01bf7a05.jpg","name":"eba7a9b6ce8b3826c35139de6b3fa8b4c8510b3d4bb44d44dba8e3df01bf7a05.jpg","mimeType":"image/jpeg","semanticKind":null,"semanticCaption":null,"viewUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/asset?path=images%2Feba7a9b6ce8b3826c35139de6b3fa8b4c8510b3d4bb44d44dba8e3df01bf7a05.jpg"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0015"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0016","chunkIndex":15,"heading":"3.2 Power management","headingPath":["BME280","3.2 Power management"],"preview":"If VDDIO is supplied, but VDD is not, the interface pins are kept at a high Z level. The bus can therefore already be used freely before the BME280 VDD supply is established. Resetting the sensor is possible by cycling VDD level or by writi","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0016"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0017","chunkIndex":16,"heading":"3.3.1 Sensor mode transitions","headingPath":["BME280","3.3.1 Sensor mode transitions"],"preview":"3.3.1 Sensor mode transitions The supported mode transitions are shown in Figure 3. If the device is currently performing a measurement, execution of mode switching commands is delayed until the end of the currently running measurement peri","images":[{"path":"images/0e04aa411d8b62af5aed6350399d65070a419918b29fbda0e5863df8cf4fc293.jpg","name":"0e04aa411d8b62af5aed6350399d65070a419918b29fbda0e5863df8cf4fc293.jpg","mimeType":"image/jpeg","semanticKind":null,"semanticCaption":null,"viewUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/asset?path=images%2F0e04aa411d8b62af5aed6350399d65070a419918b29fbda0e5863df8cf4fc293.jpg"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0017"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0018","chunkIndex":17,"heading":"3.3.2 Sleep mode","headingPath":["BME280","3.3.2 Sleep mode"],"preview":"3.3.2 Sleep mode Sleep mode is entered by default after power on reset. In sleep mode, no measurements are performed and power consumption (IDDSM) is at a minimum. All registers are accessible; Chip ID and compensation coefficients can be r","images":[{"path":"images/d644f961d0c3826e431379fcdc1703000f54a5f42ff7235f08d53d41872d80c9.jpg","name":"d644f961d0c3826e431379fcdc1703000f54a5f42ff7235f08d53d41872d80c9.jpg","mimeType":"image/jpeg","semanticKind":null,"semanticCaption":null,"viewUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/asset?path=images%2Fd644f961d0c3826e431379fcdc1703000f54a5f42ff7235f08d53d41872d80c9.jpg"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0018"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0019","chunkIndex":18,"heading":"3.3.4 Normal mode","headingPath":["BME280","3.3.4 Normal mode"],"preview":"3.3.4 Normal mode Normal mode comprises an automated perpetual cycling between an (active) measurement period and an (inactive) standby period. The measurements are performed in accordance to the selected measurement and filter options. The","images":[{"path":"images/1b1490a9b8f023b1f6ab63d446fce0b3b07ae2341ed05c06fc94d8ce84098341.jpg","name":"1b1490a9b8f023b1f6ab63d446fce0b3b07ae2341ed05c06fc94d8ce84098341.jpg","mimeType":"image/jpeg","semanticKind":null,"semanticCaption":null,"viewUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/asset?path=images%2F1b1490a9b8f023b1f6ab63d446fce0b3b07ae2341ed05c06fc94d8ce84098341.jpg"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0019"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0020","chunkIndex":19,"heading":"3.4 Measurement flow","headingPath":["BME280","3.4 Measurement flow"],"preview":"3.4 Measurement flow The BME280 measurement period consists of a temperature, pressure and humidity measurement with selectable oversampling. After the measurement period, the pressure and temperature data can be passed through an optional","images":[{"path":"images/2d7831e52b64521eacc20a6a1f4d3b7458d73727d6f4cbc4d595e6423498ac42.jpg","name":"2d7831e52b64521eacc20a6a1f4d3b7458d73727d6f4cbc4d595e6423498ac42.jpg","mimeType":"image/jpeg","semanticKind":null,"semanticCaption":null,"viewUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/asset?path=images%2F2d7831e52b64521eacc20a6a1f4d3b7458d73727d6f4cbc4d595e6423498ac42.jpg"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0020"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0021","chunkIndex":20,"heading":"3.4.1 Humidity measurement","headingPath":["BME280","3.4.1 Humidity measurement"],"preview":"3.4.1 Humidity measurement The humidity measurement can be enabled or skipped. When enabled, several oversampling options exist. The humidity measurement is controlled by the osrs\\ h[2:0] setting, which is detailed in chapter 5.4.3. For the","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0021"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0022","chunkIndex":21,"heading":"3.4.3 Temperature measurement","headingPath":["BME280","3.4.3 Temperature measurement"],"preview":"3.4.3 Temperature measurement Temperature measurement can be enabled or skipped. Skipping the measurement could be useful to measure pressure extremely rapidly. When enabled, several oversampling options exist. The temperature measurement i","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0022"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0023","chunkIndex":22,"heading":"3.4.4 IIR filter","headingPath":["BME280","3.4.4 IIR filter"],"preview":"3.4.4 IIR filter The humidity value inside the sensor does not fluctuate rapidly and does not require low pass filtering. However, the environmental pressure is subject to many short term changes, caused e.g. by slamming of a door or window","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0023"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0024","chunkIndex":23,"heading":"3.4.4 IIR filter","headingPath":["BME280","3.4.4 IIR filter"],"preview":"The IIR filter can be configured to different filter coefficients, which slows down the response to the sensor inputs. Note that the response time with enabled IIR filter depends on the number of samples generated, which means that the data","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0024"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0025","chunkIndex":24,"heading":"3.4.4 IIR filter","headingPath":["BME280","3.4.4 IIR filter"],"preview":"When writing to the register filter, the filter is reset. The next ADC values will the pass through the filter unchanged and become the initial memory values for the filter. If temperature or pressure measurements are skipped, the correspon","images":[{"path":"images/f869f9294255a4701ed80d24279bcf2ae18a63f15b12200dd10a682196027228.jpg","name":"f869f9294255a4701ed80d24279bcf2ae18a63f15b12200dd10a682196027228.jpg","mimeType":"image/jpeg","semanticKind":null,"semanticCaption":null,"viewUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/asset?path=images%2Ff869f9294255a4701ed80d24279bcf2ae18a63f15b12200dd10a682196027228.jpg"}],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0025"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0026","chunkIndex":25,"heading":"3.5 Recommended modes of operation","headingPath":["BME280","3.5 Recommended modes of operation"],"preview":"3.5 Recommended modes of operation The different oversampling options, filter settings and sensor modes result in a large number of possible settings. In this chapter, a number of settings recommended for various scenarios are presented. 3.","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0026"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0027","chunkIndex":26,"heading":"3.5.2 Humidity sensing","headingPath":["BME280","3.5.2 Humidity sensing"],"preview":"3.5.2 Humidity sensing Description: A low data rate is needed. Power consumption is minimal. Forced mode is used to minimize power consumption and to synchronize readout, but using normal mode would also be possible. Table 8: Settings and p","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0027"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0028","chunkIndex":27,"heading":"3.5.3 Indoor navigation","headingPath":["BME280","3.5.3 Indoor navigation"],"preview":"3.5.3 Indoor navigation Lowest possible altitude noise is needed. A very low bandwidth is preferred. Increased power consumption is tolerated. Humidity is measured to help detect room changes. This setting is suggested for the Android setti","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0028"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0029","chunkIndex":28,"heading":"3.5.4 Gaming","headingPath":["BME280","3.5.4 Gaming"],"preview":"3.5.4 Gaming Low altitude noise is needed. The required bandwidth is \\~2 Hz in order to respond quickly to altitude changes (e.g. be able to dodge a flying monster in a game). Increased power consumption is tolerated. Humidity sensor is dis","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0029"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0030","chunkIndex":29,"heading":"3.6 Noise","headingPath":["BME280","3.6 Noise"],"preview":"3.6 Noise The noise depends on the oversampling and, for pressure and temperature, on the filter setting used. The stated values were determined in a controlled environment and are based on the average standard deviation of 32 consecutive m","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0030"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0031","chunkIndex":30,"heading":"3.6 Noise","headingPath":["BME280","3.6 Noise"],"preview":"","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0031"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0032","chunkIndex":31,"heading":"3.6 Noise","headingPath":["BME280","3.6 Noise"],"preview":"Table 14: Noise in temperature","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0032"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0033","chunkIndex":32,"heading":"4. Data readout","headingPath":["BME280","4. Data readout"],"preview":"Data readout is done by starting a burst read from 0xF7 to 0xFC (temperature and pressure) or from 0xF7 to 0xFE (temperature, pressure and humidity). The data are read out in an unsigned 20 bit format both for pressure and for temperature a","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0033"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0034","chunkIndex":33,"heading":"4.1 Data register shadowing","headingPath":["BME280","4.1 Data register shadowing"],"preview":"4.1 Data register shadowing In normal mode, the timing of measurements is not necessarily synchronized to the readout by the user. This means that new measurement results may become available while the user is reading the results from the p","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0034"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0035","chunkIndex":34,"heading":"4.2 Output compensation","headingPath":["BME280","4.2 Output compensation"],"preview":"4.2 Output compensation The BME280 output consists of the ADC output values. However, each sensing element behaves differently. Therefore, the actual pressure and temperature must be calculated using a set of calibration parameters. In this","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0035"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0036","chunkIndex":35,"heading":"4.2.1 Computational requirements","headingPath":["BME280","4.2.1 Computational requirements"],"preview":"4.2.1 Computational requirements In the table below an overview is given for the number of clock cycles needed for compensation on a 32 bit Cortex M3 micro controller with GCC optimization level O2. This controller does not feature a floati","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0036"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0037","chunkIndex":36,"heading":"4.2.2 Trimming parameter readout","headingPath":["BME280","4.2.2 Trimming parameter readout"],"preview":"4.2.2 Trimming parameter readout The trimming parameters are programmed into the devices’ non volatile memory (NVM) during production and cannot be altered by the customer. Each compensation word is a 16 bit signed or unsigned integer value","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0037"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0038","chunkIndex":37,"heading":"4.2.2 Trimming parameter readout","headingPath":["BME280","4.2.2 Trimming parameter readout"],"preview":"","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0038"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0039","chunkIndex":38,"heading":"4.2.2 Trimming parameter readout","headingPath":["BME280","4.2.2 Trimming parameter readout"],"preview":"4.2.3 Compensation formulas Please note that it is strongly advised to use the API available from Bosch Sensortec to perform readout and compensation. If this is not wanted, the code below can be applied at the user’s risk. Both pressure an","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0039"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0040","chunkIndex":39,"heading":"4.2.3 Compensation formulas","headingPath":["BME280","4.2.3 Compensation formulas"],"preview":"The data type “BME280\\ S64\\ t” should define a 64 bit signed integer variable type, which on most supporting platforms can be defined as “long long signed int”. The revision of the code is rev.1.1. ```c // Returns temperature in DegC, resol","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0040"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0041","chunkIndex":40,"heading":"4.2.3 Compensation formulas","headingPath":["BME280","4.2.3 Compensation formulas"],"preview":"var2 = var2 + (((BME280 S64 t)dig P4)","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0041"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0042","chunkIndex":41,"heading":"4.2.3 Compensation formulas","headingPath":["BME280","4.2.3 Compensation formulas"],"preview":"v x1 u32r = (((((adc H","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0042"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0043","chunkIndex":42,"heading":"5. Global memory map and register description","headingPath":["BME280","5. Global memory map and register description"],"preview":"5. Global memory map and register description 5.1 General remarks The entire communication with the device is performed by reading from and writing to registers. Registers have a width of 8 bits. There are several registers which are reserv","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0043"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0044","chunkIndex":43,"heading":"5.2 Register compatibility to BMP280","headingPath":["BME280","5.2 Register compatibility to BMP280"],"preview":"","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0044"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0045","chunkIndex":44,"heading":"5.3 Memory map","headingPath":["BME280","5.3 Memory map"],"preview":"5.3 Memory map The memory map is given in Table 18 below. Reserved registers are not shown. Table 18: Memory map","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0045"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0046","chunkIndex":45,"heading":"5.3 Memory map","headingPath":["BME280","5.3 Memory map"],"preview":"","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0046"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0047","chunkIndex":46,"heading":"5.4.2 Register 0xE0 “reset”","headingPath":["BME280","5.4.2 Register 0xE0 “reset”"],"preview":"5.4.2 Register 0xE0 “reset” The “reset” register contains the soft reset word reset[7:0]. If the value 0xB6 is written to the register, the device is reset using the complete power on reset procedure. Writing other values than 0xB6 has no e","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0047"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0048","chunkIndex":47,"heading":"5.4.4 Register 0xF3 “status”","headingPath":["BME280","5.4.4 Register 0xF3 “status”"],"preview":"5.4.4 Register 0xF3 “status” The “status” register contains two bits which indicate the status of the device. Table 21: Register 0xF3 “status”","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0048"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0049","chunkIndex":48,"heading":"5.4.5 Register 0xF4 “ctrl\\_meas”","headingPath":["BME280","5.4.5 Register 0xF4 “ctrl\\_meas”"],"preview":"5.4.5 Register 0xF4 “ctrl\\ meas” The “ctrl\\ meas” register sets the pressure and temperature data acquisition options of the device. The register needs to be written after changing “ctrl\\ hum” for the changes to become effective. Table 22:","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0049"},{"chunkId":"ds_4a074a6167dd949e3ba6-chunk-0050","chunkIndex":49,"heading":"5.4.5 Register 0xF4 “ctrl\\_meas”","headingPath":["BME280","5.4.5 Register 0xF4 “ctrl\\_meas”"],"preview":"","images":[],"readUrl":"https://www.embedr.app/api/datasheets/ds_4a074a6167dd949e3ba6/chunks/ds_4a074a6167dd949e3ba6-chunk-0050"}]}