Triad Connectivity Issues

Hi there,

I am trying to connect a Sparkfun Triad (AS7265x) to an Arduino Mega and I am having difficulties, and I am hoping someone could offer me some assistance if possible.

I am using a 3.3v bidirectional level shifter on the I2C lines. Initially, I did not use external pullup resistors, as the documentation indicated these were on the Triad board. That resulted in no communication at all, although I could read the address of 0x49 when I used an I2C scanner.

I then added a pullup resistor (on both sides of the level shifter) to the SDA and SCL lines, and this resulted in partial operation. When I use example 3 Settings code, I get the LEDs flashing and I get data returned on the serial monitor in the Arduino IDE, but the data is all zero. Also The LED flashing is irregular, sometimes the UV LED flashes, sometimes not. Sometimes the status indicator is on, sometimes not, and the time that each one is on is not consistent.

If anyone would care to have a look at the images below, I would be very grateful for any assistance. I could not find a fritzing part for the Triad, so that is missing from the circuit diagram, but hopefully this will give you enough information.

As a further bit of info, when I use the get hardware example code, I get this. But also as you can see, I have to reset the Arduino a number of times in order to achieve connectivity.

1k is awfully low for a i2c pullup. Try a 10k and see if that helps. The triad board should have its own pull-ups so I don’t think you need any more on the LV side so start without them and see if that works.