Use Mindstorms peripherals on Arduino
https://lmoellendorf.gitlab.io/UpcyclingMindstorms
See the user guide of Line Follower Sensor for NXT or EV3.
EV3 Wire | Function |
---|---|
blue | SDA |
yellow | SCL |
green | 5V |
red | GND |
black | GND (not used) |
grey | analog (not used) |