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

    Extra LEDs and Buzzer control from VOXL 2 J3/J5

    VOXL 2
    3
    6
    502
    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.
    • B
      Byron_Ch
      last edited by

      Hi Modal AI team,
      I have an extension board that connect from VOXL2 J3/J5 to control extra LEDs and a buzzer, what GPIOs can control LEDs and any PWM output can control buzzer?

      VinnyV 1 Reply Last reply Reply Quote 0
      • VinnyV
        Vinny ModalAI Team @Byron_Ch
        last edited by

        @Byron_Ch Hi,
        All the signals (GPIOs) on J3 and J5 are native 1.8V with only about 2-4ma drive. Please use a FET or other driver/buffer to drive any LEDs or buzzers.
        We don't have any true PWM signals on those interfaces. Usually buzzers are just a few KHz and not duty cycle sensitive, so you could get away with a software routine to toggle the gpios.
        An alternative is a simple MCU or I2C to PWM/GPIO IC that can easily do all that too.
        Adafruit sells a good I2C to PWM breakout you can experiment with.
        Hope that helped.

        R 1 Reply Last reply Reply Quote 0
        • B
          Byron_Ch
          last edited by

          Hi Venny,
          Very thanks.

          1 Reply Last reply Reply Quote 0
          • R
            Ray.Liao @Vinny
            last edited by

            @Vinny Hi,

            Based on Byron question.
            We will have a extension board to connect VOXL2 J3/J5, the extension board will redirect to the Microhard Add-On Board.
            So several pins of J3 connector will be occupied by Microhard Add-On Board.
            I know that J3/J5 connector already have some GPIO defined

            Could you help us to know has current system image already config that GPIOs?
            We want to use some GPIO pins(at least 6) for further control.
            Could you helps us check which GPIOs allow us do that?

            VinnyV 1 Reply Last reply Reply Quote 0
            • VinnyV
              Vinny ModalAI Team @Ray.Liao
              last edited by

              Hi @Ray-Liao
              I'm not in SW, but I think this will help.
              https://docs.modalai.com/voxl2-linux-user-guide/

              1 Reply Last reply Reply Quote 0
              • R
                Ray.Liao
                last edited by

                Hi @Vinny ,

                Thanks for your information,
                I already know current GPIO status.

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