Bläddra i källkod

Change of switches

Per Mårtensson 1 vecka sedan
förälder
incheckning
1eba592a0f

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 581 - 329
fp-info-cache


BIN
pdf/rgb-to-hdmi.pdf


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 179 - 224
rgb-to-hdmi.kicad_pcb


+ 91 - 40
rgb-to-hdmi.kicad_prl

@@ -1,6 +1,6 @@
 {
   "board": {
-    "active_layer": 0,
+    "active_layer": 2,
     "active_layer_preset": "",
     "auto_track_width": false,
     "hidden_netclasses": [],
@@ -10,6 +10,7 @@
     "opacity": {
       "images": 0.6,
       "pads": 1.0,
+      "shapes": 1.0,
       "tracks": 1.0,
       "vias": 1.0,
       "zones": 0.6
@@ -28,6 +29,55 @@
       "zones": true
     },
     "visible_items": [
+      "vias",
+      "footprint_text",
+      "footprint_anchors",
+      "ratsnest",
+      "grid",
+      "footprints_front",
+      "footprints_back",
+      "footprint_values",
+      "footprint_references",
+      "tracks",
+      "drc_errors",
+      "drawing_sheet",
+      "bitmaps",
+      "pads",
+      "zones",
+      "drc_warnings",
+      "locked_item_shadows",
+      "conflict_shadows",
+      "shapes"
+    ],
+    "visible_layers": "00000000_00000000_0000f1fe_aa0aa0ff",
+    "zone_display_mode": 1
+  },
+  "git": {
+    "repo_password": "",
+    "repo_type": "",
+    "repo_username": "",
+    "ssh_key": ""
+  },
+  "meta": {
+    "filename": "rgb-to-hdmi.kicad_prl",
+    "version": 5
+  },
+  "net_inspector_panel": {
+    "col_hidden": [
+      false,
+      false,
+      false,
+      false,
+      false,
+      false,
+      false,
+      false,
+      false,
+      false,
+      false,
+      false
+    ],
+    "col_order": [
       0,
       1,
       2,
@@ -39,48 +89,49 @@
       8,
       9,
       10,
-      11,
-      12,
-      13,
-      14,
-      15,
-      16,
-      17,
-      18,
-      19,
-      20,
-      21,
-      22,
-      23,
-      24,
-      25,
-      26,
-      27,
-      28,
-      29,
-      30,
-      32,
-      33,
-      34,
-      35,
-      36,
-      39,
-      40
+      11
     ],
-    "visible_layers": "000f1fc_80000007",
-    "zone_display_mode": 0
-  },
-  "git": {
-    "repo_password": "",
-    "repo_type": "",
-    "repo_username": "",
-    "ssh_key": ""
-  },
-  "meta": {
-    "filename": "rgb-to-hdmi.kicad_prl",
-    "version": 3
+    "col_widths": [
+      0,
+      0,
+      0,
+      0,
+      0,
+      0,
+      0,
+      0,
+      0,
+      0,
+      0,
+      0
+    ],
+    "custom_group_rules": [],
+    "expanded_rows": [],
+    "filter_by_net_name": true,
+    "filter_by_netclass": true,
+    "filter_text": "",
+    "group_by_constraint": false,
+    "group_by_netclass": false,
+    "show_unconnected_nets": false,
+    "show_zero_pad_nets": false,
+    "sort_ascending": true,
+    "sorting_column": 0
   },
+  "open_jobsets": [],
   "project": {
     "files": []
+  },
+  "schematic": {
+    "selection_filter": {
+      "graphics": true,
+      "images": true,
+      "labels": true,
+      "lockedItems": false,
+      "otherItems": true,
+      "pins": true,
+      "symbols": true,
+      "text": true,
+      "wires": true
+    }
   }
 }

+ 65 - 6
rgb-to-hdmi.kicad_pro

@@ -58,7 +58,40 @@
           "width": 0.0
         }
       ],
-      "drc_exclusions": [],
+      "drc_exclusions": [
+        [
+          "courtyards_overlap|265648000|97641727|00000000-0000-0000-0000-00005515dea9|00000000-0000-0000-0000-00005e55d947",
+          ""
+        ],
+        [
+          "silk_over_copper|105626639|94336000|dbe0a591-458b-472b-94d2-8e2ee2574f2e|00000000-0000-0000-0000-000000000000",
+          ""
+        ],
+        [
+          "silk_over_copper|106594000|93368639|bd236a37-891c-4b1e-af73-3416165c2319|00000000-0000-0000-0000-000000000000",
+          ""
+        ],
+        [
+          "silk_over_copper|70637639|94423000|6aef312f-fbcd-43b6-aa74-2e1554247f76|00000000-0000-0000-0000-000000000000",
+          ""
+        ],
+        [
+          "silk_over_copper|71605000|93290360|488f5868-43be-4c4b-b68d-7ace31df42aa|00000000-0000-0000-0000-000000000000",
+          ""
+        ],
+        [
+          "silk_over_copper|88164639|94336000|eb16af38-e304-4665-a1fe-df43bdbf439f|00000000-0000-0000-0000-000000000000",
+          ""
+        ],
+        [
+          "silk_over_copper|89132000|93203360|1f08f4d7-6593-44c0-b635-d6338fdb30e5|00000000-0000-0000-0000-000000000000",
+          ""
+        ],
+        [
+          "starved_thermal|243533000|98540960|dc85c83c-5bcf-467d-973c-3e0ec4a55e53|7dae425a-3129-4c94-9391-68d99892a763|In1.Cu",
+          ""
+        ]
+      ],
       "meta": {
         "filename": "board_design_settings.json",
         "version": 2
@@ -70,16 +103,19 @@
         "copper_edge_clearance": "error",
         "copper_sliver": "warning",
         "courtyards_overlap": "error",
+        "creepage": "error",
         "diff_pair_gap_out_of_range": "error",
         "diff_pair_uncoupled_length_too_long": "error",
         "drill_out_of_range": "error",
         "duplicate_footprints": "warning",
         "extra_footprint": "warning",
         "footprint": "error",
+        "footprint_filters_mismatch": "ignore",
         "footprint_symbol_mismatch": "warning",
         "footprint_type_mismatch": "ignore",
         "hole_clearance": "error",
         "hole_near_hole": "error",
+        "hole_to_hole": "error",
         "holes_co_located": "warning",
         "invalid_outline": "error",
         "isolated_copper": "warning",
@@ -90,9 +126,11 @@
         "lib_footprint_mismatch": "warning",
         "malformed_courtyard": "error",
         "microvia_drill_out_of_range": "error",
+        "mirrored_text_on_front_layer": "warning",
         "missing_courtyard": "ignore",
         "missing_footprint": "warning",
         "net_conflict": "warning",
+        "nonmirrored_text_on_back_layer": "warning",
         "npth_inside_courtyard": "ignore",
         "padstack": "warning",
         "pth_inside_courtyard": "ignore",
@@ -104,10 +142,13 @@
         "solder_mask_bridge": "error",
         "starved_thermal": "error",
         "text_height": "warning",
+        "text_on_edge_cuts": "error",
         "text_thickness": "warning",
         "through_hole_pad_without_hole": "error",
         "too_many_vias": "error",
+        "track_angle": "error",
         "track_dangling": "warning",
+        "track_segment_length": "error",
         "track_width": "error",
         "tracks_crossing": "error",
         "unconnected_items": "error",
@@ -122,13 +163,14 @@
         "min_clearance": 0.0,
         "min_connection": 0.0,
         "min_copper_edge_clearance": 0.05,
+        "min_groove_width": 0.0,
         "min_hole_clearance": 0.25,
         "min_hole_to_hole": 0.25,
         "min_microvia_diameter": 0.0,
         "min_microvia_drill": 0.0,
         "min_resolved_spokes": 2,
         "min_silk_clearance": 0.0,
-        "min_text_height": 0.6,
+        "min_text_height": 0.5,
         "min_text_thickness": 0.08,
         "min_through_hole_diameter": 0.3048,
         "min_track_width": 0.2032,
@@ -139,10 +181,11 @@
       },
       "teardrop_options": [
         {
-          "td_onpadsmd": true,
+          "td_onpthpad": true,
           "td_onroundshapesonly": false,
+          "td_onsmdpad": true,
           "td_ontrackend": false,
-          "td_onviapad": true
+          "td_onvia": true
         }
       ],
       "teardrop_parameters": [
@@ -232,6 +275,7 @@
       "mfg": "",
       "mpn": ""
     },
