Due to increasing spam attacks, forum registrations are currently paused to keep our community safe and spam-free. Come hang out and stay connected with us on the SimHub Discord: https://discord.com/invite/nBBMuX7!

Catch you on Discord — and thanks for understanding!
Encoders and button...
 
Notifications
Clear all

Encoders and button matrices

1 Posts
1 Users
0 Reactions
6 Views
(@jongen)
Eminent Member
Joined: 5 years ago
Posts: 9
Topic starter  

Hello!

I've been working on a button box, and I'm using four EC11 encoders as part of a button matrix (I have several other buttons on said box). I know how to solder, but electronic circuits, well, that's not my forte.

I've had the same old problem that many have had: upon using one side of the encoder, both sides are activated in quick succession. I've looked at many threads (notably here) and Wotever has hinted that since they have no resistors, that's to be expected. I tried editing the controller's milliseconds from 1 to 100, with the same result. 

I don't have room on my Arduino Micro to have dedicated pins for encoders (8 out of 49 inputs on a grid is far more manageable), so I'm looking for a solution. 

1. Is it possible to somehow have a "pullup resistor" equivalence on the button matrix?

2. If not, what resistance would I need, and how would I need to wire resistors given that it's a button matrix?

3. I guess I could use a second Arduino Micro if it's really not possible to fit it all on one Arduino. Would it be possible to somehow wire/solder/daisychain them so that only a single cable exits the button box?



   
Quote
Share:
📄 Terms & Conditions | 📑 Privacy Policy