For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installing EchoLib

This guide walks through the installation process for the EchoLib library in the Arduino IDE. The library provides comprehensive wireless communication and robotics control functionality for the ECHO.


Things To Consider:


Downloading EchoLib:

  1. Visit the EchoLib GitHub repository.

  2. Go to the release page.

  3. Download the latest .ZIP file.

  4. Save the Echo_Lib.zip file to a location you can easily find (e.g., downloads folder)


Installing EchoLib in Arduino IDE:

  1. Open the Arduino IDE

  2. Navigate to Sketch → Include Library → Add .ZIP Library...

  3. In the file browser, locate the downloaded EchoLib.zip file

  4. Select the file and click Open (or Choose on Mac)

  5. Wait for the installation to complete. You should see a success message in the status bar:

  6. Restart Arduino IDE to ensure the library is fully loaded

Method 2: Manual Installation

If the ZIP installation method doesn't work, you can install manually:

  1. Locate your Arduino libraries folder:

    • Windows: Documents\Arduino\libraries\

    • Mac: ~/Documents/Arduino/libraries/

    • Linux: ~/Arduino/libraries/

  2. Extract the contents of Echo_Lib.zip

    1. This just means double-click so its no longer a .ZIP file :)

  3. Copy the extracted Echo_Lib folder into your libraries folder

  4. The structure should look like:

  5. Restart the Arduino IDE


Verifying Installation:

To confirm EchoLib is installed correctly:

  • try including the library in a new sketch:

Click Verify (checkmark icon). If the sketch compiles without errors, EchoLib is properly installed.


Testing Your Installation:

Create a simple test sketch to verify everything works:

Expected Output:


Troubleshooting:

Library Not Found After Installation:

Problem: The Arduino IDE shows "library not found" error when compiling.

Compilation Errors:

Problem: Sketch fails to compile with errors referencing EchoLib.

Upload Fails:

Problem: Cannot upload sketches to the ECHO board.


Updating EchoLib:

To update to a newer version of EchoLib:

  1. Download the latest EchoLib.zip from the GitHub repository

  2. Remove the old version:

    • Go to Sketch → Include Library → Manage Libraries...

    • Search for "EchoLib"

    • Click Remove (if available in Library Manager)

    • Or manually delete the EchoLib folder from your libraries directory

  3. Install the new version following the installation steps above

  4. Restart the Arduino IDE


Last updated