Analog input and PWM output with potentiometer and LED | LabVIEW (LINX 3.0) with Arduino Uno

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

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

  • @YewrMan
    @YewrMan 4 года назад +1

    Lovely work. I hope you are making good money doing some online training. Your videos are far better than many training videos for Labview and Labview with Arduino. Thank you.

    • @SStock
      @SStock  4 года назад

      Hi,
      Thank you :)

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

    Thank you so much body
    Excellent job

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

    Thanks a lot sir ji

  • @39nguyenvinhkhang59
    @39nguyenvinhkhang59 2 года назад +1

    I want to set the clock output period, how do I set it?

    • @SStock
      @SStock  2 года назад

      Hi,
      I’m not sure if I understand what you are asking for…

  • @firdaus480
    @firdaus480 3 года назад

    Thank you boss
    can you show me how to use XY graph on LINX ?

    • @SStock
      @SStock  3 года назад +1

      Hi,
      Take a look at this page explaining different methods for representing data on an XY Graph:
      knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019NAfSAM&l=en-NO

  • @MrMegsa
    @MrMegsa 4 года назад

    amazing work, sorry i need to ask but can you use this to just read the signal without led output (just graph to read potentiometer), thanks

    • @SStock
      @SStock  3 года назад

      Hi,
      If you do not want the output to the LED, then simply remove the "Set Duty Cycle" VI and wire the "Analog Read" VI directly to the loop output terminal.

    • @MrMegsa
      @MrMegsa 3 года назад

      @@SStock its fine, thankyou for replying, yeah ive been trying to make the output from potentio into moving a motor but seems more complicated than i think

  • @kolopolo2035
    @kolopolo2035 3 года назад

    Hey, it is ok till the Set Duty Cycle. There it gives error: The specified PWM channel (6) is not available at the. This device does not support PWM. I have tried on other channels as well. What could be the possible problem?

    • @SStock
      @SStock  3 года назад

      Hi,
      Are you using an a Arduino UNO?
      (If so, try to upload the firmware again)

  • @awaluddinhidayah520
    @awaluddinhidayah520 3 года назад

    How to count pulse?

    • @SStock
      @SStock  3 года назад

      Hi,
      Try to use the "Peak Detector" VI located under "Signal Processing->Signal Operation".
      If you do not know how to use this VI, then you can do a Google search on: "LabVIEW Peak Detector VI".
      Good luck :)

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

    Why you multiply by .2

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

      Hi,
      The output (voltage) is scaled to the range of 0-1V (by multiplying with 0.2) since the LED brightness is more or less at max around 1V :)

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

      Thank you boss

  • @farazdeqnajim4205
    @farazdeqnajim4205 3 года назад +1

    🌺🌻🌼

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

    why u use set duty cycle

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

      Hi,
      In this video demonstration I'm showing how you can "read" the output(voltage) from a potentiometer and display this in a chart.
      The voltage is then sent out again, after being scaled to 0-1 volt (by multiplying with 0.2), using the "set duty cycle" (PWM).
      Note that the potentiometer is NOT directly connected to the LED, but goes into the Arduino and then out to the LED.

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

      Do u have a email or intagram or facebook..i want to ask u about my ds18b20 temperature sensor..analog read

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

      Take a look at the following topic at MakerHub forums:
      www.labviewmakerhub.com/forums/viewtopic.php?f=12&t=845

  • @alexisriverasanchez6246
    @alexisriverasanchez6246 6 лет назад

    can you explain it?

    • @SStock
      @SStock  6 лет назад

      Hi,
      What do you need explained? :)

  • @lucassorgerodrigues3492
    @lucassorgerodrigues3492 2 года назад

    enrola mais que a mãe!

  • @jesus56876
    @jesus56876 4 года назад

    It didn't come out :(

    • @SStock
      @SStock  4 года назад +1

      Hi,
      I'm not sure what you mean by "It didn't come out".

    • @jesus56876
      @jesus56876 4 года назад

      @@SStock I mean it didn't work out, maybe I'm doing something wrong

    • @SStock
      @SStock  4 года назад

      Well, it should work without any problems...
      Have you remembered to upload the firmware first?
      (If not, take a look at my video demonstration "Getting started (by uploading the firmware)" ruclips.net/video/xdPMmwH9ll8/видео.html )
      Also check your wiring by comparing it with the wiring diagram shown in the beginning of this video demonstration (at 0:02).