Rotary Encoder with Arduino

Поделиться
HTML-код
  • Опубликовано: 8 янв 2025

Комментарии • 26

  • @diyengineers
    @diyengineers  2 месяца назад +1

    Where to buy [Amazon Affiliate]:
    Arduino UNO: amzn.to/3U7xAoT
    Rotary Encoder (KY-040): amzn.to/4b8q18p
    Hilitchi Transistors Assortment Kit: amzn.to/4aI8Mux
    Breadboard (Elenco 9440): amzn.to/4b5Onzq

  • @2moovinon
    @2moovinon 2 года назад +1

    Love your channel. Excellent, clear descriptions and visuals, and pro level website additions. Kudos!

    • @diyengineers
      @diyengineers  2 года назад

      Thanks for watching and the kind words!

  • @Timothy_Pearman
    @Timothy_Pearman 10 месяцев назад

    3rd tutorial and finally code that works, thank you very much

    • @diyengineers
      @diyengineers  7 месяцев назад +1

      Glad it helped! Thanks for watching.

  • @vutran5739
    @vutran5739 3 года назад +1

    Your video is so easy to follow, thanks alot!

  • @jimectan-audio-equipment
    @jimectan-audio-equipment 2 месяца назад

    Led brightness cantrol ❤

  • @Intellechawwal
    @Intellechawwal 2 года назад +1

    This tutorial is amazing. Thanks.

  • @dfmayes
    @dfmayes 2 года назад +2

    Any idea why the counter usually increments by two when the knob moves one notch?

    • @ckat609
      @ckat609 Год назад

      Ah, found you here! Have you found a solution for this?

  • @ckat609
    @ckat609 Год назад

    I'm getting increments of 2, instead of 1. One for when the knob isn't clicked and a second one for when it clicks. Any idea what could be happening?

  • @dfmayes
    @dfmayes 2 года назад

    OMG how do you undock the Serial Monitor???

  • @Edmorbus
    @Edmorbus Год назад

    Arduino uno PWM with rotary Encoder Sketch can you help with the code
    Rotary encoder no push als volume knob max 15 steps

  • @Moose254
    @Moose254 3 года назад +1

    Hi Thank you for the video
    I wanted to use the bf button library for a second decoder, how do I include the second pushbutton? I am new 5o arduino

    • @diyengineers
      @diyengineers  3 года назад

      Hi Bryan. Thanks for watching my video! At the beginning of the code you have the following:
      BfButton btn(BfButton::STANDALONE_DIGITAL, btnPin, true, LOW);
      You can create multiple of these to initialize each separate button (such as shown below), but you also have to add more code further below on the code to make it work:
      BfButton btn1(BfButton::STANDALONE_DIGITAL, btnPin, true, LOW);
      My recommendation would be to simply take a look at one of the examples that comes with the library. To do this go to File --> Examples --> Scroll down to "ButtonFever" --> Analaog_button_array (click to open the example).
      Copy and past the example code and adapt it to your own application.

    • @Moose254
      @Moose254 3 года назад

      @@diyengineers Thank you for your reply.

  • @kavtech_midi
    @kavtech_midi 2 года назад

    this library using interupt for encoder?

  • @RecehDIY
    @RecehDIY 3 года назад

    i cant access your website
    wanna try that code for my project

    • @diyengineers
      @diyengineers  2 года назад

      Hi! Please try accessing again. I think the problem should be solved now!

    • @RecehDIY
      @RecehDIY 2 года назад

      @@diyengineers yoo man, thanks a lot
      appreciate that

  • @mitsolution1755
    @mitsolution1755 2 года назад

    Hi No link to the code!!!

    • @diyengineers
      @diyengineers  2 года назад

      Hi, it's on the videos's description. Thanks for watching!

  • @danielcristina6748
    @danielcristina6748 2 года назад

    Dommage pas de code