hmc472/hardware/hmc472-controller.kicad_sch
Ryan Malloy b5794c5f8d Add hardware wiring documentation and KiCad schematic
- wiring.md: Pin mapping table, module pinout, logic levels
- wiring-diagram.svg: Visual connection diagram (S2 Mini ↔ HMC472A)
- hmc472-controller.kicad_pro/sch: KiCad project for EDA work

GPIO1-6 → V1-V6 (active-low, 16/8/4/2/1/0.5 dB)
5V VBUS → +5V, GND → GND
2026-02-03 00:04:56 -07:00

435 lines
11 KiB
Plaintext

(kicad_sch
(version 20231120)
(generator "eeschema")
(generator_version "8.0")
(uuid "e63e39d7-6ac0-4ffd-8aa3-1841a4541b55")
(paper "A4")
(title_block
(title "HMC472A Attenuator Controller")
(date "2026-02-02")
(rev "1.0")
(comment 1 "ESP32-S2 Mini to HMC472A Module Wiring")
(comment 2 "6-bit Digital RF Attenuator 0-31.5dB")
)
(lib_symbols
(symbol "Connector_Generic:Conn_01x08"
(pin_names (offset 1.016) hide)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(property "Reference" "J"
(at 0 10.16 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "Conn_01x08"
(at 0 -12.7 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" ""
(at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~"
(at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "Conn_01x08_1_1"
(rectangle (start -1.27 7.62) (end 1.27 -10.16)
(stroke (width 0.254) (type default))
(fill (type background))
)
(pin passive line (at -5.08 7.62 0) (length 3.81) (name "Pin_1" (effects (font (size 1.27 1.27)))) (number "1" (effects (font (size 1.27 1.27)))))
(pin passive line (at -5.08 5.08 0) (length 3.81) (name "Pin_2" (effects (font (size 1.27 1.27)))) (number "2" (effects (font (size 1.27 1.27)))))
(pin passive line (at -5.08 2.54 0) (length 3.81) (name "Pin_3" (effects (font (size 1.27 1.27)))) (number "3" (effects (font (size 1.27 1.27)))))
(pin passive line (at -5.08 0 0) (length 3.81) (name "Pin_4" (effects (font (size 1.27 1.27)))) (number "4" (effects (font (size 1.27 1.27)))))
(pin passive line (at -5.08 -2.54 0) (length 3.81) (name "Pin_5" (effects (font (size 1.27 1.27)))) (number "5" (effects (font (size 1.27 1.27)))))
(pin passive line (at -5.08 -5.08 0) (length 3.81) (name "Pin_6" (effects (font (size 1.27 1.27)))) (number "6" (effects (font (size 1.27 1.27)))))
(pin passive line (at -5.08 -7.62 0) (length 3.81) (name "Pin_7" (effects (font (size 1.27 1.27)))) (number "7" (effects (font (size 1.27 1.27)))))
(pin passive line (at -5.08 -10.16 0) (length 3.81) (name "Pin_8" (effects (font (size 1.27 1.27)))) (number "8" (effects (font (size 1.27 1.27)))))
)
)
)
(text "ESP32-S2 Mini\n(WEMOS/LOLIN)"
(exclude_from_sim no)
(at 63.5 50.8 0)
(effects (font (size 2.54 2.54) bold) (justify left))
(uuid "text-esp32-title")
)
(text "HMC472A Module\n6-bit RF Attenuator"
(exclude_from_sim no)
(at 152.4 50.8 0)
(effects (font (size 2.54 2.54) bold) (justify left))
(uuid "text-hmc472-title")
)
(text "ACTIVE LOW LOGIC:\nLOW = Attenuate\nHIGH = Pass (0 dB)"
(exclude_from_sim no)
(at 109.22 130.81 0)
(effects (font (size 1.524 1.524)) (justify left))
(uuid "text-logic-note")
)
(text "Control Pins (active-low):"
(exclude_from_sim no)
(at 152.4 60.96 0)
(effects (font (size 1.524 1.524)) (justify left))
(uuid "text-control-header")
)
(symbol
(lib_id "Connector_Generic:Conn_01x08")
(at 76.2 78.74 0)
(mirror y)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(uuid "esp32-s2-mini-header")
(property "Reference" "J1"
(at 76.2 60.96 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "ESP32-S2 Mini"
(at 76.2 93.98 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" ""
(at 76.2 78.74 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~"
(at 76.2 78.74 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1"
(uuid "esp32-pin1")
)
(pin "2"
(uuid "esp32-pin2")
)
(pin "3"
(uuid "esp32-pin3")
)
(pin "4"
(uuid "esp32-pin4")
)
(pin "5"
(uuid "esp32-pin5")
)
(pin "6"
(uuid "esp32-pin6")
)
(pin "7"
(uuid "esp32-pin7")
)
(pin "8"
(uuid "esp32-pin8")
)
(instances
(project "hmc472-controller"
(path "/e63e39d7-6ac0-4ffd-8aa3-1841a4541b55"
(reference "J1")
(unit 1)
)
)
)
)
(symbol
(lib_id "Connector_Generic:Conn_01x08")
(at 160.02 78.74 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(uuid "hmc472-module-header")
(property "Reference" "J2"
(at 160.02 60.96 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "HMC472A Module"
(at 160.02 93.98 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" ""
(at 160.02 78.74 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~"
(at 160.02 78.74 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1"
(uuid "hmc472-pin1")
)
(pin "2"
(uuid "hmc472-pin2")
)
(pin "3"
(uuid "hmc472-pin3")
)
(pin "4"
(uuid "hmc472-pin4")
)
(pin "5"
(uuid "hmc472-pin5")
)
(pin "6"
(uuid "hmc472-pin6")
)
(pin "7"
(uuid "hmc472-pin7")
)
(pin "8"
(uuid "hmc472-pin8")
)
(instances
(project "hmc472-controller"
(path "/e63e39d7-6ac0-4ffd-8aa3-1841a4541b55"
(reference "J2")
(unit 1)
)
)
)
)
(text "5V (VBUS)"
(exclude_from_sim no)
(at 63.5 71.12 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid "label-esp-5v")
)
(text "GPIO1"
(exclude_from_sim no)
(at 63.5 73.66 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid "label-esp-gpio1")
)
(text "GPIO2"
(exclude_from_sim no)
(at 63.5 76.2 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid "label-esp-gpio2")
)
(text "GPIO3"
(exclude_from_sim no)
(at 63.5 78.74 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid "label-esp-gpio3")
)
(text "GPIO4"
(exclude_from_sim no)
(at 63.5 81.28 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid "label-esp-gpio4")
)
(text "GPIO5"
(exclude_from_sim no)
(at 63.5 83.82 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid "label-esp-gpio5")
)
(text "GPIO6"
(exclude_from_sim no)
(at 63.5 86.36 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid "label-esp-gpio6")
)
(text "GND"
(exclude_from_sim no)
(at 63.5 88.9 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid "label-esp-gnd")
)
(text "+5V"
(exclude_from_sim no)
(at 172.72 71.12 0)
(effects (font (size 1.27 1.27)) (justify left))
(uuid "label-hmc-5v")
)
(text "V6 (0.5dB)"
(exclude_from_sim no)
(at 172.72 73.66 0)
(effects (font (size 1.27 1.27)) (justify left))
(uuid "label-hmc-v6")
)
(text "V5 (1dB)"
(exclude_from_sim no)
(at 172.72 76.2 0)
(effects (font (size 1.27 1.27)) (justify left))
(uuid "label-hmc-v5")
)
(text "V4 (2dB)"
(exclude_from_sim no)
(at 172.72 78.74 0)
(effects (font (size 1.27 1.27)) (justify left))
(uuid "label-hmc-v4")
)
(text "V3 (4dB)"
(exclude_from_sim no)
(at 172.72 81.28 0)
(effects (font (size 1.27 1.27)) (justify left))
(uuid "label-hmc-v3")
)
(text "V2 (8dB)"
(exclude_from_sim no)
(at 172.72 83.82 0)
(effects (font (size 1.27 1.27)) (justify left))
(uuid "label-hmc-v2")
)
(text "V1 (16dB)"
(exclude_from_sim no)
(at 172.72 86.36 0)
(effects (font (size 1.27 1.27)) (justify left))
(uuid "label-hmc-v1")
)
(text "GND"
(exclude_from_sim no)
(at 172.72 88.9 0)
(effects (font (size 1.27 1.27)) (justify left))
(uuid "label-hmc-gnd")
)
(wire
(pts (xy 81.28 71.12) (xy 154.94 71.12))
(stroke (width 0) (type default))
(uuid "wire-5v")
)
(wire
(pts (xy 81.28 73.66) (xy 127 73.66))
(stroke (width 0) (type default))
(uuid "wire-gpio1-a")
)
(wire
(pts (xy 127 73.66) (xy 127 86.36))
(stroke (width 0) (type default))
(uuid "wire-gpio1-b")
)
(wire
(pts (xy 127 86.36) (xy 154.94 86.36))
(stroke (width 0) (type default))
(uuid "wire-gpio1-c")
)
(wire
(pts (xy 81.28 76.2) (xy 124.46 76.2))
(stroke (width 0) (type default))
(uuid "wire-gpio2-a")
)
(wire
(pts (xy 124.46 76.2) (xy 124.46 83.82))
(stroke (width 0) (type default))
(uuid "wire-gpio2-b")
)
(wire
(pts (xy 124.46 83.82) (xy 154.94 83.82))
(stroke (width 0) (type default))
(uuid "wire-gpio2-c")
)
(wire
(pts (xy 81.28 78.74) (xy 121.92 78.74))
(stroke (width 0) (type default))
(uuid "wire-gpio3-a")
)
(wire
(pts (xy 121.92 78.74) (xy 121.92 81.28))
(stroke (width 0) (type default))
(uuid "wire-gpio3-b")
)
(wire
(pts (xy 121.92 81.28) (xy 154.94 81.28))
(stroke (width 0) (type default))
(uuid "wire-gpio3-c")
)
(wire
(pts (xy 81.28 81.28) (xy 119.38 81.28))
(stroke (width 0) (type default))
(uuid "wire-gpio4-a")
)
(wire
(pts (xy 119.38 81.28) (xy 119.38 78.74))
(stroke (width 0) (type default))
(uuid "wire-gpio4-b")
)
(wire
(pts (xy 119.38 78.74) (xy 154.94 78.74))
(stroke (width 0) (type default))
(uuid "wire-gpio4-c")
)
(wire
(pts (xy 81.28 83.82) (xy 116.84 83.82))
(stroke (width 0) (type default))
(uuid "wire-gpio5-a")
)
(wire
(pts (xy 116.84 83.82) (xy 116.84 76.2))
(stroke (width 0) (type default))
(uuid "wire-gpio5-b")
)
(wire
(pts (xy 116.84 76.2) (xy 154.94 76.2))
(stroke (width 0) (type default))
(uuid "wire-gpio5-c")
)
(wire
(pts (xy 81.28 86.36) (xy 114.3 86.36))
(stroke (width 0) (type default))
(uuid "wire-gpio6-a")
)
(wire
(pts (xy 114.3 86.36) (xy 114.3 73.66))
(stroke (width 0) (type default))
(uuid "wire-gpio6-b")
)
(wire
(pts (xy 114.3 73.66) (xy 154.94 73.66))
(stroke (width 0) (type default))
(uuid "wire-gpio6-c")
)
(wire
(pts (xy 81.28 88.9) (xy 154.94 88.9))
(stroke (width 0) (type default))
(uuid "wire-gnd")
)
(text "Wiring Table:\nGPIO1 → V1 (16dB)\nGPIO2 → V2 (8dB)\nGPIO3 → V3 (4dB)\nGPIO4 → V4 (2dB)\nGPIO5 → V5 (1dB)\nGPIO6 → V6 (0.5dB)\n5V → +5V\nGND → GND"
(exclude_from_sim no)
(at 63.5 111.76 0)
(effects (font (size 1.524 1.524)) (justify left))
(uuid "text-wiring-table")
)
(text "Notes:\n• HMC472A accepts 0-5V TTL/CMOS logic\n• ESP32-S2 GPIO is 3.3V — compatible\n• Total attenuation = sum of active bits\n• Max attenuation: 31.5 dB (all LOW)\n• Min attenuation: 0 dB (all HIGH)"
(exclude_from_sim no)
(at 127 111.76 0)
(effects (font (size 1.524 1.524)) (justify left))
(uuid "text-notes")
)
)