Code Monkey home page Code Monkey logo

Comments (4)

jposada202020 avatar jposada202020 commented on September 28, 2024

So first to take a look at this.
As you probably aleady notice, the only bits that matter for both sensor are 7 and 3. 1 is the same for both and will only put a Busy flag, and the we have bit 3 that is the calibration parameter.

However for AHT20. the datasheet mentions
image

I tested this changing the parameter as you suggested for a AHT20 with both 0xE1 and 0xBE and it worked for both cases

AHTX0_CMD_CALIBRATE = const(0xE1) # Calibration command

I tested this in

Adafruit CircuitPython 6.2.0-beta.3-188-g05ed179e1 on 2021-03-15; Adafruit Feather RP2040 with rp2040

from adafruit_circuitpython_ahtx0.

jposada202020 avatar jposada202020 commented on September 28, 2024

@targetblank Let me know if you have any further comments :). I would like to close this issue. Thanks.

from adafruit_circuitpython_ahtx0.

jposada202020 avatar jposada202020 commented on September 28, 2024

Closing for now. Was tested as previously mentioned without any issue

from adafruit_circuitpython_ahtx0.

targetblank avatar targetblank commented on September 28, 2024

Thanks @jposada202020 for testing and sharing your results! So in the end it doesn't matter which init command is used in practical terms. Anyway it would be interesting to know, if there is any reason why they are different.

from adafruit_circuitpython_ahtx0.

Related Issues (8)

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.