main
Ray
Publish 0.1.2
610ce98
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623
{
"schema_version": 1,
"type": "component",
"slug": "stc15w4k48s4-30i-sop28",
"title": "STC15W4K48S4-30I-SOP28",
"brief": "STC Micro Microcontroller Units (MCUs/MPUs/SOCs), SOP-28-300mil. Pinout read twice from the datasheet and the two reads agreed, KiCad symbol/footprint/3D.",
"version": "0.1.2",
"license": "CC-BY-SA-4.0",
"tags": [
"component",
"embedded processors & controllers",
"stc15w4k48s4-30i-sop28",
"factory-2.0.0",
"extractor-text"
],
"component": {
"mpn": "STC15W4K48S4-30I-SOP28",
"manufacturer": "STC Micro",
"package": "SOP-28-300mil",
"pin_count": 28,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
"datasheet": "https://datasheet.lcsc.com/datasheet/pdf/caa5a792ca87f52d47a7cc948ca9d105.pdf",
"parts": {
"symbol": "stc15w4k48s4-30i-sop28.kicad_sym",
"footprint": "stc15w4k48s4-30i-sop28.kicad_mod",
"model_3d": "stc15w4k48s4-30i-sop28-hero.glb",
"model_3d_plain": "stc15w4k48s4-30i-sop28.glb",
"model_3d_step": "stc15w4k48s4-30i-sop28-etched.step",
"model_3d_step_plain": "stc15w4k48s4-30i-sop28.step",
"lbr": "stc15w4k48s4-30i-sop28.lbr"
},
"distributor_links": {
"lcsc": "C188812"
},
"distributor_check": {
"checked_at": "2026-11-09T06:45:17Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": null,
"status": "no match"
},
"mouser": {
"pn": null,
"status": "no match"
}
},
"pins": [
{
"number": "1",
"name": "P2.6",
"type": "bidirectional",
"description": "P2.6 standard I/O port PORT2[6], with A14 address bus bit 14 and CCP1_3 capture/high-speed pulse/PWM channel 1."
},
{
"number": "2",
"name": "P2.7",
"type": "bidirectional",
"description": "P2.7 standard I/O port PORT2[7], with A15 address bit 15, CCP2_3 and PWM2_2 (PWM channel 2, high-impedance input after power-up and must be set to quasi-bidirectional or push-pull in software)."
},
{
"number": "3",
"name": "P1.0",
"type": "bidirectional",
"description": "P1.0 standard I/O port PORT1[0], with ADC0 input channel 0, CCP1 and RxD2 (UART2 receive)."
},
{
"number": "4",
"name": "P1.1",
"type": "bidirectional",
"description": "P1.1 standard I/O port PORT1[1], with ADC1 input channel 1, CCP0 and TxD2 (UART2 transmit)."
},
{
"number": "5",
"name": "P1.2",
"type": "bidirectional",
"description": "P1.2 standard I/O port PORT1[2], with ADC2 input channel 2, SS (SPI slave select), ECI (CCP/PCA counter external pulse input) and CMPO (comparator output)."
},
{
"number": "6",
"name": "P1.3",
"type": "bidirectional",
"description": "P1.3 standard I/O port PORT1[3], with ADC3 input channel 3 and SPI MOSI."
},
{
"number": "7",
"name": "P1.4",
"type": "bidirectional",
"description": "P1.4 standard I/O port PORT1[4], with ADC4 input channel 4 and SPI MISO."
},
{
"number": "8",
"name": "P1.5",
"type": "bidirectional",
"description": "P1.5 standard I/O port PORT1[5], with ADC5 input channel 5 and SPI SCLK clock."
},
{
"number": "9",
"name": "P1.6",
"type": "bidirectional",
"description": "P1.6 standard I/O port PORT1[6], with ADC6, RxD_3 (UART1 receive), SysClkO_2 system clock output, XTAL2 crystal oscillator output and PWM6 (high-impedance input after power-up)."
},
{
"number": "10",
"name": "P1.7",
"type": "bidirectional",
"description": "P1.7 standard I/O port PORT1[7], with ADC7, TxD_3 (UART1 transmit), XTAL1 oscillator input/external clock input and PWM7 (high-impedance input after power-up)."
},
{
"number": "11",
"name": "P5.4",
"type": "bidirectional",
"description": "P5.4 standard I/O port PORT5[4], also RST reset pin (active high), SysClkO system clock output (SysClk/1, /2, /4, /16), SS_3 SPI slave select and CMP- comparator negative input (must be set high-impedance when used as CMP-)."
},
{
"number": "12",
"name": "Vcc",
"type": "power_in",
"description": "Positive power supply; the device operates from 2.5V to 5.5V."
},
{
"number": "13",
"name": "P5.5",
"type": "bidirectional",
"description": "P5.5 standard I/O port PORT5[5], also CMP+ comparator positive input (must be set high-impedance when used as CMP+)."
},
{
"number": "14",
"name": "Gnd",
"type": "power_in",
"description": "Power supply negative terminal, ground."
},
{
"number": "15",
"name": "P3.0",
"type": "bidirectional",
"description": "P3.0 standard I/O port PORT3[0], with RxD (UART1 receive), INT4 (falling-edge only external interrupt 4, supports power-down wake-up) and T2CLKO (timer 2 clock output)."
},
{
"number": "16",
"name": "P3.1",
"type": "bidirectional",
"description": "P3.1 standard I/O port PORT3[1], with TxD (UART1 transmit) and T2 (timer/counter 2 external input)."
},
{
"number": "17",
"name": "P3.2",
"type": "bidirectional",
"description": "P3.2 standard I/O port PORT3[2], with INT0 external interrupt 0 (rising and falling edge if IT0=0, falling edge only if IT0=1; supports power-down wake-up)."
},
{
"number": "18",
"name": "P3.3",
"type": "bidirectional",
"description": "P3.3 standard I/O port PORT3[3], with INT1 external interrupt 1 (rising and falling edge if IT1=0, falling edge only if IT1=1; supports power-down wake-up)."
},
{
"number": "19",
"name": "P3.4",
"type": "bidirectional",
"description": "P3.4 standard I/O port PORT3[4], with T0 (timer/counter 0 external input), T1CLKO (timer 1 clock output) and ECI_2 (CCP/PCA counter external pulse input)."
},
{
"number": "20",
"name": "P3.5",
"type": "bidirectional",
"description": "P3.5 standard I/O port PORT3[5], with T1 (timer/counter 1 external input), T0CLKO (timer 0 clock output) and CCP0_2 (capture/high-speed pulse/PWM channel 0)."
},
{
"number": "21",
"name": "P3.6",
"type": "bidirectional",
"description": "P3.6 standard I/O port PORT3[6], with INT2 (falling-edge only, supports power-down wake-up), RxD_2 (UART1 receive) and CCP1_2 (capture/PWM channel 1)."
},
{
"number": "22",
"name": "P3.7",
"type": "bidirectional",
"description": "P3.7 standard I/O port PORT3[7], with INT3 (falling-edge only, supports power-down wake-up), TxD_2 (UART1 transmit), CCP2/CCP2_2 and PWM2 (high-impedance input after power-up)."
},
{
"number": "23",
"name": "P2.0",
"type": "bidirectional",
"description": "P2.0 standard I/O port PORT2[0], with A8 address bit 8 and RSTOUT_LOW, which outputs low after power-up and during reset and can be set high or low by software."
},
{
"number": "24",
"name": "P2.1",
"type": "bidirectional",
"description": "P2.1 standard I/O port PORT2[1], with A9 address bit 9, SCLK_2 SPI clock and PWM3 (high-impedance input after power-up)."
},
{
"number": "25",
"name": "P2.2",
"type": "bidirectional",
"description": "P2.2 standard I/O port PORT2[2], with A10 address bit 10, MISO_2 SPI master-in/slave-out and PWM4 (high-impedance input after power-up)."
},
{
"number": "26",
"name": "P2.3",
"type": "bidirectional",
"description": "P2.3 standard I/O port PORT2[3], with A11 address bit 11, MOSI_2 SPI master-out/slave-in and PWM5 (high-impedance input after power-up)."
},
{
"number": "27",
"name": "P2.4",
"type": "bidirectional",
"description": "P2.4 standard I/O port PORT2[4], with A12 address bit 12, ECI_3 (CCP/PCA counter external pulse input), SS_2 (SPI slave select) and PWMFLT (PWM abnormal-stop control)."
},
{
"number": "28",
"name": "P2.5",
"type": "bidirectional",
"description": "P2.5 standard I/O port PORT2[5], with A13 address bit 13 and CCP0_3 capture/high-speed pulse/PWM channel 0."
}
],
"provenance": {
"extractor": "extract_pins 0.3",
"factory_chain": {
"factory": "2.0.0",
"extractor": "extract_pins 0.3",
"primary_model": "claude-sonnet-5-5",
"primary_mode": "text",
"consensus_model": "claude-sonnet-5-5",
"consensus": "agreed",
"guards": "pin_guards 0.1: passed",
"guard_notes": [
"extractor flagged: Pin numbers from the SOP28/SKDIP28 columns of the pin description table (p.75-80) and the pin diagra"
],
"pages_sent": 169,
"cost_usd": 1.0107,
"at": "2026-11-09T06:45:07"
},
"datasheet": {
"url": "https://datasheet.lcsc.com/datasheet/pdf/caa5a792ca87f52d47a7cc948ca9d105.pdf",
"pages": 1219,
"sha256": "cc8c299c891646e0",
"source_tier": "lcsc"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 28,
"described": 28,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"models_3d": [
{
"file": "stc15w4k48s4-30i-sop28.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
11.636,
18.16,
2.666
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "ecc34510e8f74b6103a72c2f24133ad80006c738972a56531d1221b277fcecdb",
"checked": "2026-11-09",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stc15w4k48s4-30i-sop28-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
11.636,
18.16,
2.666
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "d29abaf1b58a3d61563e619698c0fbad717c0c268037d148b4fd9d8841b88cde",
"checked": "2026-11-09",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"metadata": {
"specs": {
"Manufacturer": "STC Micro",
"Package": "SOP-28-300mil",
"Category": "Embedded Processors & Controllers",
"Pins": "28"
},
"appearance": {
"housing": {
"quote": "Accumulator contents and the contents of a sixteen-bit base register, which may be either the Data Pointer or the PC. In the latter case, the PC is incremented to the address of the following",
"page": 441,
"doc": "ds.pdf",
"material": "PC"
},
"version": 1,
"datasheet_sha256": "cc8c299c891646e085df0552ec8e4fe9a1ed6286ffbcc1a3e26ab7f4810e35fa"
},
"characteristics": {
"version": 1,
"source": "datasheet",
"datasheet_sha256": "cc8c299c891646e085df0552ec8e4fe9a1ed6286ffbcc1a3e26ab7f4810e35fa",
"rows": [
{
"name": "Storage temperature",
"symbol": "TST",
"kind": "absolute_maximum",
"unit": "℃",
"min": -55,
"typ": null,
"max": 125,
"conditions": "",
"source_page": 1184,
"source": "datasheet"
},
{
"name": "Operating temperature (I)",
"symbol": "TA",
"kind": "absolute_maximum",
"unit": "℃",
"min": -40,
"typ": null,
"max": 85,
"conditions": "",
"source_page": 1184,
"source": "datasheet"
},
{
"name": "DC power supply (5V)",
"symbol": "VDD - VSS",
"kind": "absolute_maximum",
"unit": "V",
"min": -0.3,
"typ": null,
"max": 5.5,
"conditions": "",
"source_page": 1184,
"source": "datasheet"
},
{
"name": "DC power supply (3V)",
"symbol": "VDD - VSS",
"kind": "absolute_maximum",
"unit": "V",
"min": -0.3,
"typ": null,
"max": 3.6,
"conditions": "",
"source_page": 1184,
"source": "datasheet"
},
{
"name": "VDD Operating Voltage",
"symbol": "VDD",
"kind": "electrical",
"unit": "V",
"min": 3.3,
"typ": 5,
"max": 5.5,
"conditions": "5V MCU",
"source_page": 1184,
"source": "datasheet"
},
{
"name": "VDD Operating Voltage",
"symbol": "VDD",
"kind": "electrical",
"unit": "V",
"min": 2.4,
"typ": 3.3,
"max": 3.6,
"conditions": "3V MCU",
"source_page": 1184,
"source": "datasheet"
},
{
"name": "Operating Current",
"symbol": "ICC",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": 4,
"max": 20,
"conditions": "5V",
"source_page": 1184,
"source": "datasheet"
},
{
"name": "Operating Current",
"symbol": "ICC",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": 4,
"max": 10,
"conditions": "3.3V",
"source_page": 1184,
"source": "datasheet"
},
{
"name": "Input Low (P0,P1,P2,P3)",
"symbol": "VIL1",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 0.8,
"conditions": "5V",
"source_page": 1184,
"source": "datasheet"
},
{
"name": "Input High (P0,P1,P2,P3)",
"symbol": "VIH1",
"kind": "electrical",
"unit": "V",
"min": 2,
"typ": null,
"max": null,
"conditions": "5V",
"source_page": 1184,
"source": "datasheet"
},
{
"name": "Input High (RESET)",
"symbol": "VIH2",
"kind": "electrical",
"unit": "V",
"min": 2.2,
"typ": null,
"max": null,
"conditions": "5V",
"source_page": 1184,
"source": "datasheet"
},
{
"name": "Sourcing Current for output high (P0,P1,P2,P3)(Quasi-output)",
"symbol": "IOH1",
"kind": "electrical",
"unit": "uA",
"min": 200,
"typ": 270,
"max": null,
"conditions": "5V",
"source_page": 1184,
"source": "datasheet"
},
{
"name": "Sourcing Current for output high (P0,P1,P2,P3)(Quasi-output)",
"symbol": "IOH1",
"kind": "electrical",
"unit": "uA",
"min": 140,
"typ": 170,
"max": null,
"conditions": "3.3V",
"source_page": 1184,
"source": "datasheet"
},
{
"name": "Logic 0 input current (P0,P1,P2,P3)",
"symbol": "IIL",
"kind": "electrical",
"unit": "uA",
"min": null,
"typ": null,
"max": 50,
"conditions": "Vpin=0V",
"source_page": 1184,
"source": "datasheet"
},
{
"name": "Logic 0 input current (P0,P1,P2,P3)",
"symbol": "IIL",
"kind": "electrical",
"unit": "uA",
"min": null,
"typ": 8,
"max": 50,
"conditions": "Vpin=0V",
"source_page": 1184,
"source": "datasheet"
},
{
"name": "Logic 1 to 0 transition current (P0,P1,P2,P3)",
"symbol": "ITL",
"kind": "electrical",
"unit": "uA",
"min": 100,
"typ": 270,
"max": 600,
"conditions": "Vpin=2.0V",
"source_page": 1184,
"source": "datasheet"
},
{
"name": "Logic 1 to 0 transition current (P0,P1,P2,P3)",
"symbol": "ITL",
"kind": "electrical",
"unit": "uA",
"min": null,
"typ": 110,
"max": 600,
"conditions": "Vpin=2.0V",
"source_page": 1184,
"source": "datasheet"
},
{
"name": "Sink Current for output low (P0,P1,P2,P3)",
"symbol": "IOL1",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": 20,
"max": null,
"conditions": "5V@Vpin=0.45V",
"source_page": 1184,
"source": "datasheet"
},
{
"name": "Sourcing Current for output high (P0,P1,P2,P3)(Push-Pull, Strong-output)",
"symbol": "IOH2",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": 20,
"max": null,
"conditions": "5V@Vpin=2.4V",
"source_page": 1184,
"source": "datasheet"
},
{
"name": "Sourcing Current for output high (P0,P1,P2,P3)(Push-Pull)",
"symbol": "IOH2",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": 20,
"max": null,
"conditions": "3.3V",
"source_page": 1184,
"source": "datasheet"
},
{
"name": "Idle Current",
"symbol": "IIDL",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": 3,
"max": null,
"conditions": "5V",
"source_page": 1184,
"source": "datasheet"
},
{
"name": "Idle Current",
"symbol": "IIDL",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": 2,
"max": null,
"conditions": "3.3V",
"source_page": 1184,
"source": "datasheet"
}
]
}
},
"variants": [],
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"stc15w4k48s4-30i-sop28"
],
"discovery_pitch": "STC15W4K48S4-30I-SOP28 (STC Micro) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
"author": {
"name": "Ray"
},
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stc15w4k48s4-30i-sop28.kicad_sym",
"stc15w4k48s4-30i-sop28.kicad_mod",
"stc15w4k48s4-30i-sop28.glb",
"stc15w4k48s4-30i-sop28.step",
"stc15w4k48s4-30i-sop28.lbr",
"docs/hero.png",
"docs/stc15w4k48s4-30i-sop28-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stc15w4k48s4-30i-sop28-hero.glb",
"stc15w4k48s4-30i-sop28-hero.overlay.json",
"stc15w4k48s4-30i-sop28-etched.glb",
"stc15w4k48s4-30i-sop28-etched.step"
],
"visibility": "public",
"description": "STC Micro Microcontroller Units (MCUs/MPUs/SOCs), SOP-28-300mil. Pinout read twice from the datasheet and the two reads agreed, KiCad symbol/footprint/3D.",
"org": "adom"
}