# Electronics

## STEP 1: Remove the mounting plate from the control box

## STEP 2: Decide the layout of the electronics on the mounting board

{% hint style="info" %}
The 12V battery is not shown in the video below. Remember to leave space near the MeanWell PSU for the battery.
{% endhint %}

{% embed url="<https://youtu.be/VVoXMbO2Mqs>" %}

## STEP 3: Assemble and connect the electronics as per the following wiring video

{% tabs %}
{% tab title="Wiring" %}
{% hint style="danger" %}
**Do not plug the AC cable into the wall mains AC outlet during the build and assembly process.**
{% endhint %}

{% embed url="<https://youtu.be/Uq_ytlCmLIw>" %}

{% hint style="info" %}
MicroSD card to be inserted in Raspberry Pi after PANOPTES software installation is not shown in the video above.
{% endhint %}
{% endtab %}

{% tab title="AC OK & Bat OK " %}
{% embed url="<https://youtu.be/dSOnSzdWJH4>" %}
{% endtab %}

{% tab title="AC Mains" %}
{% hint style="danger" %}
**Do not plug the AC cable into the wall mains AC outlet during the build and assembly process.**
{% endhint %}

{% embed url="<https://youtu.be/44cPllhl0Zc>" %}

{% embed url="<https://youtu.be/hY5GSvpSJ_I>" %}

{% embed url="<https://youtu.be/P0WmmQPzKCw>" %}

{% embed url="<https://youtu.be/6_JqZcyy0vU>" %}

* Open the screw terminal on the AC/DC converter (MeanWell) using a screwdriver.
* Insert the bare end of each of the wires into their appropriate terminals, one at a time.
* Close the terminal with the screwdriver, clamping the bare wire into the terminal.

![](https://lh5.googleusercontent.com/ksIWMI1g9pplCMgWntJmrx_7aYh8CqPaKesHviSoj-cQP0DKKtibhvX9KeSKr3YltfkGwGLIntGDFAtxA-5362ovaYNqL2feJI_3LXjeGqFJ2McJjaCTOhhIhgKUJ0k7XFlRdJH72yptlVTtqUdJ4w)

{% hint style="danger" %}
**We want the insulation to end just before the clamp so that there is little risk of an electrical short, but not so far in that the screw terminal is actually clamping the insulation and not the wire.**
{% endhint %}
{% endtab %}

{% tab title="Battery" %}
{% embed url="<https://youtu.be/Gf2Uus7OKus>" %}

{% embed url="<https://youtu.be/ZSliXAonuqA>" %}

{% embed url="<https://youtu.be/VHqYlI7Y20M>" %}

{% embed url="<https://youtu.be/yJBUuXc_oCk>" %}

{% embed url="<https://youtu.be/TvoWHv2qsd0>" %}
{% endtab %}
{% endtabs %}

### Tips to secure different electronic components

{% tabs %}
{% tab title="Using Cable Ties and Standoffs" %}
{% embed url="<https://youtu.be/Y4bU8RICOP4>" %}
{% endtab %}

{% tab title="Arduino & Power Distribution Board" %}
{% embed url="<https://youtu.be/DLAwy6dc_PE>" %}
{% endtab %}

{% tab title="DC-DC Converter" %}
{% embed url="<https://youtu.be/lkZETZbGoeE>" %}
{% endtab %}

{% tab title="Raspberry Pi & GrovePi+" %}
{% embed url="<https://youtu.be/ZHFEf-dHX1g>" %}

{% hint style="info" %}
The MicroSD card will later be installed with Ubuntu and the PANOPTES software (POCS). Make sure the MicroSD card is accessible and easy to take out while securing the Raspberry Pi.
{% endhint %}
{% endtab %}
{% endtabs %}
