diff --git a/libtest.png b/libtest.png index 7814cf9..b505464 100644 Binary files a/libtest.png and b/libtest.png differ diff --git a/readme.md b/readme.md index 16c0c6c..d6203be 100644 --- a/readme.md +++ b/readme.md @@ -3007,6 +3007,7 @@ PCBs and perfboard with optional components. The shape can be a rectangle with o | 1 | `pcb(LIPO_fuel_gauge)` | LIPO fuel gauge | | 1 | `pcb(MP1584EN)` | MP1584EN 3A buck converter | | 1 | `pcb(MT3608)` | MT3608 boost converter module | +| 1 | `pcb(MELLOW_FLY_D5)` | Mellow FLY D5 | | 1 | `pcb(Melzi)` | Melzi electronics - not shown | | 6 | | Micro SD card | | 1 | | Micro SD card - not shown | @@ -3015,7 +3016,7 @@ PCBs and perfboard with optional components. The shape can be a rectangle with o | 1 | `molex_254(3)` | Molex KK header 3 way - not shown | | 20 | `nut(M2_nut, nyloc = true)` | Nut M2 x 1.6mm nyloc | | 38 | `nut(M2p5_nut, nyloc = true)` | Nut M2.5 x 2.2mm nyloc | -| 48 | `nut(M3_nut, nyloc = true)` | Nut M3 x 2.4mm nyloc | +| 52 | `nut(M3_nut, nyloc = true)` | Nut M3 x 2.4mm nyloc | | 8 | `nut(M4_nut, nyloc = true)` | Nut M4 x 3.2mm nyloc | | 1 | `pcb(OPZ2)` | Orange Pi Zero 2 | | 1 | `pcb(PI_IO)` | PI_IO V2 - not shown | @@ -3045,12 +3046,11 @@ PCBs and perfboard with optional components. The shape can be a rectangle with o | 4 | `screw(M2p5_pan_screw, 20)` | Screw M2.5 pan x 20mm | | 4 | `screw(M2p5_pan_screw, 30)` | Screw M2.5 pan x 30mm | | 4 | `screw(M2p5_pan_screw, 35)` | Screw M2.5 pan x 35mm | -| 19 | `screw(M3_cap_screw, 16)` | Screw M3 cap x 16mm | -| 13 | `screw(M3_cap_screw, 20)` | Screw M3 cap x 20mm | +| 18 | `screw(M3_cap_screw, 16)` | Screw M3 cap x 16mm | +| 18 | `screw(M3_cap_screw, 20)` | Screw M3 cap x 20mm | | 5 | `screw(M3_cap_screw, 25)` | Screw M3 cap x 25mm | | 11 | `screw(M3_cap_screw, 35)` | Screw M3 cap x 35mm | -| 4 | `screw(M4_cap_screw, 20)` | Screw M4 cap x 20mm | -| 4 | `screw(M4_cap_screw, 25)` | Screw M4 cap x 25mm | +| 8 | `screw(M4_cap_screw, 25)` | Screw M4 cap x 25mm | | 1 | `pcb(XIAO)` | Seeeduino XIAO | | 1 | `pcb(9DOF_stick)` | Sparkfun 9 degrees of freedom IMU | | 1 | `pcb(TP4056)` | TP4056 Li-lon Battery charger module | @@ -3061,7 +3061,7 @@ PCBs and perfboard with optional components. The shape can be a rectangle with o | 1 | `pcb(WD2002SJ)` | WD2002SJ Buck Boost DC-DC converter | | 20 | `washer(M2_washer)` | Washer M2 x 5mm x 0.3mm | | 38 | `washer(M2p5_washer)` | Washer M2.5 x 5.9mm x 0.5mm | -| 48 | `washer(M3_washer)` | Washer M3 x 7mm x 0.5mm | +| 52 | `washer(M3_washer)` | Washer M3 x 7mm x 0.5mm | | 8 | `washer(M4_washer)` | Washer M4 x 9mm x 0.8mm | | 1 | `pcb(ZC_A0591)` | ZC-A0591 ULN2003 driver PCB | @@ -3089,11 +3089,12 @@ PCBs and perfboard with optional components. The shape can be a rectangle with o | 4 | pcb_spacer30240.stl | | 3 | pcb_spacer30250.stl | | 10 | pcb_spacer3050.stl | -| 9 | pcb_spacer3060.stl | +| 8 | pcb_spacer3060.stl | | 9 | pcb_spacer3070.stl | -| 4 | pcb_spacer3080.stl | +| 5 | pcb_spacer3080.stl | +| 4 | pcb_spacer3090.stl | | 4 | pcb_spacer40100.stl | -| 4 | pcb_spacer4090.stl | +| 4 | pcb_spacer40110.stl | Top diff --git a/tests/png/pcbs.png b/tests/png/pcbs.png index 084c3d8..9be01d4 100644 Binary files a/tests/png/pcbs.png and b/tests/png/pcbs.png differ diff --git a/vitamins/pcbs.scad b/vitamins/pcbs.scad index 0f86b0c..f85f4f8 100644 --- a/vitamins/pcbs.scad +++ b/vitamins/pcbs.scad @@ -535,6 +535,95 @@ BTT_SKR_V1_4_TURBO = [ [] // accessories ]; +MELLOW_FLY_D5 = [ + "MELLOW_FLY_D5", "Mellow FLY D5", + 89.37, 63.75, 1.6, // size + 1, // corner radius + 3, // mounting hole diameter + 5, // pad around mounting hole + grey(30), // color + false, // true if parts should be separate BOM items + [ // hole positions + [3.185,3.375], + [-3.185,3.375], + [3.185,-3.375], + [-3.185,-3.375], + ], + [ // components + // motor connections, stepper sockets + [ 0*15.8+7+12.5/2, 7/2, 180, "jst_xh", 4, false, grey(20) ], + [ 0*15.8+18+2.5/2, 5.8+21/2, 90, "2p54socket", 8, 1, undef, undef, undef, "RoyalBlue" ], + [ 0*15.8+12.5+5.4/2, 5.8+2.6/2, 0, "2p54socket", 2, 1], + [ 0*15.8+5.5+2.5/2, 5.8+21/2, 90, "2p54socket", 8, 1, undef, undef, undef], + [ 0*15.8+5.1+2.5/2+6.5, 5.8+21/2, 90, "pcb", 11, TMC2130], + + [ 1*15.8+7+12.5/2, 7/2, 180, "jst_xh", 4, false, grey(20) ], + [ 1*15.8+18+2.5/2, 5.8+21/2, 90, "2p54socket", 8, 1, undef, undef, undef, "RoyalBlue" ], + [ 1*15.8+12.5+5.4/2, 5.8+2.6/2, 0, "2p54socket", 2, 1], + [ 1*15.8+5.5+2.5/2, 5.8+21/2, 90, "2p54socket", 8, 1, undef, undef, undef], + [ 1*15.8+5.1+2.5/2+6.5, 5.8+21/2, 90, "pcb", 11, TMC2130], + + [ 2*15.8+7+12.5/2, 7/2, 180, "jst_xh", 4, false, grey(20) ], + [ 2*15.8+18+2.5/2, 5.8+21/2, 90, "2p54socket", 8, 1, undef, undef, undef, "RoyalBlue" ], + [ 2*15.8+12.5+5.4/2, 5.8+2.6/2, 0, "2p54socket", 2, 1], + [ 2*15.8+5.5+2.5/2, 5.8+21/2, 90, "2p54socket", 8, 1, undef, undef, undef], + [ 2*15.8+5.1+2.5/2+6.5, 5.8+21/2, 90, "pcb", 11, TMC2130], + + [ 3*15.8+7+12.5/2, 7/2, 180, "jst_xh", 4, false, grey(20) ], + [ 3*15.8+18+2.5/2, 5.8+21/2, 90, "2p54socket", 8, 1, undef, undef, undef, "RoyalBlue" ], + [ 3*15.8+12.5+5.4/2, 5.8+2.6/2, 0, "2p54socket", 2, 1], + [ 3*15.8+5.5+2.5/2, 5.8+21/2, 90, "2p54socket", 8, 1, undef, undef, undef], + [ 3*15.8+5.1+2.5/2+6.5, 5.8+21/2, 90, "pcb", 11, TMC2130], + + [ 4*15.8+7+12.5/2, 7/2, 180, "jst_xh", 4, false, grey(20) ], + [ 4*15.8+18+2.5/2, 5.8+21/2, 90, "2p54socket", 8, 1, undef, undef, undef, "RoyalBlue" ], + [ 4*15.8+12.5+5.4/2, 5.8+2.6/2, 0, "2p54socket", 2, 1], + [ 4*15.8+5.5+2.5/2, 5.8+21/2, 90, "2p54socket", 8, 1, undef, undef, undef], + + // thermistors + [ 0*8+7.8+7.4/2, -(0*6+5.7/2), 180, "jst_xh", 2, false, grey(20) ], + [ 1*8+7.8+7.4/2, -(0*6+5.7/2), 180, "jst_xh", 2, false, grey(20) ], + + // fans + [ 2*8+7.8+7.4/2, -(0*6+5.7/2), 180, "jst_xh", 2, false, grey(20) ], + [ 3*8+7.8+7.4/2, -(0*6+5.7/2), 180, "jst_xh", 2, false, grey(20) ], + [ 4*8+7.8+7.4/2, -(0*6+5.7/2), 180, "jst_xh", 2, false, grey(20) ], + [ 2*8+7.8+7.4/2, -(1*6+5.7/2), 180, "jst_xh", 2, false, grey(20) ], + [ 3*8+7.8+7.4/2, -(1*6+5.7/2), 180, "jst_xh", 2, false, grey(20) ], + [ 4*8+7.8+7.4/2, -(1*6+5.7/2), 180, "jst_xh", 2, false, grey(20) ], + + // endstops + [ 0*10.5+5*8+7.8+10/2, -(0*6+5.7/2), 180, "jst_xh", 3, false, grey(20) ], + [ 1*10.5+5*8+7.8+10/2, -(0*6+5.7/2), 180, "jst_xh", 3, false, grey(20) ], + [ 2*10.5+5*8+7.8+10/2, -(0*6+5.7/2), 180, "jst_xh", 3, false, grey(20) ], + + // bltouch/probe + [ 5*8+7.8+15/2, -(1*6+5.7/2), 180, "jst_xh", 5, false, grey(20) ], + + // uart/screen + [ 5*8+7.8+15.5+12.5/2, -(1*6+5.7/2), 180, "jst_xh", 4, false, grey(20) ], + + // terminals + [ 5.25, -(7+30/2), 180, "gterm", gt_5x17, 6, undef, grey(20) ], + + // cpu + [ -26-10/2, -20-10/2, 0, "chip", 10, 10, 1, grey(15) ], + + // EXP1 & EXP2 + [ -20/2, -17-9/2, 180, "2p54boxhdr", 5, 2 ], + [ -20/2, -26-9/2, 180, "2p54boxhdr", 5, 2 ], + + // USB connection + [-3, -7-9/2, 0, "usb_C"], + + // boot button + //[-36, -16, 0, "button_4p5mm"], // button is super tiny, not like button_4p5mm + // reset button + //[-38, -16, 0, "button_4p5mm"], // button is super tiny, not like button_4p5mm + ], + [] // accessories +]; + Melzi = ["Melzi", "Melzi electronics", 203.2, 49.53, 1.6, 3.81, 3.1, 6, "green", false, [[3.81, 3.81], [-3.81, 3.81], [-3.81, -3.81], [3.81, -3.81]], [], [": USB A to Mini B lead", ": Micro SD card"]]; @@ -1315,7 +1404,7 @@ I2C_LCD_Backpack = let(size=[42, 19, 1.2]) tiny_pcbs = [ESP_201, ESP_01M, XIAO, ESP_12F, MP1584EN, ESP_01,tiny_buck, LIPO_fuel_gauge, 9DOF_stick]; -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, MELLOW_FLY_D5, 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, I2C_LCD_Backpack, HW803_1WAY_RELAY, Feather405, RPI_Pico, ESP32_DOIT_V1, BlackPill, RPI0, EnviroPlus, ArduinoUno3, ArduinoLeonardo, WD2002SJ, OPZ2, PanelDue_v3, RPI3A, RPI3, RPI4];