Это видео недоступно.
Сожалеем об этом.
Raspberry Pi GPIO Switch Input - Part 1: Circuitry and Debouncing
HTML-код
- Опубликовано: 17 авг 2024
- 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 wiringpi.com/.
• Information pertaining to the Raspberry Pi can be found at 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