.claude/skills/manufacturers/macroblock/SKILL.md
Macroblock Inc. MPN encoding patterns, LED driver decoding, and handler guidance. Use when working with Macroblock LED drivers or MacroblockHandler.
npx skillsauth add Cantara/lib-electronic-components macroblockInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Macroblock specializes in LED driver ICs for displays.
MBI[SERIES][MODEL][PACKAGE][-OPTIONS]
| | | | |
| | | | +-- Options (TR = Tape and Reel)
| | | +-- Package code (GP, GF, GN, etc.)
| | +-- Model number (024, 039, 153)
| +-- Series (5=constant current, 6=DC-DC, 1=scan)
+-- MBI = Macroblock Inc.
MBI5024GP
| | | ||
| | | |+-- P = PDIP or SOP-24 variant
| | | +-- G = package type indicator
| | +-- 024 = 16-channel model
| +-- 5 = Constant current series
+-- MBI = Macroblock Inc.
MBI5153-TR
| | ||
| | |+-- TR = Tape and Reel
| | +-- (no package code, bare part number)
| +-- 5153 = 48-channel model
+-- MBI = Macroblock Inc.
16-bit shift register based constant current drivers. The workhorses of LED display drivers.
| Part | Channels | Features | |------|----------|----------| | MBI5024 | 16 | Basic constant current | | MBI5039 | 16 | Error detection | | MBI5040 | 16 | Enhanced features | | MBI5041 | 16 | Variant | | MBI5042 | 16 | Variant | | MBI5050 | 16 | High-end 16-ch | | MBI5124 | 16 | Enhanced variant | | MBI5153 | 48 | High channel count | | MBI5252 | 48 | Enhanced 48-ch | | MBI5353 | 48 | Premium 48-ch |
Switching LED drivers for backlighting and general LED lighting.
| Part | Description | |------|-------------| | MBI6651 | DC-DC LED driver | | MBI6652 | Enhanced variant | | MBI6661 | High power variant |
Row/scan drivers for LED matrix displays, work in conjunction with MBI5xxx column drivers.
| Part | Description | |------|-------------| | MBI1801 | P-channel scan driver | | MBI1802 | Enhanced scan driver |
| Code | Package | Notes | |------|---------|-------| | GP | SOP-24 | Standard SOP package | | GF | SSOP-24 | Shrink SOP | | GH | TSSOP-24 | Thin SOP | | GS | SSOP-24 | SSOP variant | | GT | TSSOP-24 | TSSOP variant | | GN | QFN | Quad flat no-lead | | GQ | QFN | QFN variant | | TE | TQFP | Thin QFP | | TF | TQFP-48 | 48-pin TQFP | | TP | TQFP-64 | 64-pin TQFP | | S | SOP | SOP generic | | T | TSSOP | TSSOP generic | | N | QFN | QFN generic | | P | PDIP | Through-hole DIP |
| Suffix | Meaning | |--------|---------| | -TR | Tape and Reel packaging |
| Part | Channels | Application | |------|----------|-------------| | MBI5024 | 16 | Standard displays | | MBI5039 | 16 | With fault detection | | MBI5050 | 16 | Premium 16-ch | | MBI5153 | 48 | High-density displays | | MBI5252 | 48 | Enhanced 48-ch | | MBI5353 | 48 | Premium 48-ch |
// Extract series prefix (MBI + first digit)
// MBI5024GP -> MBI5
// MBI6651 -> MBI6
// MBI1801 -> MBI1
if (upperMpn.matches("^MBI5[0-9]{3}.*")) return "MBI5";
if (upperMpn.matches("^MBI6[0-9]{3}.*")) return "MBI6";
if (upperMpn.matches("^MBI1[0-9]{3}.*")) return "MBI1";
// Pattern: MBI[156]xxx[package-code]
Pattern packagePattern = Pattern.compile("^MBI[156][0-9]{3}([A-Z]{1,2}).*$");
// Decode package using lookup table
PACKAGE_CODES.put("GP", "SOP-24");
PACKAGE_CODES.put("GF", "SSOP-24");
PACKAGE_CODES.put("GN", "QFN");
// Extract MBI[156]xxx - the core 7-character part number
// MBI5024GP -> MBI5024
// MBI5153-TR -> MBI5153
Pattern basePattern = Pattern.compile("^(MBI[156][0-9]{3}).*$");
// MBI5xxx - Constant current LED drivers
"^MBI5[0-9]{3}[A-Z0-9-]*$"
// MBI6xxx - DC-DC LED drivers
"^MBI6[0-9]{3}[A-Z0-9-]*$"
// MBI1xxx - Scan drivers
"^MBI1[0-9]{3}[A-Z0-9-]*$"
The handler provides useful helper methods:
// Get channel count for known parts
int channels = handler.getChannelCount("MBI5024"); // Returns 16
// Check driver type
handler.isConstantCurrentDriver("MBI5024"); // true
handler.isDCDCDriver("MBI6651"); // true
handler.isScanDriver("MBI1801"); // true
// Get series description
handler.getSeriesDescription("MBI5"); // "Constant Current LED Drivers"
Parts with the same base number but different packages are replacements:
Parts in the same series with different model numbers are NOT replacements:
manufacturers/MacroblockHandler.javaComponentType.IC, ComponentType.LED_DRIVER| MPN | Description | Channels | |-----|-------------|----------| | MBI5024GP | Constant current, SOP-24 | 16 | | MBI5039GP | With error detection, SOP-24 | 16 | | MBI5153 | High channel count | 48 | | MBI5252 | Enhanced 48-ch | 48 | | MBI6651 | DC-DC driver | N/A | | MBI1801 | Scan driver | N/A |
Typical LED display driver setup:
MBI5xxx (Column Drivers) - Constant current sink
|
v
LED Matrix
^
|
MBI1xxx (Row/Scan Drivers) - P-channel switch
data-ai
Cost-effective task delegation strategy using Haiku model for straightforward work. Use when planning how to approach simple, pattern-following tasks to minimize costs.
tools
Use when working with component similarity calculations - comparing MPNs, finding equivalent parts, implementing new similarity calculators, or understanding how component matching works.
testing
Use when working with transistor similarity calculations - comparing BJT MPNs, understanding NPN/PNP polarity matching, equivalent groups like 2N2222/PN2222, or transistor-specific similarity logic.
testing
Use when working with sensor similarity calculations - comparing temperature/accelerometer/humidity sensor MPNs, understanding sensor families, equivalent parts, or sensor-specific similarity logic.