← Commit history

Publish 0.1.0

Ray ·3b45a3d7b7 · ·parent c55ec19
6 files changed +563
docs/hero.pngadded
⋯ 1 unchanged line ⋯
docs/pc817-datasheet.pdfadded
⋯ 1 unchanged line ⋯
package.jsonadded+30
@@ -0,0 +1,30 @@+{+  "slug": "pc817",+  "version": "0.1.0",+  "type": "component",+  "description": "Sharp phototransistor optocoupler, DIP-4. 5.0 kVrms isolation, IRED + NPN phototransistor. Datasheet-verified.",+  "tags": [+    "component",+    "optocoupler",+    "photocoupler",+    "isolation",+    "dip-4",+    "sharp"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "pc817.kicad_sym",+    "pc817.kicad_mod",+    "pc817.glb",+    "docs/hero.png",+    "docs/pc817-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ]+}\ No newline at end of file
pc817.glbadded
⋯ 1 unchanged line ⋯
pc817.kicad_modadded+206
@@ -0,0 +1,206 @@+(footprint "DIP-4_W7.62mm"+	(version 20260206)+	(generator "kicad-footprint-generator")+	(layer "F.Cu")+	(descr "4-lead though-hole mounted DIP package, row spacing 7.62mm (300 mils)")+	(tags "THT DIP DIL PDIP 2.54mm 7.62mm 300mil")+	(property "Reference" "REF**"+		(at 3.81 -2.33 0)+		(layer "F.SilkS")+		(effects+			(font+				(size 1 1)+				(thickness 0.15)+			)+		)+	)+	(property "Value" "DIP-4_W7.62mm"+		(at 3.81 4.87 0)+		(layer "F.Fab")+		(effects+			(font+				(size 1 1)+				(thickness 0.15)+			)+		)+	)+	(property "KiLib_Generator" "package/DIP/legacy"+		(at 0 0 0)+		(layer "F.SilkS")+		(hide yes)+		(effects+			(font+				(size 1 1)+				(thickness 0.15)+			)+		)+	)+	(attr through_hole)+	(duplicate_pad_numbers_are_jumpers no)+	(fp_line+		(start 1.16 -1.33)+		(end 1.16 3.87)+		(stroke+			(width 0.12)+			(type solid)+		)+		(layer "F.SilkS")+	)+	(fp_line+		(start 1.16 3.87)+		(end 6.46 3.87)+		(stroke+			(width 0.12)+			(type solid)+		)+		(layer "F.SilkS")+	)+	(fp_line+		(start 2.81 -1.33)+		(end 1.16 -1.33)+		(stroke+			(width 0.12)+			(type solid)+		)+		(layer "F.SilkS")+	)+	(fp_line+		(start 6.46 -1.33)+		(end 4.81 -1.33)+		(stroke+			(width 0.12)+			(type solid)+		)+		(layer "F.SilkS")+	)+	(fp_line+		(start 6.46 3.87)+		(end 6.46 -1.33)+		(stroke+			(width 0.12)+			(type solid)+		)+		(layer "F.SilkS")+	)+	(fp_arc+		(start 4.81 -1.33)+		(mid 3.81 -0.33)+		(end 2.81 -1.33)+		(stroke+			(width 0.12)+			(type solid)+		)+		(layer "F.SilkS")+	)+	(fp_rect+		(start -1.06 -1.52)+		(end 8.67 4.07)+		(stroke+			(width 0.05)+			(type solid)+		)+		(fill no)+		(layer "F.CrtYd")+	)+	(fp_line+		(start 0.635 -0.27)+		(end 1.635 -1.27)+		(stroke+			(width 0.1)+			(type solid)+		)+		(layer "F.Fab")+	)+	(fp_line+		(start 0.635 3.81)+		(end 0.635 -0.27)+		(stroke+			(width 0.1)+			(type solid)+		)+		(layer "F.Fab")+	)+	(fp_line+		(start 1.635 -1.27)+		(end 6.985 -1.27)+		(stroke+			(width 0.1)+			(type solid)+		)+		(layer "F.Fab")+	)+	(fp_line+		(start 6.985 -1.27)+		(end 6.985 3.81)+		(stroke+			(width 0.1)+			(type solid)+		)+		(layer "F.Fab")+	)+	(fp_line+		(start 6.985 3.81)+		(end 0.635 3.81)+		(stroke+			(width 0.1)+			(type solid)+		)+		(layer "F.Fab")+	)+	(fp_text user "${REFERENCE}"+		(at 3.81 1.27 0)+		(layer "F.Fab")+		(effects+			(font+				(size 1 1)+				(thickness 0.15)+			)+		)+	)+	(pad "1" thru_hole roundrect+		(at 0 0)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+		(roundrect_rratio 0.15625)+	)+	(pad "2" thru_hole circle+		(at 0 2.54)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "3" thru_hole circle+		(at 7.62 2.54)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(pad "4" thru_hole circle+		(at 7.62 0)+		(size 1.6 1.6)+		(drill 0.8)+		(layers "*.Cu" "*.Mask")+		(remove_unused_layers no)+	)+	(point+		(at 3.81 1.27)+		(size 1.27)+		(layer "F.Fab")+	)+	(embedded_fonts no)+	(model "${KICAD10_3DMODEL_DIR}/Package_DIP.3dshapes/DIP-4_W7.62mm.step"+		(offset+			(xyz 0 0 0)+		)+		(scale+			(xyz 1 1 1)+		)+		(rotate+			(xyz 0 0 0)+		)+	)+)
pc817.kicad_symadded+327
@@ -0,0 +1,327 @@+(kicad_symbol_lib+	(version 20251024)+	(generator "kicad_symbol_editor")+	(generator_version "10.0")+(symbol "PC817"+		(pin_names+			(offset 1.016)+		)+		(exclude_from_sim no)+		(in_bom yes)+		(on_board yes)+		(in_pos_files yes)+		(duplicate_pin_numbers_are_jumpers no)+		(property "Reference" "U"+			(at -5.08 5.08 0)+			(show_name no)+			(do_not_autoplace no)+			(effects+				(font+					(size 1.27 1.27)+				)+				(justify left)+			)+		)+		(property "Value" "PC817"+			(at 0 5.08 0)+			(show_name no)+			(do_not_autoplace no)+			(effects+				(font+					(size 1.27 1.27)+				)+				(justify left)+			)+		)+		(property "Footprint" "Package_DIP:DIP-4_W7.62mm"+			(at -5.08 -5.08 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+					(italic yes)+				)+				(justify left)+			)+		)+		(property "Datasheet" "http://www.soselectronic.cz/a_info/resource/d/pc817.pdf"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+				(justify left)+			)+		)+		(property "Description" "DC Optocoupler, Vce 35V, CTR 50-300%, DIP-4"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "ki_keywords" "NPN DC Optocoupler"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(property "ki_fp_filters" "DIP*W7.62mm*"+			(at 0 0 0)+			(show_name no)+			(do_not_autoplace no)+			(hide yes)+			(effects+				(font+					(size 1.27 1.27)+				)+			)+		)+		(symbol "PC817_0_1"+			(rectangle+				(start -5.08 3.81)+				(end 5.08 -3.81)+				(stroke+					(width 0.254)+					(type default)+				)+				(fill+					(type background)+				)+			)+			(polyline+				(pts+					(xy -5.08 2.54) (xy -2.54 2.54) (xy -2.54 -0.635)+				)+				(stroke+					(width 0)+					(type default)+				)+				(fill+					(type none)+				)+			)+			(polyline+				(pts+					(xy -3.175 -0.635) (xy -1.905 -0.635)+				)+				(stroke+					(width 0.254)+					(type default)+				)+				(fill+					(type none)+				)+			)+			(polyline+				(pts+					(xy -2.54 -0.635) (xy -2.54 -2.54) (xy -5.08 -2.54)+				)+				(stroke+					(width 0)+					(type default)+				)+				(fill+					(type none)+				)+			)+			(polyline+				(pts+					(xy -2.54 -0.635) (xy -3.175 0.635) (xy -1.905 0.635) (xy -2.54 -0.635)+				)+				(stroke+					(width 0.254)+					(type default)+				)+				(fill+					(type none)+				)+			)+			(polyline+				(pts+					(xy -0.508 0.508) (xy 0.762 0.508) (xy 0.381 0.381) (xy 0.381 0.635) (xy 0.762 0.508)+				)+				(stroke+					(width 0)+					(type default)+				)+				(fill+					(type none)+				)+			)+			(polyline+				(pts+					(xy -0.508 -0.508) (xy 0.762 -0.508) (xy 0.381 -0.635) (xy 0.381 -0.381) (xy 0.762 -0.508)+				)+				(stroke+					(width 0)+					(type default)+				)+				(fill+					(type none)+				)+			)+			(polyline+				(pts+					(xy 2.54 1.905) (xy 2.54 -1.905)+				)+				(stroke+					(width 0.508)+					(type default)+				)+				(fill+					(type none)+				)+			)+			(polyline+				(pts+					(xy 2.54 0.635) (xy 4.445 2.54)+				)+				(stroke+					(width 0)+					(type default)+				)+				(fill+					(type none)+				)+			)+			(polyline+				(pts+					(xy 3.048 -1.651) (xy 3.556 -1.143) (xy 4.064 -2.159) (xy 3.048 -1.651)+				)+				(stroke+					(width 0)+					(type default)+				)+				(fill+					(type outline)+				)+			)+			(polyline+				(pts+					(xy 4.445 2.54) (xy 5.08 2.54)+				)+				(stroke+					(width 0)+					(type default)+				)+				(fill+					(type none)+				)+			)+			(polyline+				(pts+					(xy 4.445 -2.54) (xy 2.54 -0.635)+				)+				(stroke+					(width 0)+					(type default)+				)+				(fill+					(type outline)+				)+			)+			(polyline+				(pts+					(xy 4.445 -2.54) (xy 5.08 -2.54)+				)+				(stroke+					(width 0)+					(type default)+				)+				(fill+					(type none)+				)+			)+		)+		(symbol "PC817_1_1"+			(pin passive line+				(at -7.62 2.54 0)+				(length 2.54)+				(name ""+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "1"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin passive line+				(at -7.62 -2.54 0)+				(length 2.54)+				(name ""+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "2"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin passive line+				(at 7.62 -2.54 180)+				(length 2.54)+				(name ""+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "3"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+			(pin passive line+				(at 7.62 2.54 180)+				(length 2.54)+				(name ""+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+				(number "4"+					(effects+						(font+							(size 1.27 1.27)+						)+					)+				)+			)+		)+		(embedded_fonts no)+	)+)