brd/sch: add power switch

This commit is contained in:
King Kévin 2023-05-28 22:02:52 +02:00
parent a3e6fb3d36
commit 07eaeec1fa
3 changed files with 1418 additions and 791 deletions

File diff suppressed because it is too large Load Diff

View File

@ -34,9 +34,9 @@
"other_text_thickness": 0.15,
"other_text_upright": false,
"pads": {
"drill": 0.762,
"height": 1.524,
"width": 1.524
"drill": 1.5,
"height": 2.5,
"width": 2.5
},
"silk_line_width": 0.15,
"silk_text_italic": false,
@ -94,7 +94,7 @@
"shorting_items": "error",
"silk_edge_clearance": "ignore",
"silk_over_copper": "warning",
"silk_overlap": "warning",
"silk_overlap": "ignore",
"skew_out_of_range": "error",
"solder_mask_bridge": "error",
"starved_thermal": "error",
@ -175,7 +175,8 @@
}
],
"track_widths": [
0.0
0.0,
0.5
],
"via_dimensions": [
{

View File

@ -67,6 +67,64 @@
)
)
)
(symbol "Switch:SW_SPDT" (pin_names (offset 0) hide) (in_bom yes) (on_board yes)
(property "Reference" "SW" (at 0 4.318 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "SW_SPDT" (at 0 -5.08 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "switch single-pole double-throw spdt ON-ON" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Switch, single pole double throw" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "SW_SPDT_0_0"
(circle (center -2.032 0) (radius 0.508)
(stroke (width 0) (type default))
(fill (type none))
)
(circle (center 2.032 -2.54) (radius 0.508)
(stroke (width 0) (type default))
(fill (type none))
)
)
(symbol "SW_SPDT_0_1"
(polyline
(pts
(xy -1.524 0.254)
(xy 1.651 2.286)
)
(stroke (width 0) (type default))
(fill (type none))
)
(circle (center 2.032 2.54) (radius 0.508)
(stroke (width 0) (type default))
(fill (type none))
)
)
(symbol "SW_SPDT_1_1"
(pin passive line (at 5.08 2.54 180) (length 2.54)
(name "A" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at -5.08 0 0) (length 2.54)
(name "B" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 5.08 -2.54 180) (length 2.54)
(name "C" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "partdb:connector/197054001" (pin_numbers hide) (pin_names hide) (in_bom yes) (on_board yes)
(property "Reference" "TP" (at 0 1.27 0)
(effects (font (size 1.27 1.27)) (justify bottom))
@ -434,6 +492,7 @@
)
(no_connect (at 54.61 48.26) (uuid 120bf833-90ac-4efa-88a8-49af9b12f40d))
(no_connect (at 142.24 86.36) (uuid 3aefc6b1-2fbb-44ea-862e-d8ae8bf812b9))
(wire (pts (xy 81.28 40.64) (xy 81.28 41.91))
(stroke (width 0) (type default))
@ -471,6 +530,10 @@
(stroke (width 0) (type default))
(uuid 377f9278-ca72-4774-a318-e41e9680c30c)
)
(wire (pts (xy 144.78 81.28) (xy 142.24 81.28))
(stroke (width 0) (type default))
(uuid 43aa40d3-9d17-4a6e-9a50-eb3dfe4b266e)
)
(wire (pts (xy 87.63 46.99) (xy 87.63 55.88))
(stroke (width 0) (type default))
(uuid 5f589856-eec0-4bb2-88a7-f5dfd415cb93)
@ -483,6 +546,10 @@
(stroke (width 0) (type default))
(uuid 6d35137d-3f2b-4484-a793-ef8c7db249b4)
)
(wire (pts (xy 121.92 83.82) (xy 132.08 83.82))
(stroke (width 0) (type default))
(uuid 75da6562-13ff-4110-b926-b2fb5662d3c1)
)
(wire (pts (xy 100.33 40.64) (xy 100.33 49.53))
(stroke (width 0) (type default))
(uuid 827ec3f1-4cbf-4e45-be6e-cfff3d93c783)
@ -555,11 +622,20 @@
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 630e7588-0897-4b5e-af6c-02d625e4b7c5)
)
(text "battery only fully truns on\nwhen sensing its output"
(at 121.92 92.71 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 6fe51265-9d19-44b7-b79b-553cb2f28910)
)
(text "connector for RPH0002 battery by\nJinyun Reypu Electronic Technology\nused in OKAI ES400B escooter"
(at 111.76 118.11 0)
(effects (font (size 2 2)) (justify left bottom))
(uuid 7220d4ef-e9a2-4089-8069-804edf2270c0)
)
(text "light up\nwhen charging" (at 137.16 67.31 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 864e103d-4cd9-4152-8af6-f955598fa83f)
)
(text "battery connector" (at 66.04 29.21 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 8aaaed94-77b8-46d1-8208-7a6aac042851)
@ -568,6 +644,10 @@
(effects (font (size 1.27 1.27)) (justify right bottom))
(uuid a9321ebe-4124-4fc3-aff4-0ab2ce6d5daa)
)
(text "light up\nwhen battery\nis on" (at 137.16 57.15 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid a9fc2021-1a89-4c2b-ba5a-a6e6c480e5f6)
)
(text "connect battery wires\ndirectly on tab bottom,\nor on this holes"
(at 33.02 81.28 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
@ -578,6 +658,10 @@
(effects (font (size 1.27 1.27)) (justify right bottom))
(uuid 2975828a-0b7d-4e99-9822-2e8073d1bb35)
)
(label "VSENSE" (at 130.81 83.82 180) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify right bottom))
(uuid 2c6e3baf-dd36-4605-aa18-bc7106248fc1)
)
(label "CANL" (at 121.92 40.64 0) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify left bottom))
(uuid 38ccebf8-791a-498a-9842-841acf1ef536)
@ -760,6 +844,58 @@
)
)
(symbol (lib_id "Switch:SW_SPDT") (at 137.16 83.82 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 0a0a9598-12eb-4239-a7e4-d6d0a7626f22)
(property "Reference" "SW1" (at 137.16 76.2 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "ON" (at 137.16 78.74 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "qeda:CONNECTOR_HEADER-2.54-1X3" (at 137.16 83.82 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 137.16 83.82 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 1dea7803-4664-46ea-9ae1-0f22a8e0554f))
(pin "2" (uuid b035dd44-aac4-4f44-a574-dc61a0c8b234))
(pin "3" (uuid 14aa25a2-7e09-4c18-8384-26cc7df580cc))
(instances
(project "RPH0002_connector"
(path "/43fc3289-82a7-492c-a423-3030e10115dc"
(reference "SW1") (unit 1)
)
)
)
)
(symbol (lib_id "power:+BATT") (at 144.78 81.28 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 1a19410c-39a4-4848-94eb-32fc500e3881)
(property "Reference" "#PWR013" (at 144.78 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "+BATT" (at 144.78 77.47 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 144.78 81.28 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 144.78 81.28 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 1bf4fbf1-a323-4212-b49c-9f5c2a9ed87d))
(instances
(project "RPH0002_connector"
(path "/43fc3289-82a7-492c-a423-3030e10115dc"
(reference "#PWR013") (unit 1)
)
)
)
)
(symbol (lib_id "partdb:connector/197054001") (at 68.58 58.42 180) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 20bfcea8-604c-4825-b70c-f44644483f37)