1
\$\begingroup\$

I'm a beginner when it comes to schematics. I'm attempting to create a USB-C + Atmega32u4 schematic. Later I will add cols and rows for keyswitches (usb keyboard).

Below is the schematic I came up with so far. It's based on combining these two resources:

https://github.com/ruiqimao/keyboard-pcb-guide

https://www.reclaimerlabs.com/blog/2017/1/12/usb-c-for-engineers-part-2#block-yui_3_17_2_1_1484205702180_109266

However I have some questions regarding the schematic:

  1. The 10K resistor symbols I used have a line through them. What does this line mean?
  2. The reset switch and the USB-C port seem to have multiple pins for the same purpose. I connected these together, is this required? What effect is there when wires go from serial to parralel back to serial?
  3. A lot of wiring is connected to VCC label, couln't I just have connected all pins in this circuit to VCC, and not drawn any of those lines (4 VBUS pins on USBC + 4 Capacitors + UVcc pin on atmega)?
  4. Are the 22ohm resistors on D+ and D- also the correct ones for USB-C?
  5. Would my schematic work correctly?

schematic for usb-c + atmega32u4

\$\endgroup\$

1 Answer 1

2
\$\begingroup\$
  1. It's not a symbol for a resistor, it's a symbol for a thermistor.

  2. That has two compltely separate anwers. One thing is what USB standards mandate and allow and what happens if you don't follow them. For example if you had left DP and DN of the other side disconnected, your device would work only when connector is plugged in one orientation. For the pushbutton it's up to you how you want to utilize the pins of the button, but one connection is enough and no parallelization is required.

  3. Yes, that's one thing what the VCC and GND symbols are for, so your design does not look like bunch of wires wiggling everywhere.

  4. They are correct. It has nothing to do with USB-C. It's about the AVR and it requires them not matter which USB connector you use.

  5. It depends what you expect for correct operation, but safe to say that no. With those resistance values on CC pins, the PC would not be able to detect properly that a device needing power is plugged in, so the PC would not even try give power out to the device.

\$\endgroup\$
3
  • \$\begingroup\$ As for 5., shouldn't there be a pull up resistor per cc line (for usb 2.0 designs)? Or should it be a lower resistance per resistor? \$\endgroup\$
    – degebine
    Jun 23 at 9:36
  • \$\begingroup\$ Definitely not a pull-up. But I am sure you can verify the correct resistance with a web search. \$\endgroup\$
    – Justme
    Jun 23 at 9:40
  • 1
    \$\begingroup\$ @degebine The CC lines require each a 5.1Kohm (20% tolerance or better) resistor. 10k does not fall into that range \$\endgroup\$
    – Ferrybig
    Jun 23 at 9:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.