Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with CJMCU-811 #2

Closed
GillesC opened this issue Mar 15, 2017 · 9 comments
Closed

Problem with CJMCU-811 #2

GillesC opened this issue Mar 15, 2017 · 9 comments

Comments

@GillesC
Copy link

GillesC commented Mar 15, 2017

Hello

First of all thank you for making this library!
I'm unable to get your test file working.

Connection:
Loenardo............................CJMCU-811
3.3V......................................VCC
GND.....................................GND
GND.....................................ADD
PIN_2...................................SDA
PIN-3...................................SCL
PIN_4...................................WAK
PIN-7...................................INT

I get the following error:
Error: Incorrect Hardware ID detected.
I've written out the hw_id which is 0xFF.

Kind regards,
Gilles Callebaut

@AKstudios
Copy link
Owner

This happens when the timing sequence for initialization isn't correct. Try adding some more delay. Also, try power-cycling the chip.

@GillesC
Copy link
Author

GillesC commented Mar 29, 2017

I'll give it a try. Thank you for your time!
I'll close this issue when the problem is resolved.

@AKstudios
Copy link
Owner

The example code in the library should work. Try switching to a 0.1uF cap and power cycle the circuit with sufficient time between each cycle (so cap is discharged).

Note that this a relatively new sensor, so it's possible there are some earlier finicky versions around in the market. It's also a bit tricky to get it reflowed correctly the first time since the pads are so small.

@arronstone
Copy link

@GillesC has it worked for you ?
Please share details if it worked, as i am also facing the same issue.

@GillesC
Copy link
Author

GillesC commented Apr 13, 2017 via email

@AKstudios
Copy link
Owner

The library has been updated; should allow more time before first communication.

@a-andreyev
Copy link

tried today with CJMCU-811, working for me

@madhujiot
Copy link

Today, I got from Aliexpress the CJMCU-811 module and am trying to configure and run the CCS811-library example given in this repository, but facing below issue. Please suggest what could be wrong and appreciate your help.

My connections for the Arduino to CJMCU-811
Arduino <-----> CJMCU-811
3.3V <-----> VCC
GND <-----> GDN
GND <-----> ADD
A4 <-----> SDA
A5 <-----> SCL
PIN_4(PWM) <-----> WAK
NA <-----> INT
NA <-----> RST

*NA = unused

COM port output(9600baud) per below:

CCS811 test
Error: Incorrect Hardware ID detected.
Initialization failed.
CO2 concentration : 30720 ppm
TVOC concentration : -29344 ppb

CO2 concentration : 30720 ppm
TVOC concentration : -29344 ppb

CO2 concentration : 30720 ppm
TVOC concentration : -29344 ppb

Thank you,
Madhu

@coolchip
Copy link

I²C Address should be 0x5A or 0x5B. Perhaps this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants