Single board for encoders and LCD (inspired by Keeze101 idea)

Hi boys!
Following the idea of Keeze101 reported in “Success cases” topic I also thinked to use only one board to integrate the four encoders and the display.
This for two main reasons:

  1. In order to have a minor number of “free” cables in the Zynthian box
  2. In order to not use the male IDC connector in the middle of flat cable with all Dupont single cables connected to him (During the development of my first prototype I saw that sometimes I had disconnection of the Dupont cables (due to the boards positions for soldering etc.).
    So, I started from this generic board from Reichelt https://secure.reichelt.com/Prototyping-Boards/RE-321LF/3/index.html?ACTION=3&LA=5700&ARTICLE=105493&GROUPID=7787&artnr=RE+321LF
    I attached on it two male IDC connectors (one 40 pins for RasPI connection and one 26 pins for LCD), then I made all connections between RasPI connector and the other parts.
    Note that I also removed the capacitors for encoders because I saw that with my encoders (they are https://secure.reichelt.com/Rotary-Pulse-Encoder/STEC11B13/3/index.html?ACTION=3&LA=5700&ARTICLE=73916&GROUPID=3714&artnr=STEC11B13) no switch rebound occurred.

This is the result (but at the moment I am thinking to produce a PCB ad-hoc):

Well… I know that orange cable whould be better done! :wink:
Bye,
Marco

4 Likes

Hi Marco!
Congratulations! It looks great!! Really great!
A little appointment about capacitors and rebound. Low level software that manage encoders and switches (zyncoder library) ignore spurious rebounds, so you can’t “see” the rebounds althought it happen. Capacitors don’t avoid completely the rebounds, but it reduce the number, so we avoid some IRQ calls that consumes high priority CPU cycles. I think it’s better to put the capacitors.
Another question is: What is the optimal value for those capacitors? I have not studed in deep this question … i used a value that i readed somewhere :wink:

Best Regards!

2 Likes

HI José!!
Thank you very much for your congratulations, I’m honoured of that!:blush:
Ahhhh…now I understand the real reason for the caps! I think I will add them! :wink:
In my opoinion looking at the frequency of the rebounds, the value you used should be fine (I also readed somewhere that value…).
Thank you again!!:slight_smile:

Cheers!!

1 Like

Hi @marcolastri,

very nice! I thought also of creating a single PCB for pluging the TFT onto. But currently there is no time for that.

Thanks for the pics and description!

Regards, Holger

1 Like

Great thinking. I made a similar veroboard with the encoders & IO expander for my project.

I made a schematic in Eagle at the same time. It’s an easy task to layout a circuit board from this which I could offer back to the group if there’s an interest. It would take a bit of reviewing to make sure that the encoders are in the right place to fit in the official box.

1 Like

Dear Andy,thanks for your contribution.
And excuse me for this very late reply… too many work engagements!! :frowning:
I would like to see your Eagle project!!
Thank you again! !

Hi Marco!

That Eagle schematic is quite out of date. This was for I was for the single board with IO Expander and 4 encoders that I was building. I made a prototype with veroboard, but gave up because I had horrible mechanical problems. It was very difficult to drill the holes for the encoders and align them to the cutout for the display. Then I discovered that I’d placed the 40 way connector in the wrong place & gave up (after a lot of screaming…)

I’ve learnt from my mistakes & I’m concentrating on my second build. It uses a 5 inch HDMI display. I’ve designed a ‘breakout’ board that plugs to the Raspberry PI with wired connections to the encoders. The board is on it’s way from China. I’ll share details with the group when it’s all tested.