# Setup: In the Field

{% hint style="warning" %}
We recommend you trial the full process within the reach of computing equipment and connectivity before heading out into the field.
{% endhint %}

### A - Prepare your camera trap & the Sentinel

1. Mount the Sentinel and camera trap in place. Make sure they are close enough to be connected.

{% hint style="info" %}
If you are unsure how to deploy a camera trap, read [this](https://conservation-x-labs-1.gitbook.io/sentinel-multi-language/in-the-field/deploying-a-camera-trap).&#x20;
{% endhint %}

2. Install the satellite or cellular antenna onto the Sentinel.&#x20;
3. Connect the cable to Sentinel and tighten it in place - leave the Sentinel switched off for now.

***

### B - Testing the camera trap

4. Insert SD Card (Spypoint cable) into the camera trap.
5. Turn on the camera trap. Check settings (if necessary).
6. Trigger the camera & check whether the camera [functions properly](#checks-and-solutions-1) with the SD card inserted.
7. (Optional, but recommended) Check the SD card with laptop/phone that camera positioning is correct
8. Switch off the camera trap & disconnect the SD Card (Spypoint cable)

{% hint style="info" %}
We recommend that you format the SD card through the camera trap menu before deploying the Sentinel. This ensures that you only process images that are relevant to the deployment.&#x20;

Be careful not to delete any images that are relevant to the deployment through formatting the card. The Sentinel only periodically transfers images to its microSD card. This means that if you have deployed a Sentinel with a SD card in the past, some images might not have been transferred to the Sentinel.&#x20;
{% endhint %}

{% hint style="warning" %}
From this point onwards, DO NOT stand in front of the camera trap.
{% endhint %}

***

### C I - Testing your Sentinel - Setup mode

#### <mark style="color:blue;">Depending on the software version your Sentinel is running you should now verify it's functioning.</mark>

* <mark style="color:blue;">First, please verify your software version with us:</mark> [<mark style="color:blue;">**sentinel-support@conservationxlabs.org**</mark>](#user-content-fn-1)[^1]
* <mark style="color:blue;">If your MCU software version is >= 1.01 you should proceed to the</mark> [<mark style="color:blue;">Setup Mode</mark>](https://conservation-x-labs-1.gitbook.io/sentinel-multi-language/in-the-field/setup-in-the-field/setup-mode) <mark style="color:blue;">section.</mark>
* <mark style="color:blue;">If your MCU software version is < 1.01 you should proceed to step 8.</mark>

{% hint style="info" %} <mark style="color:blue;">You do not HAVE to use the Setup Mode (if it is available). We do however highly recommend it to verify various aspects of the Sentinel's functions.</mark>&#x20;
{% endhint %}

#### <mark style="color:blue;">If your Sentinel has successfully exited the setup mode it will run through the normal booting process, which is detailed below. If you did not have the setup mode available you can directly skip to step 8.</mark>

***

### C II *-* Testing your Sentinel - without Setup mode

{% hint style="info" %}
You can skip section C II if you have completed the Setup mode
{% endhint %}

9. Turn on the Sentinel
10. Connect the SD card (Spypoint cable) to the camera trap
11. Switch on the camera trap (leave the door open for now, in case you need to change settings e.g. delay between triggers for faster testing)
12. Once the fast blinking red lights stop, trigger the camera trap and observe the lights on the Sentinel board

{% hint style="info" %}
Check for rapid red flashes followed by yellow flash(es) (**1-2**). Refer to the [Tutorial video](#tutorial-video) below (25s-37s). Refer to the [**What Sentinel lights mean**](#what-the-sentinel-lights-mean) section for further explanation.
{% endhint %}

{% hint style="warning" %}
The number of yellow flashes is important and depends on the camera model & settings. Please refer to the [compatible cameras](https://conservation-x-labs-1.gitbook.io/sentinel-multi-language/getting-started-guide/compatible-cameras) section and the[ **Troublshooting**](#troubleshooting) section ("**Check the connection between the camera trap & the Sentinel"**) below.&#x20;
{% endhint %}

13. **Close the door of the camera trap** and repeat step 12.&#x20;

{% hint style="danger" %}
Be careful closing the door. Ensure that SD card isn't pulled out of the slot, and that the cable isn't kinked or damaged.&#x20;
{% endhint %}

14. **Turn off** the Sentinel & proceed to [section D](#d-testing-your-sentinel-boot-process)

***

### D - Testing your Sentinel - Boot process

15. Turn on the Sentinel - while the camera trap is turned on. Note, you should NOT have the camera trap menu activated <mark style="color:blue;">(both the Sentinel & camera trap should still be turned on if you have completed</mark> [<mark style="color:blue;">Setup mode</mark>](https://conservation-x-labs-1.gitbook.io/sentinel-multi-language/in-the-field/setup-in-the-field/setup-mode)<mark style="color:blue;">).</mark> **Observe the lights on the Sentinel board**.

{% hint style="info" %}
Refer to the [Tutorial video](#tutorial-video) from 40s & the [What Sentinel lights mean](#what-the-sentinel-lights-mean) for a full explanation of the light sequences you are supposed to observe when your Sentinel is booting.&#x20;
{% endhint %}

16. Wait until the lights stop flashing (ignore the lights on the back of the Sentinel). After the boot process finishes, the red 'heart beat' light (indicating an active Sentinel) should persist.&#x20;

{% hint style="info" %}
Check out this [Tutorial video](#tutorial-video), which will take you through the light sequences of a correctly functioning Sentinel.
{% endhint %}

17. Trigger the camera a few times more and confirm the correct light sequences.&#x20;

{% hint style="warning" %}
Make sure you have tested [section D](#d-testing-your-sentinel-boot-process) and particularly step 17 with a **closed camera trap door**. **Don not forget to set the correct settings e.g. camera date & time between triggers before you leave things in the field.**
{% endhint %}

18. **Close the Sentinel door and walk away!**

{% hint style="info" %}
You can fully doublecheck whether the Sentinel is transferring & analyzing images correctly by triggering the camera a few times and power cycling the Sentinel (i.e. switching the Sentinel off and on again, while the camera is on). The Sentinel should run through the full boot process. Switch the Sentinel off again and inspect the microSD card within the Sentinel using an appropriate card reader. **Note, model peformance is optimized for natural environments and might fail inside buildings or around atypical scences.**
{% endhint %}

***

## Tutorial video & additional information

{% embed url="<https://www.youtube.com/watch?v=pDYlcd6wWmQ>" %}
Camera trigger testing and Sentinel pipeline verification
{% endembed %}

<details>

<summary>What the Sentinel lights mean</summary>

### Startup (when you switch on the Sentinel)

* **Concurrent red+yellow flash** to say hello.

### Camera Check (when you trigger the camera trap)

* **Rapid red flashing** while the camera is active.
* **Yellow flash(es)** when an image is saved. The number of yellow flashes may depend on the camera model. Refer to the [Compatible Cameras](https://conservation-x-labs-1.gitbook.io/sentinel-multi-language/getting-started-guide/compatible-cameras) section for details.

### Image Processing (When the Sentinel transfers and analyzes the images)

* **Green slow flashing** = images are transferred from the SD card to the Sentinel.
* **Green rapid flashing** = AI model is running. If this doesn't happen, then no images were successfully processed.

### "I'm Alive" Heartbeat

* **Red flash** every \~**10 seconds** while in deep sleep to show Sentinel is still on&#x20;

### Connectivity (lights at the back of the Sentinel)

* **Flashing Blue** = WiFi present
* **Solid Blue** = Internet Connected
* **Rapid Flashing** = Checking for software updates

</details>

***

## Troubleshooting

{% hint style="warning" %}
**Check the connection between the camera trap & the Sentinel**
{% endhint %}

<details>

<summary>Checks &#x26; Solutions</summary>

* **Checks:**

- [x] **Quick check:** Trigger the camera trap and observe the rapid red flashes followed by [1-2 yellow flashes](https://conservation-x-labs-1.gitbook.io/sentinel-multi-language/getting-started-guide/compatible-cameras). This means the Sentinel is reading the SD card cable. <mark style="color:orange;">(Duration: <1min)</mark> &#x20;
  * [x] If this doesn't work: proceed to **Solutions.**&#x20;
  * [x] If this works: proceed to **Thorough check.**
- [x] **Thorough check (always recommended):** Trigger the camera (so it takes some pictures) and power cycle the Sentinel (switch off and on). The Sentinel will reboot and will transfer and process all the images on the SD card ([green lighs](#what-the-sentinel-lights-mean)). If you see te green light sequences you can be sure the Sentinel is correctly connected to the camera trap. <mark style="color:orange;">(Duration: \~5mins)</mark>&#x20;
  * [x] If this doesn't work: proceed to **Solutions.**&#x20;
  * [x] If this works: <mark style="color:green;">**Your'e done! :)**</mark>

* **Solutions:**

- [x] Make sure the SD Card is properly inserted and doesn't get pulled out too easily. You can give the cable some slack when closing the camera trap door.
- [x] Make sure the SD card cable isn't damaged when closing the camera trap door. You can reroute the cable so it exits the camera trap where the least pressure is exerted.
- [x] Repeat **Checks** & **Solutions**.
- [x] **Last resort:** Replace the Spypoint SD card cable and repeat **Checks** & **Solutions**.

* **Supporting material**

Check out this [video](https://www.youtube.com/watch?v=pDYlcd6wWmQ) which will take you through both both the quick & thorough checks.

</details>

{% hint style="warning" %}
**Make sure the camera trap reads the SD card correctly**
{% endhint %}

<details>

<summary>Checks &#x26; Solutions</summary>

* **Checks:**

- [x] Make sure there is NO "Card ERROR" message displayed on the camera
- [x] Make sure the camera trap takes pictures correctly (e.g. the counter increases)
- [x] If you have the necessary equipment, check the pictures on the SD card

* **Solutions:**

- [x] &#x20;Replace the Spypoint SD card cable

</details>

{% hint style="warning" %}
**Make sure the Sentinel is switched on & active**
{% endhint %}

<details>

<summary>Checks &#x26; Solutions</summary>

* **Checks:**

- [x] The red 'Heart beat' light on Sentinel is flashing

* **Solutions:**

- [x] Replace or recharge the Sentinel batteries
- [x] **Last resort:** Replace Sentinel or contact a CXL engineer: **<sentinel-support@conservationxlabs.org>**.

</details>

[^1]:
