Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, a web toolkit designed to help citizens, conservation practitioners, municipal decision-makers, researchers, educators, and students advance knowledge and stewardship of fresh water. New to EnviroDIY? Start here

Problems with libraries on the Mayfly Data Logger

Home Forums Mayfly Data Logger Problems with libraries on the Mayfly Data Logger

Viewing 3 reply threads
  • Author
    Posts
    • #16661
      ChrisChopp
      Participant

      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.

    • #16664
      Shannon Hicks
      Moderator

      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.

    • #16687
      ChrisChopp
      Participant

      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:

      1. Go to github.com/envirodiy/libraries.
      2. Scroll down to the ReadMe.
      3. 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 ^

    • #16688
      Sara Damiano
      Moderator

      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?

Viewing 3 reply threads
  • You must be logged in to reply to this topic.