Electronic knobs are everywhere, and today we will learn how they work and how you can use them with a microcontroller. We will even build our own rotary encoder at home. Thanks for watching, and let me know in the comments if you have any questions!
Companion article: http://www.friendlywire.com/tutorials...
If you enjoy these videos, consider supporting FriendlyWire on Patreon:
/ friendlywire
Email list: http://www.friendlywire.com/email'>http://www.friendlywire.com/email
Website: http://www.friendlywire.com
Twitter: / friendlywire
Reddit: / friendlywire
Facebook: / friendlywire
Instagram: / friendlywire
Timestamps:
00:00 Introduction
00:47 How do rotary encoders work, and what is Gray code?
02:57 Inside a rotary encoder
04:22 Homemade rotary encoder
04:58 Idea for schematic
05:34 What you need to build this circuit yourself
05:59 Final schematic
06:43 Construction on the breadboard
08:25 Writing the program for the PIC16F1455
08:49 Writing the program: main ideas
12:39 Flashing the .hexfile onto the PIC16F1455
13:39 Using the homemade rotary encoder
13:52 Final thoughts