(kicad_symbol_lib
	(version 20231120)
	(generator "kicad_symbol_editor")
	(generator_version "8.0")
	(symbol "P8051"
		(exclude_from_sim no)
		(in_bom yes)
		(on_board yes)
		(property "Reference" "U1"
			(at 2.1941 43.18 0)
			(effects
				(font
					(size 1.27 1.27)
				)
				(justify left)
			)
		)
		(property "Value" "P8051"
			(at 2.1941 40.64 0)
			(effects
				(font
					(size 1.27 1.27)
				)
				(justify left)
			)
		)
		(property "Footprint" "Package_DIP:DIP-40_W15.24mm"
			(at 30.48 -33.02 0)
			(effects
				(font
					(size 1.27 1.27)
				)
				(hide yes)
			)
		)
		(property "Datasheet" "https://ww1.microchip.com/downloads/en/DeviceDoc/doc2487.pdf"
			(at 45.72 -35.56 0)
			(effects
				(font
					(size 1.27 1.27)
				)
				(hide yes)
			)
		)
		(property "Description" "8-bit Microcontroller with 4K Bytes Flash, DIP-40"
			(at 0 0 0)
			(effects
				(font
					(size 1.27 1.27)
				)
				(hide yes)
			)
		)
		(property "ki_keywords" "Microcontroller 8051 DIP"
			(at 0 0 0)
			(effects
				(font
					(size 1.27 1.27)
				)
				(hide yes)
			)
		)
		(property "ki_fp_filters" "DIP*40*W15.24*"
			(at 0 0 0)
			(effects
				(font
					(size 1.27 1.27)
				)
				(hide yes)
			)
		)
		(symbol "P8051_1_0"
			(pin bidirectional line
				(at -15.24 17.78 0)
				(length 2.54)
				(name "P1.2"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "3"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
		)
		(symbol "P8051_1_1"
			(polyline
				(pts
					(xy -12.7 38.1) (xy 12.7 38.1) (xy 12.7 -38.1) (xy -12.7 -38.1) (xy -12.7 38.1)
				)
				(stroke
					(width 0.254)
					(type default)
				)
				(fill
					(type background)
				)
			)
			(pin bidirectional line
				(at -15.24 22.86 0)
				(length 2.54)
				(name "P1.0"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "1"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin bidirectional line
				(at -15.24 -2.54 0)
				(length 2.54)
				(name "P3.0"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "10"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(alternate "RXD" input line)
			)
			(pin bidirectional line
				(at -15.24 -5.08 0)
				(length 2.54)
				(name "P3.1"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "11"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(alternate "TXD" output line)
			)
			(pin bidirectional line
				(at -15.24 -7.62 0)
				(length 2.54)
				(name "P3.2"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "12"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(alternate "~{INT0}" input line)
			)
			(pin bidirectional line
				(at -15.24 -10.16 0)
				(length 2.54)
				(name "P3.3"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "13"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(alternate "~{INT1}" input line)
			)
			(pin bidirectional line
				(at -15.24 -12.7 0)
				(length 2.54)
				(name "P3.4"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "14"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(alternate "T0" input line)
			)
			(pin bidirectional line
				(at -15.24 -15.24 0)
				(length 2.54)
				(name "P3.5"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "15"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(alternate "T1" input line)
			)
			(pin bidirectional line
				(at -15.24 -17.78 0)
				(length 2.54)
				(name "P3.6"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "16"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(alternate "~{WR}" output line)
			)
			(pin bidirectional line
				(at -15.24 -20.32 0)
				(length 2.54)
				(name "P3.7"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "17"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(alternate "~{RD}" input line)
			)
			(pin input line
				(at -15.24 -27.94 0)
				(length 2.54)
				(name "XTAL2"
					(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 "XTAL1"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "19"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin bidirectional line
				(at -15.24 20.32 0)
				(length 2.54)
				(name "P1.1"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "2"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin power_in line
				(at 0 -40.64 90)
				(length 2.54)
				(name "GND"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "20"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin bidirectional line
				(at 15.24 -2.54 180)
				(length 2.54)
				(name "P2.0/A8"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "21"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin bidirectional line
				(at 15.24 -5.08 180)
				(length 2.54)
				(name "P2.1/A9"
					(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 "P2.2/A10"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "23"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin bidirectional line
				(at 15.24 -10.16 180)
				(length 2.54)
				(name "P2.3/A11"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "24"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin bidirectional line
				(at 15.24 -12.7 180)
				(length 2.54)
				(name "P2.4/A12"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "25"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin bidirectional line
				(at 15.24 -15.24 180)
				(length 2.54)
				(name "P2.5/A13"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "26"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin bidirectional line
				(at 15.24 -17.78 180)
				(length 2.54)
				(name "P2.6/A14"
					(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 "P2.7/A15"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "28"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin output line
				(at 15.24 -25.4 180)
				(length 2.54)
				(name "~{PSEN}"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "29"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin output line
				(at 15.24 -27.94 180)
				(length 2.54)
				(name "ALE"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "30"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(alternate "~{PROG}" input line)
			)
			(pin bidirectional line
				(at 15.24 34.29 180)
				(length 2.54)
				(name "!EA/Vpp"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "31"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin input line
				(at -15.24 -33.02 0)
				(length 2.54)
				(name "~{EA}/V_{pp}"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "31"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin bidirectional line
				(at 15.24 5.08 180)
				(length 2.54)
				(name "P0.7/AD7"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "32"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin bidirectional line
				(at 15.24 7.62 180)
				(length 2.54)
				(name "P0.6/AD6"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "33"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin bidirectional line
				(at 15.24 10.16 180)
				(length 2.54)
				(name "P0.5/AD5"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "34"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin bidirectional line
				(at 15.24 12.7 180)
				(length 2.54)
				(name "P0.4/AD4"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "35"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin bidirectional line
				(at 15.24 15.24 180)
				(length 2.54)
				(name "P0.3/AD3"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "36"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin bidirectional line
				(at 15.24 17.78 180)
				(length 2.54)
				(name "P0.2/AD2"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "37"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin bidirectional line
				(at 15.24 20.32 180)
				(length 2.54)
				(name "P0.1/AD1"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "38"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin bidirectional line
				(at 15.24 22.86 180)
				(length 2.54)
				(name "P0.0/AD0"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "39"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin bidirectional line
				(at -15.24 15.24 0)
				(length 2.54)
				(name "P1.3"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "4"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin power_in line
				(at 0 40.64 270)
				(length 2.54)
				(name "V_{cc}"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "40"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin bidirectional line
				(at -15.24 12.7 0)
				(length 2.54)
				(name "P1.4"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "5"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin bidirectional line
				(at -15.24 10.16 0)
				(length 2.54)
				(name "P1.5"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "6"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(alternate "MOSI" output line)
			)
			(pin bidirectional line
				(at -15.24 7.62 0)
				(length 2.54)
				(name "P1.6"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "7"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(alternate "MISO" input line)
			)
			(pin bidirectional line
				(at -15.24 5.08 0)
				(length 2.54)
				(name "P1.7/SCK"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "8"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
			(pin input line
				(at -15.24 27.94 0)
				(length 2.54)
				(name "RST"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
				(number "9"
					(effects
						(font
							(size 1.27 1.27)
						)
					)
				)
			)
		)
	)
)
