You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: