How to get counts from bourns EMS22A absolute rotary encoder

What's that smell?! Ask your Pi!
Post Reply
breadcat248
n00b
Posts: 1
Joined: Mon May 13, 2019 3:00 am

How to get counts from bourns EMS22A absolute rotary encoder

Post by breadcat248 » Mon May 13, 2019 3:07 am

Hello fellow users, i am trying to interface an absolute rotary encoder (0-1023 counts) with the RPi to measure change in rotation. So far i've been following this https://hareshmiriyala.wordpress.com/20 ... pberry-pi/ here, along with https://github.com/HareshMiriyala/Absol ... encoder.py. The problem now is that I'm stuck with only "1023" being displayed. Just started learning 2-3 weeks ago and i have no idea which area to correct upon. Any help would be greatly appreciated!

Post Reply