In this video, Zahraa demonstrates how to wire up three LEDs to the Arduino board by using three digital pins and inputs to the Arduino.
- [Instructor] Alright, so now let's use everything…we've learned so far in order…to wrap up this chapter, and use this example,…where we use Arduino board to control…three separate digital interfaces using three LADs.…So, I'm going to use three LEDs…to create a simple digital traffic signal,…and monitoring using serial monitor.…So I'm going to connect the red LED to pin 12,…the yellow LED to pin 11, and the green LED to pin 10.…I'm going to use the same connection…as we did in the red one.…
So, resistor and LED, a resistor and then LED.…So I'm going to go ahead and connect…the pin from the Arduino pins.…So 12 goes to the red LED.…The yellow goes to the 11, and the green one…goes to 10.…Alright, so one thing now,…instead of connecting each individual…one to the ground here, what I can do…is I can use a common ground is using…the two sides of the breadboard.…
The top sides, if you notice here,…they are connected this way, horizontally.…So everything here is connected…and everything here is connected.…So what I'm going to do is I'm going…
- What's an Arduino?
- Creating an Arduino program
- Using the setup() and loop() functions
- Using the pinMode() and digitalWrite() commands
- Creating your first sketch
- Writing code to turn LEDs on and off
- Wiring a pushbutton to Arduino
- Activating an LED with a pushbutton
Skill Level Beginner
Learning Arduino: Pulse Width Modulationwith Rae Hoyt1h 16m Intermediate
Learning Arduino: Interfacing with Hardwarewith Zahraa Khalil1h 40m Intermediate
1. Introduction to Arduino
2. Creating an Arduino Program
3. Interface with Output: LED
4. Interface with Input: Pushbutton
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.