name: ESP32-S2-WROOM
alias: ESP32-S2-WROOM-I
description: Wi-Fi System-on-Chip module
keywords: IC, MCU, Micro-Controller, ESP32, ESP32-S2
datasheet: https://www.espressif.com/sites/default/files/documentation/esp32-s2-wroom_esp32-s2-wroom-i_datasheet_en.pdf

pinout:
  IO:
    IO0-21: 3-24
    IO26: 25
    IO33-42: 27-36
    IO45-46: 39-40
  UART:
    TXD0: 37
    RXD0: 38
  EN: 41
  POWER:
    3V3: 2
  GND: 1, 26, 42, 43-51

properties:
  in: IO46, EN
  bidir: IO0-45, UART
  power: POWER
  ground: GND

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

housing:
  pattern: custom
  bodyWidth: 18.0
  bodyLength: 31.0
  height: 3.30
  silkscreen: M -9.0,-9.2 9.0,-9.2 # 31.0/-2+6.3

  #numbers: 1-16
  rowCount: 16
  columnCount: 1
  padWidth: 1.5
  padHeight: 0.9
  verticalPitch: 1.5
  horizontalPitch: 0.0
  columnDX: -8.75 # 31.0/-2+1.0+7.0*1.5
  rowDY: 3.25 # 18.0/-2-0.5+1.5/2

  #numbers1: 17-26
  rowCount1: 1
  columnCount1: 10
  padWidth1: 0.9
  padHeight1: 1.5
  verticalPitch1: 0.0
  horizontalPitch1: 1.5
  rowDY1: 15.25 # 31.0/2+0.5-1.5/2

  #numbers2: 27-42
  rowCount2: 16
  columnCount2: 1
  padWidth2: 1.5
  padHeight2: 0.9
  verticalPitch2: -1.5
  horizontalPitch2: 0.0
  columnDX2: 8.75 # 31.0/-2+1.0+7.0*1.5
  rowDY2: 3.25 # 18.0/-2-0.5+1.5/2

  #numbers3: 43-51
  rowCount3: 3
  columnCount3: 3
  padWidth3: 1.1
  padHeight3: 1.1
  verticalPitch3: 1.5
  horizontalPitch3: 1.5
  columnDY3: -0.05 # 31.0 / -2 + 15.45
