joric / nrfmicro

A Pro Micro alternative for wireless keyboards
https://github.com/joric/nrfmicro/wiki
The Unlicense
1.5k stars 129 forks source link

Heating of nrfmicro #38

Closed jrhrsmit closed 3 years ago

jrhrsmit commented 3 years ago

In wake of your reply on a PR I submitted on ZMK, I went on investigation. It took me a while to understand what you were talking about (hence the confusing replies), but I think I understand your issue now, so I took the liberty of checking out your nrfmicro schematic. I assume you were talking about D1 in the schematic of the nrfmicro. It seems D1 uses a SOD-123 package, and according to this datasheet the 1N5819 has a forward voltage of ~0.4V at 0.6A (max LDO current, but 28 SK6812s may draw more than that), and with a typical thermal resistance of 250 degC/W, this results in a package temperature rise of 60 degC. Thus it seems that it is indeed the cause of the heating problem you experienced. The solution would be using a diode with a lower forward voltage and/or lower thermal resistance.

joric commented 3 years ago

1) D1 is SOD-323 (much smaller than SOD-123) on all the boards except ancient 1.1 ones. I did not check 1.1. 2) Wasn't 1N5819 issue for me. BAT60 in SOD-323 package heats up too despite it's rated 3A.

I've covered it here https://github.com/joric/nrfmicro/wiki/RGB#diode-overheating-issue but I'm really not sure which diode could solve the problem. Seems like pro micros don't have this issue and their power circuit is very similar except they use larger (SOD-123) diodes marked CE (can't really find which ones, BAT54H?).

I'll use larger (SOD-123) diodes for the PCBA assembly maybe they have better heat dissipation. Sadly JLCPCB only has SOD-123 B5819W in their basic inventory, the rest are DO-214 (5.5x2.9mm) https://jlcpcb.com/parts/componentSearch?searchTxt=schottky

jrhrsmit commented 3 years ago

Ah forgive my shortsightedness. It indeed seems the BAT60 is the best JLC has to offer for SOD323 packages. However, I just checked out the layout, and it seems the diode has no copper pour/plane to dissipate power to (which can make a significant difference). You could consider using a 4-layer PCB, using the middle layers as ground and VBUS (and connecting the VBUS pin with vias to that layer). Another option could be increasing the copper area by using copper pours attached to the pads of the diode on the top layer. Other traces and vias should then be moved away as far as possible to increase the copper area. There are some whitepapers available on this subject.

Anyway, as I see that you've explored this problem already, I'll just close this issue.