Arduino PWM: Pulse Width Modulation

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 มิ.ย. 2024
  • Arduino PWM: Pulse Width Modulation
    In this video we're going to show you how to use the PWM output of the Arduino board to control the brightness of an LED. We’re going to explain what a Pulse Width Modulation (PWM) is and on what it can be applied. We’re also going to explain the details of each command used in the code, so that you can program your Arduino board correctly. To build the circuit, we are going to use TinkerCAD software. If you have never heard about TinkerCAD have a look at our tutorial about how to use it on the link below:
    • Video
    or just access:
    www.tinkercad.com
    If you’d like to learn more about Arduino, programming, and electronic devices, send us a message in the comments about what you’d like to learn. We’ll do our best to make a video about it. Enjoy!
    If you want to buy Arduino kits to start your development at home, just click on the links down below:
    s.click.aliexpress.com/e/_DEA... (I2C LCD display)
    s.click.aliexpress.com/e/_DE7... (Arduino Uno Board)
    s.click.aliexpress.com/e/_DlU... (Arduino Starter Kit)
    Timestamps:
    (0:00) Intro
    (0:46) PWM explanation
    (2:50) Code development
    (5:27) Final comments

ความคิดเห็น • 8

  • @anokhautomation4453
    @anokhautomation4453 2 ปีที่แล้ว +1

    Nice tutorial.

    • @arduinoexpert3416
      @arduinoexpert3416  2 ปีที่แล้ว

      Thank you for your support anokhautomation! I'm glad you liked it!

  • @williamlouie569
    @williamlouie569 2 ปีที่แล้ว +2

    What does the red +5v wire use in the broad? It doesn't have any function.

    • @arduinoexpert3416
      @arduinoexpert3416  2 ปีที่แล้ว

      Hi William! Well noted! You're right. The +5V was in the introduction part because I was reusing the circuit from a previous project. If you look at the assembly part I don't use it in the circuit. Thanks for your comment! 😀

  • @karthikkulal7591
    @karthikkulal7591 3 หลายเดือนก่อน

    Software?

    • @arduinoexpert3416
      @arduinoexpert3416  3 หลายเดือนก่อน +1

      Hi there. The link is in the description.

  • @massimomucci1873
    @massimomucci1873 ปีที่แล้ว +1

    50 is not 50%. AnalogWrite goes from 0 to 255, 127 is 50%.

    • @arduinoexpert3416
      @arduinoexpert3416  7 หลายเดือนก่อน +1

      Hello my friend. You are right and that is well explained in the video. If you watch it from 1:45 and on, you'll see a few examples that I made. Thank you!