I am trying to connect the following components to an AVR ATMega2561:
- 1-Wire Master Interface DS2484 datasheet here
- RGB Ambient Light Sensor APDS-9250 datasheet here
I have already managed to connect the 1-Wire interface, but I am now wondering if I can connect the light sensor as a slave through the 1-Wire interface, or do I need to use I2C for both the interface and the sensor?
Here's an image of the sensor's symbol without going too deep into the documentation:
Is there a component I am missing that would let me connect it using the 1-Wire interface? Or do these two components (1-Wire Master interface and the sensor) have to be connected independently, both using I2C (SCL, SDA)?
I apologize if this is a pretty basic question, but I've been searching online for quite some time and I couldn't find anything. I also looked for other light sensors with 1-Wire but I couldn't find any - some temperature or humidity sensors can use 1-Wire, but I didn't find any ambient light sensors that do.