
First time designing a PCB, is this schematic correct for 8 switches + rotary encoder?
Hey everyone, this is my first PCB design ever and I'm building an 8 key macropad with a rotary encoder as a birthday gift for a friend. I've never used KiCad before this project.
What I'm using:
Microcontroller: Seeed XIAO RP2040 8x MX mechanical switches, direct solder, no hot swap sockets 1x rotary encoder module with CLK, DT, SW, plus and GND pins Firmware will be QMK with VIA support
Since I have 8 switches and the RP2040 has enough spare GPIO pins, I wired every switch straight to its own dedicated pin instead of building a row and column matrix, so there are no diodes anywhere on the board. All the switch grounds share one common ground bus back to the MCU. The encoder is wired the same way, three of its pins go to three more dedicated GPIOs, plus goes to 3V3, and GND joins the same shared ground point the switches use.
Attached is the schematic. Since this is my first time doing anything like this, I'd really appreciate if someone could sanity check it before I move on to laying out the actual PCB and ordering it. Is the direct pin wiring approach actually fine here, or am I missing something that would normally need a diode or a pull up resistor I'm not accounting for? Any feedback is welcome, trying to avoid an expensive mistake on my first board.
Thanks in advance.