Giter VIP home page Giter VIP logo

Comments (8)

rtheil avatar rtheil commented on May 18, 2024

Was able to copy the full temp with extreme precision: "69.80000000000001 "

from octoprint-enclosure.

vitormhenrique avatar vitormhenrique commented on May 18, 2024
  1. I'm showing the unit only on the target area, if temperature control is enable, because I was using the same layout of the printer temperature control, I'll make it appear on the "reading" area as well....

  2. Easy, I'll take care of that...

  3. I think I know what is causing the big values, Don't even need to see the code, I think there is a bug...

from octoprint-enclosure.

rtheil avatar rtheil commented on May 18, 2024

Awesome! In my case I am not using the target yet, as I don't have a relay for a heater yet. But extra relays are on their way from china, so that's coming soon.

Would it be ridiculously difficult to add support for the BME280 temperature sensor? I tested the DHT11/22 and others awhile back on a prototype I was working on, and found the DHT to be really imprecise (because analog), though it's probably fine for this setup. The BME280 ended up becoming my best buddy, and is highly accurate. Big difference is that it requires SDA/SCL.

from octoprint-enclosure.

rtheil avatar rtheil commented on May 18, 2024

Also, maybe add % symbol next to humidity while you're in there?

from octoprint-enclosure.

vitormhenrique avatar vitormhenrique commented on May 18, 2024

I'm planing to add the Si7021, bought one unit and it is coming on the mail this week. it is inexpensive and should have more than enough precision. I don't have the BME280 to test, if you can give me a python script that reads the temperature and the instructions to hook it up on the raspberry pi i can implement it and leave the testing to you... if not we will have to wait me getting my hands on this sensor....
I hate the DHT sensors on the rpi, not because the imprecision, but if you start noticing they will consume a lot of cpu on failed attempts... for arduino stuff they are good. I'm planing to stick with Si7021 on my printers.

from octoprint-enclosure.

rtheil avatar rtheil commented on May 18, 2024

Interesting... Unfortunately, my Python dev knowledge is non-existent, however I will look around for something that already exists. What's the required output of the python script? Just something parseable, like "00|11" where 00=temperature and 11=humidity? BME280 also puts out barometric pressure, but that's probably not useful for this implementation. I have several of the BME280 lying around, so I'm happy to help out with additional features. Looks like the Si7021 also uses I2C, so hookup would be identical for the BME280 (Pi inputs 2 & 3)

from octoprint-enclosure.

rtheil avatar rtheil commented on May 18, 2024

Looks like Adafruit already has a python lib for BME280. Sweet!
https://github.com/adafruit/Adafruit_Python_BME280

from octoprint-enclosure.

vitormhenrique avatar vitormhenrique commented on May 18, 2024

Fixed all issues on this thread on 3.45, please open new issue for BME280 support. :)
Thank you for testing...

from octoprint-enclosure.

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.