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

    Extra LEDs and Buzzer control from VOXL 2 J3/J5

    VOXL 2
    3
    6
    500
    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 7 Feb 2023, 09:23

      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?

      V 1 Reply Last reply 7 Feb 2023, 16:12 Reply Quote 0
      • V
        Vinny ModalAI Team @Byron_Ch
        last edited by 7 Feb 2023, 16:12

        @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 10 Feb 2023, 02:00 Reply Quote 0
        • B
          Byron_Ch
          last edited by 8 Feb 2023, 04:58

          Hi Venny,
          Very thanks.

          1 Reply Last reply Reply Quote 0
          • R
            Ray.Liao @Vinny
            last edited by 10 Feb 2023, 02:00

            @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?

            V 1 Reply Last reply 11 Feb 2023, 15:54 Reply Quote 0
            • V
              Vinny ModalAI Team @Ray.Liao
              last edited by 11 Feb 2023, 15:54

              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 13 Feb 2023, 06:04

                Hi @Vinny ,

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

                1 Reply Last reply Reply Quote 0
                1 out of 6
                • First post
                  1/6
                  Last post
                Powered by NodeBB | Contributors