diff --git a/README.md b/README.md index be9386b..2ab5c43 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,10 @@ +Remote control the CCC Basel video projector via MQTT ( -> ESP8266 -> RS232 -> projector ). + +This repo contains +* An ESP8266 firmware which connects to an MQTT server and subscribes to certain command topics +* An adapter and power supply PCB which connects an ESP-01 to a MAX3232 board and provides power to both from a USB Micro-B socket. + ## ESP8266 Firmware ### Building @@ -9,25 +15,38 @@ For Sanyo Z4: ``` cd esp -pio run -e sanyoz4 -t upload --upload-port /dev/ttyUSB0 +pio run -e sanyoz4 -t upload --upload-port /dev/tty ``` For Benq X3000i ``` cd esp -pio run -e benqx3000i -t upload --upload-port /dev/ttyUSB0 +pio run -e benqx3000i -t upload --upload-port /dev/tty ``` ## PCB +![Screenshot of the PCB in PCBNew](screenshot.png) + +### BOM + * ESP-01 -* [This specific MAX3232-Board from AliExpress][max3232] +* A MAX3232 + D-Sub 9 connector board + * The adapter PCB is designed for [this specific MAX3232-Board from AliExpress][max3232] * 1x 10k 0805 SMD Resistor * 1x 2x2 2.54mm pin header * 1x 2x4 2.54mm socket header * 1x 1x4 2.54mm socket header +* 2x 2.54mm jumpers * USB Micro-B socket * SOT-223 3v3 voltage regulator +### Assembly + +1. The copper side (bottom) faces the MAX3232 board, with the 1x4 socket header plugged into the matching in header on the MAX3232 board. +1. The 2x4 socket header faces the other direction, this is where the ESP-01 is plugged into +1. The 2x2 in header can face either direction (if facing down, check beforehand whether there's enough space to the MAX3232 board +1. The jumpers go next to each other on the 2x2 pin header. Depending on their orientation, Rx and Tx can be swapped if necessary. + [max3232]: https://de.aliexpress.com/item/1005001548466845.html?spm=a2g0o.productlist.0.0.29142932HtTivS&algo_pvid=37640f61-ffd9-40fb-b468-f261709c162b&algo_exp_id=37640f61-ffd9-40fb-b468-f261709c162b-1&pdp_ext_f=%7B%22sku_id%22%3A%2212000016543520800%22%7D&pdp_npi=2%40dis%21CHF%21%210.41%21%21%21%21%21%402101d8b516564877891056410e1251%2112000016543520800%21sea \ No newline at end of file diff --git a/pcb/footprints.pretty/USB_Micro-B_Amphenol_circularnpth.kicad_mod b/pcb/footprints.pretty/USB_Micro-B_Amphenol_circularnpth.kicad_mod new file mode 100644 index 0000000..75ca989 --- /dev/null +++ b/pcb/footprints.pretty/USB_Micro-B_Amphenol_circularnpth.kicad_mod @@ -0,0 +1,64 @@ +(footprint "USB_Micro-B_Amphenol_circularnpth" (version 20211014) (generator pcbnew) + (layer "F.Cu") + (tedit 5A1DC0BD) + (descr "Micro USB Type B 10103594-0001LF, http://cdn.amphenol-icc.com/media/wysiwyg/files/drawing/10103594.pdf") + (tags "USB USB_B USB_micro USB_OTG") + (attr smd) + (fp_text reference "REF**" (at 1.925 -3.365) (layer "F.SilkS") + (effects (font (size 1 1) (thickness 0.15))) + (tstamp 360be59d-99e0-4192-afc7-e4f7dbc4da25) + ) + (fp_text value "USB_Micro-B_Amphenol_circularnpth" (at -0.025 4.435) (layer "F.Fab") + (effects (font (size 1 1) (thickness 0.15))) + (tstamp 4a6ad670-3df4-4b60-b807-059877f291ac) + ) + (fp_text user "PCB edge" (at -0.025 2.235) (layer "Dwgs.User") + (effects (font (size 0.5 0.5) (thickness 0.075))) + (tstamp fa658357-afa3-44cf-aada-f6952331e698) + ) + (fp_text user "${REFERENCE}" (at -0.025 -0.015) (layer "F.Fab") + (effects (font (size 1 1) (thickness 0.15))) + (tstamp 7f4e502e-84ae-4913-849e-bcbe81525b16) + ) + (fp_line (start 4.125 -0.065) (end 4.125 -1.615) (layer "F.SilkS") (width 0.12) (tstamp 11a46c7a-5ad7-4d7f-8a0d-2cd40a838348)) + (fp_line (start 3.825 2.735) (end 3.825 -0.065) (layer "F.SilkS") (width 0.12) (tstamp 28280310-f425-4466-bda0-0720c51130e2)) + (fp_line (start -4.175 -0.065) (end -4.175 -1.615) (layer "F.SilkS") (width 0.12) (tstamp 9eeafb48-8ae0-461c-9712-93e0f81840de)) + (fp_line (start 3.825 -0.065) (end 4.125 -0.065) (layer "F.SilkS") (width 0.12) (tstamp aad1ba6a-d3c9-442a-9ee7-25d6cf3f3fc7)) + (fp_line (start -3.875 2.735) (end -3.875 -0.065) (layer "F.SilkS") (width 0.12) (tstamp ac9b5e9a-1278-451e-9fb7-45aaffe7600c)) + (fp_line (start -0.925 -3.315) (end -1.325 -2.865) (layer "F.SilkS") (width 0.12) (tstamp bff17161-7021-47ef-a5eb-9aa9d34d5ebc)) + (fp_line (start -4.175 -0.065) (end -3.875 -0.065) (layer "F.SilkS") (width 0.12) (tstamp d5c4b8bd-f036-4d5e-940f-6167352b3e8f)) + (fp_line (start -1.325 -2.865) (end -1.725 -3.315) (layer "F.SilkS") (width 0.12) (tstamp e82dd2c0-7196-41b6-b6c7-daa3fa9680ab)) + (fp_line (start -1.725 -3.315) (end -0.925 -3.315) (layer "F.SilkS") (width 0.12) (tstamp fd8d875f-cc58-4cd4-afbf-292931069e65)) + (fp_line (start -4.025 2.835) (end 3.975 2.835) (layer "Dwgs.User") (width 0.1) (tstamp eded99f6-a1c7-4296-aa36-3ca7c581d23f)) + (fp_line (start -4.13 -2.88) (end 4.14 -2.88) (layer "F.CrtYd") (width 0.05) (tstamp 097ef41e-18ac-4e59-a54a-0e7387de546b)) + (fp_line (start -4.13 -2.88) (end -4.13 3.58) (layer "F.CrtYd") (width 0.05) (tstamp 2fc08c77-684f-4db6-8fd9-ef6e82c48171)) + (fp_line (start 4.14 3.58) (end 4.14 -2.88) (layer "F.CrtYd") (width 0.05) (tstamp 6b89e874-69d2-4f4d-a547-83bb391e0bc6)) + (fp_line (start 4.14 3.58) (end -4.13 3.58) (layer "F.CrtYd") (width 0.05) (tstamp bc23f96d-277e-4a46-9202-db81f1be1093)) + (fp_line (start -3.775 -0.865) (end -2.975 -1.615) (layer "F.Fab") (width 0.12) (tstamp 1889ca21-d1b0-48bb-84b2-89a4d092e160)) + (fp_line (start 3.725 -1.615) (end 3.725 3.335) (layer "F.Fab") (width 0.12) (tstamp 8d81b0fd-08f9-452b-829a-908f9ebd2994)) + (fp_line (start 3.725 3.335) (end -3.775 3.335) (layer "F.Fab") (width 0.12) (tstamp 9f8fdd2a-4ab9-464a-bb46-bc01e0578b3e)) + (fp_line (start -3.775 3.335) (end -3.775 -0.865) (layer "F.Fab") (width 0.12) (tstamp da2d3c89-1072-44d5-92df-6f7ac5a30adb)) + (fp_line (start -2.975 -1.615) (end 3.725 -1.615) (layer "F.Fab") (width 0.12) (tstamp de2e1f43-67d5-46f8-9c61-a41d3e269304)) + (pad "1" smd rect (at -1.325 -1.765 90) (size 1.65 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 497d7ad8-9b48-48e7-92b2-bba6470f99e9)) + (pad "2" smd rect (at -0.675 -1.765 90) (size 1.65 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp a511def2-bf81-4ec8-af92-ee3f697fb7ec)) + (pad "3" smd rect (at -0.025 -1.765 90) (size 1.65 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 73c0bbce-d3a3-42c9-bfe9-fae7ab1c55cf)) + (pad "4" smd rect (at 0.625 -1.765 90) (size 1.65 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 6be93c90-0e3b-4c77-a6e9-83a1277af011)) + (pad "5" smd rect (at 1.275 -1.765 90) (size 1.65 0.4) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 1ca79443-eecd-4fa3-9026-f5d83a138720)) + (pad "6" smd rect (at 2.875 -1.885) (size 2 1.5) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 0f426c6d-fb43-4aba-8725-47488353e575)) + (pad "6" thru_hole oval (at -2.755 1.115 90) (size 1.7 1.35) (drill 1) (layers *.Cu *.Mask) (tstamp 29573b85-51f4-461b-96da-b70d77dc6297)) + (pad "6" thru_hole oval (at 2.705 1.115 90) (size 1.7 1.35) (drill 1) (layers *.Cu *.Mask) (tstamp 4439014a-ba48-425b-8ab9-b7823328b111)) + (pad "6" smd rect (at 2.725 0.185) (size 1.35 2) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 588cc4d0-20d0-470a-bf07-873402bc6239)) + (pad "6" smd rect (at -2.755 0.185) (size 1.35 2) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 6d5f337a-ed2b-487c-be1e-4ed5c527009a)) + (pad "6" smd rect (at -2.975 -0.565) (size 1.825 0.7) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp 98ed9224-3bf9-42d5-9973-f01583c63f0a)) + (pad "6" thru_hole oval (at -2.445 -1.885 90) (size 1.5 1.1) (drill 1) (layers *.Cu *.Mask) (tstamp 9f9c486e-f7e6-48ce-93d9-29447e52ea59)) + (pad "6" smd rect (at 0.935 1.385 90) (size 2.5 1.43) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp a6afa114-705b-49b8-a7b4-d7caaa9d3296)) + (pad "6" thru_hole oval (at 2.395 -1.885 90) (size 1.5 1.1) (drill 1) (layers *.Cu *.Mask) (tstamp a89f3327-621b-486e-9005-009976096d69)) + (pad "6" smd rect (at 2.975 -0.565) (size 1.825 0.7) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp bfa9c6a5-815d-4a31-bf93-2ea5b772ca87)) + (pad "6" smd rect (at -2.875 -1.865) (size 2 1.5) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp e4a8dcb2-0e14-4766-9ec1-79634f67085d)) + (pad "6" smd rect (at -0.985 1.385 90) (size 2.5 1.43) (layers "F.Cu" "F.Paste" "F.Mask") (tstamp fdd2f459-514c-4a30-90d2-ceacb6bbf5d3)) + (model "${KICAD6_3DMODEL_DIR}/Connector_USB.3dshapes/USB_Micro-B_Amphenol_10103594-0001LF_Horizontal.wrl" + (offset (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) +) diff --git a/pcb/fp-lib-table b/pcb/fp-lib-table new file mode 100644 index 0000000..a3695ec --- /dev/null +++ b/pcb/fp-lib-table @@ -0,0 +1,3 @@ +(fp_lib_table + (lib (name "footprints")(type "KiCad")(uri "${KIPRJMOD}/footprints.pretty")(options "")(descr "")) +) diff --git a/pcb/pcb.kicad_pcb b/pcb/pcb.kicad_pcb index 205c671..d889081 100644 --- a/pcb/pcb.kicad_pcb +++ b/pcb/pcb.kicad_pcb @@ -360,7 +360,7 @@ ) ) - (footprint "s3lph:USB_Micro-B_Amphenol_circularnpth" (layer "B.Cu") + (footprint "footprints:USB_Micro-B_Amphenol_circularnpth" (layer "B.Cu") (tedit 5A1DC0BD) (tstamp 6798a01a-80a9-4b0d-8a77-c3427c4d0c3b) (at 128.933 87.591 -90) (descr "Micro USB Type B 10103594-0001LF, http://cdn.amphenol-icc.com/media/wysiwyg/files/drawing/10103594.pdf") @@ -371,73 +371,73 @@ (attr smd) (fp_text reference "J3" (at 1.925 3.365 90) (layer "B.SilkS") (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) - (tstamp ad8fb2c4-aeed-4e4d-a19c-dea8946b805a) + (tstamp 6c953dd5-f6fe-4e73-910a-99e9c35e4c04) ) (fp_text value "USB_B_Micro" (at -0.025 -4.435 90) (layer "B.Fab") (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) - (tstamp 46b72cb9-57db-4b52-9789-62cb6068cf63) + (tstamp cb304c9e-6aef-49be-8e98-60bec6085163) ) (fp_text user "PCB edge" (at -0.025 -2.235 90) (layer "Dwgs.User") (effects (font (size 0.5 0.5) (thickness 0.075))) - (tstamp 4a6fdc64-1acb-42ad-a204-6e3039ac967f) + (tstamp d1f79945-75f0-4dca-8f4f-7d76f8fcdc34) ) (fp_text user "${REFERENCE}" (at -0.025 0.015 90) (layer "B.Fab") (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) - (tstamp a48d3953-1821-457a-b46e-1c37c1c80cad) + (tstamp ce7e2a56-6885-4deb-8c99-cf03fbc4575c) ) - (fp_line (start 4.125 0.065) (end 4.125 1.615) (layer "B.SilkS") (width 0.12) (tstamp 19011e08-6f37-4b4d-ae45-3195b34963f3)) - (fp_line (start -4.175 0.065) (end -4.175 1.615) (layer "B.SilkS") (width 0.12) (tstamp 2a165219-489a-4f7e-89fe-934f76b0c2c3)) - (fp_line (start -3.875 -2.735) (end -3.875 0.065) (layer "B.SilkS") (width 0.12) (tstamp 36ec711c-232f-4f8c-9613-05f43be4ce85)) - (fp_line (start 3.825 0.065) (end 4.125 0.065) (layer "B.SilkS") (width 0.12) (tstamp 79fe90a0-611f-4418-83bc-cb18acc48a7b)) - (fp_line (start 3.825 -2.735) (end 3.825 0.065) (layer "B.SilkS") (width 0.12) (tstamp 7cf35238-9d81-4b71-a9b5-0d0e9adb2eaf)) - (fp_line (start -0.925 3.315) (end -1.325 2.865) (layer "B.SilkS") (width 0.12) (tstamp ab666922-6aeb-4261-ab02-98079a082f39)) - (fp_line (start -4.175 0.065) (end -3.875 0.065) (layer "B.SilkS") (width 0.12) (tstamp b4f651eb-641f-4641-bd69-a98b79de2a4c)) - (fp_line (start -1.325 2.865) (end -1.725 3.315) (layer "B.SilkS") (width 0.12) (tstamp d6d49a79-d64c-4681-8043-2d41e4855870)) - (fp_line (start -1.725 3.315) (end -0.925 3.315) (layer "B.SilkS") (width 0.12) (tstamp fb918b12-e5f7-42fd-aaa1-35bf45392dfb)) - (fp_line (start -4.025 -2.835) (end 3.975 -2.835) (layer "Dwgs.User") (width 0.1) (tstamp 9fb73299-8d73-4e90-9b8c-6fa7821779ee)) - (fp_line (start 4.14 -3.58) (end 4.14 2.88) (layer "B.CrtYd") (width 0.05) (tstamp 75eb7516-e6cd-4989-bc86-6e3cd30bb1bd)) - (fp_line (start 4.14 -3.58) (end -4.13 -3.58) (layer "B.CrtYd") (width 0.05) (tstamp afe0a479-77ab-450c-b49a-34f676802cec)) - (fp_line (start -4.13 2.88) (end 4.14 2.88) (layer "B.CrtYd") (width 0.05) (tstamp c35c676b-e4ff-46ab-83fd-3176de21ba0a)) - (fp_line (start -4.13 2.88) (end -4.13 -3.58) (layer "B.CrtYd") (width 0.05) (tstamp f50dcbc2-56c6-4532-bca1-7ebcaa59b146)) - (fp_line (start -2.975 1.615) (end 3.725 1.615) (layer "B.Fab") (width 0.12) (tstamp 51e826b6-1e07-4898-a885-074667704e73)) - (fp_line (start 3.725 -3.335) (end -3.775 -3.335) (layer "B.Fab") (width 0.12) (tstamp 6febdd90-b652-4861-b262-4a8ca86b7571)) - (fp_line (start -3.775 0.865) (end -2.975 1.615) (layer "B.Fab") (width 0.12) (tstamp 977ad662-b772-435c-9d25-540cd478b378)) - (fp_line (start 3.725 1.615) (end 3.725 -3.335) (layer "B.Fab") (width 0.12) (tstamp c05e387c-0a61-499f-a4e2-2b1015c6784b)) - (fp_line (start -3.775 -3.335) (end -3.775 0.865) (layer "B.Fab") (width 0.12) (tstamp e5fd9b59-eb52-43d3-a716-27ae853d02f4)) + (fp_line (start -1.325 2.865) (end -1.725 3.315) (layer "B.SilkS") (width 0.12) (tstamp 2e893a0f-73ca-4e51-afba-9a0aec4dd43a)) + (fp_line (start 4.125 0.065) (end 4.125 1.615) (layer "B.SilkS") (width 0.12) (tstamp 3eda71dc-144a-4039-ada4-135939ebc471)) + (fp_line (start 3.825 0.065) (end 4.125 0.065) (layer "B.SilkS") (width 0.12) (tstamp 5b4afe13-af6e-4ee4-b613-4483deb045ec)) + (fp_line (start -1.725 3.315) (end -0.925 3.315) (layer "B.SilkS") (width 0.12) (tstamp 7837ac22-b6b5-4248-a484-4320a8bc996b)) + (fp_line (start -3.875 -2.735) (end -3.875 0.065) (layer "B.SilkS") (width 0.12) (tstamp 7b3c4264-3d8b-4378-b154-a7e1de4ea949)) + (fp_line (start 3.825 -2.735) (end 3.825 0.065) (layer "B.SilkS") (width 0.12) (tstamp 97547527-63a6-4d72-9af1-0a66791d4226)) + (fp_line (start -0.925 3.315) (end -1.325 2.865) (layer "B.SilkS") (width 0.12) (tstamp b0dfa05b-bee8-4b0c-9339-295aad4da1b0)) + (fp_line (start -4.175 0.065) (end -4.175 1.615) (layer "B.SilkS") (width 0.12) (tstamp ccfbf8cb-c9d2-4cd8-bf1a-7d2142af1344)) + (fp_line (start -4.175 0.065) (end -3.875 0.065) (layer "B.SilkS") (width 0.12) (tstamp d94e9f02-a876-4e02-928c-bfd2bba16121)) + (fp_line (start -4.025 -2.835) (end 3.975 -2.835) (layer "Dwgs.User") (width 0.1) (tstamp f61a9e5e-c55e-4a2f-bb32-d08ad06f5ed5)) + (fp_line (start 4.14 -3.58) (end -4.13 -3.58) (layer "B.CrtYd") (width 0.05) (tstamp 1b2b4245-a857-4ee1-b226-6828283610ca)) + (fp_line (start -4.13 2.88) (end -4.13 -3.58) (layer "B.CrtYd") (width 0.05) (tstamp 34f176b5-0785-4e75-978f-5a5b68144981)) + (fp_line (start -4.13 2.88) (end 4.14 2.88) (layer "B.CrtYd") (width 0.05) (tstamp c1d986a8-656d-4876-a1f5-4f5003b7af65)) + (fp_line (start 4.14 -3.58) (end 4.14 2.88) (layer "B.CrtYd") (width 0.05) (tstamp f5a8190a-c8ad-4cd0-a9dd-2f914c789a72)) + (fp_line (start -3.775 0.865) (end -2.975 1.615) (layer "B.Fab") (width 0.12) (tstamp 5076ee8e-220a-4c11-8002-63862d1c8fde)) + (fp_line (start 3.725 -3.335) (end -3.775 -3.335) (layer "B.Fab") (width 0.12) (tstamp 949befa9-9c12-49a6-85a3-3234b33651fe)) + (fp_line (start -2.975 1.615) (end 3.725 1.615) (layer "B.Fab") (width 0.12) (tstamp 9f5354f7-526b-4299-9fd3-9a07441621e7)) + (fp_line (start 3.725 1.615) (end 3.725 -3.335) (layer "B.Fab") (width 0.12) (tstamp af1d727e-9ebc-49a3-b414-f207c6ee93e9)) + (fp_line (start -3.775 -3.335) (end -3.775 0.865) (layer "B.Fab") (width 0.12) (tstamp bd9111cf-34d7-40c3-a84b-4229cf0db1b2)) (pad "1" smd rect (at -1.325 1.765 180) (size 1.65 0.4) (layers "B.Cu" "B.Paste" "B.Mask") - (net 9 "+5V") (pinfunction "VBUS") (pintype "power_out") (tstamp 1ecb1d97-9f1d-464c-a85c-9cb33035ef96)) + (net 9 "+5V") (pinfunction "VBUS") (pintype "power_out") (tstamp 119f8c4d-6aa5-46a1-9214-28810ea61df0)) (pad "2" smd rect (at -0.675 1.765 180) (size 1.65 0.4) (layers "B.Cu" "B.Paste" "B.Mask") - (net 10 "unconnected-(J3-Pad2)") (pinfunction "D-") (pintype "bidirectional+no_connect") (tstamp 335a24b1-134a-4fdc-bbea-e956b49da988)) + (net 10 "unconnected-(J3-Pad2)") (pinfunction "D-") (pintype "bidirectional+no_connect") (tstamp 33a44302-05e2-46d3-8e33-baf18ba39b2a)) (pad "3" smd rect (at -0.025 1.765 180) (size 1.65 0.4) (layers "B.Cu" "B.Paste" "B.Mask") - (net 11 "unconnected-(J3-Pad3)") (pinfunction "D+") (pintype "bidirectional+no_connect") (tstamp c7196436-302d-47ed-8bb0-9f4aef26cd24)) + (net 11 "unconnected-(J3-Pad3)") (pinfunction "D+") (pintype "bidirectional+no_connect") (tstamp 4bda74c4-9106-45fe-bae6-0150994cf82c)) (pad "4" smd rect (at 0.625 1.765 180) (size 1.65 0.4) (layers "B.Cu" "B.Paste" "B.Mask") - (net 12 "unconnected-(J3-Pad4)") (pinfunction "ID") (pintype "passive+no_connect") (tstamp cb5dbdeb-e901-434e-8d63-d0b77082849e)) + (net 12 "unconnected-(J3-Pad4)") (pinfunction "ID") (pintype "passive+no_connect") (tstamp a4cd209f-1e9f-4521-a43f-7830dea3ffd2)) (pad "5" smd rect (at 1.275 1.765 180) (size 1.65 0.4) (layers "B.Cu" "B.Paste" "B.Mask") - (net 2 "GND") (pinfunction "GND") (pintype "power_out") (tstamp 10e2c1d1-1468-4d3f-a612-b075b0b6377a)) - (pad "6" thru_hole oval (at -2.445 1.885 180) (size 1.5 1.1) (drill 1) (layers *.Cu *.Mask) - (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp 07e68329-2733-4142-8e79-dcc0ea0c780c)) - (pad "6" smd rect (at -2.755 -0.185 270) (size 1.35 2) (layers "B.Cu" "B.Paste" "B.Mask") - (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp 0da2e5cb-f971-414b-b64c-fe030b6109e3)) - (pad "6" smd rect (at 0.935 -1.385 180) (size 2.5 1.43) (layers "B.Cu" "B.Paste" "B.Mask") - (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp 2580d62b-4472-4c8d-8276-aae7ba4a7510)) - (pad "6" thru_hole oval (at 2.705 -1.115 180) (size 1.7 1.35) (drill 1) (layers *.Cu *.Mask) - (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp 438ce44d-9047-4f3a-95d8-099b56574bd8)) - (pad "6" smd rect (at -2.875 1.865 270) (size 2 1.5) (layers "B.Cu" "B.Paste" "B.Mask") - (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp 74f5658b-4bfb-46d8-ae3e-da1c674ef527)) - (pad "6" thru_hole oval (at -2.755 -1.115 180) (size 1.7 1.35) (drill 1) (layers *.Cu *.Mask) - (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp 77846ba3-2e3a-4bf9-85b3-51bb84695e2e)) - (pad "6" smd rect (at -0.985 -1.385 180) (size 2.5 1.43) (layers "B.Cu" "B.Paste" "B.Mask") - (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp 7db99712-201f-4ed0-8d2d-06411a89b090)) - (pad "6" smd rect (at 2.875 1.885 270) (size 2 1.5) (layers "B.Cu" "B.Paste" "B.Mask") - (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp 8d4c89ef-d3d5-47df-89f7-3f824f3c662b)) + (net 2 "GND") (pinfunction "GND") (pintype "power_out") (tstamp 0f10494d-bf38-4c08-b0cc-f2a31da301a4)) (pad "6" smd rect (at -2.975 0.565 270) (size 1.825 0.7) (layers "B.Cu" "B.Paste" "B.Mask") - (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp 91e8cb8f-ac19-4690-85e9-53f5024d8c49)) - (pad "6" smd rect (at 2.725 -0.185 270) (size 1.35 2) (layers "B.Cu" "B.Paste" "B.Mask") - (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp 95103f62-cee8-4171-8db1-bf542bf54e73)) - (pad "6" thru_hole oval (at 2.395 1.885 180) (size 1.5 1.1) (drill 1) (layers *.Cu *.Mask) - (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp b2966ac3-1ec1-41d6-a0e6-671629edb1b6)) + (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp 0e015115-3a19-499c-bb3c-3644af11741e)) + (pad "6" smd rect (at -2.875 1.865 270) (size 2 1.5) (layers "B.Cu" "B.Paste" "B.Mask") + (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp 146dd561-ff28-4519-aa3a-f7664dd31c67)) + (pad "6" smd rect (at 2.875 1.885 270) (size 2 1.5) (layers "B.Cu" "B.Paste" "B.Mask") + (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp 1995cb3b-cd00-4bf7-a7df-5592c3a16b42)) + (pad "6" smd rect (at 0.935 -1.385 180) (size 2.5 1.43) (layers "B.Cu" "B.Paste" "B.Mask") + (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp 26036592-c279-4ad2-b4b6-283b22961d6f)) + (pad "6" thru_hole oval (at 2.705 -1.115 180) (size 1.7 1.35) (drill 1) (layers *.Cu *.Mask) + (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp 31a2bdbc-f6dd-4df9-8b2b-b611e0ea1c8f)) + (pad "6" smd rect (at -0.985 -1.385 180) (size 2.5 1.43) (layers "B.Cu" "B.Paste" "B.Mask") + (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp 3e27be7e-7371-4d97-8c50-0df0d217fc53)) (pad "6" smd rect (at 2.975 0.565 270) (size 1.825 0.7) (layers "B.Cu" "B.Paste" "B.Mask") - (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp e702ebc7-57ab-4d9b-847f-2edb677d902d)) + (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp 4c44dd1f-8414-437a-8d9d-c64ad55f60c4)) + (pad "6" thru_hole oval (at -2.755 -1.115 180) (size 1.7 1.35) (drill 1) (layers *.Cu *.Mask) + (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp 5375343a-6879-4268-b4ff-4ffc30b7d264)) + (pad "6" smd rect (at -2.755 -0.185 270) (size 1.35 2) (layers "B.Cu" "B.Paste" "B.Mask") + (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp 98a1d3b6-f7d6-4c9c-aeec-4fc7c23da48e)) + (pad "6" thru_hole oval (at 2.395 1.885 180) (size 1.5 1.1) (drill 1) (layers *.Cu *.Mask) + (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp b63f9e67-488b-4cfb-9749-7fba8801109d)) + (pad "6" thru_hole oval (at -2.445 1.885 180) (size 1.5 1.1) (drill 1) (layers *.Cu *.Mask) + (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp c251dc79-9804-4fec-965e-95dd2f7d3ff2)) + (pad "6" smd rect (at 2.725 -0.185 270) (size 1.35 2) (layers "B.Cu" "B.Paste" "B.Mask") + (net 2 "GND") (pinfunction "Shield") (pintype "passive") (tstamp d0bd13c0-61b5-4f64-8ab2-1db0a8bdd7d0)) (model "${KICAD6_3DMODEL_DIR}/Connector_USB.3dshapes/USB_Micro-B_Amphenol_10103594-0001LF_Horizontal.wrl" (offset (xyz 0 0 0)) (scale (xyz 1 1 1)) @@ -496,7 +496,7 @@ ) ) - (gr_rect (start 100 83.1) (end 131.8 102.921) (layer "Edge.Cuts") (width 0.1) (fill none) (tstamp 9a5ea832-eed2-41de-b3cd-eaa95984db6e)) + (gr_rect (start 100 76.242) (end 131.8 102.921) (layer "Edge.Cuts") (width 0.1) (fill none) (tstamp 9a5ea832-eed2-41de-b3cd-eaa95984db6e)) (segment (start 108.331 86.233) (end 105.283 86.233) (width 0.4) (layer "B.Cu") (net 1) (tstamp 05a07e75-e907-439b-8199-af0b43dfa49a)) (segment (start 110.104 90.038) (end 110.104 88.006) (width 0.4) (layer "B.Cu") (net 1) (tstamp 8bb26703-edf3-41b2-bb33-a56e6d56c7bf)) @@ -602,50 +602,37 @@ (pts (xy 131.826 102.87) (xy 99.949 102.87) - (xy 99.949 83.058) - (xy 131.826 83.058) + (xy 99.949 76.2) + (xy 131.826 76.2) ) ) (filled_polygon (layer "B.Cu") (pts - (xy 125.752121 83.628502) - (xy 125.798614 83.682158) - (xy 125.81 83.7345) - (xy 125.810001 84.443885) - (xy 125.814476 84.459124) - (xy 125.815866 84.460329) - (xy 125.823549 84.462) - (xy 126.775885 84.462) - (xy 126.791124 84.457525) - (xy 126.792329 84.456135) - (xy 126.794 84.448452) - (xy 126.794 84.174) - (xy 126.814002 84.105879) - (xy 126.867658 84.059386) - (xy 126.92 84.048) - (xy 127.176 84.048) - (xy 127.244121 84.068002) - (xy 127.290614 84.121658) - (xy 127.302 84.174) - (xy 127.302 84.443885) - (xy 127.306475 84.459124) - (xy 127.307865 84.460329) - (xy 127.315548 84.462) - (xy 127.451885 84.462) - (xy 127.467124 84.457525) - (xy 127.472843 84.450925) - (xy 127.501247 84.398906) - (xy 127.563559 84.36488) - (xy 127.590344 84.362) - (xy 129.14 84.362) - (xy 129.208121 84.382002) - (xy 129.254614 84.435658) - (xy 129.266 84.488) - (xy 129.266 84.563885) - (xy 129.270475 84.579124) - (xy 129.271865 84.580329) - (xy 129.279548 84.582) + (xy 131.233621 76.770502) + (xy 131.280114 76.824158) + (xy 131.2915 76.8765) + (xy 131.2915 83.925286) + (xy 131.271498 83.993407) + (xy 131.217842 84.0399) + (xy 131.147568 84.050004) + (xy 131.082988 84.02051) + (xy 131.070769 84.008364) + (xy 131.044625 83.978553) + (xy 131.036276 83.97063) + (xy 130.874606 83.84318) + (xy 130.86495 83.836909) + (xy 130.682771 83.74106) + (xy 130.672137 83.736655) + (xy 130.47553 83.675607) + (xy 130.464276 83.673215) + (xy 130.319988 83.656137) + (xy 130.305569 83.658579) + (xy 130.302 83.671321) + (xy 130.302 84.563885) + (xy 130.306475 84.579124) + (xy 130.307865 84.580329) + (xy 130.315548 84.582) (xy 130.54 84.582) (xy 130.608121 84.602002) (xy 130.654614 84.655658) @@ -1310,10 +1297,11 @@ (xy 106.356879 85.196998) (xy 106.310386 85.143342) (xy 106.299 85.091) - (xy 106.299 84.835) - (xy 106.319002 84.766879) - (xy 106.372658 84.720386) - (xy 106.425 84.709) + (xy 106.299 84.690885) + (xy 106.807 84.690885) + (xy 106.811475 84.706124) + (xy 106.812865 84.707329) + (xy 106.820548 84.709) (xy 107.871344 84.709) (xy 107.884875 84.705027) (xy 107.88618 84.695947) @@ -1325,13 +1313,217 @@ (xy 107.629136 84.127757) (xy 107.485806 83.97024) (xy 107.478273 83.963215) - (xy 107.313874 83.833382) - (xy 107.272811 83.775465) - (xy 107.269579 83.704542) - (xy 107.305204 83.643131) - (xy 107.368375 83.610728) - (xy 107.391966 83.6085) - (xy 125.684 83.6085) + (xy 107.311139 83.831222) + (xy 107.302552 83.825517) + (xy 107.116117 83.722599) + (xy 107.106705 83.718369) + (xy 106.973867 83.671328) + (xy 125.81 83.671328) + (xy 125.810001 84.443885) + (xy 125.814476 84.459124) + (xy 125.815866 84.460329) + (xy 125.823549 84.462) + (xy 126.775885 84.462) + (xy 126.791124 84.457525) + (xy 126.792329 84.456135) + (xy 126.794 84.448452) + (xy 126.794 84.443885) + (xy 127.322 84.443885) + (xy 127.326475 84.459124) + (xy 127.327865 84.460329) + (xy 127.335548 84.462) + (xy 127.451885 84.462) + (xy 127.467124 84.457525) + (xy 127.472843 84.450925) + (xy 127.501247 84.398906) + (xy 127.563559 84.36488) + (xy 127.590344 84.362) + (xy 128.095885 84.362) + (xy 128.111124 84.357525) + (xy 128.112329 84.356135) + (xy 128.114 84.348452) + (xy 128.114 84.343885) + (xy 128.622 84.343885) + (xy 128.626475 84.359124) + (xy 128.627865 84.360329) + (xy 128.635548 84.362) + (xy 129.14 84.362) + (xy 129.208121 84.382002) + (xy 129.254614 84.435658) + (xy 129.266 84.488) + (xy 129.266 84.563885) + (xy 129.270475 84.579124) + (xy 129.271865 84.580329) + (xy 129.279548 84.582) + (xy 129.775885 84.582) + (xy 129.791124 84.577525) + (xy 129.792329 84.576135) + (xy 129.794 84.568452) + (xy 129.794 83.671115) + (xy 129.789525 83.655876) + (xy 129.788135 83.654671) + (xy 129.780452 83.653) + (xy 129.328963 83.653) + (xy 129.260842 83.632998) + (xy 129.214349 83.579342) + (xy 129.210981 83.57123) + (xy 129.171324 83.465446) + (xy 129.162786 83.449851) + (xy 129.086285 83.347776) + (xy 129.073724 83.335215) + (xy 128.971649 83.258714) + (xy 128.956054 83.250176) + (xy 128.835606 83.205022) + (xy 128.820351 83.201395) + (xy 128.769486 83.195869) + (xy 128.762672 83.1955) + (xy 128.640115 83.1955) + (xy 128.624876 83.199975) + (xy 128.623671 83.201365) + (xy 128.622 83.209048) + (xy 128.622 84.343885) + (xy 128.114 84.343885) + (xy 128.114 83.213616) + (xy 128.109525 83.198377) + (xy 128.108135 83.197172) + (xy 128.100452 83.195501) + (xy 127.973331 83.195501) + (xy 127.96651 83.195871) + (xy 127.915648 83.201395) + (xy 127.900939 83.204892) + (xy 127.864982 83.208125) + (xy 127.862674 83.208) + (xy 127.340115 83.208) + (xy 127.324876 83.212475) + (xy 127.323671 83.213865) + (xy 127.322 83.221548) + (xy 127.322 84.443885) + (xy 126.794 84.443885) + (xy 126.794 84.110283) + (xy 126.807522 84.064229) + (xy 126.814 84.034452) + (xy 126.814 83.226116) + (xy 126.809525 83.210877) + (xy 126.808135 83.209672) + (xy 126.800452 83.208001) + (xy 126.273331 83.208001) + (xy 126.26651 83.208371) + (xy 126.215648 83.213895) + (xy 126.200396 83.217521) + (xy 126.079946 83.262676) + (xy 126.064351 83.271214) + (xy 125.962276 83.347715) + (xy 125.949715 83.360276) + (xy 125.873214 83.462351) + (xy 125.864676 83.477946) + (xy 125.819522 83.598394) + (xy 125.815895 83.613649) + (xy 125.810369 83.664514) + (xy 125.81 83.671328) + (xy 106.973867 83.671328) + (xy 106.905959 83.64728) + (xy 106.895988 83.644646) + (xy 106.824837 83.631972) + (xy 106.81154 83.633432) + (xy 106.807 83.647989) + (xy 106.807 84.690885) + (xy 106.299 84.690885) + (xy 106.299 83.646102) + (xy 106.295082 83.632758) + (xy 106.280806 83.630771) + (xy 106.242324 83.63666) + (xy 106.232288 83.639051) + (xy 106.029868 83.705212) + (xy 106.020359 83.709209) + (xy 105.831463 83.807542) + (xy 105.822738 83.813036) + (xy 105.652433 83.940905) + (xy 105.644726 83.947748) + (xy 105.567478 84.028584) + (xy 105.505954 84.064014) + (xy 105.435042 84.060557) + (xy 105.377255 84.019311) + (xy 105.358402 83.985763) + (xy 105.316767 83.874703) + (xy 105.313615 83.866295) + (xy 105.226261 83.749739) + (xy 105.109705 83.662385) + (xy 104.973316 83.611255) + (xy 104.911134 83.6045) + (xy 103.114866 83.6045) + (xy 103.052684 83.611255) + (xy 102.916295 83.662385) + (xy 102.799739 83.749739) + (xy 102.712385 83.866295) + (xy 102.661255 84.002684) + (xy 102.6545 84.064866) + (xy 102.6545 85.861134) + (xy 102.661255 85.923316) + (xy 102.712385 86.059705) + (xy 102.799739 86.176261) + (xy 102.916295 86.263615) + (xy 102.924704 86.266767) + (xy 102.924705 86.266768) + (xy 103.033451 86.307535) + (xy 103.090216 86.350176) + (xy 103.114916 86.416738) + (xy 103.099709 86.486087) + (xy 103.080316 86.512568) + (xy 103.005365 86.591) + (xy 102.953629 86.645138) + (xy 102.950715 86.64941) + (xy 102.950714 86.649411) + (xy 102.889257 86.739504) + (xy 102.834346 86.784507) + (xy 102.785169 86.7945) + (xy 101.882927 86.7945) + (xy 101.874358 86.794208) + (xy 101.824225 86.79079) + (xy 101.824221 86.79079) + (xy 101.816648 86.790274) + (xy 101.753681 86.801264) + (xy 101.747169 86.802224) + (xy 101.683758 86.809898) + (xy 101.676657 86.812581) + (xy 101.674048 86.813222) + (xy 101.657715 86.817691) + (xy 101.655195 86.818452) + (xy 101.647717 86.819757) + (xy 101.640765 86.822809) + (xy 101.640764 86.822809) + (xy 101.589204 86.845441) + (xy 101.583099 86.847932) + (xy 101.530456 86.867825) + (xy 101.530452 86.867827) + (xy 101.523344 86.870513) + (xy 101.517083 86.874816) + (xy 101.514717 86.876053) + (xy 101.499937 86.88428) + (xy 101.497652 86.885631) + (xy 101.490695 86.888685) + (xy 101.484675 86.893305) + (xy 101.484669 86.893308) + (xy 101.453542 86.917194) + (xy 101.439998 86.927587) + (xy 101.434668 86.931459) + (xy 101.38828 86.963339) + (xy 101.388275 86.963344) + (xy 101.382019 86.967643) + (xy 101.376968 86.973313) + (xy 101.376966 86.973314) + (xy 101.340565 87.01417) + (xy 101.335584 87.019446) + (xy 100.723595 87.631435) + (xy 100.661283 87.665461) + (xy 100.590468 87.660396) + (xy 100.533632 87.617849) + (xy 100.508821 87.551329) + (xy 100.5085 87.54234) + (xy 100.5085 76.8765) + (xy 100.528502 76.808379) + (xy 100.582158 76.761886) + (xy 100.6345 76.7505) + (xy 131.1655 76.7505) ) ) (filled_polygon diff --git a/pcb/pcb.kicad_sch b/pcb/pcb.kicad_sch index 8de4fda..8362907 100644 --- a/pcb/pcb.kicad_sch +++ b/pcb/pcb.kicad_sch @@ -1027,7 +1027,7 @@ (uuid 7ac7eefa-1950-42e3-957f-6174095def72) (property "Reference" "J3" (id 0) (at 35.052 82.4062 0)) (property "Value" "USB_B_Micro" (id 1) (at 35.052 84.9431 0)) - (property "Footprint" "s3lph:USB_Micro-B_Amphenol_circularnpth" (id 2) (at 38.862 94.996 0) + (property "Footprint" "footprints:USB_Micro-B_Amphenol_circularnpth" (id 2) (at 38.862 94.996 0) (effects (font (size 1.27 1.27)) hide) ) (property "Datasheet" "~" (id 3) (at 38.862 94.996 0) @@ -1226,7 +1226,7 @@ (reference "J2") (unit 1) (value "Conn_01x04_Female") (footprint "Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Vertical") ) (path "/7ac7eefa-1950-42e3-957f-6174095def72" - (reference "J3") (unit 1) (value "USB_B_Micro") (footprint "s3lph:USB_Micro-B_Amphenol_circularnpth") + (reference "J3") (unit 1) (value "USB_B_Micro") (footprint "footprints:USB_Micro-B_Amphenol_circularnpth") ) (path "/f08ff1a8-7913-42b9-a491-3752f20fbb91" (reference "J4") (unit 1) (value "Conn_02x02_Odd_Even") (footprint "Connector_PinHeader_2.54mm:PinHeader_2x02_P2.54mm_Vertical") diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..a325fad Binary files /dev/null and b/screenshot.png differ