main
Ray stm8s003f3p6: component.models_3d pose record per STEP (Z-up, seated z=0, pad-centre origin, identity binding) 8e84da8
{
  "slug": "stm8s003f3p6",
  "version": "0.1.0",
  "type": "component",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Datasheet-verified pinout, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm8s003f3p6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm8s003f3p6.kicad_sym",
    "stm8s003f3p6.kicad_mod",
    "stm8s003f3p6.glb",
    "stm8s003f3p6.step",
    "stm8s003f3p6.lbr",
    "docs/hero.png",
    "docs/stm8s003f3p6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "component": {
    "mpn": "STM8S003F3P6",
    "manufacturer": "STMicroelectronics",
    "package": "TSSOP-20",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8579708309418328064",
    "parts": {
      "symbol": "stm8s003f3p6.kicad_sym",
      "footprint": "stm8s003f3p6.kicad_mod",
      "model_3d": "stm8s003f3p6-etched.glb",
      "model_3d_plain": "stm8s003f3p6.glb",
      "model_3d_step": "stm8s003f3p6-etched.step",
      "model_3d_step_plain": "stm8s003f3p6.step",
      "lbr": "stm8s003f3p6.lbr"
    },
    "distributor_links": {
      "lcsc": "C18615"
    },
    "pins": [
      {
        "number": "1",
        "name": "PD4",
        "type": "bidirectional",
        "description": "Port D4 GPIO with high-sink output, alternate functions: Timer 2 channel 1, BEEP output, UART1 clock."
      },
      {
        "number": "2",
        "name": "PD5",
        "type": "bidirectional",
        "description": "Port D5 GPIO with high-sink output, alternate functions: analog input 5, UART1 transmit data."
      },
      {
        "number": "3",
        "name": "PD6",
        "type": "bidirectional",
        "description": "Port D6 GPIO with high-sink output, alternate functions: analog input 6, UART1 receive data."
      },
      {
        "number": "4",
        "name": "NRST",
        "type": "input",
        "description": "Reset input pin with open-drain output capability and internal pull-up resistor."
      },
      {
        "number": "5",
        "name": "PA1",
        "type": "bidirectional",
        "description": "Port A1 GPIO, alternate function: OSCIN (oscillator crystal input)."
      },
      {
        "number": "6",
        "name": "PA2",
        "type": "bidirectional",
        "description": "Port A2 GPIO, alternate function: OSCOUT (oscillator crystal output)."
      },
      {
        "number": "7",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital ground reference."
      },
      {
        "number": "8",
        "name": "VCAP",
        "type": "power_in",
        "description": "1.8 V internal regulator decoupling capacitor pin; requires 470-3300 nF external capacitor with ESR ≤ 15 Ω."
      },
      {
        "number": "9",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply; operating voltage 2.95 to 5.5 V."
      },
      {
        "number": "10",
        "name": "PA3",
        "type": "bidirectional",
        "description": "Port A3 GPIO with high-sink output, alternate functions: Timer 2 channel 3, SPI master/slave select (AFR1 remapping)."
      },
      {
        "number": "11",
        "name": "PB5",
        "type": "bidirectional",
        "description": "Port B5 true open-drain GPIO, alternate functions: I2C SDA (data), Timer 1 break input (AFR4 remapping)."
      },
      {
        "number": "12",
        "name": "PB4",
        "type": "bidirectional",
        "description": "Port B4 true open-drain GPIO, alternate functions: I2C SCL (clock), ADC external trigger (AFR4 remapping)."
      },
      {
        "number": "13",
        "name": "PC3",
        "type": "bidirectional",
        "description": "Port C3 GPIO with high-sink output, alternate functions: Timer 1 channel 3, top level interrupt, Timer 1 inverted channel 1."
      },
      {
        "number": "14",
        "name": "PC4",
        "type": "bidirectional",
        "description": "Port C4 GPIO with high-sink output, alternate functions: Timer 1 channel 4, configurable clock output, analog input 2, Timer 1 inverted channel 2."
      },
      {
        "number": "15",
        "name": "PC5",
        "type": "bidirectional",
        "description": "Port C5 GPIO with high-sink output, alternate functions: SPI clock, Timer 2 channel 1 (AFR0 remapping)."
      },
      {
        "number": "16",
        "name": "PC6",
        "type": "bidirectional",
        "description": "Port C6 GPIO with high-sink output, alternate functions: SPI MOSI (master out/slave in), Timer 1 channel 1 (AFR0 remapping)."
      },
      {
        "number": "17",
        "name": "PC7",
        "type": "bidirectional",
        "description": "Port C7 GPIO with high-sink output, alternate functions: SPI MISO (master in/slave out), Timer 1 channel 2 (AFR0 remapping)."
      },
      {
        "number": "18",
        "name": "PD1",
        "type": "bidirectional",
        "description": "Port D1 GPIO with high-sink output, alternate function: SWIM (single-wire interface module) data interface."
      },
      {
        "number": "19",
        "name": "PD2",
        "type": "bidirectional",
        "description": "Port D2 GPIO with high-sink output, alternate functions: analog input 3, Timer 2 channel 3 (AFR1 remapping)."
      },
      {
        "number": "20",
        "name": "PD3",
        "type": "bidirectional",
        "description": "Port D3 GPIO with high-sink output, alternate functions: analog input 4, Timer 2 channel 2, ADC external trigger."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.2",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.2",
        "primary_model": "claude-haiku-4-5-20251001",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: NRST classified as input; though datasheet lists open-drain output capability for external reset, pr; PB4 and PB5 are true open-drain outputs; may warrant tri_state classification if ERC enforces output"
        ],
        "pages_sent": 100,
        "cost_usd": 0.6949,
        "at": "2026-09-23T05:45:06"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8579708309418328064",
        "pages": 100,
        "sha256": "79e0b6f021db8416",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 20,
        "described": 20,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stm8s003f3p6.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.4,
          6.5,
          1.2
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "97339947f3a7196470ec2f1d9f9b92bb2fc2ab66ad53be0cf105192585ef3c9a",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm8s003f3p6-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.4,
          6.5,
          1.2
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "d19c33d8d9e0379bb8337646dde1db0a0a6c61995b28324920cccbec407fde7c",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}