Wiring rotary encoder with breakout board

hi im building a 9 push button and 5 rotary encoder button box my encoders have a breakout board .. im confused on how to wire the breakout boards i havent seen any videos or post of them being used thanks in advance

Wire GND to GND, A and B to digital inputs with pullup resistors.

1 Like

So the breakout boards are different to any you have seen in videos or posts? You should post a link to the details.

1 Like

How do they differ from something like this?

image

This is the difference I have the rotary on the left all videos I found are for the right version

The left hand one likely has SMD resistors on the bottom and hooking a logic voltage to + would pull up the CLK, DT, SW pins as @DrDiettrich suggested in #2. You likely do not need external resistors.

Are there resistors on the bottom, like:

image

Maybe post a schematic of what you know how to do from your video/tutorial research?

I was planning on using 5 button matrix . 4 with 3 buttons and 1 with 2 buttons . im using 5 encodes . the video had way more buttons. they had 5 5button matrix and had 4 encoders ill show the pics from the video and here is a photo of how far i got i drew on it to give a idea of how i was going to go about lessoning then buttons and still follow the video.. i feel extremely stupid asking :disappointed: ..



I'd bet that the code would have lines like:

pinMode(Encoder1A,INPUT_PULLUP);
...

If so, you could use the code as-is and ignore the + pin and use as above. Or if not, you could hook the + to a logic-level power source and use as above.

ok i get it now i feel stupid for not seeing it thanks a bunch .. i reread your last post over and over it finally clicked .. im sure that code will help here shortly

on the second ground they have and i dont would i use my ground for the push button ?. i can run all my grounds to 15 then my switch to 14 ,16,10,9,8 ?
then my clk/ out b to tx,2,4,6,8 then my dt/ out a to rx ,3,5,7,9 and ignore the second ground on there illistration?

That sounds fine. The breakout board connects the grounds on the switch to the ground pin, so it should work.

A Vcc pin has no use except powering on-board pullup resistors.

thanks ill post back but i realy appreciate your help!!! Gonna give it a go now..

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.