Mysterium Keyboard – Fixing ATmega32a Malfunctioning and USB Device Not Recognized

atmegakeyboardmicrocontrollersolderingusb

I tried sourcing all the parts for this keyboard.

I soldered everything up and when I plug in the keyboard I immediately get an error message "USB device not recognized":

enter image description here

My first though was that I had a cold joint somewhere (specifically on the USB-C port) but after some quick continuity checking, I think the USB-C port is fine.

My second thought that maybe since I had to switch my capacitor from this capacitor to a cheap one I got in my electrical engineering program that something might be off there. I don't think it should matter for this though since they are both ceramic and .1uF.

If you would like to see more of the schematic, view the github linked above. For those of you interested the schematic for the type-c port is here:

I checked the fuse and it is still good.

Ultimately I need to know if this could be software related or if there has to be something wrong with the way I worked the board. I am not sure exactly what else to check.

Best Answer

I soldered everything up [...]

Not enough. You also need to program the µC chip.

The device is detected via th 1.5k resistor on the D- line. The error message from the OS is because the controller did not respond properly to the USB request.

Related Topic