Fading and Blinking a LED using Arduino + Code Explained

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ค. 2024
  • #Arduino #Basic#Blink#Fade#LED
    This video illustrates the most simplest concept of blinking and fading in Arduino with the help of digitalWrite( ) and analogWrite( ) respectively.
    AnalogWrite( ) uses pulse width modulation (PWM), turning a digital pin on and off very quickly with different ratios between on and off, to simulate analog output and create the fading effect.
    0:00 Fading and Blinking with Arduino
    0:20 Components Needed
    0:49 Circuit Diagram
    0:54 Connections Fade
    1:58 Fading Code Explained
    4:26 Fading Output
    4:38 Blink
    4:45 Blink Code
    Fading Effect Arduino Code : bit.ly/2T2ZgzP
    Blink Arduino Code : bit.ly/3wwPVhl
    Circuit Diagram : bit.ly/2VoOXXr
    Full Project on GitHub : github.com/rolan37/Fading-and...
    Things we need :
    Arduino Uno - amzn.to/3v0B0uQ
    Male to Male Jumper - amzn.to/3coEjpf
    LEDs - amzn.to/3vZpUb6
    Resistors - amzn.to/3pv1dRt
    Breadboard - amzn.to/3hxzmxs
    Audio Soundtrack Credits
    Discover - Lichu
    Follow him on soundcloud

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