Encoder on Pro Micr...
 
Notifications
Clear all

Encoder on Pro Micro not working

5 Posts
2 Users
0 Reactions
1,916 Views
 Hurz
(@hurz)
New Member
Joined: 3 years ago
Posts: 3
Topic starter  

Hello,

I have some problems with my pro micro board in my button box, the Encoder and the encoder switch do not work.

I wired buttons in 2 rows and 6 columns, 1 encoder with switch. The buttons work all fine, except the encoder and the encoder switch.

I wired all like on Simhub, no gnd and no vcc.

The next issue, button 15 is always on, butt it has no effect.

Does anybody knows what is wrong?

This topic was modified 3 years ago by Hurz

   
Quote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 736
 

Hi ! Concerning the button have you tried to check that it's working correctly using a voltmeter in continuity mode ? I faced some issues in the past with dead buttons when soldering them, some of them are mainly in soft plastic and if you leave the soldering iron a bit too long they will go wrong.

Concerning the encoder are you using a breakout board version with resistors as recommended ? https://github.com/SHWotever/SimHub/wiki/Arduino-Rotary-Encoders  
If you are not using a version with resistors you will need to enable the pullup resistor option at sketch setup, but this does not works with all pins of the arduinos (depending if the pin can do it or not) 


   
ReplyQuote
 Hurz
(@hurz)
New Member
Joined: 3 years ago
Posts: 3
Topic starter  

Hi,

Thx for the fast answer. All 12 buttons are working fine. As you can see on the picture I linked, the encoder and its button should be button 13, 14, and 15. But there is no reaction. Controler button 15 is always on (?).

I used a breakout version.

Did I wired wrong?

The plus and ground are not connected, that is right?

And why is 15 always on?... I tried 2different encoders, so the encoder seems to be ok.

 


   
ReplyQuote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 736
 

Ah indeed, vcc and gnd must be connected to the arduino otherwise it won't work 😉 That's also why the button 15 will stay on


   
ReplyQuote
 Hurz
(@hurz)
New Member
Joined: 3 years ago
Posts: 3
Topic starter  

It works!!! 🤩 🤩 🤩 

Many thanks for the fast help! 👍 👍 👍 


   
ReplyQuote
Share: