1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-17 20:53:00 +02:00

Merge branch 'loekwous-feature/add-blackpill-pcb'

This commit is contained in:
Chris Palmer
2025-01-22 01:28:57 +00:00
4 changed files with 43 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1016 KiB

After

Width:  |  Height:  |  Size: 1018 KiB

View File

@@ -2982,6 +2982,7 @@ PCBs and perfboard with optional components. The shape can be a rectangle with o
| 1 | `pcb(BTT_SKR_E3_TURBO)` | BigTreeTech SKR E3 Turbo | | 1 | `pcb(BTT_SKR_E3_TURBO)` | BigTreeTech SKR E3 Turbo |
| 1 | `pcb(BTT_SKR_MINI_E3_V2_0)` | BigTreeTech SKR Mini E3 v2.0 | | 1 | `pcb(BTT_SKR_MINI_E3_V2_0)` | BigTreeTech SKR Mini E3 v2.0 |
| 1 | `pcb(BTT_SKR_V1_4_TURBO)` | BigTreeTech SKR v1.4 Turbo | | 1 | `pcb(BTT_SKR_V1_4_TURBO)` | BigTreeTech SKR v1.4 Turbo |
| 1 | `pcb(BlackPill)` | Black Pill |
| 1 | | Cat 5 patch cable 300mm | | 1 | | Cat 5 patch cable 300mm |
| 1 | `d_plug(DCONN15, pcb = true)` | D-type 15 way PCB mount plug - not shown | | 1 | `d_plug(DCONN15, pcb = true)` | D-type 15 way PCB mount plug - not shown |
| 1 | `pcb(DuetE)` | Duet 2 Ethernet electronics | | 1 | `pcb(DuetE)` | Duet 2 Ethernet electronics |
@@ -3033,7 +3034,8 @@ PCBs and perfboard with optional components. The shape can be a rectangle with o
| 4 | `screw(M2_cap_screw, 25)` | Screw M2 cap x 25mm | | 4 | `screw(M2_cap_screw, 25)` | Screw M2 cap x 25mm |
| 2 | `screw(M2p5_cap_screw, 20)` | Screw M2.5 cap x 20mm | | 2 | `screw(M2p5_cap_screw, 20)` | Screw M2.5 cap x 20mm |
| 8 | `screw(M2p5_cap_screw, 30)` | Screw M2.5 cap x 30mm | | 8 | `screw(M2p5_cap_screw, 30)` | Screw M2.5 cap x 30mm |
| 12 | `screw(M2p5_cap_screw, 35)` | Screw M2.5 cap x 35mm | | 8 | `screw(M2p5_cap_screw, 35)` | Screw M2.5 cap x 35mm |
| 4 | `screw(M2p5_cap_screw, 40)` | Screw M2.5 cap x 40mm |
| 4 | `screw(M2p5_dome_screw, 25)` | Screw M2.5 dome x 25mm | | 4 | `screw(M2p5_dome_screw, 25)` | Screw M2.5 dome x 25mm |
| 4 | `screw(M2p5_pan_screw, 20)` | Screw M2.5 pan x 20mm | | 4 | `screw(M2p5_pan_screw, 20)` | Screw M2.5 pan x 20mm |
| 8 | `screw(M2p5_pan_screw, 30)` | Screw M2.5 pan x 30mm | | 8 | `screw(M2p5_pan_screw, 30)` | Screw M2.5 pan x 30mm |
@@ -3067,18 +3069,18 @@ PCBs and perfboard with optional components. The shape can be a rectangle with o
| 4 | pcb_spacer2090.stl | | 4 | pcb_spacer2090.stl |
| 2 | pcb_spacer25110.stl | | 2 | pcb_spacer25110.stl |
| 4 | pcb_spacer25140.stl | | 4 | pcb_spacer25140.stl |
| 4 | pcb_spacer25170.stl |
| 4 | pcb_spacer25180.stl | | 4 | pcb_spacer25180.stl |
| 4 | pcb_spacer25190_2.stl | | 4 | pcb_spacer25190.stl |
| 4 | pcb_spacer25200_2.stl | | 4 | pcb_spacer25200_2.stl |
| 4 | pcb_spacer25240.stl | | 4 | pcb_spacer25210_2.stl |
| 4 | pcb_spacer25250.stl | | 4 | pcb_spacer25250.stl |
| 4 | pcb_spacer25260.stl | | 4 | pcb_spacer25260.stl |
| 4 | pcb_spacer25270.stl |
| 4 | pcb_spacer2580.stl | | 4 | pcb_spacer2580.stl |
| 5 | pcb_spacer30130.stl | | 5 | pcb_spacer30130.stl |
| 4 | pcb_spacer30210.stl |
| 4 | pcb_spacer30220.stl | | 4 | pcb_spacer30220.stl |
| 3 | pcb_spacer30230.stl | | 4 | pcb_spacer30230.stl |
| 3 | pcb_spacer30240.stl |
| 10 | pcb_spacer3050.stl | | 10 | pcb_spacer3050.stl |
| 9 | pcb_spacer3060.stl | | 9 | pcb_spacer3060.stl |
| 9 | pcb_spacer3070.stl | | 9 | pcb_spacer3070.stl |

Binary file not shown.

Before

Width:  |  Height:  |  Size: 241 KiB

After

Width:  |  Height:  |  Size: 237 KiB

View File

@@ -1020,6 +1020,39 @@ ArduinoNano = let(l = 43.18, w = 17.78, pitch = inch(0.6), pins = 15, poffset =
[(l - inch(pins - 1) / 10) / 2 + poffset, (w - pitch) / 2, pins, 2, silver, 2.54, pitch], // 15x2 grid of holes [(l - inch(pins - 1) / 10) / 2 + poffset, (w - pitch) / 2, pins, 2, silver, 2.54, pitch], // 15x2 grid of holes
]; ];
BlackPill = let(l = 52.81, w = 20.78, pitch = inch(0.6), pins = 20, poffset = inch(-0.05), led_spacing = [0, 9.93/2], btn_spacing = [0, 4.3/2]) [
"BlackPill", "Black Pill",
l, w, 1.6, // Size
0, // corner radius
0, // mounting hole diameter
0, // pad around mounting hole
"#101010", // color
false, // true if parts should be separate BOM items
[],
[ // components
[l / 2 + poffset, w / 2 - pitch / 2, 0, "-2p54joiner", pins, 1, undef, "yellow"],
[l / 2 + poffset, w / 2 + pitch / 2, 0, "-2p54joiner", pins, 1, undef, "yellow"],
[l - inch(0.27), w / 2, 90, "2p54header", 4, 1, undef, undef, true],
[ l -26.75, w / 2, 45, "chip", 7, 7, 1.3],
[ 3.6, w / 2, 180, "usb_C" ],
[ 15, 5.3, 0, "text", 4, 1.27, "BOOT0"],
[ 15, w-5.3, 0, "text", 4, 1.27, "NRST"],
[ l - 16, w/2-led_spacing.y, 0, "text", 4, 1.27, "PWR"],
[ l - 16, w/2+led_spacing.y, 0, "text", 4, 1.27, "C13"],
[ 15, w / 2 - btn_spacing.y, 90, "chip", 3.5, 6, 1.8, silver ], // mock button boot0
[ 15, w / 2 - btn_spacing.y, 90, "chip", 1.3, 2.6, 2.6, grey(90) ], // mock button boot0
[ 15, w / 2 + btn_spacing.y, 90, "chip", 3.5, 6, 1.8, silver ], // mock button nrst
[ 15, w / 2 + btn_spacing.y, 90, "chip", 1.3, 2.6, 2.6, grey(90) ], // mock button nrst
[ l - 12, 8.5, 90, "chip", 3.5, 6, 1.8, silver ], // mock button user
[ l - 12, 8.5, 90, "chip", 1.3, 2.6, 2.6, grey(90) ], // mock button user
[ l - 17, 12.5, 90, "chip", 3.2, 2.5, 0.6, brass ], // xtal
[ l - 12, 12.5, 90, "smd_sot", SOT23],
[ l - 12, w / 2 - led_spacing.y, 0, "smd_led", LED0603, "red"],
[ l - 12, w / 2 + led_spacing.y, 0, "smd_led", LED0603, "blue"]],
[], // accessories
[(l - inch(pins - 1) / 10) / 2 + poffset, (w - pitch) / 2, pins, 2, silver, 2.54, pitch], // 15x2 grid of holes
];
KY_040 = ["KY_040", "KY-040 rotart encoder breakout", KY_040 = ["KY_040", "KY-040 rotart encoder breakout",
26.3, 19.5, 1.6, 0, 3, 0, grey(20), false, 26.3, 19.5, 1.6, 0, 3, 0, grey(20), false,
[ [
@@ -1267,7 +1300,8 @@ tiny_pcbs = [ESP_201, ESP_01M, XIAO, ESP_12F, MP1584EN, ESP_01,tiny_buck, LIPO_f
big_pcbs = [BTT_RELAY_V1_2, BTT_SKR_MINI_E3_V2_0, BTT_SKR_E3_TURBO, BTT_SKR_V1_4_TURBO, DuetE, Duex5]; big_pcbs = [BTT_RELAY_V1_2, BTT_SKR_MINI_E3_V2_0, BTT_SKR_E3_TURBO, BTT_SKR_V1_4_TURBO, DuetE, Duex5];
pcbs = [KY_040, TP4056, L9110S, ZC_A0591, RCWL0516, MT3608,RAMPSEndstop, ArduinoNano, HW803_1WAY_RELAY, Feather405, RPI_Pico, ESP32_DOIT_V1, RPI0, EnviroPlus, ArduinoUno3, ArduinoLeonardo, WD2002SJ, OPZ2, PanelDue_v3, RPI3A, RPI3, RPI4]; pcbs = [KY_040, TP4056, L9110S, ZC_A0591, RCWL0516, MT3608,RAMPSEndstop, ArduinoNano, HW803_1WAY_RELAY, Feather405, RPI_Pico,
ESP32_DOIT_V1, BlackPill, RPI0, EnviroPlus, ArduinoUno3, ArduinoLeonardo, WD2002SJ, OPZ2, PanelDue_v3, RPI3A, RPI3, RPI4];
pcbs_not_shown = [Melzi, Duex2, PSU12V1A, Keyes5p1, PI_IO, ExtruderPCB]; pcbs_not_shown = [Melzi, Duex2, PSU12V1A, Keyes5p1, PI_IO, ExtruderPCB];