Рет қаралды 27,587
Science Buddies Electronics Kit for Arduino: www.homesciencetools.com/prod...
Learn how to fade an LED connected to an Arduino pulse width modulation (PWM) pin using the analogWrite command. See our complete playlist of Arduino tutorials here: • How to Use an Arduino and the Science Buddies website for cool science projects you can do with an Arduino: www.sciencebuddies.org/search....
0:00 intro
0:17 circuit overview
0:40 pulse width modulation (PWM) pins
2:16 open an example program
3:12 for loops
6:36 run the example program
7:06 change the fade speed
7:55 how does PWM work?
10:55 up next
Science Buddies also hosts a library of instructions for over 1,500 other hands-on science projects, lesson plans, and fun activities for K-12 parents, students, and teachers! Visit us at www.sciencebuddies.org to learn more.
#STEM #sciencebuddies #arduino #electronics #programming
*******************************
Connect with Science Buddies:
TWITTER: / sciencebuddies
FACEBOOK: / sciencebuddies
INSTAGRAM: / scibuddy
PINTEREST: / sciencebuddies