> For the complete documentation index, see [llms.txt](https://docs.feelix.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.feelix.xyz/uploading-files/simplefoc.md).

# Dependencies

The following dependencies have to be installed to run the Arduino Library: SimpleFOC, and SimpleFOCDrivers.

{% hint style="info" %}
The code used for Feelix is based on the **SimpleFOC library v2.4.0**. \
For more details visit [**SimpleFOC.com**](https://simplefoc.com/)&#x20;
{% endhint %}

{% hint style="danger" %}
Installed libraries should match the versions specified in the documentation text below.
{% endhint %}

### Installation process for Arduino IDE

{% stepper %}
{% step %}

#### Install SimpleFOC library

* [ ] Open the **Library Manager** (Sketch > Include Library > Manage Libraries)
* [ ] Search for the [**Simple FOC**](https://simplefoc.com/) library and click **INSTALL v2.4.0**&#x20;
  {% endstep %}

{% step %}

#### Install SimpleFOCDrivers library

The Feelix MiniDriver uses the DRV8316C which requires the **SimpleFOCDrivers** library

* [ ] Open the **Library Manager** (Sketch > Include Library > Manage Libraries)
* [ ] Search for [**SimpleFOCDrivers** ](https://github.com/simplefoc/Arduino-FOC-drivers)and click **INSTALL v1.0.9**&#x20;
  {% endstep %}
  {% endstepper %}

<div><figure><img src="https://409642222-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M3MZhIYg7iSyaPwgNKY%2Fuploads%2FGn2KHfMg6xK0beWW2vd5%2FArduino_librarymanager.png?alt=media&amp;token=a56a94b2-5321-4287-98b6-7bc42de6d71a" alt=""><figcaption><p>Installing SimpleFOC libraries using Arduino IDE.</p></figcaption></figure> <figure><img src="https://409642222-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M3MZhIYg7iSyaPwgNKY%2Fuploads%2FFTdOlU1vi3X76KsZqxoC%2FArduino_librarymanager2.png?alt=media&amp;token=ec78b6d2-a457-481d-9ef8-f9f442fb7a86" alt=""><figcaption></figcaption></figure></div>

### Installation process for Platform IO (Visual Code Studio)

{% hint style="danger" %}
This process has not been verified
{% endhint %}

{% stepper %}
{% step %}

#### Install SimpleFOC library

* [ ] Go to **Libraries**
* [ ] Search for **SimpleFOC** and click **INSTALL v2.4.0**
  {% endstep %}

{% step %}

#### Install SimpleFOCDrivers library

The Feelix Mini-Driver uses the DRV8316C which requires the SimpleFOCDrivers

* [ ] Go to **libraries**
* [ ] Search for **SimpleFOCDrivers** and click **INSTALL v1.0.9**&#x20;
  {% endstep %}
  {% endstepper %}

![Search SimpleFOC library Platform IO](https://409642222-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M3MZhIYg7iSyaPwgNKY%2F-MjsSMBxA0wwUKPZ8cwk%2F-MjsTtW5FcIx3mPv5IsR%2FsimpleFOC_platformIO.png?alt=media\&token=2ee21782-3647-41e9-b55f-9e0aa81036fc)
