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

nWake issue #28

Closed
hoangv opened this issue Sep 29, 2019 · 2 comments
Closed

nWake issue #28

hoangv opened this issue Sep 29, 2019 · 2 comments

Comments

@hoangv
Copy link

hoangv commented Sep 29, 2019

Hi @maarten-pennings, thanks for this library, it is very helpful. I am having trouble getting nWAKE to work. Do you have any suggestions to troubleshoot?

I can get ccs811basic working fine as long as I have nWake directly connected to GND. The wiring is correct and matches the README.md for ESP8266. Whenever I wire D3 to nWake and use ccs811(D3), I get: ccs811: ping failed (VDD/GND connected? SDA/SCL connected?). I am using Wemos D1 mini with CJMCU-811. I also tried using D4 pin instead of D3, and also tried flashing from 1.1 to 2.0, but still see the same error.

@maarten-pennings
Copy link
Owner

Hi @hoangv, I'm a bit puzzled too, so allow me to ask some questions.

  • you have an esp8266 and some ccs811 board
  • you have 5 wires between the two boards: VDD to 3V3, GND to GND, SDA to D2, SCL to D1, and nWAKE to D3
  • you run the standard ccs811basic.ino sketch without any modifications
  • it does not work (you get ping failed)
  • you change one wire (nWAKE to D3 into nWAKE to GND) and then it does work (no changes to the software)?

@hoangv
Copy link
Author

hoangv commented Sep 30, 2019

Hi @maarten-pennings, yes that was the situation yesterday. This morning, I decided to start over with a new ESP8266 and rewired everything. nWake appears to be working as expected. I did not have a chance to troubleshoot further, but think it was either an issue with soldering, or with the ESP8266 module itself. Thanks again. Closing this out.

@hoangv hoangv closed this as completed Sep 30, 2019
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

2 participants