Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Trouble configuring m500 into Station Mode

Trouble configuring m500 into Station Mode

Scheduled Pinned Locked Moved Ask your questions right here!
12 Posts 5 Posters 2.3k Views 4 Watching
  • 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.
  • tomT Offline
    tomT Offline
    tom
    admin
    wrote on last edited by
    #2

    @Alfonso-Ponce ADB (https://developer.android.com/studio/command-line/adb) is a program that you can run on your host computer in order to open a shell on the VOXL over USB. If you are SSH'ing into your VOXL you can ignore any references to ADB.

    So the command that you want to be running on VOXL is
    voxl-wifi [SSID] [PASSWORD]

    Station mode refers to connecting to the access point of your house / office that is connected to the internet. So you want to be entering the SSID and Password of your home / office's WiFi network.

    A 1 Reply Last reply
    0
    • tomT tom

      @Alfonso-Ponce ADB (https://developer.android.com/studio/command-line/adb) is a program that you can run on your host computer in order to open a shell on the VOXL over USB. If you are SSH'ing into your VOXL you can ignore any references to ADB.

      So the command that you want to be running on VOXL is
      voxl-wifi [SSID] [PASSWORD]

      Station mode refers to connecting to the access point of your house / office that is connected to the internet. So you want to be entering the SSID and Password of your home / office's WiFi network.

      A Offline
      A Offline
      Alfonso Ponce
      Contributor
      wrote on last edited by
      #3

      @tom so, in order to run the

      voxl-wifi [SSID] [PASSWORD]

      command first I need to make the ssh connection like I did in the VOXL m500 Getting Started Guide? Then I enter the SSID and password of my office network, but how do I restart it without using the

      reboot && adb wait-for-device

      command of the guide that's using adb? Do I enter:

      systemctl restart voxl-vision-px4

      and then the drone will connect to it automatically when I turn it up?

      Also, I tried to connect the m500 using the USB to microB cable but I'm not sure it is working. The cable I'm using I took it from a 8 year old external HDD but I'm not sure it is compatible.

      1 Reply Last reply
      0
      • tomT Offline
        tomT Offline
        tom
        admin
        wrote on last edited by
        #4

        @Alfonso-Ponce For desktop debugging I would recommend using ADB over USB so that you can modify the networking settings however you want without worrying about losing connection. You can pick one up off of Amazon for pretty cheap.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Alfonso Ponce
          Contributor
          wrote on last edited by
          #5

          @tom said in Trouble configuring m500 into Station Mode:

          voxl-wifi [SSID] [PASSWORD]

          Thank you for the help, Tom. I think I was finally able to connect the m500 to the local network, however I can't be sure of that because I haven't been capable of stablishing an ADB connection and check that out. I have made sure the cable I'm using is 3.0 and the port in my PC even says that port is using an ADB interface but when I try to enlist the devices using abd nothing shows up.

          6df04a17-d2b8-4973-8342-22970f4711c0-image.png

          WhatsApp Image 2021-05-04 at 16.13.43.jpeg

          1 Reply Last reply
          0
          • tomT Offline
            tomT Offline
            tom
            admin
            wrote on last edited by
            #6

            @Alfonso-Ponce It looks like you have the cable setup correct. I'm not super familiar with using ADB on Windows, I use Ubuntu 18. It's possible there are some specific settings that need to be changed on your Windows machine in order to get the device to show up.

            1 Reply Last reply
            0
            • modaltbM Offline
              modaltbM Offline
              modaltb
              ModalAI Team
              wrote on last edited by
              #7

              Have you tried a standard Micro USB cable instead?

              We'll need to update our docs, the USB port is 2.0 when in "client" mode (e.g. host is Windows/Ubuntu).

              You just need to plug in a micro USB cable into "half" of the port, see this image for help:

              Link Preview Image
              VOXL Hardware Setup

              ModalAI technical documentation for VOXL and VOXL 2 Companion Computers for PX4 and ArduPilot Obstacle Avoidance and GPS-denied navigation, assembled in the USA

              favicon

              ModalAI Technical Docs (docs.modalai.com)

              A 1 Reply Last reply
              0
              • modaltbM modaltb

                Have you tried a standard Micro USB cable instead?

                We'll need to update our docs, the USB port is 2.0 when in "client" mode (e.g. host is Windows/Ubuntu).

                You just need to plug in a micro USB cable into "half" of the port, see this image for help:

                Link Preview Image
                VOXL Hardware Setup

                ModalAI technical documentation for VOXL and VOXL 2 Companion Computers for PX4 and ArduPilot Obstacle Avoidance and GPS-denied navigation, assembled in the USA

                favicon

                ModalAI Technical Docs (docs.modalai.com)

                A Offline
                A Offline
                Alfonso Ponce
                Contributor
                wrote on last edited by
                #8

                @modaltb no need for that, I was finally able to connect to it. The cable was ok, the problem, I think, was that I was using the Ubuntu terminal in my windows PC, however, as I understand how that works, the Ubuntu terminal uses a virtual computer that I suppose wasn't able to use the USB ports of my Windows PC, so I installed the ADB package for Windows, run the normal Windows Terminal, and then the device showed up 🙂

                Now, I would like to know how can I make the m500 connect to QGroundControl while in station mode, or be able to send code to it using MAVSDK-Python. Right now the drone is not showing anywhere even though it is connected to the same network as my PC (supposedly).

                1 Reply Last reply
                0
                • tomT Offline
                  tomT Offline
                  tom
                  admin
                  wrote on last edited by
                  #9

                  @Alfonso-Ponce This video should be very helpful: Demo of how to VOXL to QGroundControl over WiFi

                  This demo uses SoftAP mode instead of Station mode but it is the same idea, modifying the IP address in /etc/modalai/voxl-vision-px4.conf in order for voxl-vision-px4 to know where your ground station is located.

                  A 1 Reply Last reply
                  0
                  • tomT tom

                    @Alfonso-Ponce This video should be very helpful: Demo of how to VOXL to QGroundControl over WiFi

                    This demo uses SoftAP mode instead of Station mode but it is the same idea, modifying the IP address in /etc/modalai/voxl-vision-px4.conf in order for voxl-vision-px4 to know where your ground station is located.

                    A Offline
                    A Offline
                    Alfonso Ponce
                    Contributor
                    wrote on last edited by
                    #10

                    @tom thank you again Tom, I was finally able to connect my m500 to my local network and to QGC. Now I will start trying to send routines using MAVSDK.

                    In general, and as developers, which is the best path to take if my final goal is to create a mobile app that with simple touch commands could make the drone follow you, fly to a charging station autonomously, fly around avoiding obstacles, etc? I mean what kind of programmig language and tools best fit these finals goals?

                    And thank you again!

                    1 Reply Last reply
                    0
                    • ryan_meagherR Offline
                      ryan_meagherR Offline
                      ryan_meagher
                      Contributor
                      wrote on last edited by ryan_meagher
                      #11

                      In the future if you need to quickly change the ip address of where the voxl looks for qgc you can do

                      voxl-vision-px4 -i <ip>
                      
                      1 Reply Last reply
                      1
                      • Eric KatzfeyE Offline
                        Eric KatzfeyE Offline
                        Eric Katzfey
                        ModalAI Team
                        wrote on last edited by
                        #12

                        @Alfonso-Ponce We don't have any recommendations on how to create such a mobile application. However, whatever path you choose, you will most likely need the app to be sending Mavlink packets to the drone to carry out the instructions. Also, QGroundControl can be run as a mobile app and it is open source so you could look to that as an example.

                        1 Reply Last reply
                        0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        ModalAI
                        Categories Recent Tags ModalAI.com Docs
                        © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups