hw: Add GND point for MAX98357 gain config
All checks were successful
Build RPi Pico firmware image / Build-Firmware (push) Successful in 3m20s
Check code formatting / Check-C-Format (push) Successful in 7s
Check code formatting / Check-Python-Flake8 (push) Successful in 10s
Check code formatting / Check-Bash-Shellcheck (push) Successful in 5s
Run unit tests on host / Run-Unit-Tests (push) Successful in 9s
Run pytests / Check-Pytest (push) Successful in 11s

Add a through-hole pad connected to GND next to the MAX98357 gain config
resistor to allow the user to select from all possible gains.

Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
This commit is contained in:
2025-11-08 13:47:10 +01:00
parent d28f0b1c0c
commit 08fdb75297
4 changed files with 2255 additions and 1721 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"board": {
"active_layer": 0,
"active_layer": 5,
"active_layer_preset": "",
"auto_track_width": false,
"hidden_netclasses": [],
@@ -18,17 +18,17 @@
"zones": 0.6
},
"selection_filter": {
"dimensions": true,
"footprints": true,
"graphics": true,
"keepouts": true,
"dimensions": false,
"footprints": false,
"graphics": false,
"keepouts": false,
"lockedItems": false,
"otherItems": true,
"otherItems": false,
"pads": true,
"text": true,
"tracks": true,
"vias": true,
"zones": true
"zones": false
},
"visible_items": [
"vias",

View File

@@ -257,12 +257,7 @@
"equivalence_files": []
},
"erc": {
"erc_exclusions": [
[
"pin_to_pin|1549400|977900|f11a46f2-13fb-4d63-9b53-b032e49a375d|4b6603d6-e95b-4131-942b-96ddc8a9a606|/7226ca0f-138a-46b4-89f3-dc32dfb1f9f7|/7226ca0f-138a-46b4-89f3-dc32dfb1f9f7|/7226ca0f-138a-46b4-89f3-dc32dfb1f9f7",
"Raspberry Pi Pico W Datasheet p. 9: If the ADC is not used or ADC performance is not critical, this pin can be connected to digital ground."
]
],
"erc_exclusions": [],
"meta": {
"version": 0
},

View File

@@ -5,6 +5,119 @@
(uuid "7226ca0f-138a-46b4-89f3-dc32dfb1f9f7")
(paper "A4")
(lib_symbols
(symbol "Connector_Generic:Conn_01x01"
(pin_names
(offset 1.016)
(hide yes)
)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(property "Reference" "J"
(at 0 2.54 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "Conn_01x01"
(at 0 -2.54 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "~"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "ki_keywords" "connector"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "ki_fp_filters" "Connector*:*_1x??_*"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(symbol "Conn_01x01_1_1"
(rectangle
(start -1.27 1.27)
(end 1.27 -1.27)
(stroke
(width 0.254)
(type default)
)
(fill
(type background)
)
)
(rectangle
(start -1.27 0.127)
(end 0 -0.127)
(stroke
(width 0.1524)
(type default)
)
(fill
(type none)
)
)
(pin passive line
(at -5.08 0 0)
(length 3.81)
(name "Pin_1"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(embedded_fonts no)
)
(symbol "Connector_Generic:Conn_01x03"
(pin_names
(offset 1.016)
@@ -3928,6 +4041,16 @@
)
(uuid "dcabf837-4155-4957-820b-e0a63b5947c8")
)
(text "Place GND through-hole pad in line with +5V side of R2\nto allow user to select different gain for MAX98357A"
(exclude_from_sim no)
(at 40.894 32.766 0)
(effects
(font
(size 1.27 1.27)
)
)
(uuid "dcca3a95-1162-4543-8f05-573beea44e38")
)
(text "Battery power"
(exclude_from_sim no)
(at 21.59 111.76 0)
@@ -4660,6 +4783,16 @@
)
(uuid "79bb88bf-f554-4e83-bbcb-698a1df2a819")
)
(wire
(pts
(xy 36.83 46.99) (xy 36.83 49.53)
)
(stroke
(width 0)
(type default)
)
(uuid "7ac8879d-9fc7-40b2-b550-c83532147c07")
)
(wire
(pts
(xy 55.88 45.72) (xy 55.88 44.45)
@@ -6307,6 +6440,72 @@
)
)
)
(symbol
(lib_id "power:GND")
(at 36.83 49.53 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(uuid "0e3366a9-cc30-4574-9a85-1f934576d050")
(property "Reference" "#PWR018"
(at 36.83 55.88 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Value" "GND"
(at 38.862 53.34 0)
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
(property "Footprint" ""
(at 36.83 49.53 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" ""
(at 36.83 49.53 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "Power symbol creates a global label with name \"GND\" , ground"
(at 36.83 49.53 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(pin "1"
(uuid "4411b33e-7a34-433c-a726-528c62666fb1")
)
(instances
(project "tonberry-pico"
(path "/7226ca0f-138a-46b4-89f3-dc32dfb1f9f7"
(reference "#PWR018")
(unit 1)
)
)
)
)
(symbol
(lib_id "Jumper:Jumper_2_Bridged")
(at 93.98 69.85 0)
@@ -8867,6 +9066,73 @@
)
)
)
(symbol
(lib_id "Connector_Generic:Conn_01x01")
(at 36.83 41.91 90)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "d3bcb0bc-df35-41fa-87ea-2781bf254e68")
(property "Reference" "J8"
(at 39.37 40.6399 90)
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
(property "Value" "Conn_01x01"
(at 39.37 43.1799 90)
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
(property "Footprint" "Connector_Wire:SolderWire-0.25sqmm_1x01_D0.65mm_OD1.7mm"
(at 36.83 41.91 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "~"
(at 36.83 41.91 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "Generic connector, single row, 01x01, script generated (kicad-library-utils/schlib/autogen/connector/)"
(at 36.83 41.91 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(pin "1"
(uuid "516d40fb-50f8-4c22-aeaf-d075175736e6")
)
(instances
(project ""
(path "/7226ca0f-138a-46b4-89f3-dc32dfb1f9f7"
(reference "J8")
(unit 1)
)
)
)
)
(symbol
(lib_id "Connector_Generic:Conn_01x07")
(at 73.66 49.53 0)