Lib-electronic-components vishay

Vishay Part Number Reference

install
source · Clone the upstream repo
git clone https://github.com/Cantara/lib-electronic-components
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/Cantara/lib-electronic-components "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/manufacturers/vishay" ~/.claude/skills/cantara-lib-electronic-components-vishay && rm -rf "$T"
manifest: .claude/skills/manufacturers/vishay/SKILL.md
source content

Vishay Part Number Reference

MPN Structure Overview

Vishay produces a wide range of passive and semiconductor components:

  • CRCW: Thick film chip resistors
  • SI: MOSFETs
  • 1N: Diodes (rectifiers, signal, zener)
  • 2N/BC: Transistors
  • BAT/BYV/BZX: Specialty diodes
  • VLMU/VLMS: LEDs

CRCW Resistor Format

CRCW [Size] [Value] [Tolerance] [Packaging]
  |    |       |        |           |
  |    |       |        |           +-- Packaging code
  |    |       |        +-- Tolerance (F=1%, J=5%)
  |    |       +-- Resistance value (e.g., 100R, 10K)
  |    +-- Case size (0402, 0603, 0805, etc.)
  +-- Series prefix

Example Decoding

CRCW0603100RFKEA
 |   |   |  ||+-- Packaging
 |   |   |  |+-- Reserved
 |   |   |  +-- Tolerance (F=1%)
 |   |   +-- Value (100R = 100 ohms)
 |   +-- Size (0603)
 +-- Series (CRCW = Thick Film Chip Resistor)

Size Codes (Resistors)

CodeImperialMetricPower Rating
0402040210051/16W
0603060316081/10W
0805080520121/8W
1206120632161/4W
1210121032251/2W
2010201050253/4W
2512251264321W

MOSFET Series (SI)

PrefixDescription
SIStandard power MOSFETs
SISSuper low on-resistance
SIRStandard TO package
SIBBottom drain
SIHHigh voltage
SIHFHigh voltage, fast switching

Diode Families

Rectifiers

SeriesVoltage RangeType
1N4001-1N400750V-1000VStandard rectifier
1N5400-1N540850V-1000VHigh current rectifier

Signal Diodes

PartDescription
1N4148Fast switching
1N914Fast switching

Schottky

SeriesDescription
BAT41-BAT85Low forward voltage

Zener

SeriesDescription
BZX seriesVarious voltages
1N47xxStandard zeners

Package Codes

Diodes

CodePackage
DO-41Through-hole axial
DO-15Larger axial
SOD-123SMD small
SOD-323SMD mini

MOSFETs

CodePackage
DHPowerPAK SO-8
FHPowerPAK SO-8 Dual
CHPowerPAK 1212-8
JHPowerPAK SC-70

Supported ComponentTypes

ComponentType.RESISTOR
ComponentType.RESISTOR_CHIP_VISHAY
ComponentType.RESISTOR_THT_VISHAY
ComponentType.MOSFET
ComponentType.MOSFET_VISHAY
ComponentType.DIODE
ComponentType.DIODE_VISHAY
ComponentType.TRANSISTOR
ComponentType.TRANSISTOR_VISHAY
ComponentType.LED
ComponentType.LED_STANDARD_VISHAY
ComponentType.LED_RGB_VISHAY
ComponentType.LED_SMD_VISHAY

Known Handler Issues

1. HashSet in getSupportedTypes()

Uses mutable

HashSet
instead of
Set.of()
.

2. Transistor/Diode Overlap

2N and 1N prefixes are also used by other manufacturers. Handler may match parts from TI, OnSemi, etc.


Test Patterns

Valid Resistor MPNs

CRCW0603100RFKEA
CRCW0805100KJNEA
CRCW12061K00FKEA

Valid MOSFET MPNs

SI2302CDS
SI7336ADP
SIHF16N50D

Valid Diode MPNs

1N4007
1N4148
BAT54S
BZX84C5V6

Related Files

  • Handler:
    manufacturers/VishayHandler.java
  • Test:
    handlers/VishayHandlerTest.java
<!-- Add new learnings above this line -->