###### tags: `FRC`
# Limelight
# 1. Getting Started
## 1-1. Mounting <font size = 3pt>(安裝)</font>
### 1-1-1. Limelight 1
Use four 1 1/4” 10-32 screws and nylock nuts to mount your Limelight.
使用四個 1 1/4” 10-32 螺絲和 nylock nuts 來組裝你的 Limelight
### 1-1-2. Limelight 2
Use four 1 1/2” 10-32 screws and nylock nuts to mount your Limelight.
使用四個 1 1/2” 10-32 螺絲和 nylock nuts 來組裝你的 Limelight
::: info
**Note**
*Q.*
What is the purpose of the status LEDs?
statue LEDs(狀態LEDs)的燈號分別代表什麼?
*A.*
1. The green LED will blink quickly when a target has been acquired.
當獲得目標時,綠燈會快速閃爍
2. The yellow LED will blink if the camera is set to use a dynamic IP address, and will stay solid if the camera is using a static IP address.
當鏡頭被設定去使用動態 IP 位址時將,黃燈將會閃爍
並且當鏡頭正在使用一個靜止的 IP 位址時黃燈將會常亮(保持固定)
:::
### 1-1-3. Pictures
:::spoiler 1. Limelight 實體圖片

:::
.
:::spoiler 2. Limelight 三視圖(正面)

:::
.
:::spoiler 3. Limelight 三視圖(背面)

