Jump to main content

How to Blink an LED with Arduino (Lesson #2)

Learn how to blink an external LED connected to an Arduino digital I/O pin using the digitalWrite command. See our complete playlist of Arduino tutorials here: https://youtube.com/playlist?list=PLlBVuTSjOrclb0iCMSRpS_H1lSrlSVeEm and the Science Buddies website for cool science projects you can do with an Arduino: https://www.sciencebuddies.org/search

0:00 intro
0:10 materials
0:22 how does a breadboard work?
2:28 build the circuit
6:13 write the code
9:13 upload and test
9:28 add another LED
9:50 using the breadboard's buses
13:06 edit the code for two LEDs
14:24 blink the LEDs out of sync
15:18 what's next?


Explore More Resources Like This

Area of Science
Robots are made to go and do what humans either can not, or do not want to do. They are used in hundreds of ways from exploring Mars, to working tirelessly on a manufacturing line, to providing companionship. Not to mention they make great movie characters! … Read more
Top
Free science fair projects.