TExcelTAD
Home › EE Foundations: Units, Measurement, Safety & the Lab Notebook › Identifying Components and Reading Datasheets

Identifying Components and Reading Datasheets

A bag of parts arrives: black cylinders with a grey band, clear domes with two legs of different length, little black half-moons with three legs, and an 8-pin chip with a dot in one corner. Before any of them goes into a circuit you need to know what each part is, which pin is which, and what it can take. The first two come from the body and its markings; the third comes only from the datasheet. This lesson teaches you to identify common parts and to read a datasheet the way engineers do: limits first, typical values last.

Intuition: packages and pin 1

diode band = K AKD1 1N4148-type LED A (long)K (short,flat rim) TO-92 123 flat face to you;pinout from datasheet DIP-8 (top) 1234 5678 anticlockwise from pin 1
Part How to recognise it Which pin is which
small-signal or rectifier diode glass or black cylinder, two leads, printed number (e.g. a 1N4148 type or 1N400x type) the band marks the cathode (K); in the symbol, the bar
LED coloured or clear dome longer leg = anode (A), flat on the rim and short leg = cathode; check with the meter's diode test
transistor in TO-92, SOT-23 or TO-220 three legs, a part number on the flat face no universal pinout: E-B-C, C-B-E, G-D-S all exist; always look it up
integrated circuit in DIP, SOIC, QFN many pins, part number, date code notch or dot marks pin 1; pins count anticlockwise seen from the top
surface-mount parts (SOT-23 etc.) 2 to 4 character "top marking" codes the datasheet's marking table maps the code to the part

The part number identifies the device; the extra letters (suffixes) often encode package, temperature range or tolerance, and the date code, often four digits (year and week), tells you its age.

Theory: the three tables of a datasheet

A datasheet is a contract. Read its tables in this order:

  1. Absolute maximum ratings. Stress limits. Exceeding any one, even briefly, can damage the part or shorten its life. They are not operating conditions: a part run at its absolute maximum is being abused.
  2. Recommended operating conditions. The range in which the maker guarantees the electrical characteristics: supply voltage, temperature, current.
  3. Electrical characteristics. Measured parameters with test conditions and min / typ / max columns. Min and max are guaranteed (tested or guaranteed by design); typ is only a typical value at stated conditions, often 25 ∘C25\,^\circ\text{C}. Design with min and max.

Graphs follow (typical curves, derating curves) and then the package drawing. A derating curve shows how a limit, such as allowed current or power, falls with temperature:

Iallowed(TA)=Imax⋅T0−TAT0−Tknee,Tknee≤TA≤T0I_\text{allowed}(T_A) = I_\text{max} \cdot \frac{T_0 - T_A}{T_0 - T_\text{knee}}, \qquad T_\text{knee} \le T_A \le T_0

Here is an invented datasheet extract for a red indicator LED, written for this lesson (not any real part):

LED-R3 (invented) Symbol Min Typ Max Unit Conditions
Absolute maximum: forward current IFI_F 30 mA TA≤25 ∘CT_A \le 25\,^\circ\text{C}, derate linearly to 0 at 85 ∘C85\,^\circ\text{C}
Absolute maximum: reverse voltage VRV_R 5 V
Recommended: forward current IFI_F 2 20 mA
Characteristics: forward voltage VFV_F 1.8 2.0 2.4 V IF=20 mAI_F = 20\ \text{mA}
Characteristics: luminous intensity IVI_V 40 80 mcd IF=20 mAI_F = 20\ \text{mA}
3018.7512.50 0256085 I_F allowed (mA)T_A (deg C)

Worked example: an LED resistor from the table

