Home > DIY HiFi > Arduino Code for Buffalo II DAC: Rotary Encoder Connections

Arduino Code for Buffalo II DAC: Rotary Encoder Connections

October 21, 2010 Leave a comment Go to comments

  1. October 23, 2010 at 21:19

    I like your site. Just curious, what happens if you don’t debounce the encoder? Because I have used encoders without any problems and no debouncing. I used the code from here:

  2. Hifiduino
    October 23, 2010 at 22:03


    Nothing really, except you have that bounce noise generated, and depending on what you are doing, it may not matter at all. Audiophiles like to quiet down everything in the system, so getting rid of the bounce noise is a good idea.

  3. David Quayle
    June 7, 2013 at 11:35

    Have you tried the debounce hardware filter in your setup, I cannot get it to work?

    • BlgGear
      June 7, 2013 at 16:12

      Hardware debouncers do not work 100%. You still get spurious signals that would trigger a wrong reading. It is a good idea, however to use h/w debounding to reduce extra noise generated by the encoders.
      You will always need to have s/w debouncing.

  4. David Quayle
    June 12, 2013 at 05:08

    It’s a shame the optical & magnetic RE are so expensive. With or without the debounce hardware, I’ve had trouble getting what you would call a smooth response from the encoder.

    • BlgGear
      June 12, 2013 at 16:50

      You will always need some s/w debouncing with mechanical encoders. I use the ones with “detents” and those work very reliably with the debouncing. There are also chips that are designed to interface to mechanical encoders and would do the clean up…

  5. David Quayle
    June 12, 2013 at 11:36

    I’ve just got my DAC 1 going with your code & the Rotary Encoder I a using with it seems to be more stable that the one I used for my DAC 2. I haven’t bothered with the hardware debounce, for what it’s worth its one of these. http://au.mouser.com/Search/ProductDetail.aspx?R=PEC09-2320F-S0015virtualkey65210000virtualkey652-PEC092320FS0015

  6. April 5, 2015 at 13:33

    Thanks this helped me so much!

  7. September 14, 2016 at 14:43

    wkladki ortopedyczne

  8. September 14, 2016 at 14:49

    cocina Japonesa

  9. September 14, 2016 at 15:50

    world book online

  1. December 22, 2010 at 21:25

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s