I was just reviewing my first pcb I want to send off for production and noticed that the schottky diode symbol on the f.fab layer looked reversed to me. I wouldn’t call myself an expert on electronics so I wanted to double check here. Is the symbol on the F.Fab layer reversed? The blue arrow indicates the flow of electricity from the usb power supply and the yellow arrow indicates the flow of electricity to the rest of the board.
The symbol on the F.Fab is not reversed. The pin numbers in the schematic symbol are reversed.
Usually, cathode is pin 1 and anode is pin 2.
From the kicad point of view, it doesn’t matter which pin is number 1 or 2. What is important is the pin matching between schematic symbol and footprint. Both direct or both reversed.
In your case it seems that pins don’t match.
My guess is you took a symbol meant for simulation instead of one meant for pcb design. Sadly spice choose a different pin numbering scheme to the pcb design world (back when these decisions were made nobody imagined that the same software solution will ever be used for pcb design and simulation.)
Thank you for pointing this out! Very possible, I made the schematic symbol myself. And I think I fiddled around with the footprint pins as well as I was confused about the issue.
I am afraid I am to blame for this as I made the symbol myself
However I am happy you guys pointed this out. I won’t make this error in the future
So I changed the symbol in my schematic to the kicad schottky diode one (which I could not find for some reason when I was still making the schematic a couple weeks ago. I was still very new to KiCad at that time). This is how it looks like now.
That is the basic idea. Delete the “old” footprint for D4 and park the “new” footprint in its place. (The existing traces may be OK as they sit . . . or you may have to shift the trace connecting to C8 by 10 or 15 mils toward the top of the image.) Verify that your netlist is up-to-date. (Looks like you have already done this.) Offer up sacrifices, rituals, and prayers to the appropriate deities. Click the “Run DRC” selection . . . . and . . . . SHAZAM! Your design passes with no DRC squawks!
If you have defined the drawing origins for the footprints at the geometric center of the part, the “Properties” of the “old” footprint contain the X-Y coordinates that you can copy over to the “new” footprint before deleting the “old” footprint.
I’ve been burnt with this pin numbering reversal due to how the schematic symbol and footprint library models were created earlier. Since then, I made it a point to make sure I edit the symbols and footprints both to use “A” (for ANODE) and “K” for (CATHODE) as PIN NUMBERS. Yes, the pin numbers don’t really have to be Numbers - you can assign alphabetic characters. That makes it very unambiguous.
Only problem with that is that you now need a sot23 footprint for a diode, one for a transistor, …
As footprints are much more closely tied to manufacturing i rather have only one footprint per physical package and make the correct connection via fully specified symbols.