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

    Using VOXL Mini 4-in-1 ESC (UART) + VOXL 2 IO (PWM) at the same time

    Ask your questions right here!
    2
    3
    26
    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.
    • Gary HolmgrenG
      Gary Holmgren
      last edited by

      Hi all, I’d like to run the VOXL Mini 4-in-1 ESC over UART with VOXL 2 and use the VOXL 2 IO expansion board to get a few extra PWM channels in PX4.

      From the docs, the ESC uses J18 on VOXL 2. The IO board is also shown on J18 in some examples. Can I keep the ESC on J18 and put the IO board on J19 instead, then run both (voxl_esc on QUP2 and voxl2_io on QUP7) so I can map extra PWM outputs in QGC?

      Hardware:

      VOXL 2
      VOXL Mini 4-in-1 ESC (UART)
      VOXL 2 IO expansion board
      If this is supported, are there any specific PX4 params or startup script changes I should make?

      Links for reference:
      https://docs.modalai.com/voxl2-io-user-guide/
      https://docs.modalai.com/voxl-mini-esc-datasheet/

      Thanks!

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

        @Gary-Holmgren,

        Yes the two can work together.

        You will need to modify the /usr/bin/voxl-px4-start file which loads all the modules based on the contents of /etc/modalai/voxl-px4.conf.

        The voxl esc + voxl 2 io board is not a standard configuration, but you just need to make sure the following modules are started:

        qshell voxl_esc start #(will start on default QUP2 / slpi uart port 2)
        qshell voxl2_io start -p 7 #(use QUP7)
        

        You can also just manually start these modules in px4 shell for testing. Watch the output of both modules in px4 console, because both modules will detect the corresponding board and will print useful information whether the corresponding board has been detected on the specified port). For this purpose, it may be easier to run voxl-px4 in foreground (instead of a service):

        voxl-px4 -d
        

        (-d disables the daemon mode and will let you interact with the px4 shell)

        Alex

        Gary HolmgrenG 1 Reply Last reply Reply Quote 1
        • Gary HolmgrenG
          Gary Holmgren @Alex Kushleyev
          last edited by

          @Alex-Kushleyev Thanks for clarifying this!

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