Skip to content
Snippets Groups Projects
Commit be57307e authored by cnlohr's avatar cnlohr
Browse files

Merge branch 'master' of https://github.com/cnlohr/ch32v003fun

parents 60333a00 c44321e9
No related branches found
No related tags found
No related merge requests found
Showing
with 1995 additions and 1593 deletions
...@@ -693,6 +693,89 @@ ...@@ -693,6 +693,89 @@
) )
) )
) )
(symbol "Device:LED" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
(property "Reference" "D" (id 0) (at 0 2.54 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "LED" (id 1) (at 0 -2.54 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (id 2) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "LED diode" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Light emitting diode" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "LED* LED_SMD:* LED_THT:*" (id 6) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "LED_0_1"
(polyline
(pts
(xy -1.27 -1.27)
(xy -1.27 1.27)
)
(stroke (width 0.254) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy -1.27 0)
(xy 1.27 0)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 1.27 -1.27)
(xy 1.27 1.27)
(xy -1.27 0)
(xy 1.27 -1.27)
)
(stroke (width 0.254) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy -3.048 -0.762)
(xy -4.572 -2.286)
(xy -3.81 -2.286)
(xy -4.572 -2.286)
(xy -4.572 -1.524)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy -1.778 -0.762)
(xy -3.302 -2.286)
(xy -2.54 -2.286)
(xy -3.302 -2.286)
(xy -3.302 -1.524)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
)
(symbol "LED_1_1"
(pin passive line (at -3.81 0 0) (length 2.54)
(name "K" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 3.81 0 180) (length 2.54)
(name "A" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "Device:R" (pin_numbers hide) (pin_names (offset 0)) (in_bom yes) (on_board yes) (symbol "Device:R" (pin_numbers hide) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "R" (id 0) (at 2.032 0 90) (property "Reference" "R" (id 0) (at 2.032 0 90)
(effects (font (size 1.27 1.27))) (effects (font (size 1.27 1.27)))
...@@ -1173,6 +1256,13 @@ ...@@ -1173,6 +1256,13 @@
(effects (font (size 1.27 1.27)) (justify left) hide) (effects (font (size 1.27 1.27)) (justify left) hide)
) )
) )
(global_label "PC0" (shape input) (at 199.39 134.62 180) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 32aad0ef-95e2-4a63-9d44-c98f501ac495)
(property "Intersheet References" "${INTERSHEET_REFS}" (id 0) (at 193.2274 134.5406 0)
(effects (font (size 1.27 1.27)) (justify right) hide)
)
)
(global_label "PC5" (shape input) (at 170.18 114.3 0) (fields_autoplaced) (global_label "PC5" (shape input) (at 170.18 114.3 0) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify left)) (effects (font (size 1.27 1.27)) (justify left))
(uuid 368e8d5c-22a6-4afa-ae59-315e8ec38a89) (uuid 368e8d5c-22a6-4afa-ae59-315e8ec38a89)
...@@ -2456,6 +2546,24 @@ ...@@ -2456,6 +2546,24 @@
(pin "1" (uuid db7d13b6-fe8d-4fd3-bfd5-fe6af2d004ec)) (pin "1" (uuid db7d13b6-fe8d-4fd3-bfd5-fe6af2d004ec))
) )
(symbol (lib_id "Device:R") (at 199.39 138.43 180) (unit 1)
(in_bom yes) (on_board yes)
(uuid 9ff23070-8d50-4c43-9132-802478518421)
(property "Reference" "R6" (id 0) (at 203.2 137.16 0))
(property "Value" "1.5k" (id 1) (at 203.2 139.7 0))
(property "Footprint" "Resistor_SMD:R_0402_1005Metric" (id 2) (at 201.168 138.43 90)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 199.39 138.43 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "LCSC" "C25867" (id 4) (at 199.39 138.43 90)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 79e573f8-6199-48ee-9178-98e50e7bce77))
(pin "2" (uuid acac7d22-4169-4779-954a-72218a1deb1d))
)
(symbol (lib_id "power:VD") (at 179.07 60.96 90) (unit 1) (symbol (lib_id "power:VD") (at 179.07 60.96 90) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced) (in_bom yes) (on_board yes) (fields_autoplaced)
(uuid a1b2ff50-5729-4df7-ba64-a5e319bc52c5) (uuid a1b2ff50-5729-4df7-ba64-a5e319bc52c5)
...@@ -2474,6 +2582,24 @@ ...@@ -2474,6 +2582,24 @@
(pin "1" (uuid 2ab8c903-058c-4d73-9e97-527d3abee76c)) (pin "1" (uuid 2ab8c903-058c-4d73-9e97-527d3abee76c))
) )
(symbol (lib_id "Device:LED") (at 199.39 146.05 90) (unit 1)
(in_bom yes) (on_board yes)
(uuid a325821d-8a54-4a3b-981a-ca0742a104c5)
(property "Reference" "D7" (id 0) (at 203.2 144.78 90))
(property "Value" "LED" (id 1) (at 203.2 147.32 90))
(property "Footprint" "LED_SMD:LED_0402_1005Metric" (id 2) (at 199.39 146.05 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 199.39 146.05 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "LCSC" "C74342" (id 4) (at 199.39 146.05 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 69d70019-6c61-4259-8ca1-dc595f5704f6))
(pin "2" (uuid 207cede4-7306-4f8b-b06a-ad16056c9fb6))
)
(symbol (lib_id "power:GND") (at 119.38 58.42 0) (unit 1) (symbol (lib_id "power:GND") (at 119.38 58.42 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced) (in_bom yes) (on_board yes) (fields_autoplaced)
(uuid a659fcfa-447c-4049-a4e5-26961d66b301) (uuid a659fcfa-447c-4049-a4e5-26961d66b301)
...@@ -2616,6 +2742,22 @@ ...@@ -2616,6 +2742,22 @@
(pin "1" (uuid 46aa0958-ba2c-4c28-a58f-78a38cbbc099)) (pin "1" (uuid 46aa0958-ba2c-4c28-a58f-78a38cbbc099))
) )
(symbol (lib_id "power:GND") (at 199.39 149.86 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid b6d95e52-9c0e-4cbc-819a-6c2785b5bd34)
(property "Reference" "#PWR01" (id 0) (at 199.39 156.21 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 199.39 154.94 0))
(property "Footprint" "" (id 2) (at 199.39 149.86 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 199.39 149.86 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 3b17ab97-10b1-48ae-bb60-80e00b662109))
)
(symbol (lib_id "power:VD") (at 245.11 60.96 90) (unit 1) (symbol (lib_id "power:VD") (at 245.11 60.96 90) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced) (in_bom yes) (on_board yes) (fields_autoplaced)
(uuid c03b5cfd-85ad-471a-a977-2c81ec64721f) (uuid c03b5cfd-85ad-471a-a977-2c81ec64721f)
...@@ -2899,6 +3041,9 @@ ...@@ -2899,6 +3041,9 @@
) )
(symbol_instances (symbol_instances
(path "/b6d95e52-9c0e-4cbc-819a-6c2785b5bd34"
(reference "#PWR01") (unit 1) (value "GND") (footprint "")
)
(path "/5399c7c8-9c50-4f58-94d1-5ef1a660ca5c" (path "/5399c7c8-9c50-4f58-94d1-5ef1a660ca5c"
(reference "#PWR09") (unit 1) (value "GND") (footprint "") (reference "#PWR09") (unit 1) (value "GND") (footprint "")
) )
...@@ -3061,6 +3206,9 @@ ...@@ -3061,6 +3206,9 @@
(path "/370e8fd4-d2f9-450d-bfcf-ea1c8178f6a4" (path "/370e8fd4-d2f9-450d-bfcf-ea1c8178f6a4"
(reference "D6") (unit 1) (value "WS2816C-2121") (footprint "WS2816-2121:WS2816-2121") (reference "D6") (unit 1) (value "WS2816C-2121") (footprint "WS2816-2121:WS2816-2121")
) )
(path "/a325821d-8a54-4a3b-981a-ca0742a104c5"
(reference "D7") (unit 1) (value "LED") (footprint "LED_SMD:LED_0402_1005Metric")
)
(path "/7b320334-9555-4edf-874c-a98a073a480a" (path "/7b320334-9555-4edf-874c-a98a073a480a"
(reference "J1") (unit 1) (value "~") (footprint "Connector_PinHeader_2.54mm:PinHeader_2x10_P2.54mm_Vertical") (reference "J1") (unit 1) (value "~") (footprint "Connector_PinHeader_2.54mm:PinHeader_2x10_P2.54mm_Vertical")
) )
...@@ -3094,6 +3242,9 @@ ...@@ -3094,6 +3242,9 @@
(path "/2b15068d-109c-4e07-b667-26718e2a9df1" (path "/2b15068d-109c-4e07-b667-26718e2a9df1"
(reference "R5") (unit 1) (value "NP") (footprint "Resistor_SMD:R_0402_1005Metric") (reference "R5") (unit 1) (value "NP") (footprint "Resistor_SMD:R_0402_1005Metric")
) )
(path "/9ff23070-8d50-4c43-9132-802478518421"
(reference "R6") (unit 1) (value "1.5k") (footprint "Resistor_SMD:R_0402_1005Metric")
)
(path "/8e4967a9-bbc0-4179-bc6b-41548631bd33" (path "/8e4967a9-bbc0-4179-bc6b-41548631bd33"
(reference "U1") (unit 1) (value "CH32V003F4U6") (footprint "Package_DFN_QFN:QFN-20-1EP_3x3mm_P0.4mm_EP1.65x1.65mm") (reference "U1") (unit 1) (value "CH32V003F4U6") (footprint "Package_DFN_QFN:QFN-20-1EP_3x3mm_P0.4mm_EP1.65x1.65mm")
) )
......
(kicad_symbol_lib (version 20211014) (generator kicad_symbol_editor)
(symbol "S08OB383-031" (in_bom yes) (on_board yes)
(property "Reference" "U" (id 0) (at 0 -1.27 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "S08OB383-031" (id 1) (at 0 -8.89 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "GOERTEK-S08OB383-031-MemsMic:GOERTEK-S08OB383-031-MemsMic" (id 2) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "LCSC" "S08OB383-031" (id 4) (at -1.27 -1.27 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "S08OB383-031_0_1"
(rectangle (start -5.08 3.81) (end 5.08 -7.62)
(stroke (width 0.1524) (type default) (color 0 0 0 0))
(fill (type background))
)
(circle (center 0 -5.08) (radius 1.27)
(stroke (width 0.1524) (type default) (color 0 0 0 0))
(fill (type none))
)
)
(symbol "S08OB383-031_1_1"
(pin bidirectional line (at -2.54 6.35 270) (length 2.54)
(name "OUT" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -7.62 -2.54 0) (length 2.54)
(name "GND" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at -7.62 -5.08 0) (length 2.54)
(name "GND" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 2.54 6.35 270) (length 2.54)
(name "PWR" (effects (font (size 1.27 1.27))))
(number "4" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 7.62 -5.08 180) (length 2.54)
(name "GND" (effects (font (size 1.27 1.27))))
(number "5" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 7.62 -2.54 180) (length 2.54)
(name "GND" (effects (font (size 1.27 1.27))))
(number "6" (effects (font (size 1.27 1.27))))
)
)
)
)
(footprint "GOERTEK-S08OB383-031-MemsMic" (version 20211014) (generator pcbnew)
(layer "F.Cu")
(tedit 0)
(attr smd)
(fp_text reference "REF**" (at -0.2 -8.7 unlocked) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 54b94ee4-8559-457e-8339-712ed4e513fa)
)
(fp_text value "GOERTEK-S08OB383-031-MemsMic" (at 0 1 unlocked) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 42e9d56c-21c9-40b2-bff3-dddc448840be)
)
(fp_line (start -1.6 1.22) (end -1.6 -2.73) (layer "F.SilkS") (width 0.12) (tstamp 085f18b9-bc88-4432-a3f7-0dc7545f0e5b))
(fp_line (start -1.6 -2.73) (end 1.6 -2.73) (layer "F.SilkS") (width 0.12) (tstamp 4a59351c-0e88-4e40-bfe3-e62624db3585))
(fp_line (start 1.6 -2.73) (end 1.6 1.22) (layer "F.SilkS") (width 0.12) (tstamp 4b2dd709-5020-4b32-9e8a-30bfd161825c))
(fp_line (start 1.6 1.22) (end -1.6 1.22) (layer "F.SilkS") (width 0.12) (tstamp bba84752-c6b9-4658-b4d8-3c96d868cda3))
(fp_line (start -1.5 -2.63) (end 1.5 -2.63) (layer "F.Fab") (width 0.1) (tstamp 45fb5c78-8a6a-45ef-a1e1-655a01faab71))
(fp_line (start 1.5 1.13) (end -1.5 1.13) (layer "F.Fab") (width 0.1) (tstamp 6632e2c6-41ae-45f5-a25d-054aee1391de))
(fp_line (start 1.5 -2.63) (end 1.5 1.13) (layer "F.Fab") (width 0.1) (tstamp 6669401c-e19a-4545-aa1c-f278c3796db2))
(fp_line (start -1.5 1.13) (end -1.5 -2.63) (layer "F.Fab") (width 0.1) (tstamp 9450bd01-321f-4069-b64b-79451fab7451))
(pad "1" smd circle (at -0.965 -2.1) (size 0.72 0.72) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 5c79945e-4305-4d20-98bf-90ae38064246))
(pad "2" smd circle (at -1 0.64) (size 0.56 0.56) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 70e8d161-1e0c-4708-8c18-6da4c317226a))
(pad "3" smd circle (at 1 0.64) (size 0.56 0.56) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 1e3c42c6-20c4-4dac-9621-57d805f09eca))
(pad "4" smd circle (at 0.965 -2.1) (size 0.72 0.72) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 3504e5a8-910c-4a93-8545-f8e2ae363ed8))
(pad "5" smd circle (at 0 -2.1) (size 0.61 0.61) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 489d3a73-f2a1-49a3-8a25-8df2e3d35234))
(pad "6" thru_hole circle (at 0 0) (size 1.22 1.22) (drill 0.61) (layers *.Cu *.Mask) (tstamp 36ac1d87-bae8-465e-9b50-85829a1f7635))
)
(kicad_symbol_lib (version 20211014) (generator kicad_symbol_editor)
(symbol "RB0091E1401A-OLED-128x32" (in_bom yes) (on_board yes)
(property "Reference" "U" (id 0) (at -1.27 -21.59 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "RB0091E1401A-OLED-128x32" (id 1) (at 0 16.51 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "RB0091E1401A-OLED-128x32:RB0091E1401A-OLED-128x32" (id 2) (at 1.27 6.35 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 1.27 6.35 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "RB0091E1401A-OLED-128x32_0_1"
(rectangle (start -3.81 15.24) (end 3.81 -20.32)
(stroke (width 0.1524) (type default) (color 0 0 0 0))
(fill (type background))
)
)
(symbol "RB0091E1401A-OLED-128x32_1_1"
(pin input line (at -6.35 13.97 0) (length 2.54)
(name "C2P" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin input line (at -6.35 -8.89 0) (length 2.54)
(name "SCL" (effects (font (size 1.27 1.27))))
(number "10" (effects (font (size 1.27 1.27))))
)
(pin input line (at -6.35 -11.43 0) (length 2.54)
(name "SDA" (effects (font (size 1.27 1.27))))
(number "11" (effects (font (size 1.27 1.27))))
)
(pin input line (at -6.35 -13.97 0) (length 2.54)
(name "IREF" (effects (font (size 1.27 1.27))))
(number "12" (effects (font (size 1.27 1.27))))
)
(pin input line (at -6.35 -16.51 0) (length 2.54)
(name "VCOM" (effects (font (size 1.27 1.27))))
(number "13" (effects (font (size 1.27 1.27))))
)
(pin input line (at -6.35 -19.05 0) (length 2.54)
(name "VCC" (effects (font (size 1.27 1.27))))
(number "14" (effects (font (size 1.27 1.27))))
)
(pin input line (at 6.35 -19.05 180) (length 2.54)
(name "~" (effects (font (size 1.27 1.27))))
(number "15" (effects (font (size 1.27 1.27))))
)
(pin input line (at -6.35 11.43 0) (length 2.54)
(name "C2N" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin input line (at -6.35 8.89 0) (length 2.54)
(name "C1P" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
(pin input line (at -6.35 6.35 0) (length 2.54)
(name "C1N" (effects (font (size 1.27 1.27))))
(number "4" (effects (font (size 1.27 1.27))))
)
(pin input line (at -6.35 3.81 0) (length 2.54)
(name "VBAT" (effects (font (size 1.27 1.27))))
(number "5" (effects (font (size 1.27 1.27))))
)
(pin input line (at -6.35 1.27 0) (length 2.54)
(name "VBREF" (effects (font (size 1.27 1.27))))
(number "6" (effects (font (size 1.27 1.27))))
)
(pin input line (at -6.35 -1.27 0) (length 2.54)
(name "VSS" (effects (font (size 1.27 1.27))))
(number "7" (effects (font (size 1.27 1.27))))
)
(pin input line (at -6.35 -3.81 0) (length 2.54)
(name "VDD" (effects (font (size 1.27 1.27))))
(number "8" (effects (font (size 1.27 1.27))))
)
(pin input line (at -6.35 -6.35 0) (length 2.54)
(name "RES#" (effects (font (size 1.27 1.27))))
(number "9" (effects (font (size 1.27 1.27))))
)
)
)
)
(footprint "RB0091E1401A-OLED-128x32" (version 20211014) (generator pcbnew)
(layer "F.Cu")
(tedit 0)
(attr smd)
(fp_text reference "REF**" (at -0.28 -3.56 unlocked) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp adea0a96-7f55-4920-ab31-4cb333f393b3)
)
(fp_text value "RB0091E1401A-OLED-128x32" (at 0 -2 unlocked) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 95222f87-6263-48d3-9d21-6341d5fcb2b7)
)
(fp_line (start 4.5 -4.5) (end 4.5 1) (layer "F.Fab") (width 0.1) (tstamp 784d8bd2-8344-486b-b18c-995d71b46c53))
(fp_line (start -4.5 -4.5) (end -4.5 1) (layer "F.Fab") (width 0.1) (tstamp f527a916-09cd-4951-bbc9-3d60dcb36e66))
(pad "1" smd roundrect (at -4.03 0 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp e8a9ced7-bfbb-46da-acde-afcb6e984513))
(pad "2" smd roundrect (at -3.41 0 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp 395131ed-7201-418b-a35c-fd1d795cffdc))
(pad "3" smd roundrect (at -2.79 0 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp 2559b14f-e835-46a5-8a38-d147da581752))
(pad "4" smd roundrect (at -2.17 0 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp c1b10955-28a0-4c1a-8a06-d58377f018c4))
(pad "5" smd roundrect (at -1.55 0 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp 8e5d99e8-3915-4de2-b8c0-6e9440af6ce5))
(pad "6" smd roundrect (at -0.93 0 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp 1ffff234-a8fc-479f-8d3d-ccc555e88ca1))
(pad "7" smd roundrect (at -0.31 0 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp e431f57e-59bf-426a-8aea-be9d85c169c2))
(pad "8" smd roundrect (at 0.31 0 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp f2cef15b-7428-4436-b6af-96e0d115ceb7))
(pad "9" smd roundrect (at 0.93 0 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp 32363209-54b1-4fd5-9d4d-cbc986da9bd7))
(pad "10" smd roundrect (at 1.55 0 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp d4958874-c02a-4258-89e0-740f0af86709))
(pad "11" smd roundrect (at 2.17 0 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp 146af5ec-d6b0-489b-8fac-5873299479f5))
(pad "12" smd roundrect (at 2.79 0 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp 399454b1-c7e1-41e6-bade-e3c5d9c9653b))
(pad "13" smd roundrect (at 3.41 0 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp 4863d0f8-b6f4-4855-a977-0295b234ad81))
(pad "14" smd roundrect (at 4.03 0 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp 9af9644b-be9f-41fe-a41d-76da81c1830e))
)
(footprint "RB0091E1401A-OLED-128x32_FLIP" (version 20211014) (generator pcbnew)
(layer "F.Cu")
(tedit 0)
(attr smd)
(fp_text reference "REF**" (at -7.6 0 unlocked) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp adea0a96-7f55-4920-ab31-4cb333f393b3)
)
(fp_text value "RB0091E1401A-OLED-128x32_FLIP" (at 0 6.5 unlocked) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 95222f87-6263-48d3-9d21-6341d5fcb2b7)
)
(fp_line (start 4.5 -12.55) (end 4.5 -7.05) (layer "F.Fab") (width 0.1) (tstamp 784d8bd2-8344-486b-b18c-995d71b46c53))
(fp_line (start -4.5 -12.55) (end -4.5 -7.05) (layer "F.Fab") (width 0.1) (tstamp f527a916-09cd-4951-bbc9-3d60dcb36e66))
(fp_rect (start -4.55 -6.7) (end 6.95 23.3) (layer "User.2") (width 0.12) (fill none) (tstamp 78432023-0dba-47b1-99f0-eb103f6855e6))
(fp_rect (start -4.5 -6.7) (end 6.9 -11.7) (layer "User.3") (width 0.12) (fill none) (tstamp b0d56b75-8360-46fb-bb8f-dbdd3e058ee0))
(pad "1" smd roundrect (at -4.03 -8.05 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp e8a9ced7-bfbb-46da-acde-afcb6e984513))
(pad "2" smd roundrect (at -3.41 -8.05 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp 395131ed-7201-418b-a35c-fd1d795cffdc))
(pad "3" smd roundrect (at -2.79 -8.05 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp 2559b14f-e835-46a5-8a38-d147da581752))
(pad "4" smd roundrect (at -2.17 -8.05 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp c1b10955-28a0-4c1a-8a06-d58377f018c4))
(pad "5" smd roundrect (at -1.55 -8.05 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp 8e5d99e8-3915-4de2-b8c0-6e9440af6ce5))
(pad "6" smd roundrect (at -0.93 -8.05 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp 1ffff234-a8fc-479f-8d3d-ccc555e88ca1))
(pad "7" smd roundrect (at -0.31 -8.05 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp e431f57e-59bf-426a-8aea-be9d85c169c2))
(pad "8" smd roundrect (at 0.31 -8.05 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp f2cef15b-7428-4436-b6af-96e0d115ceb7))
(pad "9" smd roundrect (at 0.93 -8.05 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp 32363209-54b1-4fd5-9d4d-cbc986da9bd7))
(pad "10" smd roundrect (at 1.55 -8.05 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp d4958874-c02a-4258-89e0-740f0af86709))
(pad "11" smd roundrect (at 2.17 -8.05 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp 146af5ec-d6b0-489b-8fac-5873299479f5))
(pad "12" smd roundrect (at 2.79 -8.05 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp 399454b1-c7e1-41e6-bade-e3c5d9c9653b))
(pad "13" smd roundrect (at 3.41 -8.05 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp 4863d0f8-b6f4-4855-a977-0295b234ad81))
(pad "14" smd roundrect (at 4.03 -8.05 90) (size 2.28 0.32) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.05) (tstamp 9af9644b-be9f-41fe-a41d-76da81c1830e))
(pad "15" thru_hole oval (at 0 -13.9) (size 10 1.8) (drill oval 9.2 1) (layers *.Cu *.Mask) (tstamp 285cdd95-be4c-4701-b444-661c82154b80))
)
(kicad_symbol_lib (version 20211014) (generator kicad_symbol_editor)
(symbol "RY2200-BatteryProtection" (in_bom yes) (on_board yes)
(property "Reference" "U" (id 0) (at 0 5.08 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "RY2200-BatteryProtection" (id 1) (at 0 -5.08 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "Package_TO_SOT_SMD:SOT-23" (id 2) (at 0 -2.54 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "LCSC" "RY2200" (id 4) (at 0 1.27 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "RY2200-BatteryProtection_0_1"
(rectangle (start -2.54 3.81) (end 2.54 -3.81)
(stroke (width 0.1524) (type default) (color 0 0 0 0))
(fill (type background))
)
)
(symbol "RY2200-BatteryProtection_1_1"
(pin input line (at -5.08 2.54 0) (length 2.54)
(name "VM" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin input line (at 5.08 0 180) (length 2.54)
(name "GND" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin input line (at -5.08 -2.54 0) (length 2.54)
(name "VDD" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
)
)
)
(footprint "touchpad_10x6.5mm_retircle" (version 20211014) (generator pcbnew)
(layer "F.Cu")
(tedit 0)
(attr smd)
(fp_text reference "REF**" (at 0 -0.5 unlocked) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 1a9fbda5-6447-4149-a1f4-497304a7b9d7)
)
(fp_text value "touchpad_10x6.5mm_retircle" (at 0 1 unlocked) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 56c23dea-02f6-47ff-a230-780a3d81342a)
)
(pad "1" smd roundrect (at 0 0) (size 10 6.5) (layers "F.Cu") (roundrect_rratio 0.25) (tstamp 7b3595c3-8130-4f01-8bf8-0353fd207144))
)
(footprint "touchpad_12.5x7mm_retircle" (version 20211014) (generator pcbnew)
(layer "F.Cu")
(tedit 0)
(attr smd)
(fp_text reference "REF**" (at 0 -0.5 unlocked) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 1a9fbda5-6447-4149-a1f4-497304a7b9d7)
)
(fp_text value "touchpad_12.5x7mm_retircle" (at 0 1 unlocked) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 56c23dea-02f6-47ff-a230-780a3d81342a)
)
(pad "1" smd roundrect (at 0 0) (size 12.5 7) (layers "F.Cu") (roundrect_rratio 0.25) (tstamp 7b3595c3-8130-4f01-8bf8-0353fd207144))
)
...@@ -73,6 +73,7 @@ keep_going: ...@@ -73,6 +73,7 @@ keep_going:
case '5': wch_link_command( devh, "\x81\x0d\x01\x0b", 4, 0, 0, 0 ); break; case '5': wch_link_command( devh, "\x81\x0d\x01\x0b", 4, 0, 0, 0 ); break;
case 't': wch_link_command( devh, "\x81\x0d\x01\x0a", 4, 0, 0, 0 ); break; case 't': wch_link_command( devh, "\x81\x0d\x01\x0a", 4, 0, 0, 0 ); break;
case 'f': wch_link_command( devh, "\x81\x0d\x01\x0c", 4, 0, 0, 0 ); break; case 'f': wch_link_command( devh, "\x81\x0d\x01\x0c", 4, 0, 0, 0 ); break;
case 'u': wch_link_command( devh, "\x81\x0d\x01\x0f\x09", 5, 0, 0, 0 ); break;
case 'r': case 'r':
// This is clearly not the "best" method to exit reset. I don't know why this combination works. // This is clearly not the "best" method to exit reset. I don't know why this combination works.
wch_link_multicommands( devh, 3, 4, "\x81\x0b\x01\x01", 4, "\x81\x0d\x01\x02", 4, "\x81\x0d\x01\xff" ); wch_link_multicommands( devh, 3, 4, "\x81\x0b\x01\x01", 4, "\x81\x0d\x01\x02", 4, "\x81\x0d\x01\xff" );
...@@ -283,7 +284,8 @@ help: ...@@ -283,7 +284,8 @@ help:
fprintf( stderr, " -5 Enable 5V\n" ); fprintf( stderr, " -5 Enable 5V\n" );
fprintf( stderr, " -t Disable 3.3V\n" ); fprintf( stderr, " -t Disable 3.3V\n" );
fprintf( stderr, " -f Disable 5V\n" ); fprintf( stderr, " -f Disable 5V\n" );
fprintf( stderr, " -r Release from reest\n" ); fprintf( stderr, " -u Clear all code flash - by power off\n" );
fprintf( stderr, " -r Release from Reset\n" );
fprintf( stderr, " -R Place into Reset\n" ); fprintf( stderr, " -R Place into Reset\n" );
fprintf( stderr, " -D Configure NRST as GPIO **WARNING** If you do this and you reconfig\n" ); fprintf( stderr, " -D Configure NRST as GPIO **WARNING** If you do this and you reconfig\n" );
fprintf( stderr, " the SWIO pin (PD1) on boot, your part can never again be programmed!\n" ); fprintf( stderr, " the SWIO pin (PD1) on boot, your part can never again be programmed!\n" );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment