|
|
9a4f27e8be
|
Wiring diagram: realistic S2 Mini based on WEMOS pinout image
- Magenta PCB color matching actual board
- USB-C at bottom, dual-column pin headers
- Mounting holes, RST/0 buttons, LED indicator
- Gold through-hole pins with correct pinout
- Added attenuation reference table
|
2026-02-03 11:23:14 -07:00 |
|
|
|
a5b690530f
|
Wiring diagram: use net labels instead of wire traces
|
2026-02-03 10:56:56 -07:00 |
|
|
|
86a5db5b08
|
Optimize pin mapping for direct bitwise GPIO ops
Rewire GPIO↔HMC472A so GPIO(n) = step bit (n-1):
GPIO1→V6(0.5dB), GPIO2→V5(1dB), ... GPIO6→V1(16dB)
This enables single-instruction GPIO updates:
GPIO.out_w1tc = (step & 0x3F) << 1
GPIO.out_w1ts = (~step) & 0x7E
Replaces 28-line loop with 4-line bitwise code.
|
2026-02-03 00:28:33 -07:00 |
|
|
|
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 |
|