Rotary Encoder (KY-040) Debounce Circuit Tutorial

ForceTronics
ForceTronics
17.3 هزار بار بازدید - 3 سال پیش - In this tutorial we look
In this tutorial we look at how to combat switch bounce when using a rotary encoder with a debounce circuit made up of fairly basic components (see below). We use the KY-040 encoder as the test subject in the video. Below is the parts list from the video and a link to the ForceTronics blog where you can find the Arduino code used for the test application in the video.
Parts list: BAS16-HE3-18 (Diode), SN74LVC1G17QDCKRQ1 (Schmitt Trigger), standard 0805 resistors (300ohms and 15kohms), and 4.7uF 0805 ceramic capacitor

You can download the PCB design files and the gerber files for the KY-040 Debounce circuit from my Patreon page (just $3 US to join): Patreon: ky-040-encoder-93026341

Link to code: https://forcetronic.blogspot.com/2021...
3 سال پیش در تاریخ 1400/08/22 منتشر شده است.
17,380 بـار بازدید شده
... بیشتر