25
\$\begingroup\$

Whats the standard for denoting the orientation of an LED (or diode in general) when printing a PCB? I'm drawing up a design for students to use in a course and want to make sure I'm not misleading them.

\$\endgroup\$
7
  • \$\begingroup\$ why not just have the LED schematic symbol, facing the proper direction, printed on the silkscreen right besides the footprint? \$\endgroup\$
    – Funkyguy
    Commented Jan 11, 2016 at 19:02
  • \$\begingroup\$ I'm certainly no opposed to doing that, I'm more wondering if there exists some standard thats perhaps more official or widely used. \$\endgroup\$
    – kaytea
    Commented Jan 11, 2016 at 19:05
  • \$\begingroup\$ I usually show the outline of the part, and have a line drawn on it to denote the cathode side like in this pic robotroom.com/PCB/Silkscreen/… \$\endgroup\$
    – I. Wolfe
    Commented Jan 11, 2016 at 19:18
  • 2
    \$\begingroup\$ through hole or surface-mount? \$\endgroup\$
    – W5VO
    Commented Jan 11, 2016 at 21:48
  • \$\begingroup\$ My LED-backlit keyboard has a "+" next to where the long lead on the LED goes. This makes it a nearly-thoughtless exercise to replace them as they fail. \$\endgroup\$ Commented Jan 11, 2016 at 21:48

4 Answers 4

14
\$\begingroup\$

Make a pad for the cathode square. This works even if your PCBs don't have silk screen. If you do have silk screen on the PCB, then draw a flat on the cathode side which would correspond to the flat on the actual part.

enter image description here
enter image description here (mechanical drawing for a typical T-1 3/4 throughole LED from datasheet)

Orient all diodes in the same direction. It reduce errors during manual assembly. This guideline applies to other types of polarized components too.

enter image description here
enter image description here

The PCB layouts above were sketched in ExpressPCB. Typically, the footprints for diodes that come in the libraries with PCB layout packages have some way of showing polarity.

related: How Should You Mark Your Diodes? (write-up in a free industry journal)

\$\endgroup\$
1
  • \$\begingroup\$ For some reason all the solder practice PCBs I have seen use square pad for LED's anode. \$\endgroup\$
    – Ark-kun
    Commented Apr 4, 2021 at 6:49
6
\$\begingroup\$

I don't think there is a standard, but there definitely is some sort of convention. If you see a design with a diode and some sort of marking, then your best bet is that the marked side is a Cathode.

I tend to follow the Diode Marking Guidelines from Screaming Circuits and place a little diode symbol next to my diodes. Only in very tight layouts I will revert to a "dot" to mark the cathode.


Diode Marking Guidelines

\$\endgroup\$
6
  • 1
    \$\begingroup\$ In the KiCad libraries, the SMD diode anode is marked with a wider or heaver silkscreen outline on that side. For through-hole LED's, a silkscreen line matching the flat edge is commonly seen. [Edited by a moderator.] \$\endgroup\$
    – rdtsc
    Commented Jan 11, 2016 at 19:13
  • \$\begingroup\$ @rdtsc Really? Marking the anode on the PCB is quite unconventional, especially since most components have a "Cathode Band" marking. \$\endgroup\$
    – Armandas
    Commented Jan 11, 2016 at 19:19
  • \$\begingroup\$ @rdtsc It all looks good, at least in this drawing: kicadlib.org/modules/BW_Dioden_SMD_RevA_06Sep2012.pdf \$\endgroup\$
    – Armandas
    Commented Jan 11, 2016 at 19:21
  • 1
    \$\begingroup\$ Oops I meant Cathode. \$\endgroup\$
    – rdtsc
    Commented Jan 11, 2016 at 19:30
  • \$\begingroup\$ I have seen 'K' used more frequently than 'C' -- C is often a capacitor prefix is the reason I think folks try K out there. For SMT packages, I do 'K', for through-hole I draw the symbol of the diode under it's footprint and then also mark with a 'K'. \$\endgroup\$ Commented Jan 12, 2016 at 0:27
4
\$\begingroup\$

Usually the cathode is marked with a bar similar to what Nick Alexeev showed. But there is one simple advice: put a marking that matches the marking on the component!

If it's a round 5mm LED, draw the cut-off edge of the housing. If the component has a marking on its body, try to copy it to the silk screen.

Nothing is more irritating than non-matching markings. For example, I regularly use a 0402 LED with a "T"-shaped marking on its bottom. Unfortunately the cross-bar of the T is on the anode side. Always drives me crazy figuring out what the right orientation is...

\$\endgroup\$
1
  • \$\begingroup\$ See below by Screaming Circuits. A "T" on the bottom of an SMD diode cannot be relied on (only for some parts is the cross bar on the anode side.) \$\endgroup\$
    – bootchk
    Commented Sep 15, 2017 at 0:50
2
\$\begingroup\$

Screaming Circuits weighing in here... The closest thing to an actual "standard" is the cathode bar. The problem is that a fair number of people mark their diodes with a minus sign, which usually indicates the cathode, but not always. FLyback, Zeners, TVS and a few others generally have the anode on the negative side.

The biggest problem occurs with small surface mount LEDs. There is no standard for polarity marking on the part. Even worse, some part manufacturers have been known to use the same marking as both an anode and cathode indicator.

The diode symbol, if you can fit it, is about the only way to really get rid of this ambiguity. I've since updated the document referenced to indicate that "K" is more commonly used to indicate Cathode than "C", to reduce possible confusion with a capacitor.

Marking the Anode is not common, but some manufacturers do that, and some designers do when they've got common anode multi LEDs on the board.

\$\endgroup\$
3
  • \$\begingroup\$ Hi Duane, good to see you post here. Do you have a link to the updated document? \$\endgroup\$
    – Armandas
    Commented Jan 12, 2016 at 20:46
  • \$\begingroup\$ Armandas - Here's the lates version of the white paper: screamingcircuits.typepad.com/files/… \$\endgroup\$ Commented Jan 12, 2016 at 22:36
  • \$\begingroup\$ Thanks. The LED example from the blog is a nice addition to the paper. \$\endgroup\$
    – Armandas
    Commented Jan 12, 2016 at 22:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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