(footprint "RaspberryPi_Pico_Common_THT"
	(version 20241229)
	(generator "pcbnew")
	(generator_version "9.0")
	(layer "F.Cu")
	(descr "Raspberry Pi Pico common (Pico & Pico W) through-hole footprint, supports Raspberry Pi Pico 2, default socketed model has height of 8.51mm, https://datasheets.raspberrypi.com/pico/pico-datasheet.pdf")
	(tags "module usb pcb antenna")
	(property "Reference" "REF**"
		(at 20.6375 48.895 0)
		(unlocked yes)
		(layer "F.SilkS")
	)
	(property "Value" "RaspberryPi_Pico_Common_THT"
		(at 8.89 52.07 0)
		(unlocked yes)
		(layer "F.Fab")
	)
	(property "Datasheet" ""
		(at 8.89 24.13 0)
		(layer "F.Fab")
		(hide yes)
	)
	(property "Description" ""
		(at 8.89 24.13 0)
		(layer "F.Fab")
		(hide yes)
	)
	(attr through_hole)
	(fp_text user "Keep Out"
		(at 8.89 45.72 0)
		(unlocked yes)
		(layer "Cmts.User")
	)
	(fp_text user "USB Cable"
		(at 8.89 -13.335 0)
		(unlocked yes)
		(layer "Cmts.User")
	)
	(fp_text user "Possible Antenna"
		(at 8.89 43.815 0)
		(unlocked yes)
		(layer "Cmts.User")
	)
	(fp_text user "${REFERENCE}"
		(at 8.89 24.13 90)
		(layer "F.Fab")
	)
	(pad "1" thru_hole roundrect
		(at 0 0)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
		(roundrect_rratio 0.125)
	)
	(pad "2" thru_hole circle
		(at 0 2.54)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "3" thru_hole custom
		(at 0 5.08)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy 0.8 0.6) (xy 0.8 -0.6) (xy 0.6 -0.8) (xy 0 -0.8) (xy 0 0.8) (xy 0.6 0.8)
				)
				(width 0)
				(fill yes)
			)
			(gr_circle
				(center 0.6 0.6)
				(end 0.8 0.6)
				(width 0)
				(fill yes)
			)
			(gr_circle
				(center 0.6 -0.6)
				(end 0.8 -0.6)
				(width 0)
				(fill yes)
			)
		)
	)
	(pad "4" thru_hole circle
		(at 0 7.62)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "5" thru_hole circle
		(at 0 10.16)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "6" thru_hole circle
		(at 0 12.7)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "7" thru_hole circle
		(at 0 15.24)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "8" thru_hole custom
		(at 0 17.78)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy 0.8 0.6) (xy 0.8 -0.6) (xy 0.6 -0.8) (xy 0 -0.8) (xy 0 0.8) (xy 0.6 0.8)
				)
				(width 0)
				(fill yes)
			)
			(gr_circle
				(center 0.6 0.6)
				(end 0.8 0.6)
				(width 0)
				(fill yes)
			)
			(gr_circle
				(center 0.6 -0.6)
				(end 0.8 -0.6)
				(width 0)
				(fill yes)
			)
		)
	)
	(pad "9" thru_hole circle
		(at 0 20.32)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "10" thru_hole circle
		(at 0 22.86)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "11" thru_hole circle
		(at 0 25.4)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "12" thru_hole circle
		(at 0 27.94)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "13" thru_hole custom
		(at 0 30.48)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy 0.8 0.6) (xy 0.8 -0.6) (xy 0.6 -0.8) (xy 0 -0.8) (xy 0 0.8) (xy 0.6 0.8)
				)
				(width 0)
				(fill yes)
			)
			(gr_circle
				(center 0.6 0.6)
				(end 0.8 0.6)
				(width 0)
				(fill yes)
			)
			(gr_circle
				(center 0.6 -0.6)
				(end 0.8 -0.6)
				(width 0)
				(fill yes)
			)
		)
	)
	(pad "14" thru_hole circle
		(at 0 33.02)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "15" thru_hole circle
		(at 0 35.56)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "16" thru_hole circle
		(at 0 38.1)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "17" thru_hole circle
		(at 0 40.64)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "18" thru_hole custom
		(at 0 43.18)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy 0.8 0.6) (xy 0.8 -0.6) (xy 0.6 -0.8) (xy 0 -0.8) (xy 0 0.8) (xy 0.6 0.8)
				)
				(width 0)
				(fill yes)
			)
			(gr_circle
				(center 0.6 0.6)
				(end 0.8 0.6)
				(width 0)
				(fill yes)
			)
			(gr_circle
				(center 0.6 -0.6)
				(end 0.8 -0.6)
				(width 0)
				(fill yes)
			)
		)
	)
	(pad "19" thru_hole circle
		(at 0 45.72)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "20" thru_hole circle
		(at 0 48.26)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "21" thru_hole circle
		(at 17.78 48.26)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "22" thru_hole circle
		(at 17.78 45.72)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "23" thru_hole custom
		(at 17.78 43.18)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy -0.8 0.6) (xy -0.8 -0.6) (xy -0.6 -0.8) (xy 0 -0.8) (xy 0 0.8) (xy -0.6 0.8)
				)
				(width 0)
				(fill yes)
			)
			(gr_circle
				(center -0.6 0.6)
				(end -0.4 0.6)
				(width 0)
				(fill yes)
			)
			(gr_circle
				(center -0.6 -0.6)
				(end -0.4 -0.6)
				(width 0)
				(fill yes)
			)
		)
	)
	(pad "24" thru_hole circle
		(at 17.78 40.64)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "25" thru_hole circle
		(at 17.78 38.1)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "26" thru_hole circle
		(at 17.78 35.56)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "27" thru_hole circle
		(at 17.78 33.02)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "28" thru_hole custom
		(at 17.78 30.48)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy -0.8 0.6) (xy -0.8 -0.6) (xy -0.6 -0.8) (xy 0 -0.8) (xy 0 0.8) (xy -0.6 0.8)
				)
				(width 0)
				(fill yes)
			)
			(gr_circle
				(center -0.6 0.6)
				(end -0.4 0.6)
				(width 0)
				(fill yes)
			)
			(gr_circle
				(center -0.6 -0.6)
				(end -0.4 -0.6)
				(width 0)
				(fill yes)
			)
		)
	)
	(pad "29" thru_hole circle
		(at 17.78 27.94)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "30" thru_hole circle
		(at 17.78 25.4)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "31" thru_hole circle
		(at 17.78 22.86)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "32" thru_hole circle
		(at 17.78 20.32)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "33" thru_hole custom
		(at 17.78 17.78)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy -0.8 0.6) (xy -0.8 -0.6) (xy -0.6 -0.8) (xy 0 -0.8) (xy 0 0.8) (xy -0.6 0.8)
				)
				(width 0)
				(fill yes)
			)
			(gr_circle
				(center -0.6 0.6)
				(end -0.4 0.6)
				(width 0)
				(fill yes)
			)
			(gr_circle
				(center -0.6 -0.6)
				(end -0.4 -0.6)
				(width 0)
				(fill yes)
			)
		)
	)
	(pad "34" thru_hole circle
		(at 17.78 15.24)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "35" thru_hole circle
		(at 17.78 12.7)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "36" thru_hole circle
		(at 17.78 10.16)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "37" thru_hole circle
		(at 17.78 7.62)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "38" thru_hole custom
		(at 17.78 5.08)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
		(options
			(clearance outline)
			(anchor circle)
		)
		(primitives
			(gr_poly
				(pts
					(xy -0.8 0.6) (xy -0.8 -0.6) (xy -0.6 -0.8) (xy 0 -0.8) (xy 0 0.8) (xy -0.6 0.8)
				)
				(width 0)
				(fill yes)
			)
			(gr_circle
				(center -0.6 0.6)
				(end -0.4 0.6)
				(width 0)
				(fill yes)
			)
			(gr_circle
				(center -0.6 -0.6)
				(end -0.4 -0.6)
				(width 0)
				(fill yes)
			)
		)
	)
	(pad "39" thru_hole circle
		(at 17.78 2.54)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(pad "40" thru_hole circle
		(at 17.78 0)
		(size 1.6 1.6)
		(drill 1)
		(layers "*.Cu" "*.Mask")
		(remove_unused_layers no)
	)
	(zone
		(net 0)
		(net_name "")
		(layers "F.Cu" "B.Cu" "In1.Cu" "In2.Cu" "In3.Cu" "In4.Cu" "In5.Cu" "F.Paste"
			"In6.Cu" "B.Paste" "In7.Cu" "In8.Cu" "In9.Cu" "In10.Cu" "In11.Cu" "In12.Cu"
			"In13.Cu" "In14.Cu" "In15.Cu" "In16.Cu" "In17.Cu" "In18.Cu" "In19.Cu"
			"In20.Cu" "In21.Cu" "In22.Cu" "In23.Cu" "In24.Cu" "In25.Cu" "In26.Cu"
			"In27.Cu" "In28.Cu" "In29.Cu" "In30.Cu"
		)
		(name "Antenna Copper Keep Out")
		(hatch full 0.5)
		(connect_pads
			(clearance 0)
		)
		(min_thickness 0.254)
		(filled_areas_thickness no)
		(keepout
			(tracks not_allowed)
			(vias not_allowed)
			(pads not_allowed)
			(copperpour not_allowed)
			(footprints allowed)
		)
		(placement
			(enabled no)
			(sheetname "")
		)
		(fill
			(thermal_gap 0.508)
			(thermal_bridge_width 0.508)
		)
		(polygon
			(pts
				(xy 6.49 49.119895) (xy 1.79 45.469895) (xy 1.79 41.13) (xy 15.99 41.13) (xy 15.99 45.469895) (xy 11.29 49.119895)
				(xy 11.29 50.13) (xy 6.49 50.13)
			)
		)
	)
	(zone
		(net 0)
		(net_name "")
		(layer "F.CrtYd")
		(name "USB Cable")
		(hatch edge 0.5)
		(connect_pads
			(clearance 0)
		)
		(min_thickness 0.254)
		(filled_areas_thickness no)
		(keepout
			(tracks allowed)
			(vias allowed)
			(pads allowed)
			(copperpour allowed)
			(footprints allowed)
		)
		(placement
			(enabled no)
			(sheetname "")
		)
		(fill
			(thermal_gap 0.508)
			(thermal_bridge_width 0.508)
		)
		(polygon
			(pts
				(xy 3.14 -3.57) (xy 4.95 -3.57) (xy 4.95 -3.17) (xy 12.83 -3.17) (xy 12.83 -3.57) (xy 14.64 -3.57)
				(xy 14.64 -23.07) (xy 3.14 -23.07)
			)
		)
	)
	(embedded_fonts no)
	(model "${KICAD9_3DMODEL_DIR}/Module.3dshapes/RaspberryPi_Pico_DIP-40_W17.78mm_H8.51mm_Socket.wrl"
		(hide yes)
		(offset
			(xyz 8.89 -24.13 0)
		)
		(scale
			(xyz 1 1 1)
		)
		(rotate
			(xyz 0 0 0)
		)
	)
	(model "${KICAD9_3DMODEL_DIR}/Module.3dshapes/RaspberryPi_Pico_AddedHeaders.wrl"
		(hide yes)
		(offset
			(xyz 8.89 -24.13 0)
		)
		(scale
			(xyz 1 1 1)
		)
		(rotate
			(xyz 0 0 0)
		)
	)
	(model "${KICAD9_3DMODEL_DIR}/Module.3dshapes/RaspberryPi_Pico_AddedHeaders_Socketed.wrl"
		(hide yes)
		(offset
			(xyz 8.89 -24.13 0)
		)
		(scale
			(xyz 1 1 1)
		)
		(rotate
			(xyz 0 0 0)
		)
	)
	(model "${KICAD9_3DMODEL_DIR}/Module.3dshapes/RaspberryPi_Pico_H.wrl"
		(offset
			(xyz 8.89 -24.13 0)
		)
		(scale
			(xyz 1 1 1)
		)
		(rotate
			(xyz 0 0 0)
		)
	)
	(model "${KICAD9_3DMODEL_DIR}/Module.3dshapes/RaspberryPi_Pico_H_Socketed.wrl"
		(hide yes)
		(offset
			(xyz 8.89 -24.13 0)
		)
		(scale
			(xyz 1 1 1)
		)
		(rotate
			(xyz 0 0 0)
		)
	)
	(model "${KICAD9_3DMODEL_DIR}/Module.3dshapes/RaspberryPi_Pico_W_AddedHeaders.wrl"
		(hide yes)
		(offset
			(xyz 8.89 -24.13 0)
		)
		(scale
			(xyz 1 1 1)
		)
		(rotate
			(xyz 0 0 0)
		)
	)
	(model "${KICAD9_3DMODEL_DIR}/Module.3dshapes/RaspberryPi_Pico_W_AddedHeaders_Socketed.wrl"
		(hide yes)
		(offset
			(xyz 8.89 -24.13 0)
		)
		(scale
			(xyz 1 1 1)
		)
		(rotate
			(xyz 0 0 0)
		)
	)
	(model "${KICAD9_3DMODEL_DIR}/Module.3dshapes/RaspberryPi_Pico_WH.wrl"
		(hide yes)
		(offset
			(xyz 8.89 -24.13 0)
		)
		(scale
			(xyz 1 1 1)
		)
		(rotate
			(xyz 0 0 0)
		)
	)
	(model "${KICAD9_3DMODEL_DIR}/Module.3dshapes/RaspberryPi_Pico_WH_Socketed.wrl"
		(hide yes)
		(offset
			(xyz 8.89 -24.13 0)
		)
		(scale
			(xyz 1 1 1)
		)
		(rotate
			(xyz 0 0 0)
		)
	)
)
