I’m new to KiCad but worked with other software. Got some strange issues that I just can’t figure out and hopefully it is just comething simple.
Fresh download of V6 and completed (almost) the first schematic. When I run the DRC check, it states the ground and shield not connected on the USB, which it is. It states VCC is not connected, which it is. When converting to PCB the keyswitches do not have a ground, just the two pins are connected to the same IO of the Atmega.
I’ve replaced symbols, changed the layout and still the same think. Multiple errors. Any help please.
The reset switch does not connect to the reset pin, just ground either side. The
Due to D1 between VBUS and +5V, you’ll need to attach a PWR_FLAG to +5V. There’s a FAQ about PWR_FLAG and when to use it. The GND is already a power output due to the pin type of the USB socket that’s why it isn’t needed there.
You should check if pin 33 of the MCU can be connected to ground like that, it’s typed as bidirectional.
The other errors are just due to unconnected pins. Use a no-connect flag on those pins to silence this warning.
Kicad treats any un-connected pin in the schematic as an error.
If you want to leave pins open, then add a no-connect flag to them.
For the shorted switch:
Is the Reset label used anywhere else in the schematic? You can use: Schematic Editor / Edit / Find [Ctrl + F] for that.
If you’re still having some troubles tomorrow, it’s easier for us if you just zip the project and upload it here. Working with the actual project to find errors is easier then working from screenshots.
Also turn on hidden pins. This switch symbol may have hidden pins 2 and 4 on top of pins 1 and 3 respectively. You may need to change to a different switch symbol that only has pins 1 and 2.
This is because the link between schematic symbol pins and PCB footprint pads is done by the pin/pad number. Pin number 1 will connect to pad number 1, pin number 5 will connect to pad number 5, pin “number” 3C (for example on a pin-grid array chip) will connect to pad “number” 3C. I put number in quotation marks for the last example because KiCad will allow any alphanumeric symbols (at least ASCII, I don’t know if other international symbols supported by UTF will work) for pin names. The exception to watch out for is the tilde symbol “~” because that historically has been used by itself as a representation for NULL so I don’t know how the current codebase will handle it. Keep to combinations of arabic numerals and english alphabet letters to be on the safe side.
A surge protector meant to be in parallel with the power input. If you were intending to protect against reverse polarity, an ordinary Si rectifier would do the same job (and lose you 0.6V from the 5V supply). Besides a connector like micro-USB would prevent accidental reversal.