Software Installation Tutorial#

This tutorial guides you through the installation of the essential software tools for this course: Anaconda, Arduino IDE, and OpenModelica. Follow the steps below for each installation.

Anaconda Installation#

Installation Steps#

  1. Download:

    • Visit the official Anaconda website: Anaconda Downloads.

    • Download the installer corresponding to your operating system (Windows, macOS, Linux).

  2. Installation:

    • Run the downloaded installer.

    • Follow the on-screen instructions. It is recommended to install Anaconda in user mode to avoid permission issues.

    • The installation requires approximately 3 GB of disk space.

  3. Configuration:

    • During installation, make sure to check the option to add Anaconda to your PATH.

    • Once the installation is complete, restart your terminal or command prompt.

Verification of Installation#

To verify that the installation was successful, open a terminal and run the following command:

conda --version

You should see the version of Conda displayed, confirming that the installation was successful.

Arduino IDE Installation#

Installation Steps#

  1. Download:

    • Go to the official Arduino website: Arduino Software.

    • Download the installer for your operating system.

  2. Installation:

    • Run the downloaded installer.

    • Follow the on-screen instructions. The installation may require administrator privileges to access serial ports.

    • The installation requires approximately 500 MB of disk space.

Verification of Installation#

To test the installation, open Arduino IDE and load the “Blink” example:

  1. Go to File > Examples > 01.Basics > Blink.

  2. Connect your Arduino board to your computer.

  3. Select the correct serial port in Tools > Port.

  4. Upload the code by clicking the upload icon (right arrow).

If the built-in LED on your Arduino board blinks, the installation is successful.

Verification of Installation#

To test the installation, open Arduino IDE and load the “Blink” example:

  • Go to File > Examples > 01.Basics > Blink.

  • Connect your Arduino board to your computer.

  • Select the correct serial port in Tools > Port.

  • Upload the code by clicking the upload icon (right arrow).

If the built-in LED on your Arduino board blinks, the installation is successful.

Video tutorial#

Here a video tutorial.

OpenModelica Installation#

Installation Steps#

  1. Download:

    • Visit the official OpenModelica website: OpenModelica Downloads.

    • Download the installer for your operating system.

  2. Installation:

    • Run the downloaded installer.

    • Follow the on-screen instructions. The installation requires approximately 1 GB of disk space.

    • It is recommended to install OpenModelica in user mode.

Verification of Installation#

To verify the installation, open OpenModelica and load a test model:

  1. Open OpenModelica Connection Editor (OMEdit).

  2. Go to > Load Modelica Library > Modelica > Blocks > Examples > PID_controller.

  3. Simulate the model by clicking the simulation icon.

If the simulation runs without errors, the installation is successful.

More detailed tutorial#

Here a more detailed tutorial.

Software introduction#

Here a software introduction.