How n1kdo/antennaswitchcontrol works
Main System Components
a) Hardware Layer:
• Antenna Switch Control Board (PCB designed in KiCAD)
• Array Solutions "SixPak" or 2x8 antenna switch
• Elecraft HF Radios (up to 2)
• Band Decoders (external components)
• WiFi connectivity module (Raspberry Pi Pico W)
b) Software Layer:
• Web Server Component (http_server.py)
• Control Logic (main.py)
• Network Management (picow_network.py)
• Relay Control System (relays.py)
• Configuration Management (data/config.json)
• User Interface Components (content/*.html)
[Physical Layer]
• Antennas (up to 8) ←→ SixPak Switch ←→ Control Board ←→ Band Decoders ←→ Radios (up to 2)
• ↑ ↑
[Control Layer]
• Relay Control Logic ←→ Main Controller ←→ WiFi Module
• ↑ ↑ ↑
[Application Layer]
• Web Server ←→ Configuration Management ←→ Network Management
• ↑
[User Interface Layer]
• Control Panel UI, Antenna Setup UI, Radio Setup UI, Network Setup UI
Key Relationships to Highlight
• Red: RF signal path
• Blue: Control signals
• Green: Network communications
• Yellow: User interface elements
Implementation Details
• Use standard networking symbols for WiFi and network components
• Use electronic symbols for RF components and switches
• Annotations for critical features like:
• Maximum number of supported antennas (8)
• Number of supported radios (2)
• WiFi protection advantage
• Band decoder integration points
Technical Specifications
• Interface specifications for the SixPak switch
• WiFi module specifications
• Relay control parameters
• Web server port and protocol information
• Configuration file structure reference
Additional Notes
• Version information
• Reference to external Band Selector project
• Scalability options (6-antenna vs 8-antenna configurations)
• Maintenance access points
• Multiple layers
• Custom symbols
• Proper technical notation
• Export to high-resolution formats
• Easy updating for future modifications