How to Use Rotary Encoders on the Arduino - Ultimate Guide to the Arduino #25

  Рет қаралды 5,514

Circuit Basics

Circuit Basics

Күн бұрын

Rotary encoders are commonly used as dials for volume control, menu navigation, and more. Learn how they work, how to connect them with switch de-bouncing, and how to program them with interrupts on the Arduino.
This is tutorial #25 in the Ultimate Guide to the Arduino, a complete video course on the Arduino microcontroller with 45 lessons that are designed to teach anyone how to master the Arduino at any skill level. Visit our KZbin channel page to watch the entire series!
Get the 3-in-1 Arduino Smart Car and IOT Learning Kit from SunFounder here:
www.sunfounder...
Or get the kit from Amazon:
US Amazon: amzn.to/3W1Mahh
DE Amazon: amzn.to/3j0oETn
JP Amazon: amzn.to/3UYrHZG
UK Amazon: amzn.to/3uTJZAC
CA Amazon: amzn.to/3W2vExN
Get a rotary encoder from SunFounder here:
www.sunfounder...
Visit the webpage for this video tutorial on Circuit Basics for wiring diagrams and example code:
www.circuitbas...
And be sure to check out the Circuit Basics blog and social media for more articles and tutorials on the Raspberry Pi, Arduino and other DIY electronic projects!
www.circuitbas...
Facebook: / circuitbasic
Twitter: / circuitbasics
Instagram: / circuitbasics

Пікірлер: 7
@dystopian-me
@dystopian-me Ай бұрын
this work really well BUT just for anti clockwise, for closkwise debounce not much effect
@PacTel54321
@PacTel54321 7 ай бұрын
Thank you for this tutorial. I have a rotary encoder based speed control that operates open loop; I.E. there is no way to tell what the setting is except from the motor it is driving. I intend to sniff the encoder signals and monitor them with a counter for feedback on the speed setting. This tutorial will help me get stated. An FYI; you could possibly damage the Schmitt trigger (CMOS IC) if too large a capacitor is connected to the inputs; upon power-down the caps will discharge into internal protection diodes because they become forward biased (VCC becomes GND). Check the data sheet on the part.
@Mr123bohemian
@Mr123bohemian Жыл бұрын
Thank you, I have question, I want to use a 4 relay using 4 hall effect sensors to activate them individually, it's for fuel injection system, I'm just finding it hard to find anything on this, your help would be very much appreciated, I'm a newbie to all of this, kind regards
@woolfy02
@woolfy02 Жыл бұрын
cool project! Makes me want to dig out my box of electronics and start making things again. lol
@Leftypounder-fz2rb
@Leftypounder-fz2rb 5 ай бұрын
A very well done, useful video. Thank you.
@t1d100
@t1d100 Жыл бұрын
Nice
@PhG1961
@PhG1961 Жыл бұрын
Nice and very usefull!
How to use rotary encoders
14:12
FriendlyWire
Рет қаралды 36 М.
How do Cats Eat Watermelon? 🍉
00:21
One More
Рет қаралды 11 МЛН
The joker favorite#joker  #shorts
00:15
Untitled Joker
Рет қаралды 30 МЛН
#226 ROTARY ENCODER with no switch bounce 🤓 - you MUST use this
25:49
Rotary Encoders and Microcontrollers (e.g. Arduino) - My Way …
25:13
Robert's Smorgasbord
Рет қаралды 3,9 М.
Rotary Encoder (KY-040) Debounce Circuit Tutorial
15:03
ForceTronics
Рет қаралды 18 М.
Rotary Encoders: A Comprehensive Guide to Understanding and Using Them
7:44
How to use a Rotary Encoder with an Arduino - CODE EXPLAINED!
21:11
How to Control a 12V Motor with Arduino: Easy Wiring & Code Examples
44:13
HACKED!: Using an HDD Motor as a Rotary Encoder?!
8:21
GreatScott!
Рет қаралды 1,5 МЛН
How to Use Arduino Interrupts The Easy Way
33:28
Rachel De Barros
Рет қаралды 85 М.
How do Cats Eat Watermelon? 🍉
00:21
One More
Рет қаралды 11 МЛН