summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-07-23 11:57:32 +0200
committerxengineering <me@xengineering.eu>2025-07-23 11:57:32 +0200
commit24d9a38a95a7cc51528efebcb5d81dd8ea67bef8 (patch)
tree36e6b628e105cc149d91d677dfaeffc6e05a07ca
parent59bf29dba5a3acbfa7501314d8db825a9c8b9b7b (diff)
downloadiot-contact-24d9a38a95a7cc51528efebcb5d81dd8ea67bef8.tar
iot-contact-24d9a38a95a7cc51528efebcb5d81dd8ea67bef8.tar.zst
iot-contact-24d9a38a95a7cc51528efebcb5d81dd8ea67bef8.zip
pcb: Move version detection to processor schematic
-rw-r--r--pcb/iot-contact.kicad_sch368
-rw-r--r--pcb/processor.kicad_sch361
2 files changed, 339 insertions, 390 deletions
diff --git a/pcb/iot-contact.kicad_sch b/pcb/iot-contact.kicad_sch
index 49c9898..b7045af 100644
--- a/pcb/iot-contact.kicad_sch
+++ b/pcb/iot-contact.kicad_sch
@@ -4275,16 +4275,6 @@
)
(uuid "56f4af8c-1572-4497-98f2-10a81ab55e1d")
)
- (text "PCB versioning"
- (exclude_from_sim no)
- (at 125.222 138.684 0)
- (effects
- (font
- (size 1.27 1.27)
- )
- )
- (uuid "8ffab84b-2909-4547-976c-9674893a87fe")
- )
(text "TODO: Reduce ESD / EMC by resistors?"
(exclude_from_sim no)
(at 137.414 15.494 0)
@@ -4344,12 +4334,6 @@
(uuid "ac37e659-e3d3-43d6-aae2-748307ace1a3")
)
(junction
- (at 124.46 120.65)
- (diameter 0)
- (color 0 0 0 0)
- (uuid "d7a5ded7-cab0-44bc-bcb3-51d295ef17c4")
- )
- (junction
(at 252.73 83.82)
(diameter 0)
(color 0 0 0 0)
@@ -4431,16 +4415,6 @@
)
(wire
(pts
- (xy 124.46 119.38) (xy 124.46 120.65)
- )
- (stroke
- (width 0)
- (type default)
- )
- (uuid "1020a578-763e-4bf0-98ef-3e843e6e7cd5")
- )
- (wire
- (pts
(xy 257.81 95.25) (xy 252.73 95.25)
)
(stroke
@@ -4771,26 +4745,6 @@
)
(wire
(pts
- (xy 124.46 120.65) (xy 124.46 121.92)
- )
- (stroke
- (width 0)
- (type default)
- )
- (uuid "668ac295-8e98-4bec-8a6a-9e0f9977aa67")
- )
- (wire
- (pts
- (xy 135.89 109.22) (xy 142.24 109.22)
- )
- (stroke
- (width 0)
- (type default)
- )
- (uuid "69091af5-6345-43b2-a134-4fdcac08c44e")
- )
- (wire
- (pts
(xy 120.65 151.13) (xy 120.65 175.26)
)
(stroke
@@ -4801,26 +4755,6 @@
)
(wire
(pts
- (xy 124.46 120.65) (xy 135.89 120.65)
- )
- (stroke
- (width 0)
- (type default)
- )
- (uuid "6ecbd238-9a11-40af-a479-f3c1c33f4443")
- )
- (wire
- (pts
- (xy 124.46 129.54) (xy 124.46 130.81)
- )
- (stroke
- (width 0)
- (type default)
- )
- (uuid "6f33808b-14aa-42f0-bfaf-5d5d041eda6f")
- )
- (wire
- (pts
(xy 63.5 92.71) (xy 87.63 92.71)
)
(stroke
@@ -4931,16 +4865,6 @@
)
(wire
(pts
- (xy 124.46 110.49) (xy 124.46 111.76)
- )
- (stroke
- (width 0)
- (type default)
- )
- (uuid "863152a8-b32a-4cee-ac15-5a3388895411")
- )
- (wire
- (pts
(xy 182.88 44.45) (xy 182.88 43.18)
)
(stroke
@@ -5251,16 +5175,6 @@
)
(wire
(pts
- (xy 135.89 120.65) (xy 135.89 109.22)
- )
- (stroke
- (width 0)
- (type default)
- )
- (uuid "d55a08a6-0573-45b5-abf3-b004ce309bd5")
- )
- (wire
- (pts
(xy 73.66 147.32) (xy 85.09 147.32)
)
(stroke
@@ -5683,76 +5597,6 @@
)
)
(symbol
- (lib_id "Device:R")
- (at 124.46 125.73 0)
- (unit 1)
- (exclude_from_sim no)
- (in_bom yes)
- (on_board yes)
- (dnp no)
- (fields_autoplaced yes)
- (uuid "25ff6048-df12-4801-a5fa-10858ec580ea")
- (property "Reference" "R2"
- (at 127 124.4599 0)
- (effects
- (font
- (size 1.27 1.27)
- )
- (justify left)
- )
- )
- (property "Value" "180R"
- (at 127 126.9999 0)
- (effects
- (font
- (size 1.27 1.27)
- )
- (justify left)
- )
- )
- (property "Footprint" ""
- (at 122.682 125.73 90)
- (effects
- (font
- (size 1.27 1.27)
- )
- (hide yes)
- )
- )
- (property "Datasheet" "~"
- (at 124.46 125.73 0)
- (effects
- (font
- (size 1.27 1.27)
- )
- (hide yes)
- )
- )
- (property "Description" "Resistor"
- (at 124.46 125.73 0)
- (effects
- (font
- (size 1.27 1.27)
- )
- (hide yes)
- )
- )
- (pin "1"
- (uuid "4594fa96-7bf7-4a55-b5cf-06cd56d16577")
- )
- (pin "2"
- (uuid "b8ec48f2-d366-4783-a0c0-ce6e9d04ad8c")
- )
- (instances
- (project ""
- (path "/5defd195-0277-4d04-9f5f-69e505c9845c"
- (reference "R2")
- (unit 1)
- )
- )
- )
- )
- (symbol
(lib_id "Connector:Conn_01x04_Socket")
(at 262.89 97.79 0)
(unit 1)
@@ -6053,76 +5897,6 @@
)
)
(symbol
- (lib_id "Device:R")
- (at 124.46 115.57 0)
- (unit 1)
- (exclude_from_sim no)
- (in_bom yes)
- (on_board yes)
- (dnp no)
- (fields_autoplaced yes)
- (uuid "44194e8c-d4ca-4f3b-8f0c-38d2daec1648")
- (property "Reference" "R1"
- (at 127 114.2999 0)
- (effects
- (font
- (size 1.27 1.27)
- )
- (justify left)
- )
- )
- (property "Value" "75k"
- (at 127 116.8399 0)
- (effects
- (font
- (size 1.27 1.27)
- )
- (justify left)
- )
- )
- (property "Footprint" ""
- (at 122.682 115.57 90)
- (effects
- (font
- (size 1.27 1.27)
- )
- (hide yes)
- )
- )
- (property "Datasheet" "~"
- (at 124.46 115.57 0)
- (effects
- (font
- (size 1.27 1.27)
- )
- (hide yes)
- )
- )
- (property "Description" "Resistor"
- (at 124.46 115.57 0)
- (effects
- (font
- (size 1.27 1.27)
- )
- (hide yes)
- )
- )
- (pin "2"
- (uuid "4c288ead-2ab6-4e25-a3f0-01cafd4880ac")
- )
- (pin "1"
- (uuid "28fc83dd-c36e-444e-9a1b-af275a24160b")
- )
- (instances
- (project ""
- (path "/5defd195-0277-4d04-9f5f-69e505c9845c"
- (reference "R1")
- (unit 1)
- )
- )
- )
- )
- (symbol
(lib_id "Device:LED")
(at 217.17 132.08 90)
(unit 1)
@@ -7229,72 +7003,6 @@
)
)
(symbol
- (lib_id "power:+3V3")
- (at 124.46 110.49 0)
- (unit 1)
- (exclude_from_sim no)
- (in_bom yes)
- (on_board yes)
- (dnp no)
- (fields_autoplaced yes)
- (uuid "b8d6d94c-727e-456b-b826-af3fd7c72013")
- (property "Reference" "#PWR09"
- (at 124.46 114.3 0)
- (effects
- (font
- (size 1.27 1.27)
- )
- (hide yes)
- )
- )
- (property "Value" "+3V3"
- (at 124.46 105.41 0)
- (effects
- (font
- (size 1.27 1.27)
- )
- )
- )
- (property "Footprint" ""
- (at 124.46 110.49 0)
- (effects
- (font
- (size 1.27 1.27)
- )
- (hide yes)
- )
- )
- (property "Datasheet" ""
- (at 124.46 110.49 0)
- (effects
- (font
- (size 1.27 1.27)
- )
- (hide yes)
- )
- )
- (property "Description" "Power symbol creates a global label with name \"+3V3\""
- (at 124.46 110.49 0)
- (effects
- (font
- (size 1.27 1.27)
- )
- (hide yes)
- )
- )
- (pin "1"
- (uuid "4c5e5d17-e7b8-4575-85c6-050868f487a2")
- )
- (instances
- (project ""
- (path "/5defd195-0277-4d04-9f5f-69e505c9845c"
- (reference "#PWR09")
- (unit 1)
- )
- )
- )
- )
- (symbol
(lib_id "power:GND")
(at 204.47 154.94 0)
(unit 1)
@@ -7634,72 +7342,6 @@
)
)
(symbol
- (lib_id "power:GND")
- (at 124.46 130.81 0)
- (unit 1)
- (exclude_from_sim no)
- (in_bom yes)
- (on_board yes)
- (dnp no)
- (fields_autoplaced yes)
- (uuid "dd045ace-112c-424a-ad3b-982fb4c768f7")
- (property "Reference" "#PWR010"
- (at 124.46 137.16 0)
- (effects
- (font
- (size 1.27 1.27)
- )
- (hide yes)
- )
- )
- (property "Value" "GND"
- (at 124.46 135.89 0)
- (effects
- (font
- (size 1.27 1.27)
- )
- )
- )
- (property "Footprint" ""
- (at 124.46 130.81 0)
- (effects
- (font
- (size 1.27 1.27)
- )
- (hide yes)
- )
- )
- (property "Datasheet" ""
- (at 124.46 130.81 0)
- (effects
- (font
- (size 1.27 1.27)
- )
- (hide yes)
- )
- )
- (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
- (at 124.46 130.81 0)
- (effects
- (font
- (size 1.27 1.27)
- )
- (hide yes)
- )
- )
- (pin "1"
- (uuid "1a4096b2-db22-464d-b040-d8134123dfb5")
- )
- (instances
- (project ""
- (path "/5defd195-0277-4d04-9f5f-69e505c9845c"
- (reference "#PWR010")
- (unit 1)
- )
- )
- )
- )
- (symbol
(lib_id "Device:C")
(at 142.24 184.15 90)
(mirror x)
@@ -8661,16 +8303,6 @@
(justify right)
)
)
- (pin "VVERSION" input
- (at 142.24 109.22 180)
- (uuid "cc6082cf-6e1b-4529-a830-c6a9254ad3b1")
- (effects
- (font
- (size 1.27 1.27)
- )
- (justify left)
- )
- )
(pin "~{BTN_WIPE}" input
(at 173.99 114.3 270)
(uuid "a3c81ecf-25b7-4d55-bb41-ea32fa2b6812")
diff --git a/pcb/processor.kicad_sch b/pcb/processor.kicad_sch
index b705643..a862c4c 100644
--- a/pcb/processor.kicad_sch
+++ b/pcb/processor.kicad_sch
@@ -3142,6 +3142,16 @@
(embedded_fonts no)
)
)
+ (text "PCB versioning"
+ (exclude_from_sim no)
+ (at 183.642 76.454 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ (uuid "10060943-58ed-4dfc-9fc1-a9fa0d843c52")
+ )
(text "Based on ST Microelectronics AN4488"
(exclude_from_sim no)
(at 241.808 98.298 0)
@@ -3154,7 +3164,7 @@
)
(text "TODO: MAC EEPROM"
(exclude_from_sim no)
- (at 207.772 54.61 0)
+ (at 225.044 63.246 0)
(effects
(font
(size 1.27 1.27)
@@ -3217,6 +3227,12 @@
(uuid "966c75b3-b696-4276-9e1c-6478e86f90fc")
)
(junction
+ (at 182.88 58.42)
+ (diameter 0)
+ (color 0 0 0 0)
+ (uuid "a9cdaea3-05e0-482d-9803-f7cd4754927b")
+ )
+ (junction
(at 127 36.83)
(diameter 0)
(color 0 0 0 0)
@@ -3610,6 +3626,16 @@
)
(wire
(pts
+ (xy 182.88 57.15) (xy 182.88 58.42)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "283eca47-00a6-4903-9738-ad318bf073e4")
+ )
+ (wire
+ (pts
(xy 154.94 99.06) (xy 156.21 99.06)
)
(stroke
@@ -3620,6 +3646,26 @@
)
(wire
(pts
+ (xy 182.88 67.31) (xy 182.88 68.58)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "2e176f99-6394-4ec6-965c-0ccf63bbcc6d")
+ )
+ (wire
+ (pts
+ (xy 154.94 58.42) (xy 182.88 58.42)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "2e843d0a-986a-420d-884c-127f599adc91")
+ )
+ (wire
+ (pts
(xy 87.63 68.58) (xy 76.2 68.58)
)
(stroke
@@ -3830,6 +3876,16 @@
)
(wire
(pts
+ (xy 182.88 48.26) (xy 182.88 49.53)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "828e7f1f-56d8-4dd5-b5e6-823f26ad75bc")
+ )
+ (wire
+ (pts
(xy 154.94 170.18) (xy 165.1 170.18)
)
(stroke
@@ -3970,6 +4026,16 @@
)
(wire
(pts
+ (xy 182.88 58.42) (xy 182.88 59.69)
+ )
+ (stroke
+ (width 0)
+ (type default)
+ )
+ (uuid "bfc5fa5d-d2de-4ab3-9ce4-0bcf8ec03120")
+ )
+ (wire
+ (pts
(xy 121.92 26.67) (xy 130.81 26.67)
)
(stroke
@@ -4050,16 +4116,6 @@
)
(wire
(pts
- (xy 154.94 58.42) (xy 156.21 58.42)
- )
- (stroke
- (width 0)
- (type default)
- )
- (uuid "d5e3a349-0e46-4aed-b37f-23c6f9d62eaa")
- )
- (wire
- (pts
(xy 130.81 36.83) (xy 130.81 26.67)
)
(stroke
@@ -4309,17 +4365,6 @@
)
(uuid "806823e9-c7ef-45dc-832c-ddb4378c340f")
)
- (hierarchical_label "VVERSION"
- (shape input)
- (at 156.21 58.42 0)
- (effects
- (font
- (size 1.27 1.27)
- )
- (justify left)
- )
- (uuid "919dc185-71c3-4c56-8386-f6c0dc6b4c73")
- )
(hierarchical_label "JTAG_TDO"
(shape output)
(at 156.21 99.06 0)
@@ -4422,6 +4467,76 @@
)
(symbol
(lib_id "Device:R")
+ (at 182.88 63.5 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "25ff6048-df12-4801-a5fa-10858ec580ea")
+ (property "Reference" "R2"
+ (at 185.42 62.2299 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "180R"
+ (at 185.42 64.7699 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 181.102 63.5 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 182.88 63.5 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor"
+ (at 182.88 63.5 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "4594fa96-7bf7-4a55-b5cf-06cd56d16577")
+ )
+ (pin "2"
+ (uuid "b8ec48f2-d366-4783-a0c0-ce6e9d04ad8c")
+ )
+ (instances
+ (project "iot-contact"
+ (path "/5defd195-0277-4d04-9f5f-69e505c9845c/9e600826-010a-409d-9a37-ea8e6fbe6058"
+ (reference "R2")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "Device:R")
(at 46.99 59.69 0)
(mirror y)
(unit 1)
@@ -4558,6 +4673,76 @@
)
)
(symbol
+ (lib_id "Device:R")
+ (at 182.88 53.34 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "44194e8c-d4ca-4f3b-8f0c-38d2daec1648")
+ (property "Reference" "R1"
+ (at 185.42 52.0699 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Value" "75k"
+ (at 185.42 54.6099 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (justify left)
+ )
+ )
+ (property "Footprint" ""
+ (at 181.102 53.34 90)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" "~"
+ (at 182.88 53.34 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Resistor"
+ (at 182.88 53.34 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "2"
+ (uuid "4c288ead-2ab6-4e25-a3f0-01cafd4880ac")
+ )
+ (pin "1"
+ (uuid "28fc83dd-c36e-444e-9a1b-af275a24160b")
+ )
+ (instances
+ (project "iot-contact"
+ (path "/5defd195-0277-4d04-9f5f-69e505c9845c/9e600826-010a-409d-9a37-ea8e6fbe6058"
+ (reference "R1")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
(lib_id "power:+3V3")
(at 130.81 25.4 0)
(unit 1)
@@ -5355,6 +5540,72 @@
)
)
(symbol
+ (lib_id "power:+3V3")
+ (at 182.88 48.26 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "b8d6d94c-727e-456b-b826-af3fd7c72013")
+ (property "Reference" "#PWR09"
+ (at 182.88 52.07 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "+3V3"
+ (at 182.88 43.18 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 182.88 48.26 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 182.88 48.26 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"+3V3\""
+ (at 182.88 48.26 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "4c5e5d17-e7b8-4575-85c6-050868f487a2")
+ )
+ (instances
+ (project "iot-contact"
+ (path "/5defd195-0277-4d04-9f5f-69e505c9845c/9e600826-010a-409d-9a37-ea8e6fbe6058"
+ (reference "#PWR09")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
(lib_id "Device:C")
(at 196.85 148.59 90)
(mirror x)
@@ -5632,6 +5883,72 @@
)
(symbol
(lib_id "power:GND")
+ (at 182.88 68.58 0)
+ (unit 1)
+ (exclude_from_sim no)
+ (in_bom yes)
+ (on_board yes)
+ (dnp no)
+ (fields_autoplaced yes)
+ (uuid "dd045ace-112c-424a-ad3b-982fb4c768f7")
+ (property "Reference" "#PWR010"
+ (at 182.88 74.93 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Value" "GND"
+ (at 182.88 73.66 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ )
+ )
+ (property "Footprint" ""
+ (at 182.88 68.58 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Datasheet" ""
+ (at 182.88 68.58 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Description" "Power symbol creates a global label with name \"GND\" , ground"
+ (at 182.88 68.58 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (pin "1"
+ (uuid "1a4096b2-db22-464d-b040-d8134123dfb5")
+ )
+ (instances
+ (project "iot-contact"
+ (path "/5defd195-0277-4d04-9f5f-69e505c9845c/9e600826-010a-409d-9a37-ea8e6fbe6058"
+ (reference "#PWR010")
+ (unit 1)
+ )
+ )
+ )
+ )
+ (symbol
+ (lib_id "power:GND")
(at 201.93 148.59 90)
(unit 1)
(exclude_from_sim no)