Hey all!
I'm trying to design a PCB for an existing keyboard I have to be able to use hall effect switches. This is the second PCB I'd get made, the first one was a smaller project where I experimented with the same hall effect sensors already.
The board would take the data lines, power and ground from a USB daughter board, then all goes into a STM32. For the sensors, I'm using 5 multiplexers with 16 inputs each, the output of each multiplexer goes into my attempt at an ADC frontend with an RC low-pass filter and an Op-Amp with unity gain. The output of the Op-Amps goes directly to the ADC pins of the STM32 chip.
The stack-up is Signal-Power-Ground-Signal, with assembly and most signals being on the bottom layer. Ground is just a big pour while I'm splitting power into digital and analogue +3.3V sections.
It's the first time I use many of these things, multiplexers, Op-Amps and the RC filters being some of my concerns. Also the board being quite big sounds scary.
The multiplexer select pins also look very wonky, but I didn't see how to route them without crossing them on top of each other with vias and making them switch reference planes all the time. When I change the multiplexer select pins I'd need to wait for quite a while (1 or 2 microseconds) to let the RC filter and Op-Amps have a stable output, so I was hoping it's fine to have those lanes as they are.
Any advice about my worries here or anything else is hugely appreciated! I'm very new to this and I don't know what I don't know about
Sorry as well for the images of the board, I hope they make some sense, it was hard to get good screenshots with the board being that large.
Cheers!
Ruben.
Edit: Added the schematic as a PDF, note that it's at the bottom of the list without a thumbnail!