EQ Switch

- Published on

⚡ EQSwitch: Observatory Power & Device Control Hub
EQSwitch is an open-source, Arduino-based relay controller that simplifies power and automation management in astrophotography rigs and observatories. Designed to support remote operations, EQSwitch enables users to toggle power to key devices—cameras, dew heaters, fans, routers, focusers, and more—directly from their PC or automation software.
Built for reliability and customization, EQSwitch provides a simple and flexible way to automate your setup without relying on expensive commercial power distribution hubs.
🧭 Why I Built EQSwitch
Remote astrophotography requires robust control over power and peripherals. In many cases, astronomers need to reboot devices, power-cycle USB hubs, or toggle dew heaters from inside the house or during automated imaging runs. Commercial observatory control systems are often expensive, overengineered, or not customizable enough.
EQSwitch was created to give astronomers a modular, affordable, and fully open way to control power to their devices—with the option to expand based on their setup needs.
🔌 Key Features
4-Channel Relay Control (Expandable)
Control up to four independent 12V power lines, each connected to devices such as focusers, heaters, or cameras. Easily extendable with larger relay boards.USB Serial Control Interface
Plug-and-play interface via USB using standard COM port commands—compatible with scripts, NINA, or custom automation tools.Safe Startup State
All relays initialize in an off state to avoid accidental power-on of sensitive equipment during boot.Custom Command Protocol
Simple serial command set (e.g.,A1
to turn on relay A,A0
to turn it off), making it easy to script or integrate.Status Feedback via Serial Console
Optional status messages for each command, useful for logging or visual verification.Low Power Arduino Nano Core
Powered by an Arduino Nano for compact and efficient control with easy firmware updates.Open Hardware Design
Built with off-the-shelf components and designed for hobbyist-grade or professional observatory use.
🧰 What’s Included in the GitHub Repo
- ✅ Arduino firmware (written in C++)
- ✅ Serial command interface documentation
- ✅ Wiring diagrams for relays and 12V distribution
- ✅ Sample control scripts
- ✅ STL files for enclosure (optional upload)
- ✅ Bill of materials (BOM) for easy sourcing
🔗 github.com/EverettQuebral/EQSwitch
🛠️ Hardware Requirements
Component | Details |
---|---|
Arduino Nano | Core microcontroller for serial and relay logic |
4-Channel Relay Board | Controls up to 4 independent devices |
12V Power Supply | External DC power input to drive relays and connected devices |
USB Cable | For serial communication |
Terminal Blocks / Barrel Jacks | Optional for wiring convenience |
Enclosure (optional) | 3D printable or custom case to protect components |
💡 Use Cases
🔭 Remote Power Cycling
Restart devices like ASI cameras, USB hubs, or Raspberry Pi controllers mid-session.❄️ Dew Heater Control
Turn dew heaters on/off based on environmental readings or schedule.🌌 Telescope Fan & Cooler Control
Enable mirror fans or Peltier coolers only when needed, saving power.🌐 Wi-Fi Router or USB Hub Automation
Toggle network gear without physical access, great for remote observatories.
🧪 How It Works
Each relay is addressed by a letter (A, B, C, D), and can be controlled via a simple command over the serial interface.
Example commands:
A1 // Turn ON Relay A
A0 // Turn OFF Relay A
D1 // Turn ON Relay D
You can control it using:
- Arduino Serial Monitor
- Python or Node.js scripts
- NINA External Devices plugin
- Windows Task Scheduler for time-based events
🖥️ Software & Integration
Feature | Support |
---|---|
Arduino IDE | ✅ |
Windows COM Port Script | ✅ |
NINA Integration | ✅ via External Devices or scripting |
ASCOM Support | ❌ (optional future feature) |
Home Assistant / MQTT | 🛠️ Potential with Wi-Fi upgrade (ESP32) |
🧩 Future Development Plans
- ESP32-based Wi-Fi version for wireless power control
- MQTT/REST integration for smart observatories
- ASCOM switch device driver
- Web-based control panel with real-time status
- Current draw monitoring per relay channel
- Enclosure design and printable case
🌌 Real-World Scenario
In my personal imaging setup, EQSwitch is used to manage:
- Dew heaters on dual OTA mounts
- USB hub resets in case of camera freezing
- Toggle power to Raspberry Pi guiding controller
- Timed fan control during cooldown phases before imaging
The result? A more resilient, hands-free, and automated observatory workflow that reduces unnecessary trips to the mount and enables longer unattended sessions.
💬 Final Thoughts
If you're looking for a way to build your own observatory control box, save costs, and own every part of the stack, EQSwitch is an ideal project. It's perfect for DIY astrophotographers who value flexibility, cost-efficiency, and open design.
📦 Check it out on GitHub:
👉 github.com/EverettQuebral/EQSwitch