Author Topic: Request for feedback on atmega32u2 based schematic (Exp60)  (Read 4769 times)

0 Members and 1 Guest are viewing this topic.

Offline feralfoo

  • Thread Starter
  • Posts: 49
  • Location: Melbourne, Australia
  • Software developer and mech keyboard nut
Request for feedback on atmega32u2 based schematic (Exp60)
« on: Sun, 01 January 2023, 20:38:03 »
Happy new year peeps,

I'm taking a stab at an atmega32u2 based custom keyboard PCB called the Exp60 and wanted to ask for feedback on the schematic. You can find all the Kicad 6 files in the following github repo:
https://github.com/christian-schulze/exp60

The schematic:
295154-0

295134-1

295156-2

295136-3

295166-4

295140-5

The project readme covers the design constraints, but to summarise the most important:
  • 60% form factor with arrow keys (roughly GH60 dimensions)
  • standard 2.25U left shift key
  • standard 1U forward slash / question mark key
  • hand solder-able so large SMD footprints
Note: I've chosen the atmega32u2 over the atmega32u4 due to space constraints (32 vs 48 pins).

The matrix is based on the following layout:
295045-6

Couple things I think might be missing:
  • ground planes under USB receptacle, crystal and MCU

I'd love to hear any feedback you have, and please feel free to use any of this in your own designs.
« Last Edit: Wed, 04 January 2023, 15:02:49 by feralfoo »
HHKB Pro JP + Hasu controller, Realforce RF87U55G, G60 Retro, QK65

Offline Applet

  • Posts: 487
  • Location: Sweden
Re: Request for feedback on atmega32u2 based schematic (Exp60)
« Reply #1 on: Wed, 04 January 2023, 02:31:55 »
Looks good. Two things I spotted: Ucap should be 1uF and you'll need a pulldown on HWB for the bootloader to work as expected out of the box. I'd recommend to use PC4 as col8 and just put a pulldown resistor on HWB.

Offline feralfoo

  • Thread Starter
  • Posts: 49
  • Location: Melbourne, Australia
  • Software developer and mech keyboard nut
Re: Request for feedback on atmega32u2 based schematic (Exp60)
« Reply #2 on: Wed, 04 January 2023, 05:31:32 »
Looks good. Two things I spotted: Ucap should be 1uF and you'll need a pulldown on HWB for the bootloader to work as expected out of the box. I'd recommend to use PC4 as col8 and just put a pulldown resistor on HWB.

Awesome, thanks for the feedback @Applet, have updated the schematic and PCB.
HHKB Pro JP + Hasu controller, Realforce RF87U55G, G60 Retro, QK65

Offline Applet

  • Posts: 487
  • Location: Sweden
Re: Request for feedback on atmega32u2 based schematic (Exp60)
« Reply #3 on: Wed, 04 January 2023, 06:25:38 »
Currently, you have different ground symbols for shield and signal ground, but they are not connected. Just mentioning so you are aware that shield is floating (unless I'm mistaken on KiCad behavior).

Offline feralfoo

  • Thread Starter
  • Posts: 49
  • Location: Melbourne, Australia
  • Software developer and mech keyboard nut
Re: Request for feedback on atmega32u2 based schematic (Exp60)
« Reply #4 on: Wed, 04 January 2023, 07:35:09 »
Currently, you have different ground symbols for shield and signal ground, but they are not connected. Just mentioning so you are aware that shield is floating (unless I'm mistaken on KiCad behavior).

Ah so the SHIELD connector on the USB receptacle? Looking at the following two projects:

It looks like signal ground is connected to shield via a ferrite part:

Unified-Daughterboard
295158-0

JP60
295160-1

I originally had this in my design (based on the JP60 by ai03) but removed it thinking it was not required. Do you think I should add it back in?
« Last Edit: Wed, 04 January 2023, 07:40:05 by feralfoo »
HHKB Pro JP + Hasu controller, Realforce RF87U55G, G60 Retro, QK65

Offline Applet

  • Posts: 487
  • Location: Sweden
Re: Request for feedback on atmega32u2 based schematic (Exp60)
« Reply #5 on: Wed, 04 January 2023, 14:08:17 »
Yeah, I'd recommend it

Offline feralfoo

  • Thread Starter
  • Posts: 49
  • Location: Melbourne, Australia
  • Software developer and mech keyboard nut
Re: Request for feedback on atmega32u2 based schematic (Exp60)
« Reply #6 on: Wed, 04 January 2023, 15:15:52 »
Yeah, I'd recommend it

Cool cool, ferrite part wired in. Appreciate the time you've taken to look through all this!
HHKB Pro JP + Hasu controller, Realforce RF87U55G, G60 Retro, QK65