> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dwe.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# stellarHD Quick Start Guide

> This guide will help you connect your stellarHD to your computer and receive an image! **Select your connector on the right.**

<View title="WetLink">
  ## Pass your cable through a bulkhead

  For Epoxy or WetLink models, follow the cable pinout guide located on the specification page for your stellarHD model.

  Below is an example of passing the exposed wiring through an M10 WetLink bulkhead to be installed onto your vehicle endcap.

  <Frame caption="Vehicle-side WetLink Bulkhead">
    <img
      src="https://mintcdn.com/deepwaterexplorationinc/NrWVR9Qe6FWmBE6d/stellarHD/guides/images/quickstart/WetLink-ROV-side-Bulkhead.jpg?fit=max&auto=format&n=NrWVR9Qe6FWmBE6d&q=85&s=ca42f913d8962ec6d7d7826ecbcf3ea0"
      style={{
        width: "400px", 
        aspectRatio: "16 / 11", 
        objectFit: "cover", 
        objectPosition: "30% 30%"
    }}
      className="rounded-lg"
      width="2560"
      height="2560"
      data-path="stellarHD/guides/images/quickstart/WetLink-ROV-side-Bulkhead.jpg"
    />
  </Frame>
</View>

<View title="Cobalt">
  ## Connect your Camera to a Bulkhead

  For Cobalt, follow the pinout guide located on the specification page for your stellarHD model.

  Below is an example of a [pre-made cobalt bulkhead](https://dwe.ai/collections/our-parts-and-accessories/products/cobalt-to-jst-connector).

  <Frame caption="Cobalt to JST Connector">
    <img
      src="https://mintcdn.com/deepwaterexplorationinc/NrWVR9Qe6FWmBE6d/stellarHD/guides/images/quickstart/DWE-Cobalt-to-JST-Connector.jpg?fit=max&auto=format&n=NrWVR9Qe6FWmBE6d&q=85&s=b0e0eb1dcc14fd5460b93d6efd4c37b1"
      style={{
        width: "400px", 
        aspectRatio: "16 / 11", 
        objectFit: "cover", 
        objectPosition: "30% 30%"
    }}
      className="rounded-lg"
      width="4556"
      height="4556"
      data-path="stellarHD/guides/images/quickstart/DWE-Cobalt-to-JST-Connector.jpg"
    />
  </Frame>
</View>

<View title="SubConn">
  ## Connect your Camera to a Bulkhead

  For SubConn, follow the pinout guide located on the specification page for your stellarHD model.

  Below is an example of a [pre-made SubConn MCBH8M bulkhead](https://dwe.ai/collections/our-parts-and-accessories).

  <Frame caption="SubConn to JST Connector">
    <img
      src="https://mintcdn.com/deepwaterexplorationinc/NrWVR9Qe6FWmBE6d/stellarHD/guides/images/quickstart/DWE-SubConn-to-JST-Connector.png?fit=max&auto=format&n=NrWVR9Qe6FWmBE6d&q=85&s=f750163c07956217a920ed6f9a2d919e"
      style={{
        width: "400px", 
        aspectRatio: "16 / 11", 
        objectFit: "cover", 
        objectPosition: "30% 30%"
    }}
      className="rounded-lg"
      width="4556"
      height="4556"
      data-path="stellarHD/guides/images/quickstart/DWE-SubConn-to-JST-Connector.png"
    />
  </Frame>
</View>

## Preparing the JST Cable Connection

<Steps>
  <Step title="Review the wire functions before connecting">
    <Frame>
      <img height="500px" src="https://mintcdn.com/deepwaterexplorationinc/NrWVR9Qe6FWmBE6d/snippets/cable-pinout-options/images/stellarHD-JST.png?fit=max&auto=format&n=NrWVR9Qe6FWmBE6d&q=85&s=d9bb331b22194c64fcea31259e47cbf1" data-path="snippets/cable-pinout-options/images/stellarHD-JST.png" />
    </Frame>

    | Color | Function           | Wire Gauge (AWG) |
    | ----- | ------------------ | ---------------- |
    | Red   | 5V                 | 24               |
    | White | D- (Data Negative) | 28               |
    | Green | D+ (Data Positive) | 28               |
    | Black | Ground             | 24               |
    | Blue  | FSIN (Frame-Sync)  | 28               |

    <Warning>
      Ensure you **do not mix up the +5V Power and Ground**. Doing so can permanently damage your device and void warranty.
    </Warning>
  </Step>

  <Step title="Ensure the following two wires are twisted/intertwined. Twisted pairs ensures the data signal is strong.">
    <Frame>
      <img width="500px" src="https://mintcdn.com/deepwaterexplorationinc/NrWVR9Qe6FWmBE6d/stellarHD/guides/images/quickstart/twisted_pair.jpg?fit=max&auto=format&n=NrWVR9Qe6FWmBE6d&q=85&s=b1cdcaa767d4b8b1246f8b935ef1f19c" data-path="stellarHD/guides/images/quickstart/twisted_pair.jpg" />
    </Frame>
  </Step>

  <Step title="Connect the wires to the JST Connector">
    <Frame>
      <video controls={false} autoPlay loop muted height="300px" className="w-full aspect-video" src="https://cdn.shopify.com/videos/c/o/v/eb935c9753d444baabe6f96ffd66a03d.webm" />
    </Frame>
  </Step>

  <Step title="Connect the JST to the Adapter">
    <Frame>
      <img height="300px" src="https://mintcdn.com/deepwaterexplorationinc/NrWVR9Qe6FWmBE6d/stellarHD/guides/images/quickstart/jst-to-adapter.gif?s=d170ad47b7260d07c2d2ba1abeca0ea1" data-path="stellarHD/guides/images/quickstart/jst-to-adapter.gif" />
    </Frame>
  </Step>

  <Step title="Connect the Adapter to the USB Port on your computer">
    <Frame>
      <img height="300px" src="https://mintcdn.com/deepwaterexplorationinc/NrWVR9Qe6FWmBE6d/stellarHD/guides/images/quickstart/adapter-to-usb-port.gif?s=3c158b178e24e072642b6891947ccdae" data-path="stellarHD/guides/images/quickstart/adapter-to-usb-port.gif" />
    </Frame>
  </Step>
</Steps>

## Test Your Camera Online

Connect the USB cable to a computer to confirm the camera is working and in the correct orientation.

You can test the camera using our tool below.

<Card title="Online Camera Testing Utility" icon="video" href="https://dwe.ai/testcam">
  Convenient tool to test your USB camera feeds.
</Card>

If the camera is showing up on your computer, you are done! You can now move onto using more advanced features of the stellarHD.

If you are having issues, please check our [troubleshooting](#troubleshooting) below.

## Advanced Features

<Columns cols={2}>
  <Card title="Frame-Synchronization Guide" icon="gear" href="/stellarHD/guides/syncing-multiple-cameras">
    Click here for a guide on how to synchronize multiple stellarHD cameras that feature a frame-sync cable.
  </Card>

  <Card title="OpenCV" icon="https://github.com/opencv/opencv/wiki/logo/OpenCV_logo_no_text.png" href="/stellarHD/guides/syncing-multiple-cameras">
    Click here to see our resources for using the stellarHD with OpenCV.
  </Card>
</Columns>

## Troubleshooting

### Double-Check Your Wiring Setup

[Ensure that the wire colors match](#preparing-the-jst-cable-connection) their respective functions when connected to the JST connector. Even a single crossed wire will prevent the camera from being recognized.

### Ensure the Data Wires are Twisted (Crucial)

The **White (D-)** and **Yellow/Green (D+)** wires must be twisted/intertwined together.
Because this is a USB 2.0 High-Speed connection, twisting these pairs is required
in order to prevent interference and ensure the data signal is strong enough for your
computer to recognize the camera.

### Check Connections and Power

Make sure the wires are seated securely in the JST connector.

Make sure the JST is pushed all the way into the USB adapter, and the adapter is securely plugged into your USB port.

The camera can draw up to 260mA of power (at 5V). Try plugging the adapter directly into your computer, rather than a low-power USB hub, to ensure it is getting sufficient current.

### OS Hardware Detection

Check if your computer's operating system is detecting the camera at a hardware level, even if it's not showing an image yet. Since it connects via USB, we are looking for a USB device connection.

<Tabs>
  <Tab title="Windows">
    1. Right-click the **Start button** (or press `Win` + `X`) and select **Device Manager**.
    2. Expand the following categories to look for the camera, `stellarHD`:
       * **Cameras**
       * **Imaging devices**
       * **Sound, video and game controllers**
    3. If the wiring is slightly off or the data lines aren't twisted properly, Windows might detect *something* but not know what it is. Expand **Universal Serial Bus controllers** and look for anything labeled **Unknown USB Device (Device Descriptor Request Failed)**.

    <Tip>
      Keep the Device Manager open and unplug/replug the USB adapter. The list will refresh; watch to see if any new devices appear or disappear.
    </Tip>

    <Frame>
      <img height="300px" src="https://mintcdn.com/deepwaterexplorationinc/NrWVR9Qe6FWmBE6d/stellarHD/guides/images/quickstart/windows-11-troubleshooting.png?fit=max&auto=format&n=NrWVR9Qe6FWmBE6d&q=85&s=ebae4cf303d4b478d71fcb6d8881f4d2" data-path="stellarHD/guides/images/quickstart/windows-11-troubleshooting.png" />
    </Frame>
  </Tab>

  <Tab title="macOS">
    1. Hold down the **Option** key on your keyboard, then click the **Apple logo** () in the top left corner of your screen.
    2. Select **System Information** (this is usually "About This Mac" if you don't hold the Option key).
           <Tip>
             Unplugging and replugging the camera while on this screen (and pressing `Cmd` + `R` to refresh) will help you spot if the system is registering a hardware connection.
           </Tip>
    3. In the left-hand sidebar under the "Hardware" section, click on **USB**.
    4. Check the **USB Device Tree** on the right. Look for the stellarHD camera or an unrecognized USB device.

    <Frame>
      <img height="300px" src="https://mintcdn.com/deepwaterexplorationinc/NrWVR9Qe6FWmBE6d/stellarHD/guides/images/quickstart/macOS-troubleshooting-stellar.png?fit=max&auto=format&n=NrWVR9Qe6FWmBE6d&q=85&s=d1f32482f0119e4d6a567e0f9c3932f9" data-path="stellarHD/guides/images/quickstart/macOS-troubleshooting-stellar.png" />
    </Frame>
  </Tab>

  <Tab title="Linux">
    1. Open your terminal.
    2. Type `lsusb` and press `Enter`. This lists all connected USB buses and the devices attached to them. Look for a device name that mentions the camera or an unnamed device that appears when plugged in.
       * You can also use this one-line command to detect a valid stellarHD camera:
       ```
       lsusb | grep -qiE "stellarhd|microdia|0c45" && echo "stellarHD connected!"
       ```
    3. To see if Linux recognizes it specifically as a video device (since it is V4L2 compatible), run:
       ```bash theme={null}
       ls -l /dev/video*
       ```
    4. For real-time connection logs, run the following command. When you plug the camera in, you should see a flurry of text appear, indicating whether the USB connection was successful or if there were enumeration errors (like `device descriptor read/64, error`).
       ```bash theme={null}
       sudo dmesg -w | grep usb
       ```

    <Frame caption="type `lsusb`, press enter, and look for your camera">
      <img height="300px" src="https://mintcdn.com/deepwaterexplorationinc/NrWVR9Qe6FWmBE6d/stellarHD/guides/images/quickstart/linux-troubleshooting.png?fit=max&auto=format&n=NrWVR9Qe6FWmBE6d&q=85&s=8edcb05aa9c5b7f9718a4982f65ecb9c" data-path="stellarHD/guides/images/quickstart/linux-troubleshooting.png" />
    </Frame>
  </Tab>
</Tabs>
