Skip to content

Commit

Permalink
M5: replaced discrete'ish switchmode with module
Browse files Browse the repository at this point in the history
  • Loading branch information
twystd committed Feb 24, 2025
1 parent e12f965 commit fb94966
Show file tree
Hide file tree
Showing 8 changed files with 861 additions and 1,503 deletions.
1 change: 1 addition & 0 deletions m5stack/NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
28. https://www.analog.com/en/resources/analog-dialogue/raqs/raq-issue-187.html
29. https://www.reddit.com/r/PrintedCircuitBoard/comments/16oiaoh/review_request_first_attempt_at/?rdt=39790
30. https://www.digikey.ca/en/articles/protecting-inputs-in-digital-electronics
31. https://electronics.stackexchange.com/questions/680928/unidirectional-or-bi-directional-tvs-diodes-which-one-to-use

## Isolation
1. https://medium.com/@jaydesai36/wiegand-interface-517a24107ede
Expand Down
2 changes: 1 addition & 1 deletion m5stack/TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## PCB
- [x] Replace SMD TranzOrbs with through-hole (for hand soldering)
- [ ] DC converter module
- [x] DC converter module
- [ ] Use ISO7843 to drive WS2812
- [ ] Lose the TX/RX jumpers and connect both UARTs
- (?) Put ISOW7842 on 'other' side of RP2040
Expand Down
64 changes: 56 additions & 8 deletions m5stack/kicad/library/uhppoted.kicad_sym
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,54 @@
)
)
)
(symbol "FISM 1769405241" (in_bom yes) (on_board yes)
(property "Reference" "U" (at -6.35 -6.35 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "FISM 1769405241" (at 0 6.35 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "uhppoted:WPME-FISM_SMT-8_1769205241" (at 1.27 12.7 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "https://www.we-online.com/components/products/datasheet/1769405241.pdf" (at 2.54 10.16 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "12V Input / 2W / 4kV Functional Isolated / Unregulated 5V Output" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_fp_filters" "SOT?23*" (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "FISM 1769405241_0_1"
(rectangle (start -7.62 5.08) (end 7.62 -5.08)
(stroke (width 0.254) (type default))
(fill (type background))
)
)
(symbol "FISM 1769405241_1_1"
(pin power_in line (at -10.16 -2.54 0) (length 2.54)
(name "-VIN" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin power_in line (at -10.16 2.54 0) (length 2.54)
(name "+VIN" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin power_out line (at 10.16 -2.54 180) (length 2.54)
(name "-VOUT" (effects (font (size 1.27 1.27))))
(number "4" (effects (font (size 1.27 1.27))))
)
(pin power_out line (at 10.16 2.54 180) (length 2.54)
(name "+VOUT" (effects (font (size 1.27 1.27))))
(number "5" (effects (font (size 1.27 1.27))))
)
(pin no_connect line (at 0 -7.62 90) (length 2.54) hide
(name "NC" (effects (font (size 1.27 1.27))))
(number "8" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "ISOW7841" (in_bom yes) (on_board yes)
(property "Reference" "U" (at 0 1.27 0)
(effects (font (size 1.27 1.27)))
Expand Down Expand Up @@ -647,24 +695,24 @@
)
)
(symbol "WaveShare_RP2040-Tiny" (in_bom yes) (on_board yes)
(property "Reference" "U" (at -11.43 15.24 0)
(property "Reference" "U" (at -10.16 20.32 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "WaveShare RP2040-Tiny" (at 12.7 -15.24 0)
(property "Value" "WaveShare RP2040-Tiny" (at 12.7 -19.05 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "uhppoted:RP2040-TINY" (at -11.43 12.7 0)
(property "Footprint" "uhppoted:RP2040-TINY" (at 0 -30.48 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "https://www.waveshare.com/wiki/RP2040-Tiny" (at 2.54 -19.05 0)
(property "Datasheet" "https://www.waveshare.com/wiki/RP2040-Tiny" (at 3.81 -33.02 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "WaveShare_RP2040-Tiny_1_1"
(rectangle (start -11.43 13.97) (end 10.16 -13.97)
(rectangle (start -11.43 19.05) (end 10.16 -17.78)
(stroke (width 0) (type default))
(fill (type background))
)
(pin power_in line (at -2.54 16.51 270) (length 2.54)
(pin power_in line (at -2.54 21.59 270) (length 2.54)
(name "5VDC" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
Expand Down Expand Up @@ -734,7 +782,7 @@
(alternate "SPI0 RX" input line)
(alternate "UART1 TX" output line)
)
(pin power_in line (at 0 -16.51 90) (length 2.54)
(pin power_in line (at 0 -20.32 90) (length 2.54)
(name "GND" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
Expand Down Expand Up @@ -764,7 +812,7 @@
(alternate "SPI0 RX" input line)
(alternate "UART0 TX" output line)
)
(pin power_out line (at 2.54 16.51 270) (length 2.54)
(pin power_out line (at 2.54 21.59 270) (length 2.54)
(name "3V3" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
(footprint "WPME-FISM_SMT-8_1769205241" (version 20221018) (generator pcbnew)
(layer "F.Cu")
(attr smd)
(fp_text reference "REF**" (at 0 -7.135) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 55b07b1a-df26-4329-b223-78fb939274be)
)
(fp_text value "WPME-FISM_SMT-8_1769205241" (at 0 6.865) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 956fac67-f7a4-4d51-8269-7208708bca38)
)
(fp_line (start -6.45 -3.9) (end -4.5 -3.9)
(stroke (width 0.2) (type solid)) (layer "F.SilkS") (tstamp ce919251-4de7-438b-809e-a7ee39a97d9d))
(fp_line (start -6.45 -3.85) (end -6.45 3.9)
(stroke (width 0.2) (type solid)) (layer "F.SilkS") (tstamp 3c68cb0e-c378-44c8-9765-4efd554767cf))
(fp_line (start -6.45 3.9) (end -4.5 3.9)
(stroke (width 0.2) (type solid)) (layer "F.SilkS") (tstamp bcf502a6-9a25-4619-95d5-d6075610d53b))
(fp_line (start -2 3.9) (end -3.1 3.9)
(stroke (width 0.2) (type solid)) (layer "F.SilkS") (tstamp ae396da9-05ef-492f-9dd0-6a8202998251))
(fp_line (start 3.1 -3.9) (end -3.1 -3.9)
(stroke (width 0.2) (type solid)) (layer "F.SilkS") (tstamp b3692b6a-4461-4457-9bc7-d59278712aec))
(fp_line (start 3.1 3.9) (end -0.55 3.9)
(stroke (width 0.2) (type solid)) (layer "F.SilkS") (tstamp afdc1868-6899-426a-a4be-a6e566e1bd94))
(fp_line (start 6.45 -3.9) (end 4.5 -3.9)
(stroke (width 0.2) (type solid)) (layer "F.SilkS") (tstamp 775021d1-17f3-453c-bd6a-6b06003c54c6))
(fp_line (start 6.45 3.85) (end 6.45 -3.9)
(stroke (width 0.2) (type solid)) (layer "F.SilkS") (tstamp 8e41364a-4aba-43f9-a6c4-375a7fbe1ea2))
(fp_line (start 6.45 3.9) (end 4.5 3.9)
(stroke (width 0.2) (type solid)) (layer "F.SilkS") (tstamp 9c622100-03fd-4d97-a139-08b028d03faf))
(fp_circle (center -5.5 4.8) (end -5.3 4.8)
(stroke (width 0.4) (type solid)) (fill none) (layer "F.SilkS") (tstamp e67e78a7-71d1-4c91-a678-e77ef71079bb))
(fp_poly
(pts
(xy -6.65 -5.95)
(xy 6.65 -5.95)
(xy 6.65 5.95)
(xy -6.65 5.95)
)

(stroke (width 0.1) (type solid)) (fill solid) (layer "F.CrtYd") (tstamp a86eb287-c278-44fe-aea2-c6d42e51cf0d))
(fp_line (start -6.35 -3.8) (end 6.35 -3.8)
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 8b402bfa-cb07-49c9-a613-069b63790d88))
(fp_line (start -6.35 3.8) (end -6.35 -3.8)
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp e0a21716-e192-46d9-a1c9-a2971e0472d9))
(fp_line (start 6.35 -3.8) (end 6.35 3.8)
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp c8fa5551-4489-456e-a8ac-194cfc7fbfc5))
(fp_line (start 6.35 3.8) (end -6.35 3.8)
(stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 7a7c19dd-4a42-45de-aa61-2a71a6e0175d))
(pad "1" smd rect (at -3.81 4.775) (size 0.8 1.95) (layers "F.Cu" "F.Paste" "F.Mask")
(solder_mask_margin 0.102) (tstamp 487137f3-e772-48f5-a2e1-2dc04ec60b23))
(pad "2" smd rect (at -1.27 4.775) (size 0.8 1.95) (layers "F.Cu" "F.Paste" "F.Mask")
(solder_mask_margin 0.102) (tstamp e0cb0c56-0c3d-4b10-93fd-b62bd820b5e2))
(pad "4" smd rect (at 3.81 4.775) (size 0.8 1.95) (layers "F.Cu" "F.Paste" "F.Mask")
(solder_mask_margin 0.102) (tstamp d0f769b3-fa7f-4e8c-9853-88e14eb20ea4))
(pad "5" smd rect (at 3.81 -4.775) (size 0.8 1.95) (layers "F.Cu" "F.Paste" "F.Mask")
(solder_mask_margin 0.102) (tstamp cd21c459-1872-43cd-966c-082c7bffabdc))
(pad "8" smd rect (at -3.81 -4.775) (size 0.8 1.95) (layers "F.Cu" "F.Paste" "F.Mask")
(solder_mask_margin 0.102) (tstamp 1f4fcead-efdd-458e-ac39-9924bc351730))
(model "${KICAD_UHPPOTED}/uhppoted.pretty/1769205241.step"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
Loading

0 comments on commit fb94966

Please sign in to comment.