Commit e6a1a619 authored by Thomas Maaß's avatar Thomas Maaß
Browse files

Bump version to 2.0

More compact PCB
Increased maximum current to 17.5 A
Replaced D1 Mini with a ESP32-Wroom
Replaced relay with a MOSFET
Added an audiojack for Sound-Reactive-WLED
Added a case, created with OpenSCAD (Thx to mancas!)
Updated README.md
parent 346d9dba
......@@ -2,9 +2,9 @@
## Summary
The PCB was created with Kicad and is optimized for WLED <https://github.com/Aircoookie/WLED>, but can also be used for other projects.
The PCB was created with Kicad and is optimized for Sound-reactive-WLED <https://github.com/atuline/WLED> and original WLED <https://github.com/Aircoookie/WLED>, but can also be used for other projects.
The maximum current is 10A
The maximum current is 17,5A
## Pinout
......@@ -16,6 +16,15 @@ IR receiver: 4
Relay: 12
Sound: 36
## Programming
Solder the Jumper IO0 to enter programming mode, unsolder for normal operation. Instead of soldering the jumper, you can also hold the pushbutton while programming.
Use a FTDI-adapter for programming. Make sure, to use the adapter in 3,3V mode. Otherwise you will destroy the ESP32.
![led-control-top](kicad/led-control-top.png)
![led-control-bottom](kicad/led-control-bottom.png)
(footprint "DFN-8-1EP_6x5mm_P1.27mm_EP4.12x4.6mm" (version 20210228) (generator pcbnew) (layer "F.Cu")
(tedit 604130E7)
(descr "DD Package; 8-Lead Plastic DFN (6mm x 5mm), Pin 5-8 connected to EP (see http://www.aosmd.com/res/packaging_information/DFN5x6_8L_EP1_P.pdf)")
(tags "dfn ")
(attr smd)
(fp_text reference "REF**" (at -0.025 -3.6) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp ed3cdb69-2096-4355-89e4-d0f8f3bca34a)
)
(fp_text value "DFN-8-1EP_6x5mm_P1.27mm_EP4.12x4.6mm" (at -0.025 3.65) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 77266c0a-54a3-4327-b388-4a783ea01e21)
)
(fp_text user "${REFERENCE}" (at -0.025 0) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 7838f427-c6ba-4491-87e7-ae3d727f2b80)
)
(fp_line (start -0.025 -2.7) (end 2.75 -2.7) (layer "F.SilkS") (width 0.12) (tstamp a5806595-7f6b-47db-952c-a368344f0849))
(fp_line (start -2.8 2.7) (end 2.75 2.7) (layer "F.SilkS") (width 0.12) (tstamp ad1944c9-761c-47bd-a404-27ea62c3cfdf))
(fp_line (start -3.35 -2.9) (end 3.35 -2.9) (layer "F.CrtYd") (width 0.05) (tstamp 57157b91-679d-4bab-8904-b054553b4c53))
(fp_line (start 3.35 -2.9) (end 3.35 2.9) (layer "F.CrtYd") (width 0.05) (tstamp 676ab6f9-a04b-4960-8e5e-d724eecfebd0))
(fp_line (start -3.35 2.9) (end 3.35 2.9) (layer "F.CrtYd") (width 0.05) (tstamp 7c2d47aa-fa2f-46cf-9056-a37cfda345fb))
(fp_line (start -3.35 -2.9) (end -3.35 2.9) (layer "F.CrtYd") (width 0.05) (tstamp f8e4b5c7-6b92-455b-9766-d473e1d1021a))
(fp_line (start -2.8 2.6) (end 2.75 2.6) (layer "F.Fab") (width 0.1) (tstamp 36c020c1-1bc5-4a60-ae02-fa63c019062c))
(fp_line (start 2.75 -2.6) (end -1.8 -2.6) (layer "F.Fab") (width 0.1) (tstamp 874a01d8-b65e-41aa-bb11-37efb0494f3f))
(fp_line (start 2.75 -2.6) (end 2.75 2.6) (layer "F.Fab") (width 0.1) (tstamp b86d550a-de1e-4894-ac9b-8d06ee05d1fe))
(fp_line (start -2.8 2.6) (end -2.8 -1.6) (layer "F.Fab") (width 0.1) (tstamp cc43b5ab-2f6f-49b2-b52e-63406d9f8f8e))
(fp_line (start -1.8 -2.6) (end -2.8 -1.6) (layer "F.Fab") (width 0.1) (tstamp f3834b0a-0973-44e5-b200-5f91e18aa341))
(pad "" smd rect (at 1.89 1.65 270) (size 0.9 0.78) (layers "F.Paste") (tstamp 0571689f-8380-45c6-ae5b-f9036e1de2b3))
(pad "" smd rect (at -0.07 0.55 270) (size 0.9 0.78) (layers "F.Paste") (tstamp 21014513-9e48-46eb-ae02-d53593ee2c89))
(pad "" smd rect (at 1.89 0.55 270) (size 0.9 0.78) (layers "F.Paste") (tstamp 23fb023e-01cf-4022-bbf9-f60e646ac777))
(pad "" smd rect (at -1.05 1.65 270) (size 0.9 0.78) (layers "F.Paste") (tstamp 26091405-e950-44d6-9e36-a0fb6881890f))
(pad "" smd rect (at 1.89 -1.65 270) (size 0.9 0.78) (layers "F.Paste") (tstamp 3791e39b-5ebe-48d4-b88c-c2182bde7b6c))
(pad "" smd rect (at -0.07 1.65 270) (size 0.9 0.78) (layers "F.Paste") (tstamp 385cfcd4-4399-42d7-bffe-7e5b6724eb02))
(pad "" smd rect (at -1.05 -1.65 270) (size 0.9 0.78) (layers "F.Paste") (tstamp 4a5248fb-63c9-4624-abd1-22578334f47e))
(pad "" smd rect (at 0.91 0.55 270) (size 0.9 0.78) (layers "F.Paste") (tstamp 5335238a-f001-4e39-8a6b-187bce9d974d))
(pad "" smd rect (at 0.91 1.65 270) (size 0.9 0.78) (layers "F.Paste") (tstamp 59be6d23-66bb-46bf-936c-04b950ad8eeb))
(pad "" smd rect (at -0.07 -1.65 270) (size 0.9 0.78) (layers "F.Paste") (tstamp 7fc73108-b7e8-46bc-9db6-d1808d44e0bf))
(pad "" smd rect (at -0.07 -0.55 270) (size 0.9 0.78) (layers "F.Paste") (tstamp 83e1c430-cd89-4937-9245-2c7c46c1ba98))
(pad "" smd rect (at 1.89 -0.55 270) (size 0.9 0.78) (layers "F.Paste") (tstamp 877d1ace-1ff1-41cd-a7bf-2ffcf8f2ba9c))
(pad "" smd rect (at -1.05 -0.55 270) (size 0.9 0.78) (layers "F.Paste") (tstamp 88e9467d-2131-48f5-9a54-d1bd3eefafe7))
(pad "" smd rect (at -1.05 0.55 270) (size 0.9 0.78) (layers "F.Paste") (tstamp 91815483-fab6-44f7-889f-002a48d5bc95))
(pad "" smd rect (at 0.91 -0.55 270) (size 0.9 0.78) (layers "F.Paste") (tstamp afbc3b8b-849f-447f-9323-64ab05970f9e))
(pad "" smd rect (at 0.91 -1.65 270) (size 0.9 0.78) (layers "F.Paste") (tstamp d1d86702-01bf-4af5-bfec-1584ac897259))
(pad "1" smd rect (at -2.8 -1.92 270) (locked) (size 0.5 0.65) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp ec23283a-c13d-4c7f-8e64-38a3c7be0f9d))
(pad "2" smd rect (at -2.8 -0.635 270) (locked) (size 0.5 0.65) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 2a3fc738-1c69-4821-8c98-0fae69211071))
(pad "3" smd rect (at -2.8 0.635 270) (locked) (size 0.5 0.65) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 93c738c4-a58f-400d-b015-ca7c2aeb79ed))
(pad "4" smd rect (at -2.8 1.92 270) (locked) (size 0.5 0.65) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp f2329f2c-a045-4bba-9465-3f0a4823e0ec))
(pad "5" smd rect (at 2.8 1.92 270) (locked) (size 0.5 0.65) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp bc536dcf-b092-42f6-bb27-2ea0c3e0e508))
(pad "6" smd rect (at 2.8 0.635 270) (locked) (size 0.5 0.65) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp f6201b4b-7142-43eb-a8eb-aa0a2058f85f))
(pad "7" smd rect (at 2.8 -0.635 270) (locked) (size 0.5 0.65) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 5736b9e2-7fa9-4b88-9345-68663b01e264))
(pad "8" smd rect (at 2.8 -1.92 270) (locked) (size 0.5 0.65) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp f5a74e64-627f-4be6-afc3-044b48dbcd61))
(pad "9" smd rect (at 0.415 0 270) (locked) (size 4.6 4.12) (layers "F.Cu" "F.Mask") (tstamp 1ea078a0-9bf4-4ff0-bf70-257240c1ca02))
(model "${KICAD6_3DMODEL_DIR}/Package_DFN_QFN.3dshapes/DFN-8-1EP_6x5mm_P1.27mm_EP4.12x4.6mm.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(footprint "Jack_3.5mm_Lumberg_1503_02_Horizontal" (version 20210228) (generator pcbnew) (layer "F.Cu")
(tedit 603FAB4A)
(descr "TRS 3.5mm, horizontal, Surface Mount (SMT), https://downloads.lumberg.com/datenblaetter/en/1503_02.pdf")
(tags "TRS audio jack horizontal")
(attr smd)
(fp_text reference "REF**" (at 0 -9 unlocked) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 322d0f03-411e-4c23-ae46-abe436baa08d)
)
(fp_text value "Jack_3.5mm_Lumberg_1503_02_Horizontal" (at 0 9 unlocked) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 13ed82d6-b202-42ff-aca6-de17b5446fc3)
)
(fp_text user "${REFERENCE}" (at 0 0 unlocked) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 3a1a0712-cf82-45e6-80ba-79542164cf08)
)
(fp_line (start -3.4 -1.4) (end -3.4 5.3) (layer "F.SilkS") (width 0.12) (tstamp 252f9284-18cb-4f86-81f7-17c2e2c006f1))
(fp_line (start 3.4 -4.7) (end 3.4 -3.8) (layer "F.SilkS") (width 0.12) (tstamp 3b896962-3791-4b2c-9479-de12fb32a365))
(fp_line (start 2.6 -4.7) (end 3.4 -4.7) (layer "F.SilkS") (width 0.12) (tstamp 3e8bea5c-1616-4879-b3ec-252063bcf77d))
(fp_line (start -2.6 -7.2) (end 2.6 -7.2) (layer "F.SilkS") (width 0.12) (tstamp 5b474142-afa2-44d6-935c-e3b370061b3f))
(fp_line (start 3.4 -1.4) (end 3.4 5.3) (layer "F.SilkS") (width 0.12) (tstamp 6972f26e-3ff5-4d58-9d29-44cc955db9c0))
(fp_line (start 2.6 -7.2) (end 2.6 -4.7) (layer "F.SilkS") (width 0.12) (tstamp 852402d8-0344-49e3-829e-0db1dffa56ed))
(fp_line (start 3.4 7.2) (end -3.4 7.2) (layer "F.SilkS") (width 0.12) (tstamp 8d054369-6737-4e77-a93b-05b4cc42a094))
(fp_line (start -2.6 -4.7) (end -3.4 -4.7) (layer "F.SilkS") (width 0.12) (tstamp ad1b5fcf-22d1-401f-b165-7dd7d0f96f0b))
(fp_line (start -2.6 -7.2) (end -2.6 -4.7) (layer "F.SilkS") (width 0.12) (tstamp e293f7ae-4e9e-4f25-9993-2b653a7b65ba))
(fp_line (start -3.4 -4.7) (end -3.4 -3.8) (layer "F.SilkS") (width 0.12) (tstamp ed382ed8-520f-4d6e-9eb0-aad7becc8de7))
(fp_line (start -5.3 7.7) (end -5.3 -7.7) (layer "F.CrtYd") (width 0.05) (tstamp 550db617-dc53-4067-a24f-6f6ec42d1e7a))
(fp_line (start 5.3 -7.7) (end 5.3 7.7) (layer "F.CrtYd") (width 0.05) (tstamp 7110612c-ab9a-488b-ae4f-f1e2012349ea))
(fp_line (start -5.3 7.7) (end 5.3 7.7) (layer "F.CrtYd") (width 0.05) (tstamp c4c53bfa-9aaf-4c9c-998e-38d6d2fd8c6a))
(fp_line (start -5.3 -7.7) (end 5.3 -7.7) (layer "F.CrtYd") (width 0.05) (tstamp e1018a08-fe26-462f-bc19-1272e5ef29e6))
(fp_line (start 3.3 -4.6) (end 3.3 7.1) (layer "F.Fab") (width 0.1) (tstamp 13a70e5f-709d-4533-a25f-0f69bd047cac))
(fp_line (start -2.5 -7.1) (end 2.5 -7.1) (layer "F.Fab") (width 0.1) (tstamp 442048c9-0a0c-4123-aab0-91220453d1c5))
(fp_line (start -3.3 7.1) (end 3.3 7.1) (layer "F.Fab") (width 0.1) (tstamp 86a3863f-287d-467a-aa7e-6724518f2503))
(fp_line (start -3.3 7.1) (end -3.3 -4.6) (layer "F.Fab") (width 0.1) (tstamp b7ec1675-b3e3-41e9-8a50-b311052e659a))
(fp_line (start 2.5 -4.6) (end 2.5 -7.1) (layer "F.Fab") (width 0.1) (tstamp b7ee4b08-5b0c-4ce6-977d-c112d0610722))
(fp_line (start 2.5 -4.6) (end 3.3 -4.6) (layer "F.Fab") (width 0.1) (tstamp c85e38cb-5840-4caf-9547-c38feee35820))
(fp_line (start -3.3 -4.6) (end -2.5 -4.6) (layer "F.Fab") (width 0.1) (tstamp e8e4fb02-056a-447c-a224-964ccd9f04d8))
(fp_line (start -2.5 -7.1) (end -2.5 -4.6) (layer "F.Fab") (width 0.1) (tstamp f9188749-1e43-4e77-a462-bfc8c6db4b6f))
(pad "" np_thru_hole circle (at -2.5 2.4) (size 1.1 1.1) (drill 1.1) (layers F&B.Cu *.Mask) (tstamp 13c39d88-b2ce-4369-96c9-bd40d21b0824))
(pad "" np_thru_hole circle (at 2.5 2.4) (size 1.1 1.1) (drill 1.1) (layers F&B.Cu *.Mask) (tstamp 2d7eb6ce-e6b5-4d75-a620-ec7ab47846a1))
(pad "R" smd rect (at 4.05 6.25) (size 1.5 1.5) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 6f696a17-3f02-44b5-9ada-bfbd3eed1803))
(pad "S" smd rect (at -4.05 6.25) (size 1.5 1.5) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp e7db20fa-ed84-408d-a53f-68a384c0d087))
(pad "T" smd rect (at 4.05 -2.6) (size 1.5 2) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 8bd4cdd4-0e13-452f-8771-229dbcbdf1ce))
(pad "T" smd rect (at -4.05 -2.6) (size 1.5 2) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 9c9cf40e-348d-4e62-9e4d-a9eb2c709f2f))
(model "${KICAD6_3DMODEL_DIR}/Connector_Audio.3dshapes/Jack_3.5mm_Lumberg_1503_02_Horizontal.wrl"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(fp_lib_table
(lib (name "footprints")(type "KiCad")(uri "${KIPRJMOD}/footprints")(options "")(descr ""))
)
kicad/led-control-bottom.png

64.9 KB | W: | H:

kicad/led-control-bottom.png

79.5 KB | W: | H:

kicad/led-control-bottom.png
kicad/led-control-bottom.png
kicad/led-control-bottom.png
kicad/led-control-bottom.png
  • 2-up
  • Swipe
  • Onion skin
kicad/led-control-top.png

75.4 KB | W: | H:

kicad/led-control-top.png

73 KB | W: | H:

kicad/led-control-top.png
kicad/led-control-top.png
kicad/led-control-top.png
kicad/led-control-top.png
  • 2-up
  • Swipe
  • Onion skin
This diff is collapsed.
{
"board": {
"active_layer": 47,
"active_layer": 0,
"active_layer_preset": "All Layers",
"auto_track_width": true,
"hidden_nets": [],
......
......@@ -33,9 +33,9 @@
"other_text_thickness": 0.15,
"other_text_upright": false,
"pads": {
"drill": 0.762,
"height": 1.524,
"width": 1.524
"drill": 0.0,
"height": 4.12,
"width": 4.6
},
"silk_line_width": 0.12,
"silk_text_italic": false,
......@@ -45,10 +45,16 @@
"silk_text_upright": false,
"zones": {
"45_degree_only": false,
"min_clearance": 0.508
"min_clearance": 0.0
}
},
"diff_pair_dimensions": [],
"diff_pair_dimensions": [
{
"gap": 0.0,
"via_gap": 0.0,
"width": 0.0
}
],
"drc_exclusions": [],
"meta": {
"filename": "board_design_settings.json",
......@@ -79,8 +85,8 @@
"padstack": "error",
"pth_inside_courtyard": "ignore",
"shorting_items": "error",
"silk_over_copper": "warning",
"silk_overlap": "ignore",
"silk_over_copper": "error",
"silk_overlap": "error",
"skew_out_of_range": "error",
"too_many_vias": "error",
"track_dangling": "warning",
......@@ -113,10 +119,17 @@
},
"track_widths": [
0.0,
2.5,
4.0
0.25,
0.5,
1.0,
3.0
],
"via_dimensions": [
{
"diameter": 0.0,
"drill": 0.0
}
],
"via_dimensions": [],
"zones_allow_external_fillets": false,
"zones_use_no_outline": true
},
......@@ -303,7 +316,6 @@
],
"rule_severities": {
"bus_definition_conflict": "error",
"bus_entry_needed": "error",
"bus_label_syntax": "error",
"bus_to_bus_conflict": "error",
"bus_to_net_conflict": "error",
......@@ -357,6 +369,27 @@
"via_diameter": 0.8,
"via_drill": 0.4,
"wire_width": 6.0
},
{
"bus_width": 12.0,
"clearance": 0.2,
"diff_pair_gap": 0.25,
"diff_pair_via_gap": 0.25,
"diff_pair_width": 0.2,
"line_style": 0,
"microvia_diameter": 0.3,
"microvia_drill": 0.1,
"name": "VCC",
"nets": [
"Net-(J2-Pad4)",
"VCC"
],
"pcb_color": "rgba(0, 0, 0, 0.000)",
"schematic_color": "rgba(0, 0, 0, 0.000)",
"track_width": 4.0,
"via_diameter": 0.8,
"via_drill": 0.4,
"wire_width": 6.0
}
],
"meta": {
......@@ -376,7 +409,6 @@
"page_layout_descr_file": ""
},
"schematic": {
"annotate_start_num": 0,
"drawing": {
"default_bus_thickness": 12.0,
"default_junction_size": 36.0,
......@@ -390,24 +422,20 @@
"intersheets_ref_show": false,
"intersheets_ref_suffix": "",
"junction_size_choice": 3,
"label_size_ratio": 0.3,
"pin_symbol_size": 25.0,
"text_offset_ratio": 0.3
},
"legacy_lib_dir": "",
"legacy_lib_list": [],
"meta": {
"version": 1
"version": 0
},
"net_format_name": "",
"ngspice": {
"fix_include_paths": true,
"fix_passive_vals": false,
"meta": {
"version": 0
},
"model_mode": 0,
"workbook_filename": ""
"model_mode": 0
},
"page_layout_descr_file": "",
"plot_directory": "",
......@@ -418,7 +446,7 @@
},
"sheets": [
[
"74989dcf-e410-4a9b-90b6-19cec7fe6ebd",
"570436f8-b03e-460b-971e-e5fe8c55b80c",
""
]
],
......
This diff is collapsed.
(sym_lib_table
(lib (name "aon6411")(type "KiCad")(uri "${KIPRJMOD}/symbols/aon6411.kicad_sym")(options "")(descr ""))
)
(kicad_symbol_lib (version 20201005) (generator kicad_symbol_editor)
(symbol "Transistor_FET:AON6411" (pin_names hide) (in_bom yes) (on_board yes)
(property "Reference" "Q" (id 0) (at 5.08 1.905 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "AON6411" (id 1) (at 5.08 0 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "Package_DFN_QFN:DFN-8-1EP_6x5mm_P1.27mm_EP4.12x4.6mm" (id 2) (at 5.08 -1.905 0)
(effects (font (size 1.27 1.27) italic) (justify left) hide)
)
(property "Datasheet" "http://www.aosmd.com/res/data_sheets/AON6411.pdf" (id 3) (at 0 0 90)
(effects (font (size 1.27 1.27)) (justify left) hide)
)
(property "ki_keywords" "P-Channel MOSFET" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "-85A Id, -20V Vds, P-Channel MOSFET, DFN-8" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "DFN*6x5mm*P1.27mm*EP*4.12x4.6mm*" (id 6) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "AON6411_0_1"
(circle (center 1.651 0) (radius 2.794) (stroke (width 0.254)) (fill (type none)))
(circle (center 2.54 -1.778) (radius 0.254) (stroke (width 0)) (fill (type outline)))
(circle (center 2.54 1.778) (radius 0.254) (stroke (width 0)) (fill (type outline)))
(polyline
(pts
(xy 0.254 0)
(xy -2.54 0)
)
(stroke (width 0)) (fill (type none))
)
(polyline
(pts
(xy 0.254 1.905)
(xy 0.254 -1.905)
)
(stroke (width 0.254)) (fill (type none))
)
(polyline
(pts
(xy 0.762 -1.27)
(xy 0.762 -2.286)
)
(stroke (width 0.254)) (fill (type none))
)
(polyline
(pts
(xy 0.762 0.508)
(xy 0.762 -0.508)
)
(stroke (width 0.254)) (fill (type none))
)
(polyline
(pts
(xy 0.762 2.286)
(xy 0.762 1.27)
)
(stroke (width 0.254)) (fill (type none))
)
(polyline
(pts
(xy 2.54 2.54)
(xy 2.54 1.778)
)
(stroke (width 0)) (fill (type none))
)
(polyline
(pts
(xy 2.54 -2.54)
(xy 2.54 0)
(xy 0.762 0)
)
(stroke (width 0)) (fill (type none))
)
(polyline
(pts
(xy 0.762 1.778)
(xy 3.302 1.778)
(xy 3.302 -1.778)
(xy 0.762 -1.778)
)
(stroke (width 0)) (fill (type none))
)
(polyline
(pts
(xy 2.794 -0.508)
(xy 2.921 -0.381)
(xy 3.683 -0.381)
(xy 3.81 -0.254)
)
(stroke (width 0)) (fill (type none))
)
(polyline
(pts
(xy 3.302 -0.381)
(xy 2.921 0.254)
(xy 3.683 0.254)
(xy 3.302 -0.381)
)
(stroke (width 0)) (fill (type none))
)
(polyline
(pts
(xy 2.286 0)
(xy 1.27 0.381)
(xy 1.27 -0.381)
(xy 2.286 0)
)
(stroke (width 0)) (fill (type outline))
)
)
(symbol "AON6411_1_1"
(pin passive line (at 2.54 -5.08 90) (length 2.54)
(name "S" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 2.54 -5.08 90) (length 2.54) hide
(name "S" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 2.54 -5.08 90) (length 2.54) hide
(name "S" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
(pin passive line (at -5.08 0 0) (length 2.54)
(name "G" (effects (font (size 1.27 1.27))))
(number "4" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 2.54 5.08 270) (length 2.54) hide
(name "D" (effects (font (size 1.27 1.27))))
(number "5" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 2.54 5.08 270) (length 2.54) hide
(name "D" (effects (font (size 1.27 1.27))))
(number "6" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 2.54 5.08 270) (length 2.54) hide
(name "D" (effects (font (size 1.27 1.27))))
(number "7" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 2.54 5.08 270) (length 2.54)
(name "D" (effects (font (size 1.27 1.27))))
(number "8" (effects (font (size 1.27 1.27))))
)
)
)
)
/*
Case for the great the LED_soundreactive project
LED-control by mase: https://git.hacksaar.de/mase/led-control
Version 0.3
Designed by mancas@lug-saar.de and licensed under
Creative Commons: CC BY-SA 4.0
Feel fre to improve for your purposes.
All in one OpenSCAD file to acivate the parts to print them individually,
please uncomment like descripted.
You may clever rotate the parts for successful printing.
1 - cablesafe_o [0] - separate part for cable pull fixation
2 - For the first part of the housing please print [1], [2], [3], [4] and [6] activated
3 - for second part of the housing print [5]
6 - button is an all-in-one printed actuator to push the button on the circuit board.
Please push it with smoth force from the inside after printing
to activate its possibility of movement.
Aditional you need 6 screws 2,5 x 12 to assemble.
Rem.: I'm not happy with the cable pull fixation
and will improve this item in next version.
*/
$fn=60;
//dimensions to scale the housing, but somme details will not scale
LL=72;
BB=31.5;
HH=14;
WW=2;
// uncomment here for parts you wish to print ------------------------------------
//translate([35.6,-12.5,5]) cablesafe_o(); //[0]
difference(){
union(){
//translate([35.6,-12.5,8]) cablesafe_u(); //[1]
//translate([75.95,0,0]) coverright(); //[2]
//translate([-0.05,0,0]) coverleft(); //[3]
//translate([1.5,0,-6.5]) elektronic(); // rough sketch of the circuit board
// to verify the design
//translate([0,0,0]) housing_u(); //[4]
translate([0,0,0]) housing_o(); //[5]
//color([0,0,1]) translate([-10.5,-5,1]) button(); //[6]
}
//translate([0,-30,0]) cube([120,50,30],center=true); //section1 to verify design inside
//translate([60,-30,0]) cube([60,120,50],center=true); //section2
}
// end of section to uncomment for printing ----------------------------------
module button(){ //plunger for the button on the circuit board
difference(){
translate([0,0,0]) cylinder(r=6,h=10);
translate([0,0,8]) cylinder( r=3.06, h= 2);
translate([0,0,6]) cylinder(r1=1.75, r2=3.06, h= 2);
translate([0,0,-0.1]) cylinder(r2=1.75, r1=3.5, h= 4.1);
translate([0,0,3]) cylinder(r=1.75, h= 4);
//translate([0,-10,-1])cube([10,20,30]); //section
}
translate([0,0,8]) cylinder( r=2.56, h= 2);
translate([0,0,6]) cylinder(r1=1.25, r2=2.56, h= 2);
translate([0,0,-1]) cylinder(r2=1.25, r1=3, h= 4);
translate([0,0,3]) cylinder(r=1.25, h= 4);
translate([0,0,-3.5]) cylinder(r=3, h= 2.5);
}
module elektronic(){ // rough scetch of the circuit board to check the design
translate([-48.8/2+12,-35.1/2+12,0]) cylinder(r=1.75, h=4);
cube([48.8,35,1.6],center=true);
translate([48.5/2+11.5/2,0,16/2-1.6/2]) cube([11.5,10.5,16],center=true);
translate([-48.5/2-11.5/2,0,16/2-1.6/2]) cube([11.5,25.5,16],center=true);
translate([0,0,-1]) cube([45.8,32,2],center=true);
translate([-18.5,17,3.2]) rotate([90,0,0])cylinder(r=2.5, h=4);
translate([-8.5,17,6.4]) rotate([90,0,0])cylinder(r=2.5, h=4);
}
module coverright(){ //cover with antenna hole and USB cable
difference(){
translate([-LL/2-WW/2,0,0]) minkowski(){
cube([WW,BB,HH],center=true);
rotate([0,90,0]) cylinder(h=0.1, r=WW);
}
translate([-39,-12.2,6.3]) rotate([0,90,0]) cylinder(h=6, r=1.3);
translate([-39,11,0]) rotate([-90,0,0]) rotate([0,90,0]) antennabolt();
}
}
module coverleft(){ //cover with output to the LEDs
difference(){
translate([-LL/2-WW/2,0,0]) minkowski(){
cube([WW,BB,HH],center=true);
rotate([0,90,0]) cylinder(h=0.1, r=WW);
}
translate([-39,0,-2.3]) rotate([0,90,0]) cylinder(h=6, r=2.3);
}
}
module housing_u (){ //upper part of housing
translate([31,-17.8,-7.5]) difference(){ // here are 4 mounting brackets
translate([0,0,0]) sphere(5);
translate([0,2,-1]) cylinder(r=0.7, h=12);
//translate([10,0,0]) cube([20,20,20], center=true);
translate([0,-10,0]) cube([20,20,20], center=true);
translate([0,0,-10]) cube([20,20,20], center=true);
}
translate([33,17.8,-7.5]) difference(){
translate([0,0,0]) sphere(5);
translate([0,-2,-1]) cylinder(r=0.7, h=12);
//translate([10,0,0]) cube([20,20,20], center=true);
translate([0,10,0]) cube([20,20,20], center=true);
translate([0,0,-10]) cube([20,20,20], center=true);
}
translate([-36,-17.8,-7.5]) difference(){
translate([0,0,0]) sphere(5);
translate([2,2,-1]) cylinder(r=0.7, h=12);
translate([-10,0,0]) cube([20,20,20], center=true);
translate([0,-10,0]) cube([20,20,20], center=true);
translate([0,0,-10]) cube([20,20,20], center=true);
}
translate([-36,17.8,-7.5]) difference(){
translate([0,0,0]) sphere(5);
translate([2,-2,-1]) cylinder(r=0.7, h=12);
translate([-10,0,0]) cube([20,20,20], center=true);
translate([0,10,0]) cube([20,20,20], center=true);
translate([0,0,-10]) cube([20,20,20], center=true);
}
translate([-10.5,16.5,-5.7]) cube([37,2,2]);
translate([26.3,16.5,-7.5]) cube([2,2,3.8]);
translate([-24,-18.5,-5.7]) cube([45,2,2]);
translate([-25.1,-18.5,-7.5]) cube([2,2,3.8]);
difference(){
minkowski(){
cube([LL+2*WW+0.1,BB,HH],center=true);
rotate([0,90,0]) cylinder(h=WW, r=2*WW);
}
translate([0,0,0]) minkowski(){
cube([LL+4*WW,BB,HH],center=true);
rotate([0,90,0]) cylinder(h=WW, r=WW);
}
translate([0,0,-32.5]) cube([100,50,50],center=true); //cut the top
translate([-10.5,-5,8]) cylinder(r=5.5,h=4); //for button
translate([-16.8,20,-3.5]) rotate([90,0,0]) cylinder(h=5,r=3);//Line In connector
translate([-7,20,0.5]) rotate([90,0,0]) cylinder(h=5,r=2);//IR sensor hole
}
translate([13,0,9.9]) rotate([0,180,0]) {
linear_extrude(1.5)
text("42", font = "Liberation Mono", size = 8);
}
}
module housing_o (){
//translate([0,0,32.5]) cube([100,50,50],center=true);
translate([-10.5,16.5,-9.5]) cube([37,2,2]); //fixing circuit board
//translate([26.3,16.5,-7.5]) cube([2,2,3.8]);