Giter VIP home page Giter VIP logo

bmp280-python's People

Contributors

chad-ermacora avatar gadgetoid avatar sandyjmacdonald avatar thirdr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bmp280-python's Issues

Dual bmp280's

So I want to know the static pressure in a room.
For this I'm using 2 bmp280's.
One inside and the other outside.
Per the bmp280.pdf I changed the sdo pin from pull down to pull up.
i2cdetect -a 1 brings it up just as expected, 70: -- -- -- -- -- -- -- 77 -- -- -- -- -- -- -- --
Instead of 0x76.
Could a possible 0x77 be incorporated in ??

As I get RuntimeError: Unable to find bmp280 on 0x76, IOError.
Which is right because it's on 0x77.

Pressure is 3hPa off

I've checked with two trusted local barometers and https://earth.nullschool.net - my unit seems to be off, it measures 1004.92hPa, whereas it should be at 1007.

Do you have any idea on what might be causing this? Unit faulty? Calibration wrong?

It is on a Joy-IT Explorer700 where everything else works fine, if that helps. Tested to see - by touching it for a temperature increase - if i read out the correct device.

Thanks in advance!

compensated-temperature.py TypeError

I hope this is appropriate to log here. Just a small issue when I was using the examples.

On python version 3.7.3 when running the examples/compensated-temperature.py file I got the following error:
File "compensated-temperature.py", line 28, in get_cpu_temperature return float(output[output.index('=') + 1:output.rindex("'")]) TypeError: argument should be integer or bytes-like object, not 'str'

After editing the line to return float(output[output.index(b'=') + 1:output.rindex(b"'")]) it then ran correctly.

no module named 'smbus'

Hi,

I have downloaded bmp280.py and placed it on the pico via Thonny - no problem. Also on the pico is v1.18(2022-01-17).uf2 from here

When I run the test examples I get stuck on
try: from smbus2 import SMBus except ImportError: from smbus import SMBus

with ImportError: no module named 'smbus'

I have tried to install the module using Thonny and have a /lib/smbus.cpython-38-x86_64-linux-gnu.so file on the pico which is almost certainly not what I want.

Any ideas as to where I have messed up as I seem unable to find an smbus.py file for micropython.?

Andrew

thonny: Thonny version: 3.3.14
Python :: 3.7']

How to change I2C address?

I have a dual AHT20 and BM280 sensor. The BMP280 I2C address is 0x77 and not 0x76. How do I change the I2C address?

Measured temperature too high

So I bought one of these nifty little breakouts and am currently using it in the office.

My problem now is that the temperature always comes back as something above 26°C, even when the windows are open and it's very much not above 26°C. When googling for a solution, I found this: letscontrolit/ESPEasy#164, which sounds like it might be the issue here.

Would it be possible to implement different sampling scenarios? I'd try to do it myself, but working with hardware stuff in Python is not my forte.

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.