Coder Social home page Coder Social logo

borken CJMU-8118 ? about ccs811 HOT 10 CLOSED

maarten-pennings avatar maarten-pennings commented on July 23, 2024
borken CJMU-8118 ?

from ccs811.

Comments (10)

maarten-pennings avatar maarten-pennings commented on July 23, 2024

Have you connected it the same way as on my github home page?

https://github.com/maarten-pennings/CCS811/blob/master/README.md#arduino-nano

If you have problems I would prefer that you do not use the Nano. Because the Nano theoretically fries the ccs811 with its 5V I2C lines.

Did you read my warning?

Note that the CCS811 requires a supply voltage of 1.8V .. 3.6V. So, 3.3V is ok, but do not use a 5V board. The Nano has a "3v3 out" pin, but that's only a power out pin, the micro drives the I2C lines on 5V. This poses a risk to the CCS811.

from ccs811.

Aelphy avatar Aelphy commented on July 23, 2024

Yes. Now I managed to fix it. I found that rst pin should be 3.3V as well.
Thanks. You can close the issue, but it worth to mention somewhere that rst should be set to 3.3V.

from ccs811.

maarten-pennings avatar maarten-pennings commented on July 23, 2024

The CCS811 does not have an RST pin.
So this seems board specific...

One of the users of my library is #bfaliszek, he seems to use the same board as you and he does not connect the RST pin:
https://github.com/bfaliszek/CJMCU-8118_InfluxDB/blob/master/README.md

from ccs811.

Aelphy avatar Aelphy commented on July 23, 2024

Yah, I have seen that. But got i2c errors. weird.
When I take rst pin off there is only i2c adress 0x40 available which stands for hdc1080.
When it is on - 0x5A becomes available as well.
However without rst pin hdc1080 it returns 125 degrees all the time and 0xFFFFFF as a serial number.

from ccs811.

Afollet avatar Afollet commented on July 23, 2024

Is there any update to this? I'm using the CJMU-8118 and I cannot get any reading from I2C

from ccs811.

maarten-pennings avatar maarten-pennings commented on July 23, 2024

From the comments above, it looks like the library is ok.

Do you have a RST pin (see posts above)?

Can you use a 3v3 device instead of the 5v Nano?

Can you confirm i2c messages are on the bus (eg have a working slave, or a logic analyzer)?

from ccs811.

Aelphy avatar Aelphy commented on July 23, 2024

It seems to be a problem of the board. I ordered two other CJMU-8218 and CJMU-8218. The first one didn't work at all the second one worked well. Also I noticed that the way how you solder the pins might matter (for my boards soldering should be done on the side with writings GND, SDA, etc).

from ccs811.

Afollet avatar Afollet commented on July 23, 2024

Thanks for the quick replies.

I'm using a raspberry Pi to enumerate the i2c, but I don't get anything even at 3.3V. I tried setting the RST pin to 3.3V and that did not seem to work as well.

I have observed that the connections on the board are a bit shotty, but I haven't got it to respond yet. I have not soldered the board to any wires. I am using a bread board. I am a bit of a biologist so I was hoping for a bit more plug'n'play with this chip.

Thanks

from ccs811.

Aelphy avatar Aelphy commented on July 23, 2024

Try to turn the board face down

from ccs811.

maarten-pennings avatar maarten-pennings commented on July 23, 2024

I never tried with a Raspberry Pi. Nice experiment.

I tried setting the RST pin to 3.3V and that did not seem to work as well.

Good idea. The reset pin of the CCS811 is called nRESET, so indeed low active. Let's assume that the RST on your board is indeed also low-active.

I assume you did pull nWAKE low so that the CCS811 is alive and responding to I2C commands.

from ccs811.

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.