Arduino Code for Buffalo II DAC: Rotary Encoder Connections
Leave a comment Cancel reply
Recent Posts
- 10-Year old SMPS design still an excellent performer
- New Review and In-Depth Analysis of Hypex UCD-180HG
- Alpair 12p In Cabinets
- Firmware v 0.99
- Soekris DAC: Modding VRef
- R2R DAC Benchmark Filters (for now)
- dam 1021 R2R More Mods…
- Digital Filters for Soekris R-2R DAC
- Soekris dam 1021 R-2R DAC ILLUSTRATED GUIDE
- BBB DAC DEVELOPMENTS
- dam1021 R-2R DAC MODs
- Soekris dam1021 Build
- Raspberry Pi 2
- The Soekris R-2R DAC: Technical Details
- INSIDE MARANTZ AV RECEIVER
Latest Comments
Arduino
Theory
- Choosing and Using Bypass Caps
- Complete List of Linear Tech Application Notes
- Decoupling, Bypassing, Layout
- FIR Filter Tutorial
- Grounding Data Converters
- Intro to FIR Digital Filters
- Intuitive Guide to Principles of Communications
- Rakon Jitter Whitepaper
- Reduce EMI, RFI
- Successful PCB grounding with mixed-signal chips
- The Scientist and Engineer's Guide to Digital Signal Processing
- Tutorials and other Resources
- USB Power
Tools for DIYaudio
- % to dB Calculator
- Audio Equipment Database
- Best Solder
- Circuit simulation
- Generate DSD128 and DSD256
- Hex<->Binary<->Decimal Converter
- IC Manufacturer's LOGOs
- Inductor markings
- Inside Audio Equipment
- Jitter Calculator
- LOTs of Calculators
- Schematics
- Service Manuals
- SMD Codebook
- SMD Marking Code Search
- SMD Markings
- Tantalum Capacitor Markings
Understanding Audio & Reviews
Join 330 other subscribers
Hey,
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:
http://forum.sparkfun.com/viewtopic.php?p=65052
Cheers!
Hi,
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.
Have you tried the debounce hardware filter in your setup, I cannot get it to work?
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.
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.
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…
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
Thanks this helped me so much!
wkladki ortopedyczne
cocina Japonesa
world book online