Hi,
I’m new in this field and managed to wire my Sparkfun AS7265x device (triple sensor for reflectance measurements). But I need to wire 2 of them on the same arduino uno r3 board (in order to have incident ray reflectance measure too).
The device datasheet is here : https://cdn.sparkfun.com/assets/c/2/9/0 … asheet.pdf
There may be 3 solution :
-
change the I2C addresses of one of the two devices (I don’t know if it’s possible ; nothing talk about it in the datasheet)
-
talk with I2C with one device and RX/TX with the other one (I didn’t manage to talk with RX/TX with my board at the time I write this topic)
-
enable a specific device each time but that may make the program longer to run and provoque too large differences of time between the two measurements (which are supposed to be as close as possible in time – and if possible taken simultaneously but I don’t think that’s possible…)
I’m asking for help to implement 1st or 2nd solution or even another one I did not think about yet.
Thanks you very much. I apologize for my bad english.