UltimateHackingKeyboard / uhk60v1-electronics

The schematic and PCBs of the UHK 60 v1
GNU General Public License v3.0
167 stars 23 forks source link

USB line impedance seems to be really bad #41

Closed dpiegdon closed 5 years ago

dpiegdon commented 5 years ago

In the PCB production version the USB signals are of very low quality. That probably explains some of the USB issues I have seen over the last months using my two UHKs.

UHK-USB-signal

In this capture, a reference signal (orange) is compared to the UHKs signal (yellow). An impedance mismatch is obvious. The signal corresponds to a UHK keyboard with stock USB cable connected to a USB port with an immediate transceiver. When connecting other devices to this setup, the signal looks almost like the reference.

I have a few suggestions for the next PCB revision (if there will be one, which I really hope):

I know that these recommendations are coming very late and that you very likely already know about these issues and have thought about how to fix those, if ever. But I was missing any reference on the USB issues I have seen and thought that there should be at least a ticket on this.

Just for completeness, here are a few things I have seen over the last month:

dpiegdon commented 5 years ago

Oh I forgot to note down the version. On the PCB there is a sticker with:

UHK60 V7.8 02578 2018/09/28

mondalaci commented 5 years ago

Thanks so much for your detailed feedback, and sorry about the issues you've experienced, David!

Admittedly, we haven't examined USB line impedance thoroughly because USB has been very stable for most so far. We've received about a dozen reports which may be related to this, and so far each of them could be solved by connecting the UHK via a (powered?) USB hub, not connecting it via a hub, or using a less noisy power supply.

The dangling traces are for testing, indeed. We'd leave them the way they are, especially if they don't make a change because they're very useful for factory testing.

I'm closing this issue because we can't do anything for the current UHK revision, but we'll make a better job for the next revision.