Problem Getting Readings from VEML7700

I bought a VEML7700 lux sensor and upon soldering it and wiring according to adafruit I am not able to get the right readings on the serial monitor. The only thing that prints out is the first print statement. I copied the code directly from adafruit. Here is the adafruit page... I have linked my code's file down below as well.

veml7700_test.ino (1.74 KB)

Which Arduino board do you have ?
Do you have the VEML7700 module from Adafruit ? That is really important if you have, for example, an Arduino Uno.
Is nothing connected to the 3Vo pin ?

Something might be wrong with the I2C bus.
Start with a I2C Scanner sketch.
In the menu: File / Examples / Wire / i2c_scanner
That I2C Scanner might stop as well.

Check all your wiring for shortcut or a breadboard with bad contacts or broker jumper wires. Do you have a multimeter to check everything ?

Once the I2C Scanner can detect it, then the sketch should also run.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.