Raspberry Pi GPIO Switch Input - Part 1: Circuitry and Debouncing

Published: 22 February 2021
on channel: Intermation
5,482
132

Description: Before we physically connect our switches to the GPIO header of the Raspberry Pi, we need to discuss the circuit and how to debounce the input.

Items referred to during the video:
• WiringPi is a tool/library written by Gordon Henderson. I believe he discontinued support of the library in August of 2019, but it is still a handy tool for us to see what the GPIO is capable of. Details can be found at http://wiringpi.com/.
• Information pertaining to the Raspberry Pi can be found at https://raspberrypi.org.
• A 5 channel rocker joystick with buttons similar to the one used in the video can be found by searching on, "five direction rocker joystick with keyboard."

Takeaways: At the completion of this lesson, each student should be able to:
• explain the operation of a switch circuit using a pull-up resistor,
• describe the phenomenon of switch bouncing,
• show how hardware and software can be used to debounce a switch circuit, and
• describe the connections between a switch and the Raspberry Pi header when internal pull-up resistors are used.

#raspberrypi #gpio #input


Watch video Raspberry Pi GPIO Switch Input - Part 1: Circuitry and Debouncing online without registration, duration hours minute second in high quality. This video was added by user Intermation 22 February 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,482 once and liked it 132 people.