Given: the LED-R3 above on a VS=5 VV_S = 5\ \text{V} supply (±5 %\pm 5\ \%), target IF=10 mAI_F = 10\ \text{mA}, E12 resistors ±5 %\pm 5\ \%, ambient up to 60 ∘C60\,^\circ\text{C}. Find: the series resistor, the worst-case current and whether the derated limit holds. Solve: with typical values R=(VS−VF)/IF=(5 V−2.0 V)/0.010 A=300 ΩR = (V_S - V_F)/I_F = (5\ \text{V} - 2.0\ \text{V})/0.010\ \text{A} = 300\ \Omega; choose 330 Ω330\ \Omega from E12 (the value above, so the current is a little lower). Worst case, highest current: VS=5.25 VV_S = 5.25\ \text{V}, VF=1.8 VV_F = 1.8\ \text{V}, R=313.5 ΩR = 313.5\ \Omega, giving (5.25−1.8)/313.5=11.0 mA(5.25 - 1.8)/313.5 = 11.0\ \text{mA}. Lowest: VS=4.75 VV_S = 4.75\ \text{V}, VF=2.4 VV_F = 2.4\ \text{V}, R=346.5 ΩR = 346.5\ \Omega, giving 6.8 mA6.8\ \text{mA}. Derated limit at 60 ∘C60\,^\circ\text{C}: 30 mA×(85−60)/(85−25)=12.5 mA30\ \text{mA} \times (85 - 60)/(85 - 25) = 12.5\ \text{mA}. Check: 11.0 mA<12.5 mA11.0\ \text{mA} < 12.5\ \text{mA} and inside the recommended 22 to 20 mA20\ \text{mA}. The resistor dissipates at most (3.45 V)2/313.5 Ω=38 mW(3.45\ \text{V})^2/313.5\ \Omega = 38\ \text{mW}, fine for a 0.25 W0.25\ \text{W} part.

Code: worst case from datasheet numbers

python · try it yourself
import itertools

# Invented datasheet-style values for a red 3 mm indicator LED ("LED-R3"), not a real part.
VF = {"min": 1.8, "typ": 2.0, "max": 2.4}      # V at I_F = 20 mA
IF_ABS_MAX = 0.030                               # A, absolute maximum at T_A <= 25 C
T_KNEE, T_ZERO = 25.0, 85.0                      # C: derate linearly to zero

def if_allowed(t_amb):
    """Derating line: full absolute maximum up to T_KNEE, zero at T_ZERO."""
    if t_amb <= T_KNEE:
        return IF_ABS_MAX
    return max(0.0, IF_ABS_MAX * (T_ZERO - t_amb) / (T_ZERO - T_KNEE))

V_S, I_TARGET = 5.0, 0.010
R_calc = (V_S - VF["typ"]) / I_TARGET
R = 330.0                                         # next E12 value up
print(f"R from typical values: {R_calc:.0f} ohm -> fit {R:.0f} ohm")

# Worst case: supply +/-5 %, resistor +/-5 %, VF from min to max.
currents = []
for vs, r, vf in itertools.product((V_S * 0.95, V_S * 1.05), (R * 0.95, R * 1.05), (VF["min"], VF["max"])):
    currents.append((vs - vf) / r)
lo, hi = min(currents), max(currents)
print(f"LED current: typical {(V_S - VF['typ']) / R * 1000:.1f} mA, worst case {lo * 1000:.1f} .. {hi * 1000:.1f} mA")
p_r = (V_S * 1.05 - VF["min"]) ** 2 / (R * 0.95)
print(f"largest resistor power {p_r * 1000:.0f} mW")
for t in (25, 50, 60, 70):
    ok = "ok" if hi <= if_allowed(t) else "TOO HIGH"
    print(f"T_A = {t} C: allowed {if_allowed(t) * 1000:4.1f} mA -> {ok}")
R from typical values: 300 ohm -> fit 330 ohm
LED current: typical 9.1 mA, worst case 6.8 .. 11.0 mA
largest resistor power 38 mW
T_A = 25 C: allowed 30.0 mA -> ok
T_A = 50 C: allowed 17.5 mA -> ok
T_A = 60 C: allowed 12.5 mA -> ok
T_A = 70 C: allowed  7.5 mA -> TOO HIGH

