(kicad_symbol_lib (version 20220914) (generator kicad_symbol_editor)
  (symbol "ATMega328P" (in_bom yes) (on_board yes)
    (property "Reference" "U2" (at 0 40.0342 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Value" "ATMega328P" (at 0 37.3901 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Footprint" "Package_DIP:DIP-28_W7.62mm" (at 0 0 0)
      (effects (font (size 1.27 1.27) italic) hide)
    )
    (property "Datasheet" "https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7810-Automotive-Microcontrollers-ATmega328P_Datasheet.pdf" (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "AVR 8bit Microcontroller MegaAVR" (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "10MHz, 4kB Flash, 512B SRAM, 256B EEPROM, DIP-28" (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "DIP*W7.62mm*" (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "ATMega328P_0_1"
      (rectangle (start -12.7 35.56) (end 12.7 -35.56)
        (stroke (width 0.254) (type default))
        (fill (type background))
      )
    )
    (symbol "ATMega328P_1_1"
      (pin bidirectional line (at -15.24 33.02 0) (length 2.54)
        (name "~{RESET}/PC6" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 12.7 0) (length 2.54)
        (name "XTAL2/PB7" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 1.27 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 15.24 -1.27 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 15.24 -3.81 180) (length 2.54)
        (name "PD7" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -20.32 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 15.24 -22.86 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 15.24 -25.4 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 15.24 -27.94 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 15.24 -30.48 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 15.24 -33.02 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 15.24 13.97 180) (length 2.54)
        (name "PD0" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -15.24 27.94 0) (length 2.54)
        (name "AVCC" (effects (font (size 1.27 1.27))))
        (number "20" (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 "21" (effects (font (size 1.27 1.27))))
      )
      (pin passive line (at -15.24 25.4 0) (length 2.54)
        (name "AGND" (effects (font (size 1.27 1.27))))
        (number "22" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 33.02 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 30.48 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 27.94 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 25.4 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 22.86 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 20.32 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 11.43 180) (length 2.54)
        (name "PD1" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 8.89 180) (length 2.54)
        (name "PD2" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 6.35 180) (length 2.54)
        (name "PD3" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 3.81 180) (length 2.54)
        (name "PD4" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -15.24 -11.43 0) (length 2.54)
        (name "VCC" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -15.24 -13.97 0) (length 2.54)
        (name "GND" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 15.24 0) (length 2.54)
        (name "XTAL1/PB6" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
  )
)
