I’ve been using an NCD8Relay Photon board successfully for awhile now, and want to extend it using the NCD 9634 8 OC Dimmer board. I’ve connected the dimmer board via I2C cable from the Relay board, but have been unsuccessful in getting the dimmer board to respond.
- The 8 relay board is on address 0x20, working fine.
- I set the dimmer board jumper A0, which should make it address 0x41.
- When I run the particle-i2c-scan, I see devices at 0x01, 0x03, 0x20, and 0x70.
So thinking that somehow the address for the dimmer is actually 0x70 instead of 0x41 per the documentation, I try writing simple code to set an LED connected to the dimmer board channel 1, but the led remains off. Then I run the particle-i2c-scan after that, and the device at 0x70 is no longer found until I POR the boards.
Does anyone know what the devices at 0x01, 0x03, and 0x70 might be? And is there anything special I need to do when daisy chaining I2C boards?
I’m basically running the following lines of code in setup, and status reports transmission failed (not shown).
#define ADDRESS 0x41 // Also tried 0x70
Wire.write(0); // Mode1 register
Wire.write(1); // Mode2 register
Wire.write(0x16); // Osc on, diable AI, subaddrs, allcall
Wire.write(2); // 2 + led #
Wire.write(128); // 1/2 brightness
status = Wire.endTransmission();