Adds buttons, wiring to sch, first overview placements of parts and dimensions.

This commit is contained in:
Pbopbo
2025-12-04 16:22:05 +01:00
parent d84d8bcc83
commit 403f013b24
16 changed files with 42183 additions and 5099 deletions
+4 -1
View File
@@ -38,4 +38,7 @@ fp-info-cache
**/*-backups/*.zip
# Local project settings
*.kicad_prl
*.kicad_prl
.vscode/
Binary file not shown.
+73
View File
@@ -0,0 +1,73 @@
# Design Decisions
## Components
### npm1300
- Two bucks 1.8V and 3.3V
- Hopefully nice ONOFF logic possible
https://chatgpt.com/share/693174fd-35cc-8007-8e88-06d77bcb8abc
```mermaid
stateDiagram-v2
[*] --> OFF_HIBERNATE
OFF_HIBERNATE --> ON_BATTERY : SHPHLD ≥ tshipToActive
note right of ON_BATTERY
Condition: VBUS not present
end note
OFF_HIBERNATE --> CHARGING_ONLY : USB plugged in
note right of CHARGING_ONLY
Condition: VBUS > VBUSPOR
end note
ON_BATTERY --> OFF_HIBERNATE : Short press SHPHLD
note right of OFF_HIBERNATE
FW calls TASKENTERHIBERNATE
Condition: VBUS not present
end note
ON_BATTERY --> CHARGING_ON : USB plugged in while ON
CHARGING_ON --> CHARGING_ONLY : Short press SHPHLD (SW-Off)
CHARGING_ONLY --> CHARGING_ON : Short press SHPHLD (SW-On)
CHARGING_ON --> ON_BATTERY : VBUS removed AND SW=ON
CHARGING_ONLY --> OFF_HIBERNATE : VBUS removed AND SW=OFF
note right of OFF_HIBERNATE
FW calls TASKENTERHIBERNATE
end note
```
**Conclusion**: Should work by attaching one button.
### TRS Jack
- Detection
- Mono vs Stereo (Telecoil vs Headsets)
- Goal: Mono and Stereo 'just works'
https://chatgpt.com/share/69316f49-fc30-8007-8096-5d91e9cd69a5
TLV supports short circuit detection and powers down the output.
![alt text](media/design_decisions/image-2.png)
TLV supports headphone detection (no headphone, stereo, stereo with mic).
**Conclusion**: The TLV can handle everything we need to do to support both mono (telecoil) and stereo.
## Schematic
## Board
Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
+321
View File
@@ -147,4 +147,325 @@
)
)
)
(symbol "TS36CA-0.6250GF031"
(in_bom yes)
(on_board yes)
(property
"Reference"
"SW"
(id 0)
(at 0 7.62 0)
(effects (font (size 1.27 1.27) ) )
)
(property
"Value"
"TS36CA-0.6 250GF 031"
(id 1)
(at 0 -5.08 0)
(effects (font (size 1.27 1.27) ) )
)
(property
"Footprint"
"easyeda2kicad:SW-SMD_SHOU_TS36CA-0.6"
(id 2)
(at 0 -7.62 0)
(effects (font (size 1.27 1.27) ) hide)
)
(property
"LCSC Part"
"C2906288"
(id 5)
(at 0 -10.16 0)
(effects (font (size 1.27 1.27) ) hide)
)
(symbol "TS36CA-0.6250GF031_0_1"
(polyline
(pts
(xy 1.78 3.30) (xy -1.78 3.30)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 2.54 -0.00) (xy -2.54 -0.00)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy -1.27 2.54) (xy -2.54 2.54)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 2.54 2.54) (xy 1.27 2.54)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0.00 4.06) (xy 0.00 3.30)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(pin unspecified line
(at -5.08 -0.00 0)
(length 2.54)
(name "4" (effects (font (size 1.27 1.27))))
(number "4" (effects (font (size 1.27 1.27))))
)
(pin unspecified line
(at 5.08 -0.00 180)
(length 2.54)
(name "3" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
(pin unspecified line
(at 5.08 2.54 180)
(length 2.54)
(name "2" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin unspecified line
(at -5.08 2.54 0)
(length 2.54)
(name "1" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "TS3425A2P250GF"
(in_bom yes)
(on_board yes)
(property
"Reference"
"SW"
(id 0)
(at 0 5.08 0)
(effects (font (size 1.27 1.27) ) )
)
(property
"Value"
"TS3425A2P 250GF"
(id 1)
(at 0 -5.08 0)
(effects (font (size 1.27 1.27) ) )
)
(property
"Footprint"
"easyeda2kicad:SW-SMD_L3.9-W2.9-LS5.0"
(id 2)
(at 0 -7.62 0)
(effects (font (size 1.27 1.27) ) hide)
)
(property
"LCSC Part"
"C7431069"
(id 5)
(at 0 -10.16 0)
(effects (font (size 1.27 1.27) ) hide)
)
(symbol "TS3425A2P250GF_0_1"
(circle
(center 0.76 -0.00)
(radius 0.25)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(circle
(center -0.76 -0.00)
(radius 0.25)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy -2.54 -0.00) (xy -1.52 -0.00)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 2.54 -0.00) (xy 0.76 -0.00)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy -1.52 -0.00) (xy -0.76 -0.00)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy 0.76 1.52) (xy -1.02 0.25)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(pin unspecified line
(at -5.08 -0.00 0)
(length 2.54)
(name "1" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin unspecified line
(at 5.08 -0.00 180)
(length 2.54)
(name "2" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "HYCW445-USBC16-730B"
(in_bom yes)
(on_board yes)
(property
"Reference"
"USB"
(id 0)
(at 0 17.78 0)
(effects (font (size 1.27 1.27) ) )
)
(property
"Value"
"HYCW445-USBC16-730B"
(id 1)
(at 0 -20.32 0)
(effects (font (size 1.27 1.27) ) )
)
(property
"Footprint"
"easyeda2kicad:USB-TYPE-C-SMD_TYPE-C-16P-USB616FC"
(id 2)
(at 0 -22.86 0)
(effects (font (size 1.27 1.27) ) hide)
)
(property
"LCSC Part"
"C42400246"
(id 5)
(at 0 -25.40 0)
(effects (font (size 1.27 1.27) ) hide)
)
(symbol "HYCW445-USBC16-730B_0_1"
(rectangle
(start -10.16 16.51)
(end 7.62 -17.78)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type background))
)
(circle
(center -8.89 13.97)
(radius 0.38)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(pin unspecified line
(at -12.70 12.70 0)
(length 2.54)
(name "GND" (effects (font (size 1.27 1.27))))
(number "A1B12" (effects (font (size 1.27 1.27))))
)
(pin unspecified line
(at -12.70 10.16 0)
(length 2.54)
(name "VBUS" (effects (font (size 1.27 1.27))))
(number "A4B9" (effects (font (size 1.27 1.27))))
)
(pin unspecified line
(at -12.70 7.62 0)
(length 2.54)
(name "CC1" (effects (font (size 1.27 1.27))))
(number "A5" (effects (font (size 1.27 1.27))))
)
(pin unspecified line
(at -12.70 5.08 0)
(length 2.54)
(name "DP1" (effects (font (size 1.27 1.27))))
(number "A6" (effects (font (size 1.27 1.27))))
)
(pin unspecified line
(at -12.70 2.54 0)
(length 2.54)
(name "DN1" (effects (font (size 1.27 1.27))))
(number "A7" (effects (font (size 1.27 1.27))))
)
(pin unspecified line
(at -12.70 -0.00 0)
(length 2.54)
(name "SBU1" (effects (font (size 1.27 1.27))))
(number "A8" (effects (font (size 1.27 1.27))))
)
(pin unspecified line
(at -12.70 -2.54 0)
(length 2.54)
(name "GND" (effects (font (size 1.27 1.27))))
(number "B1A12" (effects (font (size 1.27 1.27))))
)
(pin unspecified line
(at -12.70 -5.08 0)
(length 2.54)
(name "VBUS" (effects (font (size 1.27 1.27))))
(number "B4A9" (effects (font (size 1.27 1.27))))
)
(pin unspecified line
(at -12.70 -7.62 0)
(length 2.54)
(name "CC2" (effects (font (size 1.27 1.27))))
(number "B5" (effects (font (size 1.27 1.27))))
)
(pin unspecified line
(at -12.70 -10.16 0)
(length 2.54)
(name "DP2" (effects (font (size 1.27 1.27))))
(number "B6" (effects (font (size 1.27 1.27))))
)
(pin unspecified line
(at -12.70 -12.70 0)
(length 2.54)
(name "DN2" (effects (font (size 1.27 1.27))))
(number "B7" (effects (font (size 1.27 1.27))))
)
(pin unspecified line
(at -12.70 -15.24 0)
(length 2.54)
(name "SBU2" (effects (font (size 1.27 1.27))))
(number "B8" (effects (font (size 1.27 1.27))))
)
(pin unspecified line
(at 12.70 2.54 180)
(length 5.08)
(name "GND" (effects (font (size 1.27 1.27))))
(number "13" (effects (font (size 1.27 1.27))))
)
(pin unspecified line
(at 12.70 -0.00 180)
(length 5.08)
(name "GND" (effects (font (size 1.27 1.27))))
(number "14" (effects (font (size 1.27 1.27))))
)
(pin unspecified line
(at 12.70 -2.54 180)
(length 5.08)
(name "GND" (effects (font (size 1.27 1.27))))
(number "15" (effects (font (size 1.27 1.27))))
)
(pin unspecified line
(at 12.70 -5.08 180)
(length 5.08)
(name "GND" (effects (font (size 1.27 1.27))))
(number "16" (effects (font (size 1.27 1.27))))
)
)
)
)
@@ -0,0 +1,33 @@
(module easyeda2kicad:SW-SMD_L3.9-W2.9-LS5.0 (layer F.Cu) (tedit 5DC5F6A4)
(attr through_hole)
(fp_text reference REF** (at 0 -4.0) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value SW-SMD_L3.9-W2.9-LS5.0 (at 0 4.0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user %R (at 0 0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -0.33 1.45) (end -0.46 1.45) (layer F.SilkS) (width 0.25))
(fp_line (start 0.46 1.45) (end 0.33 1.45) (layer F.SilkS) (width 0.25))
(fp_line (start 0.33 -1.45) (end 0.46 -1.45) (layer F.SilkS) (width 0.25))
(fp_line (start -0.46 -1.45) (end -0.33 -1.45) (layer F.SilkS) (width 0.25))
(fp_line (start -0.46 1.45) (end -2.00 1.45) (layer F.SilkS) (width 0.25))
(fp_line (start 2.00 1.45) (end 0.46 1.45) (layer F.SilkS) (width 0.25))
(fp_line (start 0.46 -1.45) (end 2.00 -1.45) (layer F.SilkS) (width 0.25))
(fp_line (start -2.00 -1.45) (end -0.46 -1.45) (layer F.SilkS) (width 0.25))
(fp_line (start -2.00 -1.45) (end -2.00 -1.23) (layer F.SilkS) (width 0.25))
(fp_line (start -2.00 1.23) (end -2.00 1.45) (layer F.SilkS) (width 0.25))
(fp_line (start 2.00 -1.45) (end 2.00 -1.23) (layer F.SilkS) (width 0.25))
(fp_line (start 2.00 1.23) (end 2.00 1.45) (layer F.SilkS) (width 0.25))
(pad 1 smd rect (at -2.10 0.00 0.00) (size 1.50 2.00) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at 2.10 0.00 0.00) (size 1.50 2.00) (layers F.Cu F.Paste F.Mask))
(fp_circle (center -2.50 1.45) (end -2.47 1.45) (layer F.Fab) (width 0.06))
(fp_circle (center 0.00 0.00) (end 0.90 0.00) (layer F.SilkS) (width 0.25))
(model "/lib/easyeda2kicad.3dshapes/SW-SMD_L3.9-W2.9-LS5.0.wrl"
(offset (xyz 0.000 -0.000 0.000))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
@@ -0,0 +1,51 @@
(module easyeda2kicad:SW-SMD_SHOU_TS36CA-0.6 (layer F.Cu) (tedit 5DC5F6A4)
(attr smd)
(fp_text reference REF** (at 0 -4.9399999999999995) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value SW-SMD_SHOU_TS36CA-0.6 (at 0 4.9399999999999995) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user %R (at 0 0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start 1.50 2.39) (end 1.50 1.91) (layer F.SilkS) (width 0.25))
(fp_line (start 1.50 2.39) (end -1.50 2.39) (layer F.SilkS) (width 0.25))
(fp_line (start -1.50 2.39) (end -1.50 1.91) (layer F.SilkS) (width 0.25))
(fp_line (start 2.67 1.88) (end -2.63 1.88) (layer F.SilkS) (width 0.25))
(fp_line (start -3.50 -1.14) (end -3.50 -0.08) (layer F.SilkS) (width 0.25))
(fp_line (start 3.69 -1.17) (end 3.69 -0.12) (layer F.SilkS) (width 0.25))
(fp_line (start 2.94 -1.14) (end 3.50 -1.14) (layer F.SilkS) (width 0.25))
(fp_line (start -1.26 -1.14) (end 1.27 -1.14) (layer F.SilkS) (width 0.25))
(fp_line (start -3.50 -1.14) (end -2.93 -1.14) (layer F.SilkS) (width 0.25))
(pad 1 smd rect (at 2.10 -0.94 180.00) (size 1.20 1.20) (layers F.Cu F.Paste F.Mask))
(pad 2 smd rect (at -2.15 -0.91 180.00) (size 1.20 1.20) (layers F.Cu F.Paste F.Mask))
(pad 4 smd custom (at 3.45 0.91 0.00) (size 0.01 0.01) (layers F.Cu F.Paste F.Mask)
(primitives
(gr_poly
(pts (xy 0.75 0.75)(xy -0.75 0.75)(xy -0.75 -0.06)(xy -0.05 -0.06)(xy -0.05 -0.76)(xy 0.75 -0.76)
)
(width 0.1)
)
)
)
(pad 3 smd custom (at -3.45 0.94 0.00) (size 0.01 0.01) (layers F.Cu F.Paste F.Mask)
(primitives
(gr_poly
(pts (xy -0.75 0.74)(xy -0.75 -0.76)(xy 0.06 -0.76)(xy 0.06 -0.06)(xy 0.76 -0.06)(xy 0.76 0.74)
)
(width 0.1)
)
)
)
(pad "" thru_hole circle (at 1.15 0.36) (size 0.90 0.90) (drill 0.90) (layers *.Cu *.Mask))
(pad "" thru_hole circle (at -1.15 0.36) (size 0.90 0.90) (drill 0.90) (layers *.Cu *.Mask))
(fp_circle (center -1.15 0.36) (end -0.97 0.36) (layer Cmts.User) (width 0.35))
(fp_circle (center 1.15 0.36) (end 1.33 0.36) (layer Cmts.User) (width 0.35))
(fp_circle (center 3.85 -1.37) (end 3.88 -1.37) (layer F.Fab) (width 0.06))
(model "/lib/easyeda2kicad.3dshapes/SW-SMD_SHOU_TS36CA-0.6.wrl"
(offset (xyz -0.000 -0.480 0.800))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
@@ -0,0 +1,40 @@
(module easyeda2kicad:USB-TYPE-C-SMD_TYPE-C-16P-USB616FC (layer F.Cu) (tedit 5DC5F6A4)
(attr smd)
(fp_text reference REF** (at 0 -6.29) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value USB-TYPE-C-SMD_TYPE-C-16P-USB616FC (at 0 6.29) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text user %R (at 0 0) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start 4.47 5.14) (end -4.47 5.14) (layer F.SilkS) (width 0.25))
(fp_line (start -4.09 -2.24) (end -3.74 -2.24) (layer F.SilkS) (width 0.25))
(fp_line (start 3.73 -2.24) (end 4.08 -2.24) (layer F.SilkS) (width 0.25))
(fp_line (start 4.47 1.31) (end 4.47 -0.73) (layer F.SilkS) (width 0.25))
(fp_line (start 4.47 5.14) (end 4.47 3.27) (layer F.SilkS) (width 0.25))
(fp_line (start -4.47 1.31) (end -4.47 -0.73) (layer F.SilkS) (width 0.25))
(fp_line (start -4.47 5.14) (end -4.47 3.27) (layer F.SilkS) (width 0.25))
(pad B1A12 smd rect (at 3.20 -2.29 0.00) (size 0.50 1.15) (layers F.Cu F.Paste F.Mask))
(pad B4A9 smd rect (at 2.40 -2.29 0.00) (size 0.50 1.15) (layers F.Cu F.Paste F.Mask))
(pad A4B9 smd rect (at -2.40 -2.29 0.00) (size 0.50 1.15) (layers F.Cu F.Paste F.Mask))
(pad A1B12 smd rect (at -3.20 -2.29 0.00) (size 0.50 1.15) (layers F.Cu F.Paste F.Mask))
(pad 13 smd rect (at -5.12 -1.71 0.00) (size 1.50 1.50) (layers F.Cu F.Paste F.Mask))
(pad 14 smd rect (at 5.12 -1.71 0.00) (size 1.50 1.50) (layers F.Cu F.Paste F.Mask))
(pad 16 smd rect (at 5.12 2.29 0.00) (size 1.50 1.50) (layers F.Cu F.Paste F.Mask))
(pad 15 smd rect (at -5.12 2.29 0.00) (size 1.50 1.50) (layers F.Cu F.Paste F.Mask))
(pad B5 smd rect (at 1.75 -2.29 0.00) (size 0.26 1.15) (layers F.Cu F.Paste F.Mask))
(pad A8 smd rect (at 1.25 -2.29 0.00) (size 0.26 1.15) (layers F.Cu F.Paste F.Mask))
(pad B6 smd rect (at 0.75 -2.29 0.00) (size 0.26 1.15) (layers F.Cu F.Paste F.Mask))
(pad A7 smd rect (at 0.25 -2.29 0.00) (size 0.26 1.15) (layers F.Cu F.Paste F.Mask))
(pad A6 smd rect (at -0.25 -2.29 0.00) (size 0.26 1.15) (layers F.Cu F.Paste F.Mask))
(pad B7 smd rect (at -0.75 -2.29 0.00) (size 0.26 1.15) (layers F.Cu F.Paste F.Mask))
(pad A5 smd rect (at -1.25 -2.29 0.00) (size 0.26 1.15) (layers F.Cu F.Paste F.Mask))
(pad B8 smd rect (at -1.75 -2.29 0.00) (size 0.26 1.15) (layers F.Cu F.Paste F.Mask))
(pad "" thru_hole circle (at 2.89 -1.21) (size 0.65 0.65) (drill 0.65) (layers *.Cu *.Mask))
(pad "" thru_hole circle (at -2.89 -1.21) (size 0.65 0.65) (drill 0.65) (layers *.Cu *.Mask))
(fp_circle (center -5.70 -2.49) (end -5.67 -2.49) (layer F.Fab) (width 0.06))
(fp_circle (center 2.89 -1.21) (end 3.01 -1.21) (layer Cmts.User) (width 0.25))
(fp_circle (center -2.89 -1.21) (end -2.77 -1.21) (layer Cmts.User) (width 0.25))
)
+3572 -3234
View File
File diff suppressed because it is too large Load Diff
+2588 -1864
View File
File diff suppressed because it is too large Load Diff