{"id":13802423,"url":"https://github.com/neliogodoi/MicroPython-BME280","last_synced_at":"2025-05-13T13:31:04.847Z","repository":{"id":81139122,"uuid":"138064530","full_name":"neliogodoi/MicroPython-BME280","owner":"neliogodoi","description":"Driver to digital sensor of Temperature, Pressure and Humidaty","archived":false,"fork":false,"pushed_at":"2019-03-10T23:36:22.000Z","size":2181,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-22T12:36:09.644Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neliogodoi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-06-20T17:25:39.000Z","updated_at":"2024-04-22T12:36:09.645Z","dependencies_parsed_at":null,"dependency_job_id":"5fc1db4a-78b1-4677-afae-f576cba506d6","html_url":"https://github.com/neliogodoi/MicroPython-BME280","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neliogodoi%2FMicroPython-BME280","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neliogodoi%2FMicroPython-BME280/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neliogodoi%2FMicroPython-BME280/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neliogodoi%2FMicroPython-BME280/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neliogodoi","download_url":"https://codeload.github.com/neliogodoi/MicroPython-BME280/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225218052,"owners_count":17439713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T00:01:44.174Z","updated_at":"2024-11-18T17:31:24.044Z","avatar_url":"https://github.com/neliogodoi.png","language":"Python","readme":"# MicroPython-BME280\n\n## \u003cb\u003eBME280: Digital Humidity, Pressure and Temperature Sensor\u003c/b\u003e\nThe BME280 is a sensor from Bosch Sensortec for high precision measurements of Temperature, Pressure and Humidity\n \u003cbr\u003e\n### \u003cb\u003eDataSheet:\u003c/b\u003e\nhttps://www.mouser.com/datasheet/2/783/BST-BME280_DS001-11-844833.pdf \u003cbr\u003e\nor file \u003ci\u003e'BST-BME280_DS001-11-844833.pdf'\u003c/i\u003e\u003cbr\u003e\n\n## \u003cb\u003eKey features:\u003c/b\u003e\n\u003cb\u003ePackage:\u003c/b\u003e  \u0026nbsp; 2.5 mm x 2.5 mm x 0.93 mm metal lid LGA\u003cbr\u003e\n\n\u003cb\u003eDigital interface: \u003c/b\u003e \u0026nbsp; I2C (up to 3.4 MHz) and SPI (3 and 4 wire, up to 10 MHz)\u003cbr\u003e\n\n\u003cb\u003eSupply voltage:\u003c/b\u003e\u0026nbsp; VDD main supply voltage range: 1.71 V to 3.6 V\u003cbr\u003e\n\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;VDD IO interface voltage range: 1.20 V to 3.6 V\n\n\u003cb\u003eCurrent consumption:\u003c/b\u003e 1.8 μA @ 1 Hz humidity and temperature\n\u003cbr\u003e\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp; \u0026nbsp; 2.8 μA @ 1 Hz pressure and temperature\n\u003cbr\u003e\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp; \u0026nbsp; \n3.6 μA @ 1 Hz humidity, pressure and temperature\n\u003cbr\u003e\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp;\u0026emsp; \u0026nbsp; \n0.1 μA in sleep mode\u003cbr\u003e\n\n\u003cb\u003eOperating range:\u003c/b\u003e\n-40...+85 °C, 0...100 % rel. humidity, 300...1100 hPa\u003cbr\u003e\n\n## \u003cb\u003eFiles:\u003c/b\u003e\n\n\u003cb\u003e'bme280.py':\u003c/b\u003e \u0026nbsp;  Version for \u003ci\u003eDevelopers\u003c/i\u003e of driver for geral devices compatibles of MicroPython - ESP8266, ESP32, LoPy, etc.\u003cbr\u003e\n\n\u003cb\u003e'bme280_lowmem.py':\u003c/b\u003e \u0026nbsp;  Version \u003ci\u003eLow Memory\u003c/i\u003e of driver for geral devices compatibles of MicroPython - \u003cb\u003eNo Documenteded\u003c/b\u003e\u003cbr\u003e\n\n\u003cb\u003e'bme280_microbit.py':\u003c/b\u003e \u0026nbsp;  Version for \u003ci\u003eDevelopers\u003c/i\u003e of driver for BBC Micro:bit devices\u003cbr\u003e\n\n\u003cb\u003e'bme280_microbit_lowmem.py':\u003c/b\u003e \u0026nbsp;  Version \u003ci\u003eLow Memory\u003c/i\u003e of driver for BBC Micro:bit devices - \u003cb\u003eNo Documenteded\u003c/b\u003e\u003cbr\u003e\n\n## \u003cb\u003eTests:\u003c/b\u003e\n#### ESP8266\n```python\nimport bme280\nfrom machine import I2C, Pin\n\ni2c = I2C(sda=Pin(4), scl=Pin(5))\nsensor = bme280.BME280(i2c=i2c)\n\nsensor.formated_values\n```\n#### ESP32\n```python\nimport bme280\nfrom machine import I2C, Pin\n\ni2c = I2C(sda=Pin(21), scl=Pin(22))\nsensor = bme280.BME280(i2c=i2c)\n\nsensor.formated_values\n```\n#### LoPy\n```python\nimport bme280\nfrom machine import I2C\n\ni2c = I2C(0, I2C.MASTER, baudrate=100000)\nsensor = bme280.BME280(i2c=i2c)\n\nsensor.formated_values\n```\n#### BBC Micro:bit\n```python\nfrom microbit import i2c\nimport bme280\nbme = bme280.BME280(i2c)\ntemp, pres, humi = bme.values()\n```\n## \u003cb\u003eDriver Benchmark for Memory Consumed*:\u003c/b\u003e\n*To import all dependencies and construct the object.\n\n|       |ESP8266|ESP32|LoPy|BBC Micro:bit|\n|------:|:-----:|:---:|:--:|:-----------:|\n|Total Memory device (Kb)|64|520|200|16|\n|Memory Free (Kb)||||9.3|\n|Memory Uses (Kb)|-|-|-|3.48|\n|Memory (%)|-|-|-|38|\n|MicroPython Version||||MicroPython v1.9.2-34-gd64154c73|\n\nThe Test in BBC Micro:bit :\n","funding_links":[],"categories":["Libraries"],"sub_categories":["Sensors"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneliogodoi%2FMicroPython-BME280","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneliogodoi%2FMicroPython-BME280","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneliogodoi%2FMicroPython-BME280/lists"}