From 3961d7f1a4d3fd04a2fb174735d52ad8f95ecf7a Mon Sep 17 00:00:00 2001 From: Lukas Burger Date: Fri, 2 Feb 2024 20:31:19 +0100 Subject: [PATCH] add HW-803 5V 1 way relay module --- readme.md | 1 + vitamins/pcbs.scad | 23 ++++++++++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index c23ab3f..8b6c40c 100644 --- a/readme.md +++ b/readme.md @@ -2854,6 +2854,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(HW803_1WAY_RELAY)` | HW-803 5V 1 way relay module | | 1 | `pcb(Melzi)` | Melzi electronics - not shown | | 6 | | Micro SD card | | 1 | | Micro SD card - not shown | diff --git a/vitamins/pcbs.scad b/vitamins/pcbs.scad index f55c648..fdd8a39 100644 --- a/vitamins/pcbs.scad +++ b/vitamins/pcbs.scad @@ -765,6 +765,27 @@ MT3608 = ["MT3608", "MT3608 boost converter module", 37, 17, 1.2, 2, 1.5, [ [-12.05 , -6.8, 180, "trimpot10"] ]]; +HW803_1WAY_RELAY = [ + "HW803_1WAY_RELAY", "HW-803 5V 1 way relay module", + 50, 26, 1.6, // size + 2, // corner radius + 3, // mounting hole diameter + 4, // pad around mounting hole + "red", // color + false, // true if parts should be separate BOM items + [ // hole positions + [3, 3], [-3, 3], [3, -3], [-3, -3] + ], + [ // components + [ 10.5 + 19/2, 26/2, 0, "block", 19, 15, 15.5, "SkyBlue" ], + [ 50-5, 26/2, 0, "term35", 3], + [ 5, 26/2, 180, "term35", 3], + [ 34, 2, 0, "2p54header", 3, 1 ], + ], + [], // accessories + [], // grid +]; + TP4056 = ["TP4056", "TP4056 Li-lon Battery charger module", 26.2, 17.5, 1.0, 0, 1.0, [2.4, 2.4], "#2140BE", false, [[1.67, 1.8], [1.67, -1.8], [-1.67, 1.8], [-1.67, -1.8], [-1.67, -4.98], [-1.67, 4.98]], [ [ 2, 17.5 / 2, 180, "usb_uA"], @@ -1201,7 +1222,7 @@ tiny_pcbs = [ESP_201, ESP_12F, XIAO, MP1584EN, ESP_01, ESP_01M, tiny_buck, LIPO_ 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, RAMPSEndstop, MT3608, ArduinoNano, Feather405, RPI_Pico, ESP32_DOIT_V1, RPI0, EnviroPlus, ArduinoUno3, ArduinoLeonardo, WD2002SJ, OPZ2, PanelDue_v3, RPI3A, RPI3, RPI4]; +pcbs = [KY_040, TP4056, L9110S, ZC_A0591, RAMPSEndstop, MT3608, HW803_1WAY_RELAY, ArduinoNano, Feather405, RPI_Pico, ESP32_DOIT_V1, RPI0, EnviroPlus, ArduinoUno3, ArduinoLeonardo, WD2002SJ, OPZ2, PanelDue_v3, RPI3A, RPI3, RPI4]; pcbs_not_shown = [Melzi, Duex2, PSU12V1A, Keyes5p1, PI_IO, ExtruderPCB];