:::
## 1-2. Wiring<font size = 3pt>(接線)</font>
:::info
**Note**
Limelight takes a 12V input, but is built to function down to 6V.
Its LEDs have a constant brightness down to 7V.
:::
Limelight 採用 12V 輸入,但其設計可在低至 6V 的電壓下運行
它的 LED 具有低至 7V 的恆定亮度
### 1-2-1. Standard Wiring <font size = 3pt>(標準接線)</font>
* Do not run wires to your VRM.
不要將線路接到 VRM(穩流器) 上
* Run two wires from your limelight to a slot on your PDP (NOT your VRM).
將兩條電線從 Limelight 接到在 PDP(配電盤)上的插槽(不是穩流器上)
* Add any breaker (5A, 10A, 20A, etc.) to the same slot on your PDP.
連接任何斷路器(5A, 10A, 20A, 等)到 PDP 上的同一個插槽
* Run an ethernet cable from your Limelight to your robot radio.
將乙太網路線從 Limelight 接到機器人上
### 1-2-2. PoE (Power-over-Ethernet) Wiring <font size = 3pt>(使用乙太電纜線供電)</font>
:::warning
**Warning**
This is not standard 44V PoE - this is why you must use a passive injector with 12V
:::
這不是標準的 44 V PoE ➨ 這就是為甚麼你必須要使用 12 V 的無源供電器
:::info
**Note**
PoE allows you to add both power and network connectivity to your Limelight via an Ethernet cable.
:::
PoE 允許您通過乙太電纜線為 Limelight 添加電源和網絡連接
* **(LIMELIGHT 1 ONLY)** Ensure that your Limelight’s power jumper is set to the “E” position.
(僅限 Limelight 1) 確保你 Limelight 的電源跳線是被設置在 " E " 的位置
* Connect a passive [Passive PoE Injector](https://www.revrobotics.com/rev-11-1210/) to your PDP (NOT your VRM).
連接一個無源 PoE 供電器(Passive PoE Injector)到你的 PDP 上(不是穩流器上)
* Add any breaker (5A, 10A, 20A, etc.) to the same slot on your PDP.
連接任何斷路器(5A, 10A, 20A, 等)到 PDP 上的同一個插槽
* Run an ethernet cable from your Limelight to your passive POE injector.
將乙太網電纜從 Limelight 連接到無源 PoE 供電器
## 1-3. Imaging<font size = 3pt>(成像)</font>
:::info
**Note**
Limelight will receive software updates for improvements and features to accomodate the game if necessary.
:::
如有必要,Limelight 將收到軟件更新以進行改善和做為主要角色以適應比賽
### 1-3-1. Limelight 1
:::warning
**Warning**
Some versions of Limelight 1 are electrostatically sensitive around the micro-usb port.
To prevent damaging the port,
ground yourself to something metal before you connect to the micro usb port.
This will ensure your personal static charge has been discharged.
:::
某些版本的 Limelight 1 在微型 USB 端口周圍對靜電敏感
為了防止損壞端口,請在連接到微型 USB 端口之前將他接地
這將確保你的靜電荷已被釋放
* Do not use a Windows 7 machine.
請勿使用 Windows 7 的裝置
1. Remove power from your limelight.
將電源從 Limelight 移除
2. Download the latest drivers, flasher tool, and image from from the [Downloads](https://limelightvision.io/pages/downloads) Page.
從 " 下載 " 頁面下載最新的驅動程序、閃存工具和圖像
3. Install the Balena Etcher flash tool.
安裝 Balena Etcher 閃存工具
4. Run a USB-MicroUSB cable from your laptop to your limelight.
將 USB-MicroUSB 電纜線從你的筆電連接到你的 Limelight
5. Run “Balena Etcher”.
運行 " Balena Etcher "
6. It may take up to 20 seconds for your machine to recognize the camera.
您的機器可能需要長達 20 秒的時間來識別相機
7. Select the latest .zip image in your downloads folder
在你的下載的文件夾中選擇最新的 .zip 圖像
8. Select a “Compute Module” device in the “Drives” menu
在 Drives 菜單中選擇 Compute Module 設備
9. Click “Flash”
點擊 Flash
10. Once flashing is complete, remove power from your limelight
當閃爍完成後,關閉 Limelight 的電源
:::warning
**Warning**
Only connect the microUSB cable while imaging.
Limelight enters a special flash mode while the microUSB cable is connected.
You will not be able to access the web interface while Limelight is in flash mode.
:::
```
僅在成像時連接 microUSB 電纜
當 microUSB 電纜連接時,Limelight 進入特殊的閃光模式
當 Limelight 處於 Flash 模式時,將無法訪問 Web 界面
```
### 1-3-2. Limelight 2
* Do not use a Windows 7 machine.
請勿使用 Windows 7 的裝置
1. Remove power from your limelight.
將電源從 Limelight 移除
2. Download the latest drivers, flasher tool, and image from from the [Downloads](https://limelightvision.io/pages/downloads) Page.
從 " 下載 " 頁面下載最新的驅動程序、閃存工具和圖像
3. Install the Balena Etcher flash tool.
安裝 Balena Etcher 閃存工具
4. Run a USB-MicroUSB cable from your laptop to your limelight.
將 USB-MicroUSB 電纜線從你的筆電連接到你的 Limelight
5. Run “Balena Etcher”.
運行 " Balena Etcher "
6. It may take up to 20 seconds for your machine to recognize the camera.
您的機器可能需要長達 20 秒的時間來識別相機
7. Select the latest .zip image in your downloads folder
在你的下載的文件夾中選擇最新的 .zip 圖像
8. Select a “Compute Module” device in the “Drives” menu
在 Drives 菜單中選擇 Compute Module 設備
9. Click “Flash”
點擊 Flash
10. Once flashing is complete, remove power from your limelight
當閃爍完成後,關閉 Limelight 的電源
## 1-4. Networking Setup <font size = 3pt>(網路設置)</font>
We highly reccomend following the static IP instructions for reliability during events.
我們強烈建議遵循靜態 IP 說明以確保活動期間的可靠性
Follow these steps before starting:
在開始之前,請按照以下步驟操作:
1. Go to add / remove programs in windows, and search for “bonjour”
```
在 windows 中去添加 / 刪除程式,搜索 “ bonjour ”
```
2. How many items do you see?
```
你看到多少個項目?
```
– If there are two (2) items with “bonjour” in their names, uninstall “bonjour print services”
```
如果有兩個名稱中帶有 “ bonjour ” 的項目,請卸載 “ bonjour print services ”
```
– If there are no (0) items with “bonjour” in their names, install bonjour from our Downloads page.
```
如果名稱中沒有任何項帶有 “ bonjour ” ,請從我們的下載頁面安裝 bonjour
```
• Reboot your robot and computer.
• Download the Limelight Finder Tool
• Follow the steps listed below.
## 1-5. Basic Programming <font size = 3pt>(基礎編譯)</font>