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

    Communication through J18

    Ask your questions right here!
    5
    23
    1.7k
    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.
    • F
      Filip Slezak @Eric Katzfey
      last edited by 14 Jun 2023, 17:52

      @Eric-Katzfey Hey, we already have this board on https://www.modalai.com/collections/expansion-board/products/m0078 - would that work?

      (and the PWM breakout board https://www.modalai.com/products/flight-core-pwm-output-cable-and-break-out-board)

      E 1 Reply Last reply 15 Jun 2023, 16:10 Reply Quote 0
      • E
        Eric Katzfey ModalAI Team @Filip Slezak
        last edited by 15 Jun 2023, 16:10

        @Filip-Slezak The VOXL2 mini does not have the expansion connectors to use the add on boards.

        F 1 Reply Last reply 15 Jun 2023, 20:35 Reply Quote 0
        • F
          Filip Slezak 0 @Eric Katzfey
          last edited by 15 Jun 2023, 20:35

          @Eric-Katzfey Hey, I have to reply from another account because the email system for confirmation doesn't work (fyi)

          We have the bigger standard Voxl2, not mini.

          E 1 Reply Last reply 16 Jun 2023, 16:37 Reply Quote 0
          • E
            Eric Katzfey ModalAI Team @Filip Slezak 0
            last edited by 16 Jun 2023, 16:37

            @Filip-Slezak-0 Oh, sorry, got confused by your VOXL2 mini question. That m0078 board only gives you USB, not a UART. And that other link goes to some PWM breakout board for flight core. Not sure how that one fits in with VOXL2 at all.

            F 1 Reply Last reply 21 Jun 2023, 17:04 Reply Quote 0
            • F
              Filip Slezak 0 @Eric Katzfey
              last edited by 21 Jun 2023, 17:04

              @Eric-Katzfey No worries, and yes that's it. How would you recommend I communicate with that external Teensy board? Can't seem to find easily accessible pins for that.

              E 1 Reply Last reply 21 Jun 2023, 18:52 Reply Quote 0
              • E
                Eric Katzfey ModalAI Team @Filip Slezak 0
                last edited by 21 Jun 2023, 18:52

                @Filip-Slezak-0 I would go with that expansion board I pointed out and use UART.

                F 1 Reply Last reply 23 Jun 2023, 17:45 Reply Quote 0
                • F
                  Filip Slezak 0 @Eric Katzfey
                  last edited by 23 Jun 2023, 17:45

                  @Eric-Katzfey Sorry for the late reply. Unfortunately, I don't see how that could work for us, we already have the m0078 on there and the J2 goes to the wifi dongle, what am I missing in what you're suggesting?

                  E 1 Reply Last reply 23 Jun 2023, 18:02 Reply Quote 0
                  • E
                    Eric Katzfey ModalAI Team @Filip Slezak 0
                    last edited by 23 Jun 2023, 18:02

                    @Filip-Slezak-0 The board I am suggesting has USB and UART.

                    F 1 Reply Last reply 23 Jun 2023, 19:32 Reply Quote 0
                    • F
                      Filip Slezak 0 @Eric Katzfey
                      last edited by 23 Jun 2023, 19:32

                      @Eric-Katzfey So you're thinking switch out the boards, use the UART for the wifi dongle and communicate over USB with the microcontroller?

                      E 1 Reply Last reply 23 Jun 2023, 23:18 Reply Quote 0
                      • E
                        Eric Katzfey ModalAI Team @Filip Slezak 0
                        last edited by 23 Jun 2023, 23:18

                        @Filip-Slezak-0 No, keep using USB for the WiFi dongle and use the UART to communicate with the Teensy.

                        F 1 Reply Last reply 26 Jun 2023, 21:45 Reply Quote 0
                        • F
                          Filip Slezak 0 @Eric Katzfey
                          last edited by 26 Jun 2023, 21:45

                          @Eric-Katzfey Got it, this is getting clearer. Is it safe to use the Teensy's 3.3V pins? According to this, the Voxl2 comm pins are at 1.8V even though its GPIOs are at 3.3V https://docs.modalai.com/voxl2-linux-user-guide/#devttyhs1---b2b-connector-uart

                          E 1 Reply Last reply 27 Jun 2023, 00:13 Reply Quote 0
                          • E
                            Eric Katzfey ModalAI Team @Filip Slezak 0
                            last edited by 27 Jun 2023, 00:13

                            @Filip-Slezak-0 Yes, should be fine. We use that UART to connect with our external flight core boards that have 3.3V rx / tx.

                            F 1 Reply Last reply 28 Jun 2023, 02:00 Reply Quote 0
                            • F
                              Filip Slezak 0 @Eric Katzfey
                              last edited by 28 Jun 2023, 02:00

                              @Eric-Katzfey Thanks Eric, got it working easily after that using a classic pyserial script. Great help!

                              1 Reply Last reply Reply Quote 0
                              • F
                                Filip Slezak 0
                                last edited by 3 Aug 2023, 19:51

                                @Eric-Katzfey Hi again, can we expose another UART port for programming on the Voxl2?

                                F 1 Reply Last reply 3 Aug 2023, 20:42 Reply Quote 0
                                • F
                                  Filip Slezak 0 @Filip Slezak 0
                                  last edited by 3 Aug 2023, 20:42

                                  @Filip-Slezak-0 Thinking about ttyHS2 or ttyHS3 maybe shown here https://docs.modalai.com/voxl2-linux-user-guide/#uarts

                                  M 1 Reply Last reply 4 Aug 2023, 18:17 Reply Quote 0
                                  • M
                                    modaltb ModalAI Team @Filip Slezak 0
                                    last edited by 4 Aug 2023, 18:17

                                    @Filip-Slezak-0 please see here: https://docs.modalai.com/voxl2-linux-user-guide/#apps-proc, we have ttySH2/ttyHS3 routed to the B2B connectors, but you need a carrier board to pick them up...

                                    For example, ttyHS2 goes to our M0090 - 5G Add-On Board J9 Pins 2/3 (Tx/Rx)

                                    9f1f7f3b-71fb-44c2-a032-f2bd1acb538a-image.png

                                    F 1 Reply Last reply 4 Aug 2023, 19:10 Reply Quote 0
                                    • F
                                      Filip Slezak 0 @modaltb
                                      last edited by 4 Aug 2023, 19:10

                                      @modaltb Hey, thanks for the quick reply. Unfortunately, none of these work for us since it seems exposing one port prevents us from accessing another (I also can't find a ref to buy the M0130).

                                      We found a workaround by having a USB hub on the m0125 instead of going over the native uart.

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