Coder Social home page Coder Social logo

Comments (5)

sarnold avatar sarnold commented on September 3, 2024

Oh, and packaging/distribution would be cleaner and easier with some versioned source releases. The master branch can always provide the Big Fat Warning stuff, but a few tags/branches for versioned releases (even just incremental feature releases) would help a lot. Thanks for listening...

from adafruit_python_bmp.

tdicola avatar tdicola commented on September 3, 2024

Do you have more details on what packages or dependencies conflict with each other? Pip should put everything under Python's site-packages folder as separate egg files so they don't conflict. If there are conflicts with different versions of dependencies typically creating a virtualenv with the dependencies will solve the problem.

from adafruit_python_bmp.

sarnold avatar sarnold commented on September 3, 2024

Took a little while to sort out the issues; the first time around I used easy_install and things ended up in a weird pypi path under /usr/local instead of dist/site-packages. Re-flashed the card and tried the "normal" easy_install-2.7 with/without pip, and finally settled on using only the setup.py install for BMP/SHT, and things seemed to all end up in the right place (local python2.7 dist-packages).

Turns out the rpiSHT1x code (which uses the RPi.GPIO interface directly) seems to trample on the bus, causing the BMP test code (which uses the Adafruit GPIO interface) to stop working (with a non-specific I/O error) until the next reboot. Then BMP works again until SHT dorks it up. I'm assuming that porting the SHT module to use the Adafruit interface should resolve the multiple sensor issue (not sure when I'll have time to do that). On the other stuff, it would still make using this stuff much easier if these things were released, packaged, and came pre-installed in the Raspbian image. I can tell you from experience that it's much easier to sort things out when there are packages, versioned tags/branches, etc...

from adafruit_python_bmp.

sarnold avatar sarnold commented on September 3, 2024

On the sensor issue, it looks like it's the funky SHT10 (proprietary) protocol, which breaks I2C. Supposedly the SHT20 is I2C-compliant but not the others (SHT10, SHT15).

from adafruit_python_bmp.

ladyada avatar ladyada commented on September 3, 2024

hiya we're closing these issues and archiving this repo because this library has been deprecated!

the bmp085 and bmp180 are no longer made, and are replaced by the bmp280 + friends

we are now only using our circuitpython sensor libraries in python

check out this guide for using the bmp280 with python!
https://learn.adafruit.com/adafruit-bmp280-barometric-pressure-plus-temperature-sensor-breakout

from adafruit_python_bmp.

Related Issues (14)

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.