Giter VIP home page Giter VIP logo

Comments (11)

ale-ben avatar ale-ben commented on August 12, 2024

Possible sensor replacements:

from olive-turtle.

ghsensdev avatar ghsensdev commented on August 12, 2024

Does it mean you do not suggest buying this sensor?
Have someone tried the Adafruit breakboard with this sensor?

from olive-turtle.

ale-ben avatar ale-ben commented on August 12, 2024

Not what I mean, in fact I am considering replacing this sensor with a sparkfun ENS160+BME combo shield.

It's just that this specific sensor (AHT2X+ENS160) is giving me problems, I tried contacting the seller to understand if I made some mistake but as of now "DFRobot_ENS160" lib most of the times returns 0 on all values and "SparkFun Indoor Air Quality Sensor - ENS160" lib returns "no data to retrieve".

Keep in mind this is an academic project so there is a non zero probability that I'm making a mistake somewhere...

Will update issue to be more specific, sorry for the misunderstanding

from olive-turtle.

ghsensdev avatar ghsensdev commented on August 12, 2024

When you are talking about "returns 0 on all values", which values do you want to get?
Does your bug block the merge into esphome?

from olive-turtle.

ale-ben avatar ale-ben commented on August 12, 2024

Referring to all data provided by ENS160 (AQI, TVOC, eCO2, status).

It actually has nothing to do with esphome, I referenced the PR here as a way to keep track of my steps (since I was trying the implementation used there) but I forgot that GitHub keeps track of everywhere a PR has been mentioned...

As soon as I realized that my mention was appearing in the PR I removed the mention from here (but unfortunately it is still there)

from olive-turtle.

ale-ben avatar ale-ben commented on August 12, 2024

This is in no way a problem related to the ESPHome implementation of ENS160, which, by the way, works perfectly (in my case returns the same error as the SparkFun lib but in less time)

from olive-turtle.

ghsensdev avatar ghsensdev commented on August 12, 2024

Have you tried the software on the official home page of the sensor: https://downloads.sciosense.com/ens160/

from olive-turtle.

ale-ben avatar ale-ben commented on August 12, 2024

I'm looking into it but as far as I understand I would need an I2C to USB converter and I have none

from olive-turtle.

ale-ben avatar ale-ben commented on August 12, 2024

unless i make one using esp32

from olive-turtle.

ghsensdev avatar ghsensdev commented on August 12, 2024

If you use the sensor in ENS160_OPMODE_CUSTOM mode then only raw resistance values will be reported as I read somewhere. Do you use it in ENS160_OPMODE_STD mode?

from olive-turtle.

ale-ben avatar ale-ben commented on August 12, 2024

Sorry for the late reply...
Can't find that mode in SparkFun_ENS160 lib.
Only modes I have are

#define SFE_ENS160_DEEP_SLEEP 0x00
#define SFE_ENS160_IDLE 0x01
#define SFE_ENS160_STANDARD 0x02
#define SFE_ENS160_RESET 0xF0```

from olive-turtle.

Related Issues (1)

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.