6 Replies Latest reply on Dec 6, 2017 12:31 AM by Intel Corporation

    Attaching sensors using i2c to the RTF drone

    Trixie

      Hi,

       

      I'm trying to attach an infrared sensor to the RTF drone using i2c and I'm trying to use the "Compass" port since I will not be using the onboard compass. I've looked at which i2c device node to use but there appears to be 15 of them when I did ls /dev/i2c-*. Which one should of these correspond to the compass?

       

      I've also tried to do i2cdetect -y -r 2 and there appears to only be 0x12, which I've read is the onboard magnetometer.

       

      I'm also using Ubuntu 16.04 LTS.

       

      Thanks,
      Trixie