Hi guys, I have been trying connecting Raspberry Pi 4B to Arduino by USB port, and then connect Arduino UNO to several sensors by I2C. Successfully I install and run Arduino IDE on Raspberry Pi and compile with it. However, there's something wrong when I run scratch code "I2C scanner" (from <Wire.h> library) and I couldn't find any I2C address in my Arduino UNO but with the same assembling, I could find the correct I2C address when I connect Arduino UNO to my PC. Could anyone tell me what step might be forgotten when I'm running this project?
HW: Raspberry Pi 4B / Arduino UNO
OS: Raspbian / Windows 10
Sensor: MAX30102
Communication: Raspberry Pi - Arduino: USB / Arduino - MAX30102: I2C
Oh, and I have checked the TX LED and it flickers when I connect Arduino UNO to PC. And the TX LED is dead when I connect Arduino UNO to Raspberry Pi.