Giter VIP home page Giter VIP logo

Comments (4)

maruel avatar maruel commented on May 13, 2024

Cool thanks! I just bought two on aliexpress. For the BME280, writing a smoketest was easier because I could connect one over SPI and one over I²C and compare the measured values.

For this one this would require two separate I²C or an I²C multiplexer like TCA9548A. I bought 2x TCA9548A in case this is useful.

I was thinking about leaving one of each on a gohci worker and just report if the values are "sensible", e.g. 15C < x < 30C.

from periph.

fd0 avatar fd0 commented on May 13, 2024

That's nice hardware, I haven't really looked around for something like this! It's a bummer most i2c devices have a hardcoded address, and in this case it's even the same as for the bme280 (0x77)...

from periph.

fd0 avatar fd0 commented on May 13, 2024

What's the long term plan for periph with the smoke tests? Do you plan to continue buying hardware for the drivers people implement and run them on your farm? :)

from periph.

maruel avatar maruel commented on May 13, 2024

For now as long as the devices are inexpensive, yes. There's a trade off between asking people to run gohci workers vs just buying it. My focus remains on host interfacing more than broad devices support so unless there's a deluge of contribution, it should scale fine.

Keep in mind I have a quite high bar for driver quality and unit test code coverage.

Tangentially, one thing that bothers me with the bme280 driver is the lack of good API for continuous mode. Will have to think about it more.

from periph.

Related Issues (20)

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.