restructure

This commit is contained in:
2023-10-06 22:24:37 -04:00
parent e26e0717c5
commit ddc40cf075
12 changed files with 0 additions and 0 deletions

523
hardware/encoder.kicad_sch Normal file
View File

@@ -0,0 +1,523 @@
(kicad_sch (version 20230121) (generator eeschema)
(uuid a54a13ed-e851-4fc4-b700-a066ab9a7098)
(paper "A4")
(title_block
(title "MAGNETIC ENCODER 14 BIT")
(date "2023-06-17")
(rev "1.0")
(company "matei repair lab")
)
(lib_symbols
(symbol "Device:C_Small" (pin_numbers hide) (pin_names (offset 0.254) hide) (in_bom yes) (on_board yes)
(property "Reference" "C" (at 0.254 1.778 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "C_Small" (at 0.254 -2.032 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(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" "capacitor cap" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Unpolarized capacitor, small symbol" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "C_*" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "C_Small_0_1"
(polyline
(pts
(xy -1.524 -0.508)
(xy 1.524 -0.508)
)
(stroke (width 0.3302) (type default))
(fill (type none))
)
(polyline
(pts
(xy -1.524 0.508)
(xy 1.524 0.508)
)
(stroke (width 0.3048) (type default))
(fill (type none))
)
)
(symbol "C_Small_1_1"
(pin passive line (at 0 2.54 270) (length 2.032)
(name "~" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 0 -2.54 90) (length 2.032)
(name "~" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "matei:MT6835" (in_bom yes) (on_board yes)
(property "Reference" "U" (at 0 6.35 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "MT6835" (at 0 2.54 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "matei:MagnTek TSSOP-16-1EP_4.4x5mm_P0.65mm" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "http://www.magntek.com.cn/upload/MT6835_Rev.1.2.pdf" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "MT6835_0_0"
(pin output line (at 17.78 12.7 180) (length 2.54)
(name "U" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin output line (at 17.78 -5.08 180) (length 2.54)
(name "PWM_OUT" (effects (font (size 1.27 1.27))))
(number "10" (effects (font (size 1.27 1.27))))
)
(pin no_connect line (at -16.51 -5.08 0) (length 2.54)
(name "TEST" (effects (font (size 1.27 1.27))))
(number "11" (effects (font (size 1.27 1.27))))
)
(pin no_connect line (at -16.51 -2.54 0) (length 2.54)
(name "TEST_EN" (effects (font (size 1.27 1.27))))
(number "13" (effects (font (size 1.27 1.27))))
)
(pin output line (at 17.78 0 180) (length 2.54)
(name "Z" (effects (font (size 1.27 1.27))))
(number "14" (effects (font (size 1.27 1.27))))
)
(pin output line (at 17.78 2.54 180) (length 2.54)
(name "B" (effects (font (size 1.27 1.27))))
(number "15" (effects (font (size 1.27 1.27))))
)
(pin output line (at 17.78 5.08 180) (length 2.54)
(name "A" (effects (font (size 1.27 1.27))))
(number "16" (effects (font (size 1.27 1.27))))
)
(pin output line (at 17.78 10.16 180) (length 2.54)
(name "V" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin output line (at 17.78 7.62 180) (length 2.54)
(name "W" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
(pin input line (at -16.51 0 0) (length 2.54)
(name "CAL_EN" (effects (font (size 1.27 1.27))))
(number "4" (effects (font (size 1.27 1.27))))
)
(pin output line (at -16.51 12.7 0) (length 2.54)
(name "MISO" (effects (font (size 1.27 1.27))))
(number "5" (effects (font (size 1.27 1.27))))
)
(pin input line (at -16.51 10.16 0) (length 2.54)
(name "MOSI" (effects (font (size 1.27 1.27))))
(number "6" (effects (font (size 1.27 1.27))))
)
(pin input line (at -16.51 7.62 0) (length 2.54)
(name "SCK" (effects (font (size 1.27 1.27))))
(number "7" (effects (font (size 1.27 1.27))))
)
(pin input line (at -16.51 5.08 0) (length 2.54)
(name "CSN" (effects (font (size 1.27 1.27))))
(number "8" (effects (font (size 1.27 1.27))))
)
)
(symbol "MT6835_0_1"
(rectangle (start -13.97 15.24) (end 15.24 -8.89)
(stroke (width 0.1524) (type default))
(fill (type background))
)
)
(symbol "MT6835_1_0"
(pin power_out line (at 0 -11.43 90) (length 2.54)
(name "VSS" (effects (font (size 1.27 1.27))))
(number "12" (effects (font (size 1.27 1.27))))
)
(pin power_in line (at 0 17.78 270) (length 2.54)
(name "VDD" (effects (font (size 1.27 1.27))))
(number "9" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "power:+3V3" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (at 0 -3.81 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "+3V3" (at 0 3.556 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" "global power" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Power symbol creates a global label with name \"+3V3\"" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "+3V3_0_1"
(polyline
(pts
(xy -0.762 1.27)
(xy 0 2.54)
)
(stroke (width 0) (type default))
(fill (type none))
)
(polyline
(pts
(xy 0 0)
(xy 0 2.54)
)
(stroke (width 0) (type default))
(fill (type none))
)
(polyline
(pts
(xy 0 2.54)
(xy 0.762 1.27)
)
(stroke (width 0) (type default))
(fill (type none))
)
)
(symbol "+3V3_1_1"
(pin power_in line (at 0 0 90) (length 0) hide
(name "+3V3" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (at 0 -6.35 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 0 -3.81 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" "global power" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "GND_0_1"
(polyline
(pts
(xy 0 0)
(xy 0 -1.27)
(xy 1.27 -1.27)
(xy 0 -2.54)
(xy -1.27 -1.27)
(xy 0 -1.27)
)
(stroke (width 0) (type default))
(fill (type none))
)
)
(symbol "GND_1_1"
(pin power_in line (at 0 0 270) (length 0) hide
(name "GND" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
)
)
(junction (at 146.05 109.22) (diameter 0) (color 0 0 0 0)
(uuid 3a9b9d3d-eeb5-43e2-a378-85c845dd96cb)
)
(junction (at 146.05 73.66) (diameter 0) (color 0 0 0 0)
(uuid c050be98-8733-4343-82eb-6a8bc4c61fd3)
)
(junction (at 124.46 101.6) (diameter 0) (color 0 0 0 0)
(uuid efeed434-25e1-4ada-93c5-51cd20539f0b)
)
(no_connect (at 163.83 83.82) (uuid 32d35fc1-512f-48b4-b072-f1020c47431b))
(no_connect (at 163.83 101.6) (uuid 5f77af47-c156-4a23-a023-af58aa33e223))
(no_connect (at 163.83 86.36) (uuid 9ddb6c65-5982-4c7b-8114-a14af8585eee))
(no_connect (at 163.83 88.9) (uuid e80eb668-c817-4937-9b20-f14f39546f63))
(wire (pts (xy 119.38 88.9) (xy 129.54 88.9))
(stroke (width 0) (type default))
(uuid 1bc3cfba-ef0b-4894-bebb-a623b4642d3d)
)
(wire (pts (xy 146.05 109.22) (xy 146.05 110.49))
(stroke (width 0) (type default))
(uuid 1c4a32b1-8f8c-4d16-ade5-bb097649f7bc)
)
(wire (pts (xy 146.05 73.66) (xy 172.72 73.66))
(stroke (width 0) (type default))
(uuid 1e6954e6-36f3-47b3-b77d-cc1ffff5c968)
)
(wire (pts (xy 124.46 109.22) (xy 146.05 109.22))
(stroke (width 0) (type default))
(uuid 245f200a-39e8-4da9-8e4b-428832c3d164)
)
(wire (pts (xy 146.05 73.66) (xy 146.05 78.74))
(stroke (width 0) (type default))
(uuid 254e0b11-d4c5-49c7-9625-07e5d02b5886)
)
(wire (pts (xy 119.38 86.36) (xy 129.54 86.36))
(stroke (width 0) (type default))
(uuid 2bb1e95b-7307-4253-ad8f-93d2cfec27e0)
)
(wire (pts (xy 129.54 99.06) (xy 124.46 99.06))
(stroke (width 0) (type default))
(uuid 3c268eb5-d74c-4f10-afdb-ed6f42450ee7)
)
(wire (pts (xy 163.83 93.98) (xy 172.72 93.98))
(stroke (width 0) (type default))
(uuid 50be6cbb-8da9-49ff-a2a2-17593a74f7f2)
)
(wire (pts (xy 119.38 83.82) (xy 129.54 83.82))
(stroke (width 0) (type default))
(uuid 6e8ee9e1-4438-4fb1-9e14-7d086988ce2b)
)
(wire (pts (xy 119.38 91.44) (xy 129.54 91.44))
(stroke (width 0) (type default))
(uuid 7c34d609-0011-4a6b-adb7-a8659573f4ec)
)
(wire (pts (xy 124.46 101.6) (xy 129.54 101.6))
(stroke (width 0) (type default))
(uuid 9391c95b-159d-4cec-a935-01c513228bf0)
)
(wire (pts (xy 146.05 69.85) (xy 146.05 73.66))
(stroke (width 0) (type default))
(uuid 981a896b-423c-482d-a31b-17ebee459d09)
)
(wire (pts (xy 119.38 96.52) (xy 129.54 96.52))
(stroke (width 0) (type default))
(uuid b3b35712-9358-4d34-b0a2-b35961fd0ae0)
)
(wire (pts (xy 172.72 73.66) (xy 172.72 76.2))
(stroke (width 0) (type default))
(uuid bd19cd32-396d-4ed7-8d38-af5236243a9d)
)
(wire (pts (xy 163.83 91.44) (xy 172.72 91.44))
(stroke (width 0) (type default))
(uuid d3e071d8-04bc-4313-a828-62881ffcb96a)
)
(wire (pts (xy 124.46 99.06) (xy 124.46 101.6))
(stroke (width 0) (type default))
(uuid d726e186-808b-45f4-ba55-15b3b12d89bc)
)
(wire (pts (xy 163.83 96.52) (xy 172.72 96.52))
(stroke (width 0) (type default))
(uuid dcdf400d-2e25-4dc4-8cbb-75132420ed2b)
)
(wire (pts (xy 172.72 81.28) (xy 172.72 83.82))
(stroke (width 0) (type default))
(uuid e002843d-8d4b-4d0c-9895-b4e0f8bdd530)
)
(wire (pts (xy 124.46 101.6) (xy 124.46 109.22))
(stroke (width 0) (type default))
(uuid e0bb936b-d948-44a4-a5df-b362e23d1f8c)
)
(wire (pts (xy 146.05 107.95) (xy 146.05 109.22))
(stroke (width 0) (type default))
(uuid fa3368e1-2af4-4b7b-a324-8c426adbfbe0)
)
(hierarchical_label "CIPO" (shape output) (at 119.38 83.82 180) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 024990c7-02da-4f54-8541-f791f6c427c6)
)
(hierarchical_label "Z" (shape output) (at 172.72 96.52 0) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify left))
(uuid 06651527-9f28-4ec1-8a3b-e7ac6783d113)
)
(hierarchical_label "B" (shape output) (at 172.72 93.98 0) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify left))
(uuid 088d84f7-4d07-4ed4-9554-adad92322c28)
)
(hierarchical_label "CAL_EN" (shape input) (at 119.38 96.52 180) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 43edb061-6787-4b6b-8b4f-59cbdc92de35)
)
(hierarchical_label "SCK" (shape input) (at 119.38 88.9 180) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 60f92526-f699-4796-9e58-aa155ab30283)
)
(hierarchical_label "A" (shape output) (at 172.72 91.44 0) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify left))
(uuid 9156ee60-9cf1-403b-beb4-914fc790c3da)
)
(hierarchical_label "COPI" (shape input) (at 119.38 86.36 180) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify right))
(uuid b1ce5263-dec0-46fb-af56-5bf098ef6a95)
)
(hierarchical_label "CS" (shape input) (at 119.38 91.44 180) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify right))
(uuid efb6c989-9aea-4b99-aac5-ddc98df1817c)
)
(symbol (lib_id "power:GND") (at 172.72 83.82 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 03289e08-6811-4440-86ef-04f502c1b1e0)
(property "Reference" "#PWR0403" (at 172.72 90.17 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 172.72 87.63 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 172.72 83.82 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 172.72 83.82 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 8b960071-4b7c-42c5-a436-42736b745200))
(instances
(project "sfoc-stepper"
(path "/0306e2fa-4433-4288-91d9-65a3484207ad/e3a86f21-c1c7-4a99-9511-7bc9966878a0"
(reference "#PWR0403") (unit 1)
)
)
)
)
(symbol (lib_id "power:GND") (at 146.05 110.49 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 05c1f150-c51c-4756-838e-db1386391ce5)
(property "Reference" "#PWR0402" (at 146.05 116.84 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (at 146.05 115.57 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 146.05 110.49 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 146.05 110.49 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 637d68aa-8b22-422f-b046-8a7f968f2f2b))
(instances
(project "sfoc-stepper"
(path "/0306e2fa-4433-4288-91d9-65a3484207ad/e3a86f21-c1c7-4a99-9511-7bc9966878a0"
(reference "#PWR0402") (unit 1)
)
)
)
)
(symbol (lib_id "power:+3V3") (at 146.05 69.85 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid 661b811f-6051-4093-85b7-e5096d0ba004)
(property "Reference" "#PWR0401" (at 146.05 73.66 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "+3V3" (at 146.05 64.77 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (at 146.05 69.85 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (at 146.05 69.85 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 9d6b8dde-0575-4377-955e-84d085821fee))
(instances
(project "sfoc-stepper"
(path "/0306e2fa-4433-4288-91d9-65a3484207ad/e3a86f21-c1c7-4a99-9511-7bc9966878a0"
(reference "#PWR0401") (unit 1)
)
)
)
)
(symbol (lib_id "Device:C_Small") (at 172.72 78.74 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 94834f1b-05ab-4bcf-9674-3eb1092330b6)
(property "Reference" "C401" (at 170.18 77.4763 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Value" "100n" (at 170.18 80.0163 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Footprint" "Capacitor_SMD:C_0402_1005Metric" (at 172.72 78.74 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (at 172.72 78.74 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "LCSC Part" "C307331" (at 172.72 78.74 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid f53fb32b-3a2c-4887-a9c0-b2b502d21882))
(pin "2" (uuid 8492d99f-2c31-4bf2-a46a-99337d011985))
(instances
(project "sfoc-stepper"
(path "/0306e2fa-4433-4288-91d9-65a3484207ad/e3a86f21-c1c7-4a99-9511-7bc9966878a0"
(reference "C401") (unit 1)
)
)
)
)
(symbol (lib_id "matei:MT6835") (at 146.05 96.52 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
(uuid efd8885f-06c2-415b-876b-2a36a953a464)
(property "Reference" "U401" (at 148.2441 76.2 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "MT6835" (at 148.2441 78.74 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "matei:MagnTek TSSOP-16-1EP_4.4x5mm_P0.65mm" (at 146.05 96.52 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "http://www.magntek.com.cn/upload/MT6835_Rev.1.2.pdf" (at 146.05 96.52 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "LCSC Part" "C2932578" (at 146.05 96.52 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 9089fcbd-d1c0-4038-b0d1-12de55dd139b))
(pin "10" (uuid 6f850c68-6b92-47e1-b2e0-1f4392807e06))
(pin "11" (uuid 753ff8b2-fb18-4f4f-8f71-7781db872f0d))
(pin "13" (uuid fb77ddde-4b30-4ecd-9def-ba05340e5b94))
(pin "14" (uuid c01d8706-d03d-45c0-8a54-fd68a02daeac))
(pin "15" (uuid ebd27ceb-abce-42ea-ae47-c65b76efddce))
(pin "16" (uuid 14285e4d-8204-484d-834b-b645f4246981))
(pin "2" (uuid d1bcdfae-42f1-42f1-b7a7-e6bd4ba7aeb0))
(pin "3" (uuid fa7f5357-51ae-4d85-990a-2debbac919a5))
(pin "4" (uuid 15527017-07fa-42f5-8d8f-27d3113623dd))
(pin "5" (uuid 08976227-4f17-4752-bdd5-8803ab3f6cfc))
(pin "6" (uuid 21812fa8-06e2-428f-8c6c-98eadad809ef))
(pin "7" (uuid 0bd5e864-5f6f-404a-a8fa-d4d3493846b4))
(pin "8" (uuid cf02e5f5-93d0-4919-a664-8ae0face2ffa))
(pin "12" (uuid 8c983c32-f8df-4cf1-9b1c-d2419f12affe))
(pin "9" (uuid d965725c-f3df-4ef6-9412-9faaf1caf813))
(instances
(project "sfoc-stepper"
(path "/0306e2fa-4433-4288-91d9-65a3484207ad/e3a86f21-c1c7-4a99-9511-7bc9966878a0"
(reference "U401") (unit 1)
)
)
)
)
)