+    "layer_pairs": [],
     "layer_presets": [],
     "viewports": []
   },
@@ -426,10 +470,15 @@
       "duplicate_sheet_names": "error",
       "endpoint_off_grid": "warning",
       "extra_units": "error",
+      "footprint_filter": "ignore",
+      "footprint_link_issues": "warning",
+      "four_way_junction": "ignore",
       "global_label_dangling": "warning",
       "hier_label_mismatch": "error",
       "label_dangling": "error",
+      "label_multiple_wires": "warning",
       "lib_symbol_issues": "warning",
+      "lib_symbol_mismatch": "warning",
       "missing_bidi_pin": "warning",
       "missing_input_pin": "warning",
       "missing_power_pin": "error",
@@ -442,9 +491,15 @@
       "pin_not_driven": "error",
       "pin_to_pin": "warning",
       "power_pin_not_driven": "error",
+      "same_local_global_label": "warning",
+      "similar_label_and_power": "warning",
       "similar_labels": "warning",
+      "similar_power": "warning",
       "simulation_model_issue": "ignore",
+      "single_global_label": "ignore",
       "unannotated": "error",
+      "unconnected_wire_endpoint": "warning",
+      "undefined_netclass": "error",
       "unit_value_mismatch": "error",
       "unresolved_variable": "error",
       "wire_dangling": "error"
@@ -456,7 +511,7 @@
   },
   "meta": {
     "filename": "rgb-to-hdmi.kicad_pro",
-    "version": 1
+    "version": 3
   },
   "net_settings": {
     "classes": [
@@ -471,6 +526,7 @@
         "microvia_drill": 0.3048,
         "name": "Default",
         "pcb_color": "rgba(0, 0, 0, 0.000)",
+        "priority": 2147483647,
         "schematic_color": "rgba(0, 0, 0, 0.000)",
         "track_width": 0.2032,
         "via_diameter": 0.6604,
@@ -488,6 +544,7 @@
         "microvia_drill": 0.3048,
         "name": "Power",
         "pcb_color": "rgba(0, 0, 0, 0.000)",
+        "priority": 0,
         "schematic_color": "rgba(0, 0, 0, 0.000)",
         "track_width": 0.381,
         "via_diameter": 0.762,
@@ -496,7 +553,7 @@
       }
     ],
     "meta": {
-      "version": 3
+      "version": 4
     },
     "net_colors": null,
     "netclass_assignments": null,
@@ -803,6 +860,7 @@
       ],
       "filter_string": "",
       "group_symbols": true,
+      "include_excluded_from_bom": false,
       "name": "",
       "sort_asc": true,
       "sort_field": "Reference"
@@ -837,6 +895,7 @@
     "net_format_name": "Pcbnew",
     "page_layout_descr_file": "",
     "plot_directory": "pdf",
+    "space_save_all_events": true,
     "spice_adjust_passive_values": false,
     "spice_current_sheet_as_root": false,
     "spice_external_command": "spice \"%I\"",

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 190 - 179
rgb-to-hdmi.kicad_sch


+ 393 - 0
rgbtohdmi.pretty/SW_E-Switch_SK-22H13-G090_DPDT_Angled.kicad_mod

@@ -0,0 +1,393 @@
+(footprint "SW_E-Switch_SK-22H13-G090_DPDT_Angled"
+	(version 20241229)
+	(generator "pcbnew")
+	(generator_version "9.0")
+	(layer "F.Cu")
+	(descr "E-Switch slide switch, EG series, DPDT, right angle, http://spec_sheets.e-switch.com/specs/P040170.pdf")
+	(tags "switch DPDT")
+	(property "Reference" "SW4"
+		(at 4 -4.5 0)
+		(layer "F.SilkS")
+		(uuid "095b8d4a-0780-4821-b780-89fa747b3cb8")
+		(effects
+			(font
+				(size 1 1)
+				(thickness 0.15)
+			)
+		)
+	)
+	(property "Value" "SW_SPDT"
+		(at 4 14.45 0)
+		(layer "F.Fab")
+		(uuid "733d3886-fc9c-44e3-b527-bc32c512568c")
+		(effects
+			(font
+				(size 1 1)
+				(thickness 0.15)
+			)
+		)
+	)
+	(property "Datasheet" "~"
+		(at 0 0 0)
+		(unlocked yes)
+		(layer "F.Fab")
+		(hide yes)
+		(uuid "66ac6a85-0a86-4532-8db4-09be33648445")
+		(effects
+			(font
+				(size 1.27 1.27)
+				(thickness 0.15)
+			)
+		)
+	)
+	(property "Description" "Switch, dual pole double throw, separate symbols"
+		(at 0 0 0)
+		(unlocked yes)
+		(layer "F.Fab")
+		(hide yes)
+		(uuid "a54e6d78-8b70-4e6a-acac-6c6232003fcc")
+		(effects
+			(font
+				(size 1.27 1.27)
+				(thickness 0.15)
+			)
+		)
+	)
+	(property "LCSC" " C393937"
+		(at 0 0 0)
+		(unlocked yes)
+		(layer "F.Fab")
+		(hide yes)
+		(uuid "c895147e-0d0a-4d64-93a6-fbc626866ef1")
+		(effects
+			(font
+				(size 1 1)
+				(thickness 0.15)
+			)
+		)
+	)
+	(attr through_hole)
+	(fp_line
+		(start -4.6 -3.2)
+		(end -3.3 -3.2)
+		(stroke
+			(width 0.12)
+			(type solid)
+		)
+		(layer "F.SilkS")
+		(uuid "f86cbb07-ba4a-4776-8b35-43d1bbd58bcf")
+	)
+	(fp_line
+		(start -4.6 -1.9)
+		(end -4.6 -3.2)
+		(stroke
+			(width 0.12)
+			(type solid)
+		)
+		(layer "F.SilkS")
+		(uuid "0556e581-f69b-484c-ad3b-d4238cfa0af7")
+	)
+	(fp_line
+		(start -4.6 3.85)
+		(end -4.6 -1.35)
+		(stroke
+			(width 0.12)
+			(type solid)
+		)
+		(layer "F.SilkS")
+		(uuid "873ed0a3-b252-4254-a81b-11fdd1b30fe2")
+	)
+	(fp_line
+		(start -0.95 -3.2)
+		(end 8.95 -3.2)
+		(stroke
+			(width 0.12)
+			(type solid)
+		)
+		(layer "F.SilkS")
+		(uuid "334da1f7-1352-42b2-97e6-3b6f6af37fd8")
+	)
+	(fp_line
+		(start 8.95 5.5)
+		(end -0.95 5.5)
+		(stroke
+			(width 0.12)
+			(type solid)
+		)
+		(layer "F.SilkS")
+		(uuid "f1f09731-52eb-44d2-a84f-20b661f74373")
+	)
+	(fp_line
+		(start 12.4 -1.35)
+		(end 12.4 3.85)
+		(stroke
+			(width 0.12)
+			(type solid)
+		)
+		(layer "F.SilkS")
+		(uuid "ff68fc63-36e0-462a-94e6-63b508bf3456")
+	)
+	(fp_line
+		(start -3.25 -3)
+		(end 11.25 -3)
+		(stroke
+			(width 0.05)
+			(type solid)
+		)
+		(layer "F.CrtYd")
+		(uuid "7c2bef9d-6d55-49c0-8aa9-4c3d5d81009c")
+	)
+	(fp_line
+		(start -3.25 5.5)
+		(end -3.25 -3)
+		(stroke
+			(width 0.05)
+			(type solid)
+		)
+		(layer "F.CrtYd")
+		(uuid "b15c2a01-d9df-495f-8922-2559c97e3611")
+	)
+	(fp_line
+		(start -0.75 5.5)
+		(end -3.25 5.5)
+		(stroke
+			(width 0.05)
+			(type solid)
+		)
+		(layer "F.CrtYd")
+		(uuid "3f3329d0-876d-4098-8645-475aaf0d5fa6")
+	)
+	(fp_line
+		(start -0.75 13.75)
+		(end -0.75 5.5)
+		(stroke
+			(width 0.05)
+			(type solid)
+		)
+		(layer "F.CrtYd")
+		(uuid "2bf3c77c-4d95-4637-b3f6-4076f260fa22")
+	)
+	(fp_line
+		(start 8.75 5.5)
+		(end 8.75 13.75)
+		(stroke
+			(width 0.05)
+			(type solid)
+		)
+		(layer "F.CrtYd")
+		(uuid "13728331-7ea0-40d3-944b-f00346086531")
+	)
+	(fp_line
+		(start 8.75 13.75)
+		(end -0.75 13.75)
+		(stroke
+			(width 0.05)
+			(type solid)
+		)
+		(layer "F.CrtYd")
+		(uuid "1eb055a7-2a1e-40f3-b841-76d202156edc")
+	)
+	(fp_line
+		(start 11.25 -3)
+		(end 11.25 5.5)
+		(stroke
+			(width 0.05)
+			(type solid)
+		)
+		(layer "F.CrtYd")
+		(uuid "37523449-3813-4356-9aa4-467436174d9c")
+	)
+	(fp_line
+		(start 11.25 5.5)
+		(end 8.75 5.5)
+		(stroke
+			(width 0.05)
+			(type solid)
+		)
+		(layer "F.CrtYd")
+		(uuid "d507c4ce-1d10-439c-bd77-59ac12075887")
+	)
+	(fp_line
+		(start -2.9 4.5)
+		(end -2.9 -1)
+		(stroke
+			(width 0.1)
+			(type solid)
+		)
+		(layer "F.Fab")
+		(uuid "ddb486d6-036b-4792-971b-72b16e14338f")
+	)
+	(fp_line
+		(start -1.9 -2)
+		(end -2.9 -1)
+		(stroke
+			(width 0.1)
+			(type solid)
+		)
+		(layer "F.Fab")
+		(uuid "e93b2998-5e38-4bf9-a5a5-a22d0be5e326")
+	)
+	(fp_line
+		(start -1.9 -2)
+		(end 10.9 -2)
+		(stroke
+			(width 0.1)
+			(type solid)
+		)
+		(layer "F.Fab")
+		(uuid "38e1c6c0-ea2f-404e-91f2-bb5634879a1a")
+	)
+	(fp_line
+		(start -0.5 13.5)
+		(end -0.5 4.5)
+		(stroke
+			(width 0.1)
+			(type solid)
+		)
+		(layer "F.Fab")
+		(uuid "8d438ff8-c2fb-43eb-a411-15dbdf2c1b5d")
+	)
+	(fp_line
+		(start 4.5 4.5)
+		(end 4.5 13.5)
+		(stroke
+			(width 0.1)
+			(type solid)
+		)
+		(layer "F.Fab")
+		(uuid "b736596b-4a1e-4c49-bc29-7f5e71853da5")
+	)
+	(fp_line
+		(start 4.5 13.5)
+		(end -0.5 13.5)
+		(stroke
+			(width 0.1)
+			(type solid)
+		)
+		(layer "F.Fab")
+		(uuid "ce7a80b5-5983-4302-a8fb-f4bc10543149")
+	)
+	(fp_line
+		(start 10.9 -2)
+		(end 10.9 4.5)
+		(stroke
+			(width 0.1)
+			(type solid)
+		)
+		(layer "F.Fab")
+		(uuid "f4ad3a28-f7a6-4690-a68b-09455a84a625")
+	)
+	(fp_line
+		(start 10.9 4.5)
+		(end -2.9 4.5)
+		(stroke
+			(width 0.1)
+			(type solid)
+		)
+		(layer "F.Fab")
+		(uuid "b09f2188-5043-4ad4-bf40-dd337d73ce35")
+	)
+	(fp_text user "${REFERENCE}"
+		(at 4 1.25 0)
+		(layer "F.Fab")
+		(uuid "0facdd1a-518e-474e-a8d4-6343fdc4baca")
+		(effects
+			(font
+				(size 1 1)
+				(thickness 0.1)
+			)
+		)
+	)
+	(pad "" thru_hole circle
+		(at -3.5 -2.1)
+		(size 2 2)
+		(drill 1.2)
+		(layers "*.Cu" "*.Mask")
+		(remove_unused_layers no)
+		(uuid "259c5edb-63ee-4d85-a156-06f0bf08d5dc")
+	)
+	(pad "" thru_hole circle
+		(at -3.5 4.6)
+		(size 2 2)
+		(drill 1.2)
+		(layers "*.Cu" "*.Mask")
+		(remove_unused_layers no)
+		(uuid "cf38abb8-b292-435d-bc16-a57d41559b1d")
+	)
+	(pad "" thru_hole circle
+		(at 11.5 -2.1)
+		(size 2 2)
+		(drill 1.2)
+		(layers "*.Cu" "*.Mask")
+		(remove_unused_layers no)
+		(uuid "b99e7fd6-0096-4fa1-bf4b-b48b91aa5338")
+	)
+	(pad "" thru_hole circle
+		(at 11.5 4.6)
+		(size 2 2)
+		(drill 1.2)
+		(layers "*.Cu" "*.Mask")
+		(remove_unused_layers no)
+		(uuid "0960d385-e7f1-4d2d-a680-56ab49869688")
+	)
+	(pad "1" thru_hole circle
+		(at 0 0)
+		(size 1.7 1.7)
+		(drill 0.9)
+		(layers "*.Cu" "*.Mask")
+		(remove_unused_layers no)
+		(uuid "6baecd0a-11fe-48a9-8fc8-6bc0292d3108")
+	)
+	(pad "2" thru_hole circle
+		(at 4 0)
+		(size 1.7 1.7)
+		(drill 0.9)
+		(layers "*.Cu" "*.Mask")
+		(remove_unused_layers no)
+		(uuid "e801d4b0-ba3e-41c1-a4b8-aaad2bdfb42e")
+	)
+	(pad "3" thru_hole circle
+		(at 8 0)
+		(size 1.7 1.7)
+		(drill 0.9)
+		(layers "*.Cu" "*.Mask")
+		(remove_unused_layers no)
+		(uuid "3dd0bf2e-05c1-4920-b36c-4877b27cea42")
+	)
+	(pad "4" thru_hole circle
+		(at 0 2.5)
+		(size 1.7 1.7)
+		(drill 0.9)
+		(layers "*.Cu" "*.Mask")
+		(remove_unused_layers no)
+		(uuid "4c40849c-b8e6-4029-8323-ee9a02e43f9a")
+	)
+	(pad "5" thru_hole circle
+		(at 4 2.5)
+		(size 1.7 1.7)
+		(drill 0.9)
+		(layers "*.Cu" "*.Mask")
+		(remove_unused_layers no)
+		(uuid "df0e4bdb-8503-4b79-a5a7-8b5ee3b08743")
+	)
+	(pad "6" thru_hole circle
+		(at 8 2.5)
+		(size 1.7 1.7)
+		(drill 0.9)
+		(layers "*.Cu" "*.Mask")
+		(remove_unused_layers no)
+		(uuid "3f6bf8bf-f3cc-4b58-af7a-a6c4455a9bf0")
+	)
+	(embedded_fonts no)
+	(model "${KICAD9_3DMODEL_DIR}/Button_Switch_THT.3dshapes/SW_E-Switch_EG2219_DPDT_Angled.step"
+		(offset
+			(xyz 0 0 0)
+		)
+		(scale
+			(xyz 1 1 1)
+		)
+		(rotate
+			(xyz 0 0 0)
+		)
+	)
+)

Vissa filer visades inte eftersom för många filer har ändrats