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

Ғылым және технология

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 KZread channel page to watch the entire series!
Get the 3-in-1 Arduino Smart Car and IOT Learning Kit from SunFounder here:
www.sunfounder.com/products/s...
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.com/products/r...
Visit the webpage for this video tutorial on Circuit Basics for wiring diagrams and example code:
www.circuitbasics.com/how-to-...
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.circuitbasics.com
Facebook: / circuitbasic
Twitter: / circuitbasics
Instagram: / circuitbasics

Пікірлер: 6

  • @Leftypounder-fz2rb
    @Leftypounder-fz2rb2 ай бұрын

    A very well done, useful video. Thank you.

  • @PacTel54321
    @PacTel543214 ай бұрын

    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.

  • @woolfy02
    @woolfy02 Жыл бұрын

    cool project! Makes me want to dig out my box of electronics and start making things again. lol

  • @t1d100
    @t1d100 Жыл бұрын

    Nice

  • @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

  • @PhG1961
    @PhG1961 Жыл бұрын

    Nice and very usefull!

Келесі