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.
Downloading EchoLib
Visit the EchoLib GitHub repository
Go to the release page
Download the latest .ZIP file
Save the
Echo_Lib.zipfile to a location you can easily find (e.g., Downloads folder)
Important: Do not unzip the file. The Arduino IDE requires the library in ZIP format for installation.
Installing EchoLib in Arduino IDE
Method 1: Using the Library Manager (Recommended)
Open Arduino IDE
Navigate to Sketch → Include Library → Add .ZIP Library...
In the file browser, locate the downloaded
EchoLib.zipfileSelect the file and click Open (or Choose on Mac)
Wait for the installation to complete. You should see a success message in the status bar:
Library installed successfullyRestart 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:
Locate your Arduino libraries folder:
Windows:
Documents\Arduino\libraries\Mac:
~/Documents/Arduino/libraries/Linux:
~/Arduino/libraries/
Extract the contents of
Echo_Lib.zipCopy the extracted
Echo_Libfolder into your libraries folderThe structure should look like:
Restart 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: Arduino IDE shows "library not found" error when compiling.
Solutions:
Restart Arduino IDE completely
Verify the library folder structure is correct
Check that the library is in the correct Arduino libraries folder
Try reinstalling using the manual installation method
Compilation Errors
Problem: Sketch fails to compile with errors referencing EchoLib.
Solutions:
Ensure ESP32 board support is properly installed
Verify you've selected an ESP32 board under Tools → Board
Update ESP32 board support to the latest version
Check that all library dependencies are met
Upload Fails
Problem: Cannot upload sketches to Echo board.
Solutions:
Verify the correct COM port is selected
Check USB cable (try a different cable)
Press and hold the BOOT button on Echo while uploading
Reduce upload speed to 115200 under Tools → Upload Speed
Install or update USB-to-Serial drivers for your operating system
Updating EchoLib
To update to a newer version of EchoLib:
Download the latest
EchoLib.zipfrom the GitHub repositoryRemove the old version:
Go to Sketch → Include Library → Manage Libraries...
Search for "EchoLib"
Click Remove (if available in Library Manager)
Or manually delete the
EchoLibfolder from your libraries directory
Install the new version following the installation steps above
Restart Arduino IDE
Last updated