geekhack

geekhack Projects => Making Stuff Together! => Topic started by: feralfoo on Sun, 01 January 2023, 20:38:03

Title: Request for feedback on atmega32u2 based schematic (Exp60)
Post by: feralfoo 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:
[attach=5]

[attach=2]

[attach=6]

[attach=3]

[attach=7]

[attach=4]

The project readme covers the design constraints, but to summarise the most important:
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:
[attach=1]

Couple things I think might be missing:

I'd love to hear any feedback you have, and please feel free to use any of this in your own designs.
Title: Re: Request for feedback on atmega32u2 based schematic (Exp60)
Post by: Applet 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.
Title: Re: Request for feedback on atmega32u2 based schematic (Exp60)
Post by: feralfoo 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.
Title: Re: Request for feedback on atmega32u2 based schematic (Exp60)
Post by: Applet 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).
Title: Re: Request for feedback on atmega32u2 based schematic (Exp60)
Post by: feralfoo 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
[attach=1]

JP60
[attach=2]

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?
Title: Re: Request for feedback on atmega32u2 based schematic (Exp60)
Post by: Applet on Wed, 04 January 2023, 14:08:17
Yeah, I'd recommend it
Title: Re: Request for feedback on atmega32u2 based schematic (Exp60)
Post by: feralfoo 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!