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

ERROR: Failed to connect to the sensor #4

Open
ChibiTama314 opened this issue Jan 21, 2018 · 1 comment
Open

ERROR: Failed to connect to the sensor #4

ChibiTama314 opened this issue Jan 21, 2018 · 1 comment

Comments

@ChibiTama314
Copy link

I connected the sensor to my Arduino Uno according to the pinout on the sensor itself (Red to Vcc, Black to Ground, Yellow to SDA, Green to SCL). I installed the NDIR_I2C library from GitHub and uploaded the sample code, but the only thing I'm getting on the serial monitor is this error:
"ERROR: Failed to connect to the sensor"

I'm sure I connected everything properly, and used the given code, so what seems to be the problem? I'm powering it from my PC. Could that be it?

@jxm1
Copy link

jxm1 commented Jan 16, 2020

Hi I also have the same error. May I know how did you solve this problem. Any help would be appreciated thanks.

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