2022-03-03 at 3:29 PM #16661ChrisChoppParticipant
Hello, we are having issues adding the libraries on the Mayfly Data Logger. We used the libraries given to us by the manual but the Arduino software is saying that they are invalid. Sorry if this has already been asked.
2022-03-03 at 5:38 PM #16664Shannon HicksModerator
I assume you mean the manual is pointing you to Github where you attempted to download the libraries? If you go to https://github.com/EnviroDIY/Libraries and follow the instructions on that page in the section called “Installing Libraries in Arduino IDE”, you’ll save the libraries.zip file by right-clicking on the link in the text that says ” –>->link<-<–“ and then save the file to your computer that way. You’ll end up with a zip file that then needs to be extracted to the folder location on your computer as explained in the instructions. If you don’t download the libraries zip file correctly or don’t put the extracted files in the correct location, and then restart your IDE, you can get errors.
2022-03-08 at 4:30 PM #16687ChrisChoppParticipant
We went to https://github.com/EnviroDIY/Libraries and follow the instructions on that page in the section called “Installing Libraries in Arduino IDE”, you’ll save the libraries.zip file by right-clicking on the link in the text that says ” –>->link<-<–“ and then save the file to your computer that way. We extracted the file onto our computer. and opened the README file.
4.3. Installing Libraries
Preparing sketches for programming the Mayfly Data Logger is simplified by the use of libraries: packages of functions that serve as shortcuts when writing sketches. A set of many helpful libraries has been compiled at github.com/envirodiy/libraries. Not all of these libraries are required, but many of them will be needed for programming an EnviroDIY Monitoring Station to send data to the online data portal (MonitorMyWatershed.org). To download all of the libraries together:
- Go to github.com/envirodiy/libraries.
- Scroll down to the ReadMe.
- Follow the instructions for installing the recommended EnviroDIY libraries.zip file and adding it to your Arduino IDE.
From the README file:
### Installing Libraries in the [Arduino.cc IDE](https://www.arduino.cc/en/Main/Software):
The simplest way to use these libraries is to right-click on this carefully crafted **[–>->link<-<–](https://github.com/EnviroDIY/Libraries/blob/master/libraries.zip?raw=true)**, select “save link as”, and save the file somewhere on your computer. You can also click on “libraries.zip” in the file list above and then click the grey download button on that page to download the zip. In your the Arduino Software (IDE), import that zip file following the instructions for _”Manual Installation”_ from https://www.arduino.cc/en/Guide/Libraries#toc5. You _cannot_ directly import the zip using the Arduino Library Manager because it contains multiple libraries.
To update the libraries, you will need to re-download the zip file and overwrite the folders in your Arduino libraries folder.
We are stuck on the parts in bold and italics above ^
2022-03-09 at 2:22 PM #16688Sara DamianoModerator
The instructions for manual installation on the https://www.arduino.cc/en/Guide/Libraries are telling you how to find the right location to put the unzipped folder. Once you have the right folder, you cut and past the files. That’s it.
To update libraries, the easiest way is to delete everything in the library folder and re-download.
Can you clarify what you mean by “stuck” by posting screen shots of what you’ve done and the errors you’re getting?
- You must be logged in to reply to this topic.