How to use rotary encoders

preview_player
Показать описание
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!

If you enjoy these videos, consider supporting FriendlyWire on Patreon:

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 .hex-file onto the PIC16F1455
13:39 Using the homemade rotary encoder
13:52 Final thoughts
Рекомендации по теме
Комментарии
Автор

This channel deserves wayyyy more subscribers

mdshuvo
Автор

I love your demonstrations, they are very helpful for understanding!

sebve
Автор

Thank you so much for this.
I was trying to troubleshoot a toaster and I got to this dial part. The PCB marked it as "VR1" so I interpreted that as a variable resistor or potentiometer.
When testing it as such obviously I thought the part was broken, but now I know it's just one of these encoders.
I tested it with that LED circuit you showed in the video and it works fine. So glad I learned about a new part today!

BurgerWeeze
Автор

it’s just so sad to see quality content creators not getting enough recognition and giving up

fahtfakcarl
Автор

Thank you for using PICs! I´m not feeling so alone anymore! 🙂

orides
Автор

4:06 Thank You!!!
A friend of mine has had this trick up their sleeve for a while…
When I asked about it originally, they said it’s not worth putting the time and effort into.
I completely forgot about it until now… though It all makes sense, they probably removed that copper spring. Once it’s gone though, the clicky steps can still be desired. THe realization at that point just replacing with a new one is probably the best option because the spring is long gone in the trash 😂

DigitGarage
Автор

Beautiful wiring on those breadboards, man!

maxheadrom
Автор

This video is fantastic, very clear and efficient presentation with enough technical depth to get a strong understanding of why it works. I love the diy mega encoder!

thespice
Автор

Great information. Your animations and style is also very fun and entertaining. Keep up the good work!

usdigitalencoders
Автор

Clever management of unexpected A&B status. As always, smart filters are the success key. Thanks

mirkogiglioli
Автор

Thanks Jens. That was interesting. I really liked your supersized implementation of the encoder, I think that demonstrated the behaviour better than any I've seen. Take care.

jerril
Автор

Grandioses Video! Hab endlich effektiv und präzise den Background dazu erlernt. Vielen Dank.
PS: Ich schaue seit 15 Jahren solche Videos und hab noch nie diese "flimmernden" Leitungen gesehen (als Hervorhebung). Dafür müsstest Du eine Medallie bekommen !
Ich werde dieses Video als "Mahnung" verlinken, sobald ich von jemand anderem ein Video sehe wo z.B. aus einer schwarzen eine dunkelblaue Leitung wird (gleiche dicke, ohne

cornjulio
Автор

This is nice explanation. Thank you for this video

davitberishvili
Автор

This was very helpful and I’ve learned a lot. Thank you!

audiofreq
Автор

Brilliant video, extremely useful information for my projects❤

Adhithya
Автор

Well you did it! I am now using a rotary encoder in my Project. Super Video ❤

mohammedshareefalkaraan
Автор

Thanks my F75 keybord volume knob literally jumps value, this vid will help a lot. Should I just clean it or replace the EC11?

jervx
Автор

Hi Jens(?). I have a question. I’m wondering if you might consider breadboarding some sound projects? But with discreet components; no coding. I’d enjoy seeing other discrete component circuit projects.
You’re doing a great job. So friendly and professional. You’re quite educated!

Sarahbuildsstepsequencers
Автор

That's a nice video Boss👍👍👍, I've just subscribed to your channel and liked your from Ghana, Africa✌✌✌

kobie
Автор

Thank you for your videos and work from Russia!

kogstig