diff --git a/README.md b/README.md new file mode 100644 index 0000000..33ad1e5 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# Lemon Pepper Stepper Driver +Small, all in one hybrid stepper + BLDC driver. The board supports up to 48V @ 1.5A with a choice of either step-dir or CANbus inputs. +The boards can easily be assembled by JLC and the design has been cost-optimized, coming in at about $20 per board fully assembled. + +Due to the high pole pair count of stepper motors, a high resolution (21 bit) magnetic encoder is used, supporting both SPI and hardware ABI position encoding. +Despite the rather high theoretical performance of this board I think you would need some serious cooling to actually hit the potential 50-70W specs of the parts. + +![Render of PCB](/render.jpg) diff --git a/assembly/assembly/lemon-pepper-CPL.csv b/assembly/assembly/lemon-pepper-CPL.csv index 4ec62f1..3c8de5a 100644 --- a/assembly/assembly/lemon-pepper-CPL.csv +++ b/assembly/assembly/lemon-pepper-CPL.csv @@ -1,4 +1,4 @@ -Designation,Mid X,Mid Y,Layer,Rotation +Designator,Mid X,Mid Y,Layer,Rotation C101,138.025,-70.725,top,0 C102,138.025,-72.75,top,180 C103,138.025,-74.8,top,0 @@ -18,7 +18,7 @@ C306,130.5,-82.325,top,135 C308,135.8,-76.65,top,45 C401,162.2,-96.65,top,180 C501,152.325,-96.725,top,180 -C502,157.665,-94.86,top,-90 +C502,157.8,-94.86,top,-90 C503,162.125,-91.175,top,90 C601,158.05,-87.95,top,90 C602,157.3,-90.725,top,-90 diff --git a/assembly/gerbers/lemon-pepper.zip b/assembly/gerbers/lemon-pepper.zip index 5a2efe0..046b422 100644 Binary files a/assembly/gerbers/lemon-pepper.zip and b/assembly/gerbers/lemon-pepper.zip differ diff --git a/hardware/currentsense.kicad_sch b/hardware/currentsense.kicad_sch index f1a4599..6b98934 100644 --- a/hardware/currentsense.kicad_sch +++ b/hardware/currentsense.kicad_sch @@ -644,12 +644,12 @@ (property "LCSC Part" "C146412" (at 125.73 87.63 0) (effects (font (size 1.27 1.27)) hide) ) - (pin "1" (uuid d60ea7da-e95d-4c22-ad65-def1505307d1)) - (pin "1" (uuid d60ea7da-e95d-4c22-ad65-def1505307d1)) + (pin "1" (uuid d60ea7da-e95d-4c22-ad65-def1505307d2)) + (pin "1" (uuid d60ea7da-e95d-4c22-ad65-def1505307d2)) (pin "11" (uuid e8d3a338-a773-49b8-a716-d1ab18131472)) (pin "12" (uuid 8c659ecd-ac7a-4f4a-9995-9dcc08bc6ebc)) - (pin "2" (uuid e042e7b2-9853-43dd-9d84-0a27309e3472)) - (pin "2" (uuid e042e7b2-9853-43dd-9d84-0a27309e3472)) + (pin "2" (uuid e042e7b2-9853-43dd-9d84-0a27309e3473)) + (pin "2" (uuid e042e7b2-9853-43dd-9d84-0a27309e3473)) (pin "5" (uuid d5cf600e-4c97-43db-818b-ea3248045403)) (pin "6" (uuid 2c89c0c4-ec2f-42de-81b6-e62c8d188968)) (pin "10" (uuid 95506ff9-4ec7-44f1-b5f7-87c53697753f)) @@ -708,12 +708,12 @@ (property "LCSC Part" "C146412" (at 125.73 158.75 0) (effects (font (size 1.27 1.27)) hide) ) - (pin "1" (uuid f3a4724f-c83e-4357-93f5-de2b64412a02)) - (pin "1" (uuid f3a4724f-c83e-4357-93f5-de2b64412a02)) + (pin "1" (uuid f3a4724f-c83e-4357-93f5-de2b64412a03)) + (pin "1" (uuid f3a4724f-c83e-4357-93f5-de2b64412a03)) (pin "11" (uuid 381951b5-9e1d-46d9-9fdd-5023089bf34f)) (pin "12" (uuid 4a0f3bdc-1b3f-4b5a-9fdd-ad98ac9347e8)) - (pin "2" (uuid e061c3c4-4715-4c93-a856-a0881bf59ba3)) - (pin "2" (uuid e061c3c4-4715-4c93-a856-a0881bf59ba3)) + (pin "2" (uuid e061c3c4-4715-4c93-a856-a0881bf59ba4)) + (pin "2" (uuid e061c3c4-4715-4c93-a856-a0881bf59ba4)) (pin "5" (uuid 040e7810-ff19-4cb2-8089-e98a109dca74)) (pin "6" (uuid c4b7cfc6-3923-4e8e-beab-8edfebf00db1)) (pin "10" (uuid 2f7d9d6f-7117-437c-a6f9-ab265c02086b)) @@ -872,12 +872,12 @@ (property "LCSC Part" "C146412" (at 125.73 123.19 0) (effects (font (size 1.27 1.27)) hide) ) - (pin "1" (uuid ac305c0b-c868-41dc-8758-5dddab10c0aa)) - (pin "1" (uuid ac305c0b-c868-41dc-8758-5dddab10c0aa)) + (pin "1" (uuid ac305c0b-c868-41dc-8758-5dddab10c0ab)) + (pin "1" (uuid ac305c0b-c868-41dc-8758-5dddab10c0ab)) (pin "11" (uuid 5f952846-310c-40d4-879c-8b224fb60661)) (pin "12" (uuid 9720c386-328c-42a4-97c9-f29be92781fd)) - (pin "2" (uuid 81d43ea9-5248-42eb-8446-126bd3fa7bbb)) - (pin "2" (uuid 81d43ea9-5248-42eb-8446-126bd3fa7bbb)) + (pin "2" (uuid 81d43ea9-5248-42eb-8446-126bd3fa7bbc)) + (pin "2" (uuid 81d43ea9-5248-42eb-8446-126bd3fa7bbc)) (pin "5" (uuid 9f25a38a-708f-427f-b757-bac5c276de82)) (pin "6" (uuid 15056b44-bd76-49d3-97b1-8f239c766f7b)) (pin "10" (uuid 43fa4b5b-1368-473b-a20c-160035bf6d2e)) diff --git a/hardware/usb.kicad_sch b/hardware/usb.kicad_sch index 228bcbf..63029c8 100644 --- a/hardware/usb.kicad_sch +++ b/hardware/usb.kicad_sch @@ -819,6 +819,11 @@ (stroke (width 0) (type default)) (uuid 0a14d4da-021c-4d9e-9679-6c4310bab1e5) ) + (polyline (pts (xy 205.74 78.74) (xy 205.74 57.15)) + (stroke (width 0) (type dash)) + (uuid 113a1c01-3880-457c-b8d2-a322d976f3eb) + ) + (wire (pts (xy 129.54 87.63) (xy 133.35 87.63)) (stroke (width 0) (type default)) (uuid 189a4a91-86d9-4c15-b8a3-52fe3bc43652) @@ -839,6 +844,11 @@ (stroke (width 0) (type default)) (uuid 27844c04-3d11-4309-84f5-54db6ebdb4f4) ) + (polyline (pts (xy 187.96 57.15) (xy 187.96 78.74)) + (stroke (width 0) (type dash)) + (uuid 28c3b3eb-96a9-4dd7-abd6-f07914b20eb2) + ) + (wire (pts (xy 149.86 105.41) (xy 160.02 105.41)) (stroke (width 0) (type default)) (uuid 2f8faf9e-0eca-4d3b-b618-2d2541be2cb8) @@ -871,7 +881,7 @@ (stroke (width 0) (type default)) (uuid 7e89535e-57a8-4efc-8386-a47a38a5c010) ) - (wire (pts (xy 200.66 74.93) (xy 204.47 74.93)) + (wire (pts (xy 200.66 74.93) (xy 210.82 74.93)) (stroke (width 0) (type default)) (uuid 7eaa406d-3ca7-4d29-9f00-240038370acb) ) @@ -895,11 +905,16 @@ (stroke (width 0) (type default)) (uuid 924ac973-8620-473f-a942-9d5f8ba6a69e) ) + (polyline (pts (xy 187.96 57.15) (xy 205.74 57.15)) + (stroke (width 0) (type dash)) + (uuid 934f6af3-25d2-4464-865c-3380099b47e3) + ) + (wire (pts (xy 160.02 93.98) (xy 170.18 93.98)) (stroke (width 0) (type default)) (uuid 940e3e0b-4c9a-42fb-8b5c-a42c8008ec1c) ) - (wire (pts (xy 204.47 74.93) (xy 204.47 71.12)) + (wire (pts (xy 210.82 74.93) (xy 210.82 69.85)) (stroke (width 0) (type default)) (uuid 95a2635d-92c4-4fc9-8f40-af48ec2bb2e5) ) @@ -927,6 +942,11 @@ (stroke (width 0) (type default)) (uuid bdc95b9b-cec6-4f4f-a442-91b4b1fcb098) ) + (polyline (pts (xy 187.96 78.74) (xy 205.74 78.74)) + (stroke (width 0) (type dash)) + (uuid c6ecf75e-e0e5-47af-b010-cc57251b582b) + ) + (wire (pts (xy 129.54 82.55) (xy 135.89 82.55)) (stroke (width 0) (type default)) (uuid d5ebe916-192c-4adf-9cd5-109115062f48) @@ -960,6 +980,11 @@ (uuid f955368a-83b4-45d0-b05e-385531054e24) ) + (text "not sure if\ngood idea" (at 191.77 63.5 0) + (effects (font (size 1.27 1.27)) (justify left bottom)) + (uuid 094e3f22-7dfb-4ec5-9d75-4dad2b796bfb) + ) + (label "USB_5V" (at 151.13 74.93 0) (fields_autoplaced) (effects (font (size 1.27 1.27)) (justify left bottom)) (uuid 3309461f-9ec9-4f09-8ce5-3188505d8775) @@ -1193,19 +1218,19 @@ ) ) - (symbol (lib_id "matei:Vmot") (at 204.47 71.12 0) (unit 1) + (symbol (lib_id "matei:Vmot") (at 210.82 69.85 0) (unit 1) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced) (uuid b9dba828-f517-41cc-8de1-0faef402be40) - (property "Reference" "#PWR0202" (at 199.39 74.93 0) + (property "Reference" "#PWR0202" (at 205.74 73.66 0) (effects (font (size 1.27 1.27)) hide) ) - (property "Value" "Vmot" (at 204.47 66.04 0) + (property "Value" "Vmot" (at 210.82 64.77 0) (effects (font (size 1.27 1.27))) ) - (property "Footprint" "" (at 204.47 71.12 0) + (property "Footprint" "" (at 210.82 69.85 0) (effects (font (size 1.27 1.27)) hide) ) - (property "Datasheet" "" (at 204.47 71.12 0) + (property "Datasheet" "" (at 210.82 69.85 0) (effects (font (size 1.27 1.27)) hide) ) (pin "1" (uuid f1d6e431-3a02-4643-9c81-2852037ee064)) diff --git a/lemon-pepper.pdf b/lemon-pepper.pdf index 18e6874..58c5ec0 100644 Binary files a/lemon-pepper.pdf and b/lemon-pepper.pdf differ