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

    LiDAR LightWare SF20/C integration on I2C3

    Ask your questions right here!
    3
    7
    25
    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.
    • george kollamkulamG
      george kollamkulam
      last edited by

      Hi,

      I am trying to integrate the LightWare SF20/C LiDAR on I2C3 port (J19) on Starling 2 UAV (VOXL 2 autopilot running Px4 on QGroundControl). I wanted to understand the following:

      1. How can I reconfigure the ESC AUX regulator to 5 V (presently at 3.3 V)?
      2. What are the steps to setup the LiDAR on Px4?

      Thanks!

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

        @george-kollamkulam Regarding question #2 you will need to rebuild PX4. It currently only has the serial drivers built in for the Lightware distance sensors. So, in file boards/modalai/voxl2-slpi/default.px4board you would need to add the driver with DRIVERS_DISTANCE_SENSOR_LIGHTWARE_LASER_I2C=y. Once it has been built into the image then you can start it in the startup script /usr/bin/voxl-px4-start with the command qshell lightware_laser_i2c start -d 4

        george kollamkulamG 1 Reply Last reply Reply Quote 0
        • george kollamkulamG
          george kollamkulam @Eric Katzfey
          last edited by

          @Eric-Katzfey Got it, thanks.

          Can you tell me how to reconfigure the ESC output voltage to 5V DC? It's presently at 3.3 V DC

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

            @george-kollamkulam Is that so that you can power your distance sensor?

            Alex KushleyevA 1 Reply Last reply Reply Quote 0
            • Alex KushleyevA
              Alex Kushleyev ModalAI Team @Eric Katzfey
              last edited by

              @george-kollamkulam , is there any reason why you cannot use 5V from J19 on VOXL2?

              Enabling 5.0V output on the Mini ESC would need a firmware update, so if you can stay closer to the standard configuration, it will be easier to maintain (for you and for us as well).

              Alex

              george kollamkulamG 1 Reply Last reply Reply Quote 0
              • george kollamkulamG
                george kollamkulam @Alex Kushleyev
                last edited by

                @Alex-Kushleyev Yes I wanted to power a 5V LiDAR. I could try to splice the 5V (pins 1,6) from J19 and use that to power the external sensor, if that's what you recommend. Are these pins limited to 5W (5V, 1 A)? If not, how much power can I safely draw out of that port?

                Alex KushleyevA 1 Reply Last reply Reply Quote 0
                • Alex KushleyevA
                  Alex Kushleyev ModalAI Team @george kollamkulam
                  last edited by

                  @george-kollamkulam That port is internally connected to the 5V coming from the main VOXL2 power (which is technically 5V 6A). Obviously you would be limited by the connector pins, which are rated around 1A max continuous. Also, drawing too much from this pin, can bring down the whole VOXL2 (if that 5V output on J19 is shorted to GND, for example).

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