Go up one level.

The HomeBrew Gen3 (HBG3) Accessory for Celestron Mounts

This third-generation (Gen3) design, for interfacing to the AUX bus of a Celestron computerized telescope mount, is known as the "HomeBrew Gen3", or "HBG3" for short. It is the culmination of three years of experimentation and earlier attempts. The Gen3 hardware uses active 5V TTL drive with current-limiting resistors to make it 100% electrically safe -- safer and more compatible than some of Celestron's own products! This design works with any Celestron telescope mount that has an AUX port, even the ancient Nexstar GPS mount.

The HBG3 is intended as a DIY project (more on this below).
PCBs can be obtained by emailing the author.

See the HomeBrew Gen3 thread on CloudyNights for development and discussion of the design.

HomeBrew Gen3 (HBG3) accessory for Celestron Telescopes.

What Is It?

The HBG3 is a small electronic device that attaches to an AUX (or hand-controller) port of a Celestron Telescope mount. It provides multiple ways for computers, smartphones, and tablets to connect to and control the mount with CPWI, SkyPortal, or SkySafari+/Pro software:

  • 802.11n 2.4GHz WiFi, compatible with any software that understands "Celestron WiFi" as a connection method, including CPWI, SkyPortal, and SkySafari+ or SkySafari-Pro. Functionality is a superset of that provided by Celestron's own third-generation SkyPortal/SkyQLink WiFi adapters, and a mechanical switch is used to select between what Celestron calls "Direct Connect" (server), and "Access Point" (client) modes of operation.
  • Bluetooth Classic, which connects with SkyPortal/SkySafari on an Android device through the assistance of a 3rd-party Android app to bridge the connection from Bluetooth to TCP/IP. This then appears to the apps as "Celestron WiFi" in "Access Point" mode. Click here for detailed information on using Android Bluetooth. Bluetooth tends to be more reliable than WiFi, because of lower bandwidth and better tolerance of device power-saving mechanisms. Apple chose not to support Bluetooth Classic on the iPhone/iPad, so this is an Android-only thing. CPWI on a PC can also connect to Bluetooth as if it were a "Serial" or "USB" connection.
  • Direct wired USB, aka. "PC-Port" or "Mount-USB" (or "MUSB"), giving CPWI and other software a solid connection to the mount without the interference issues that can arise with 2.4GHz wireless connections. A mechanical switch is used to select this mode of operation. The computer's operating system must have device drivers installed for the Silicon Labs CP210x USB-Serial adapters (more on this below).
  • Unlike other third-party (eg. SkyFi) modules, the HBG3 does not connect through a hand-controller, and does not require a separate power supply or battery. It instead plugs directly into the mount, and is powered by the mount, just like Celestron's own accessories. It draws very little power though, so no worries about that!

    What Else Can It Do?

    The HBG3 has a plethora of other useful capabilities, including GPS ("SkySync"), a Nunchuck (thumbstick) interface, OLED display, Smart 2X DewHeater controller, Focus-Motor emulation and control, wireless Nexstar+ hand-controller, workarounds for Celestron bugs, etc. Click Here for more about it all!

    Blue swith (USB/RF-Kill); Red switch (WiFi mode).

    What Are The Red/Blue Switches For?

    There are normally two tiny slider switches on the HBG3, with the left side one coloured Blue, and the right side one coloured Red.

    The Blue switch should be down, closest to the PCB, for normal operation. When it is up, away from the PCB, this selects Mount-USB (MUSB) mode and also turns off WiFi and Bluetooth.

    The Red switch is used to select between the two WiFi modes. Down means "direct connect mode", where the HBG3 acts as a SoftAP or WiFi Server. Up means "access point mode", where the HBG3 will become a client of some other existing WiFi network, after first configuring the SSID/passkey for such using one of the apps.

    Where Do I Get One?

    The HomeBrew Gen3 is intended as a DIY project, and the schematic and Open Source source code (click to download) are freely available.

    Acquiring a mostly pre-wired PCB with pre-soldered SMDs is recommended, and makes the job a lot simpler and less error-prone. The remaining assembly steps mainly involve simple through-hole soldering. The PCB can be obtained by emailing the author.

    Whichever way, it will still involve some DIY. One must do their own research by reading everything about it on this site, and browsing the HomeBrew Gen3 thread at CloudyNights for more detail.

    An assembly pictorial using the PCB is available here. Updated: An updated parts list is now available here.

    January 38, 2024 Update:
    No PCBs, no Kits, no pre-assembled units remain. Nothing, Nada!
    PCBs will be available again in the future, but not until at least mid-March 2024. Do NOT email me about them until then.
    No more pre-assembled units are planned.

    How To Upload/Update The Firmware?

    If your HBG3 has v8.1 or newer firmware already, there is now a built-in OTA Firmware Updater. This can be accessed from the OLED display, or from the serial/debug monitor with the "ota_update" command. No need to install anything else to perform firmware updates! For this to work, the HBG3 needs internet access using "Access Point" mode for WiFi. See here for WiFi instructions. Unlike Celestron's updates, updating the HBG3 firmware is safe and cannot result in a "bricked" unit.

    A complete self-contained build system for building/uploading the firmware from source code is also available:
    HBG3_Arduino_Linux64.tgz (Linux64, 638MBytes).
    HBG3_Arduino.zip (MS-Windows, 868MBytes).
    Both of the above include source code for all versions of the HBG3 firmware.

    MS-Windows users will need to install the Universal CP210x Serial Port drivers (either from here, or using the copy included in the provided Arduino .ZIP archive above). Extract the driver ZIP contents, then right-click on the extracted silabser.inf file, and click INSTALL. You should now be able to connect the HomeBrew USB to the PC and see it be assigned a COM port. Linux users (of course!) will already have the driver (built into the kernel).

    An alternative method for updating from firmware older than v8.1 on MS-Windows, might be to install/use the ESP32 binary flasher.

    Speaking of the firmware, click here for a near-complete version history.

    Recent revision of the HBG3 PCB
    HBG3 with GPS+OLED HBG3 with GPS+OLED HBG3 with GPS+OLED
    HomeBrew Gen3 side2 Newest revision of the HBG3-Relay PCB HBG3-Relay HBG3-Relay Three generations of Relay PCBs

    HBG3 Standalone Focus Motor Controller with 12V feed-through power and red Nunchuck

    HBG3 Standalone Focus Motor Controller with 12V feed-through power and red Nunchuck.