Rotary Encoder issues.

Hardware-related questions that don't fit into any of the specialized hardware categories go here.
Post Reply
User avatar
thedudester80
Posts: 16
Joined: Sat Jun 18, 2016 7:31 pm
Location: KC Missouri
Has thanked: 8 times
Been thanked: 13 times

Rotary Encoder issues.

Post by thedudester80 » Mon Apr 02, 2018 10:23 am

Hey guys,
Ive been working on a gaming project for awhile that uses a rotary encoder for left and right for games like pong or tempest. I really enjoy these kinds of games and a D pad just doesn't do them justice. Anyway I have setup gpio inputs for keyboard on retropie and the rotary encoder is recognized but I'm getting the same input for both turning directions. So I can set it to right or left but I can't have both. Another problem is that it holds for half turns and I can not continuously turn it to make assets move in the game. For example the main menu. Every click turn is not recognized but if I do half turns it holds that input.

Here is the Rotary encoder I'm using. https://www.amazon.com/Cylewet-Encoder- ... oder&psc=1
with a Pi Zero
I have Ground to pin 14
+to pin 1
Clk to pin 7
DT to pin 10
SW to pin 15
Any help would be greatly appreciated :D

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest