LabVIEW Basics #2 - Manual Servo Control with an Arduino UNO (LINX)

Поделиться
HTML-код
  • Опубликовано: 23 дек 2024

Комментарии • 10

  • @SINConsulting
    @SINConsulting  5 лет назад +2

    Hey everyone! If you have any feedback or questions please leave them below and i'll try to get back to you ASAP!

  • @mattb3556
    @mattb3556 5 лет назад +1

    Thanks so much!!

  • @josecarlosortizhernandez8870
    @josecarlosortizhernandez8870 5 лет назад +1

    hi, can this configuration works for more than two servos at the same time, like using 4 servos or +?

    • @SINConsulting
      @SINConsulting  5 лет назад +1

      Yes you can, my suggestion would be;
      *pass a numeric array containing the channels for each servo to the servo open and close functions;
      *pass this array by index to the pulse width function and adjust depending on how you need each servo to move. If you want them to move in sync pass the numeric array through a for loop to the pulse width function. But if you need separate control you need to duplicate the pulse width function for each servo.
      Hope that helps !

  • @rizkymuharman9680
    @rizkymuharman9680 5 лет назад +1

    Why does the dial start at 450 and finish at 2450? can you please explain?

    • @SINConsulting
      @SINConsulting  5 лет назад

      This is the range for the pulse width values for the servo motor. The data sheet specifies a range of 2ms, so this particular servo motor starts at 450uS for -90 degrees, 1500uS for 0 degrees and 2450uS for 90 degrees.
      So 2450-450 is 2000uS or 2ms as required.
      The dial values reflect this and allow you to manually set the pulse width and servo angle.

    • @rizkymuharman9680
      @rizkymuharman9680 5 лет назад

      @@SINConsulting so is it the same if the dial starts from 500-2500?

    • @SINConsulting
      @SINConsulting  5 лет назад

      @@rizkymuharman9680 Short answer, yes, should be the same for most servos unless the data sheet specifies otherwise. This was just tuned for the HXT900, as the datasheet specified this pulse width as 450-2450uS. You can experiment with the range once you start passing the signal through. Hope that helps!

    • @rizkymuharman9680
      @rizkymuharman9680 5 лет назад +1

      @@SINConsulting ok thank for everything

  • @laurentsaragoza1595
    @laurentsaragoza1595 Год назад

    Two missing shift registers on the diagramme presented here