name: ESP32-C3-WROOM-02
variations: 02, 02U
description: Wi-Fi/Bluetooth System-on-Chip module
keywords: IC, MCU, Micro-Controller, ESP32, ESP32-C3
datasheet: https://www.espressif.com/sites/default/files/documentation/esp32-c3-wroom-02_datasheet_en.pdf

pinout:
  IO:
    IO0-10: 18-15, 3-8, 10
    IO18-19: 13-14
  UART:
    TXD: 12
    RXD: 11
  EN: 2
  POWER:
    3V3: 1
  GND: 9, 19-27

properties:
  in: EN
  bidir: IO, UART
  power: POWER
  ground: GND

schematic:
  symbol: IC
  left: EN, UART
  right: IO
  top: POWER
  bottom: GND

housing:
  pattern: custom
  bodyWidth: 18.0
  bodyLength: 20.0
  height: 3.2
  silkscreen: M -9.0,-4.0 9.0,-4.0 # 20.0/-2+6

  # left
  #numbers: 1-9
  rowCount: 9
  columnCount: 1
  padWidth: 1.5
  padHeight: 0.9
  verticalPitch: 1.5
  horizontalPitch: 0.0
  columnDX: -8.75 # 17.5/2
  rowDY: 3.1 # 20.0/-2+7.1+4*1.5

  # right
  #numbers1: 10-18
  rowCount1: 9
  columnCount1: 1
  padWidth1: 1.5
  padHeight1: 0.9
  verticalPitch1: -1.5
  horizontalPitch1: 0.0
  columnDX1: 8.75 # 17.5/2
  rowDY1: 3.1 # 20.0/-2+7.1+4*1.5

  # center ground
  #numbers2: 19-27
  rowCount2: 3
  columnCount2: 3
  padWidth2: 0.7
  padHeight2: 0.7
  verticalPitch2: 1.1
  horizontalPitch2: 1.1
  rowDX2: 0.96 # 18.0/-2+9.96
  columnDY2: 3.3 # 20.0/2-6.7

housing@02U:
  pattern: custom
  bodyWidth: 18.0
  bodyLength: 14.3
  height: 3.2
  suffix: U

  # left
  #numbers: 1-9
  rowCount: 9
  columnCount: 1
  padWidth: 1.5
  padHeight: 0.9
  verticalPitch: 1.5
  horizontalPitch: 0.0
  columnDX: -8.75 # 17.5/2
  rowDY: 0.25 # 14.3/-2+1.4+4*1.5

  # right
  #numbers1: 10-18
  rowCount1: 9
  columnCount1: 1
  padWidth1: 1.5
  padHeight1: 0.9
  verticalPitch1: -1.5
  horizontalPitch1: 0.0
  columnDX1: 8.75 # 17.5/2
  rowDY1: 0.25 # 14.3/-2+1.4+4*1.5

  # center ground
  #numbers2: 19-27
  rowCount2: 3
  columnCount2: 3
  padWidth2: 0.7
  padHeight2: 0.7
  verticalPitch2: 1.1
  horizontalPitch2: 1.1
  rowDX2: 0.96 # 18.0/-2+9.96
  columnDY2: 0.45 # 14.3/2-6.7
