In this video, Zahraa demonstrates how to connect a pushbutton to Arduino using an active high arrangement.
- [Instructor] All right, so the first thing…that we know is that the first side of the push button…that goes to the VCC,…so we are going to use the 5-volt…from the Arduino,…and I'm going to use the common power here.…And I'll connect it to the push button.…So this is the very first side.…Now the second thing is…that the other side of the push button is connected…to 10K resistor.…
And the resistor is going to ground,…so I'm going to connect it here.…And then I'll connect the ground…to the Arduino board…over here.…So the final thing is connecting…between the push button and the resistor…and connect that to pin 12…on our Arduino board.…
So now we're ready, we've done the wiring,…so let's go ahead and start coding.…
- 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: Interfacing with Hardwarewith Zahraa Khalil1h 40m Intermediate
Learning Arduino: Pulse Width Modulationwith Rae Hoyt1h 16m Intermediate
1. Introduction to Arduino
2. Creating an Arduino Program
3. Interface with Ouptut: 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.