Checking every corner of the tolerances (eight combinations here) is called worst-case analysis. A design that only works with typical values works on your bench and fails in the field. (Strictly, VFV_F at 10 mA10\ \text{mA} is a little lower than at the 20 mA20\ \text{mA} test condition, which raises the current slightly; a real datasheet's IFI_F versus VFV_F curve settles it.)

Guided lab: verify the LED circuit

Hand calculation. As above: about 9.1 mA9.1\ \text{mA} with typical values, 6.86.8 to 11.0 mA11.0\ \text{mA} worst case.

Simulation. Change V_S to 3.3 V3.3\ \text{V} in the code: the typical current drops to 3.9 mA3.9\ \text{mA} and the worst case to about 2.1 mA2.1\ \text{mA} with VFV_F at its maximum, below the recommended range, so a 3.3 V3.3\ \text{V} design needs a smaller resistor. Try it and choose one.

What you would measure. Identify the LED's anode with the meter's diode test (it lights faintly and shows about 1.81.8 to 2 V2\ \text{V}). Build the circuit from a bench supply at 5.0 V5.0\ \text{V} with the current limit at 30 mA30\ \text{mA}. Measure the voltage across the 330 Ω330\ \Omega resistor, about 3.0 V3.0\ \text{V}, and compute I=VR/RI = V_R/R: about 9 mA9\ \text{mA}, with an uncertainty of about ±5 %\pm 5\ \% from the resistor tolerance (measure RR itself to remove it). Then measure VFV_F directly; record the LED's real value against the table.

Hazards and safe setup

  • Low voltage only (5 V5\ \text{V}, current-limited). Never connect an LED straight across a supply without a resistor.
  • Do not reverse-bias an LED beyond its reverse-voltage rating (5 V5\ \text{V} here).
  • Do not stare into high-brightness or high-power LEDs; indicator LEDs at 10 mA10\ \text{mA} are fine.

Pitfalls

  • Designing with typ values or running parts at their absolute maximum.
  • Assuming a transistor pinout from another part in the same package.
  • Ignoring the temperature column: most limits are stated at 25 ∘C25\,^\circ\text{C}.
  • Reading a datasheet from a random website: get it from the manufacturer, check the revision date, and note it in your lab notebook.

Practice

  1. A part's datasheet lists VCCV_{CC}: absolute maximum 7 V7\ \text{V}, recommended 4.54.5 to 5.5 V5.5\ \text{V}. May you run it at 6.5 V6.5\ \text{V}?
  2. With the LED-R3 table and VS=12 VV_S = 12\ \text{V}, what resistor gives 10 mA10\ \text{mA} typical, and what power does it dissipate?
  3. What is the derated LED-R3 current limit at 40 ∘C40\,^\circ\text{C}?
Answer
  1. No. It will probably not be destroyed, but nothing in the characteristics table is guaranteed outside 4.54.5 to 5.5 V5.5\ \text{V}.
  2. R=(12−2.0)/0.010=1000 ΩR = (12 - 2.0)/0.010 = 1000\ \Omega (1 kΩ1\ \text{k}\Omega is in E12), P=I2R=(0.010)2×1000=0.1 WP = I^2R = (0.010)^2 \times 1000 = 0.1\ \text{W}: a 0.25 W0.25\ \text{W} part runs at 40 %40\ \%.
  3. 30×(85−40)/60=22.5 mA30 \times (85 - 40)/60 = 22.5\ \text{mA}.

Test yourself

Which datasheet values may you design with as guaranteed?

  1. Typical values
  2. Min and max in the electrical characteristics, under their test conditions
  3. Absolute maximum ratings
  4. The typical curves

On a diode body, what does the band mark?

  1. The anode
  2. The cathode
  3. The tolerance
  4. Pin 1 of a chip

How are the pins of a DIP integrated circuit numbered, seen from the top?

  1. Clockwise from the notch
  2. Anticlockwise from pin 1, which is marked by a notch or dot
  3. Left row 1 to 4, right row 1 to 4
  4. It depends on the colour

A derating curve allows 30 mA30\ \text{mA} up to 25 ∘C25\,^\circ\text{C} and 00 at 85 ∘C85\,^\circ\text{C}. What is allowed at 55 ∘C55\,^\circ\text{C}?

  1. 10 mA10\ \text{mA}
  2. 15 mA15\ \text{mA}
  3. 20 mA20\ \text{mA}
  4. 30 mA30\ \text{mA}