diff --git a/libtest.png b/libtest.png index 82c7c80..ab91b78 100644 Binary files a/libtest.png and b/libtest.png differ diff --git a/readme.md b/readme.md index f81e7f2..f737800 100644 --- a/readme.md +++ b/readme.md @@ -3009,7 +3009,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 | -| 47 | `nut(M3_nut, nyloc = true)` | Nut M3 x 2.4mm nyloc | +| 48 | `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 | @@ -3039,11 +3039,12 @@ PCBs and perfboard with optional components. The shape can be a rectangle with o | 8 | `screw(M2p5_pan_screw, 30)` | Screw M2.5 pan x 30mm | | 19 | `screw(M3_cap_screw, 16)` | Screw M3 cap x 16mm | | 13 | `screw(M3_cap_screw, 20)` | Screw M3 cap x 20mm | -| 4 | `screw(M3_cap_screw, 25)` | Screw M3 cap x 25mm | +| 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 | | 1 | `pcb(XIAO)` | Seeeduino XIAO | +| 1 | `pcb(9DOF_stick)` | Sparkfun 9 degrees of freedom IMU | | 1 | `pcb(TP4056)` | TP4056 Li-lon Battery charger module | | 3 | `terminal_35(2)` | Terminal block 2 way 3.5mm - not shown | | 2 | `green_terminal(gt_2p54, 4)` | Terminal block 4 way 0.1" - not shown | @@ -3052,7 +3053,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 | -| 47 | `washer(M3_washer)` | Washer M3 x 7mm x 0.5mm | +| 48 | `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 | @@ -3074,7 +3075,7 @@ PCBs and perfboard with optional components. The shape can be a rectangle with o | 4 | pcb_spacer25250.stl | | 4 | pcb_spacer25260.stl | | 4 | pcb_spacer2580.stl | -| 4 | pcb_spacer30130.stl | +| 5 | pcb_spacer30130.stl | | 4 | pcb_spacer30210.stl | | 4 | pcb_spacer30220.stl | | 3 | pcb_spacer30230.stl | diff --git a/tests/png/pcbs.png b/tests/png/pcbs.png index 5817945..814304a 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 5e69e08..8a2940a 100644 --- a/vitamins/pcbs.scad +++ b/vitamins/pcbs.scad @@ -1244,7 +1244,26 @@ tiny_buck = pcb("tiny_buck", "Ultra Small 3A buck regulator", [20, 11, 1.6], ] ); -tiny_pcbs = [ESP_201, ESP_01M, XIAO, ESP_12F, MP1584EN, ESP_01,tiny_buck, LIPO_fuel_gauge]; +9DOF_stick = pcb("9DOF_stick", "Sparkfun 9 degrees of freedom IMU", [24, 11, 0.8], + colour = "red", + hole_d = 3.3, + holes = [[-1.2 - 3.3 / 2, 11 / 2]], + components = [ + [9.7, 11/ 2, 0, "chip", 3, 3.5, 1], + [9.7, 8.5, 0, "smd_cap", CAP0603, 0.8], + for(i = [0 : 3]) + [5.27, 2.5 + i * 2, 0, "smd_cap", CAP0603, 0.8], + [12.8, 4, 90, "smd_res", RES0603, "472"], + [14.1, 4, 90, "smd_res", RES0603, "472"], + + // Silkscreen + [17.75, 1.4, 0,"text", 11, 1.4, "9DOF Stick", "Liberation Sans:style=Bold"], + [3, 11/2, 90, "text", 10, 1, "SCL SDA VDD GND", "Liberation Sans:style=Bold"], + ], + grid = [inch(0.05), 11 / 2 - inch(0.15), 1, 4, "silver", 0, inch(0.1)] +); + +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];