ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    VOXL2 J19 QUP3

    Ask your questions right here!
    2
    4
    43
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • voxltesterV
      voxltester
      last edited by

      Hi,
      I connected Lightware LW20/C on one of the I2C port on VOXL2 J19.
      It is QUP3, and the pins I used are

      7	I2C3 SDA 3P3V	slpi_proc, SSC_QUP3
      8	I2C3 SCL 3P3V	slpi_proc, SSC_QUP3
      

      and power & ground.
      I also installed a customized voxl-px4 which will start lightware_laser_i2c with the I2C address 0x66.
      On VOXL2, I edited voxl-px4.conf file by adding DISTANCE_SENSOR=LIGHTWARE_SF000.
      However, I cannot see any parameter regarding rangefinder... like SENS_EN_SF1XX.

      I have done using LW20/C with UART connection successfully, but I2C does not work..
      Can anyone give me any advise to use it via I2C?

      Eric KatzfeyE 1 Reply Last reply Reply Quote 0
      • Eric KatzfeyE
        Eric Katzfey ModalAI Team @voxltester
        last edited by

        @voxltester That is not a normal option to choose via voxl-px4.conf. You will need to hand modify the startup script /usr/bin/voxl-px4-start to properly start the driver in i2c mode. Use option -b 4 to select that i2c bus.

        voxltesterV 1 Reply Last reply Reply Quote 0
        • voxltesterV
          voxltester @Eric Katzfey
          last edited by voxltester

          @Eric-Katzfey

          Hi, Eric.
          I tried

          qshell lightware_laser_i2c start -a 0x66 # I2C address 102
          

          it did not work..

          So are you meaning

          qshell lightware_laser_serial start -b 4
          

          or

          qshell lightware_laser_i2c start -b 4
          

          ?

          Eric KatzfeyE 1 Reply Last reply Reply Quote 0
          • Eric KatzfeyE
            Eric Katzfey ModalAI Team @voxltester
            last edited by

            @voxltester I would try qshell lightware_laser_i2c start -b 4

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB | Contributors