(kicad_symbol_lib (version 20211014) (generator kicad_symbol_editor)
  (symbol "ATmega16U2-A" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at -15.24 34.29 0)
      (effects (font (size 1.27 1.27)) (justify left bottom))
    )
    (property "Value" "ATmega16U2-A" (id 1) (at 2.54 -34.29 0)
      (effects (font (size 1.27 1.27)) (justify left top))
    )
    (property "Footprint" "Package_QFP:TQFP-32_7x7mm_P0.8mm" (id 2) (at 0 0 0)
      (effects (font (size 1.27 1.27) italic) hide)
    )
    (property "Datasheet" "http://ww1.microchip.com/downloads/en/DeviceDoc/doc7799.pdf" (id 3) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "AVR 8bit Microcontroller MegaAVR" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "16MHz, 16kB Flash, 512B SRAM, 512B EEPROM, TQFP-32" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "TQFP*7x7mm*P0.8mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "ATmega16U2-A_0_1"
      (rectangle (start -15.24 -33.02) (end 15.24 33.02)
        (stroke (width 0.254) (type default) (color 0 0 0 0))
        (fill (type background))
      )
    )
    (symbol "ATmega16U2-A_1_1"
      (pin input line (at -17.78 22.86 0) (length 2.54)
        (name "XTAL1" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -20.32 180) (length 2.54)
        (name "PD4" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -22.86 180) (length 2.54)
        (name "PD5" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -25.4 180) (length 2.54)
        (name "PD6" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -27.94 180) (length 2.54)
        (name "~{HWB}/PD7" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 27.94 180) (length 2.54)
        (name "PB0" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 25.4 180) (length 2.54)
        (name "PB1" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 22.86 180) (length 2.54)
        (name "PB2" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 20.32 180) (length 2.54)
        (name "PB3" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 17.78 180) (length 2.54)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 15.24 180) (length 2.54)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 17.78 0) (length 2.54)
        (name "PC0/XTAL2" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 12.7 180) (length 2.54)
        (name "PB6" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 10.16 180) (length 2.54)
        (name "PB7" (effects (font (size 1.27 1.27))))
        (number "21" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -5.08 180) (length 2.54)
        (name "PC7" (effects (font (size 1.27 1.27))))
        (number "22" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -2.54 180) (length 2.54)
        (name "PC6" (effects (font (size 1.27 1.27))))
        (number "23" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 27.94 0) (length 2.54)
        (name "PC1/~{RESET}" (effects (font (size 1.27 1.27))))
        (number "24" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 0 180) (length 2.54)
        (name "PC5" (effects (font (size 1.27 1.27))))
        (number "25" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 2.54 180) (length 2.54)
        (name "PC4" (effects (font (size 1.27 1.27))))
        (number "26" (effects (font (size 1.27 1.27))))
      )
      (pin passive line (at -17.78 5.08 0) (length 2.54)
        (name "UCAP" (effects (font (size 1.27 1.27))))
        (number "27" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -2.54 -35.56 90) (length 2.54)
        (name "UGND" (effects (font (size 1.27 1.27))))
        (number "28" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 12.7 0) (length 2.54)
        (name "D+" (effects (font (size 1.27 1.27))))
        (number "29" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 -35.56 90) (length 2.54)
        (name "GND" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 10.16 0) (length 2.54)
        (name "D-" (effects (font (size 1.27 1.27))))
        (number "30" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -2.54 35.56 270) (length 2.54)
        (name "UVCC" (effects (font (size 1.27 1.27))))
        (number "31" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 35.56 270) (length 2.54)
        (name "AVCC" (effects (font (size 1.27 1.27))))
        (number "32" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 35.56 270) (length 2.54)
        (name "VCC" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 5.08 180) (length 2.54)
        (name "PC2" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -10.16 180) (length 2.54)
        (name "PD0" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -12.7 180) (length 2.54)
        (name "PD1" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -15.24 180) (length 2.54)
        (name "PD2" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -17.78 180) (length 2.54)
        (name "PD3" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
  )
  (symbol "ATmega328P-A" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at -12.7 36.83 0)
      (effects (font (size 1.27 1.27)) (justify left bottom))
    )
    (property "Value" "ATmega328P-A" (id 1) (at 2.54 -36.83 0)
      (effects (font (size 1.27 1.27)) (justify left top))
    )
    (property "Footprint" "Package_QFP:TQFP-32_7x7mm_P0.8mm" (id 2) (at 0 0 0)
      (effects (font (size 1.27 1.27) italic) hide)
    )
    (property "Datasheet" "http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega328_P%20AVR%20MCU%20with%20picoPower%20Technology%20Data%20Sheet%2040001984A.pdf" (id 3) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "AVR 8bit Microcontroller MegaAVR PicoPower" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "20MHz, 32kB Flash, 2kB SRAM, 1kB EEPROM, TQFP-32" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "TQFP*7x7mm*P0.8mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "ATmega328P-A_0_1"
      (rectangle (start -12.7 -35.56) (end 12.7 35.56)
        (stroke (width 0.254) (type default) (color 0 0 0 0))
        (fill (type background))
      )
    )
    (symbol "ATmega328P-A_1_1"
      (pin bidirectional line (at 15.24 -20.32 180) (length 2.54)
        (name "PD3" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -27.94 180) (length 2.54)
        (name "PD6" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -30.48 180) (length 2.54)
        (name "PD7" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 30.48 180) (length 2.54)
        (name "PB0" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 27.94 180) (length 2.54)
        (name "PB1" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 25.4 180) (length 2.54)
        (name "PB2" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 22.86 180) (length 2.54)
        (name "PB3" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 20.32 180) (length 2.54)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 17.78 180) (length 2.54)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 38.1 270) (length 2.54)
        (name "AVCC" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -15.24 25.4 0) (length 2.54)
        (name "ADC6" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -22.86 180) (length 2.54)
        (name "PD4" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin passive line (at -15.24 30.48 0) (length 2.54)
        (name "AREF" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin passive line (at 0 -38.1 90) (length 2.54) hide
        (name "GND" (effects (font (size 1.27 1.27))))
        (number "21" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -15.24 22.86 0) (length 2.54)
        (name "ADC7" (effects (font (size 1.27 1.27))))
        (number "22" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 7.62 180) (length 2.54)
        (name "PC0" (effects (font (size 1.27 1.27))))
        (number "23" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 5.08 180) (length 2.54)
        (name "PC1" (effects (font (size 1.27 1.27))))
        (number "24" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 2.54 180) (length 2.54)
        (name "PC2" (effects (font (size 1.27 1.27))))
        (number "25" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 0 180) (length 2.54)
        (name "PC3" (effects (font (size 1.27 1.27))))
        (number "26" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -2.54 180) (length 2.54)
        (name "PC4" (effects (font (size 1.27 1.27))))
        (number "27" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -5.08 180) (length 2.54)
        (name "PC5" (effects (font (size 1.27 1.27))))
        (number "28" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -7.62 180) (length 2.54)
        (name "~{RESET}/PC6" (effects (font (size 1.27 1.27))))
        (number "29" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 -38.1 90) (length 2.54)
        (name "GND" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -12.7 180) (length 2.54)
        (name "PD0" (effects (font (size 1.27 1.27))))
        (number "30" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -15.24 180) (length 2.54)
        (name "PD1" (effects (font (size 1.27 1.27))))
        (number "31" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -17.78 180) (length 2.54)
        (name "PD2" (effects (font (size 1.27 1.27))))
        (number "32" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 38.1 270) (length 2.54)
        (name "VCC" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin passive line (at 0 -38.1 90) (length 2.54) hide
        (name "GND" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin passive line (at 0 38.1 270) (length 2.54) hide
        (name "VCC" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 15.24 180) (length 2.54)
        (name "XTAL1/PB6" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 12.7 180) (length 2.54)
        (name "XTAL2/PB7" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -25.4 180) (length 2.54)
        (name "PD5" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
  )
  (symbol "STM32G431K6" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at 8.89 -29.21 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Value" "STM32G431K6" (id 1) (at 13.97 -31.75 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Footprint" "Package_QFP:LQFP-32_7x7mm_P0.8mm" (id 2) (at 0 33.02 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "" (id 3) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "32bit ARM-Cortex M4 Microcontroller" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "STM32G431K6_0_1"
      (rectangle (start -12.7 15.24) (end 12.7 -27.94)
        (stroke (width 0.254) (type default) (color 0 0 0 0))
        (fill (type background))
      )
    )
    (symbol "STM32G431K6_1_1"
      (pin power_in line (at -2.54 17.78 270) (length 2.54)
        (name "VDD" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 0 180) (length 2.54)
        (name "PA5" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -2.54 180) (length 2.54)
        (name "PA6" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -5.08 180) (length 2.54)
        (name "PA7" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -12.7 0) (length 2.54)
        (name "PB0" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 -30.48 90) (length 2.54)
        (name "VSSA" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 17.78 270) (length 2.54)
        (name "VDDA" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 -30.48 90) (length 2.54)
        (name "VSS" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 17.78 270) (length 2.54)
        (name "VDD" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -7.62 180) (length 2.54)
        (name "PA8" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -10.16 180) (length 2.54)
        (name "PA9" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -15.24 -3.81 0) (length 2.54)
        (name "PF0_OSC-In" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -12.7 180) (length 2.54)
        (name "PA10" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -15.24 180) (length 2.54)
        (name "PA11" (effects (font (size 1.27 1.27))))
        (number "21" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -17.78 180) (length 2.54)
        (name "PA12" (effects (font (size 1.27 1.27))))
        (number "22" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -20.32 180) (length 2.54)
        (name "PA13" (effects (font (size 1.27 1.27))))
        (number "23" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -22.86 180) (length 2.54)
        (name "PA14" (effects (font (size 1.27 1.27))))
        (number "24" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -25.4 180) (length 2.54)
        (name "PA15" (effects (font (size 1.27 1.27))))
        (number "25" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -15.24 0) (length 2.54)
        (name "PB3" (effects (font (size 1.27 1.27))))
        (number "26" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -17.78 0) (length 2.54)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "27" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -20.32 0) (length 2.54)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "28" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -22.86 0) (length 2.54)
        (name "PB6" (effects (font (size 1.27 1.27))))
        (number "29" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -15.24 -6.35 0) (length 2.54)
        (name "PF1_OSC-Out" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -25.4 0) (length 2.54)
        (name "PB7" (effects (font (size 1.27 1.27))))
        (number "30" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 5.08 0) (length 2.54)
        (name "BOOT0" (effects (font (size 1.27 1.27))))
        (number "31" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -2.54 -30.48 90) (length 2.54)
        (name "VSS" (effects (font (size 1.27 1.27))))
        (number "32" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -15.24 8.89 0) (length 2.54)
        (name "NRST" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 12.7 180) (length 2.54)
        (name "PA0" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 10.16 180) (length 2.54)
        (name "PA1" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 7.62 180) (length 2.54)
        (name "PA2" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 5.08 180) (length 2.54)
        (name "PA3" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 2.54 180) (length 2.54)
        (name "PA4" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
  )
)
