www.leniwiec.org

Some time ago I wrote an article about using a rotary shaft encoder (Budujemy cyfrowy zasilacz – enkoder obrotowy w praktyce – sorry only polish version), but it was a very specific situation, in other words it wasn’t a very correct way there. So I decided to write, once again, about encoders and try to explain how to connect and handle it, in a correct way, with avr mcu (in the examples I am using ATmega8A-PU, but it should work on any other eg. ATmega32 or arduino compatible ATmega168/328).

Zdjęcie enkodera

[ Read more → ]