-
Sara Damiano replied to the topic Problem downloading Mayfly libraries in the forum Miscellaneous 8 years, 11 months ago
I’m sorry for the hassle. You also cannot use the Arduino IDE’s library manager to directly import the libraries; using “add zip library…” won’t work. You have to follow the longer instructions for manual installation because there are multiple libraries in the same zip. That is, you have to extract (unzip) the libraries.zip file into another…[Read more]
-
Sara Damiano replied to the topic Recording data from pressure sensors on an SD card in the forum Mayfly Data Logger 9 years ago
If you would like your sensors added to the ModularSensors library, please create an issue for them there!
-
Sara Damiano replied to the topic inconsistent Results in the forum Environmental Sensors 9 years ago
Please, like Shannon suggested, copy in your actual code using the “Add Code Snippet” button and actually attach your raw data, not a picture of it. Also, like Shannon said, please plot your EA and temperature to see how they look. And, again, like Shannon said, explain:
How were you testing the sensor? Was is installed outside or in a…
-
Sara Damiano replied to the topic inconsistent Results in the forum Environmental Sensors 9 years ago
Please, like Shannon suggested, copy in your actual code using the “Add Code Snippet” button and actually attach your raw data, not a picture of it. Also, like Shannon said, please plot your EA and temperature to see how they look. And, again, like Shannon said, explain:
How were you testing the sensor? Was is installed outside or in a…
-
Sara Damiano replied to the topic Setting the real time clock in the forum Mayfly Data Logger 9 years ago
I got and accepted your pull request. The fix is in the library now.
-
Sara Damiano replied to the topic Logging Mayfly with Decagon SDI-12 Sensor in the forum Mayfly Data Logger 9 years, 1 month ago
One more thing: If you’re going to use your Mayfly as a logger, make sure you set the real time clock first! I’ve written a sketch and tiny executable to synchronize the Mayfly with your computer clock. You can find it here: https://github.com/EnviroDIY/Sodaq_DS3231/tree/master/examples/PCsync
-
Sara Damiano replied to the topic Logging Mayfly with Decagon SDI-12 Sensor in the forum Mayfly Data Logger 9 years, 1 month ago
Yup, doing the soldering will make your 3.5mm jack connection much prettier and more secure than using the screw terminals. If you’re skilled with a soldering iron, it’s the way to go.
If you’re skill-less and solder-less like I am, the jacks with screw terminals are a solution.
-
Sara Damiano posted a new activity comment 9 years, 1 month ago
I’ve tried to write up most of the steps here: https://envirodiy.org/topic/logging-mayfly-with-decagon-sdi-12-sensor/
Please let me know if that’s not enough to get you going.
-
Sara Damiano replied to the topic Logging Mayfly with Decagon SDI-12 Sensor in the forum Mayfly Data Logger 9 years, 1 month ago
If you would prefer, you can also look into the Modular Sensors library, which has functions already built into it for getting data from a Decagon CTD, a Decagon ES2, and a Decagon 5TM and then logging that data to a SD card.
If you downloaded the full package of libraries I mentioned in #2134, the Modular Sensors library is already included in…[Read more]
-
Sara Damiano replied to the topic Logging Mayfly with Decagon SDI-12 Sensor in the forum Mayfly Data Logger 9 years, 1 month ago
Now that your sensor is connected and has an address set, you can get data from it using code like this:
SDI12 mySDI12(_dataPin); mySDI12.begin(); delay(500); // allow things to settle myCommand = ""; myCommand += _SDI12address; myCommand += "M!"; // SDI-12 measurement myCommand format…
-
Sara Damiano replied to the topic Logging Mayfly with Decagon SDI-12 Sensor in the forum Mayfly Data Logger 9 years, 1 month ago
The next step is to set the SDI-12 address of the sensor. Communication with the sensor depends on its 1-character alphanumeric address (1-9, A-Z, a-z). Unfortunately, Decagon ships all of its sensors programmed to an SDI-12 address of 0, which cannot be used to get measurements from the sensor.
Within the SDI-12 library on GitHub, there is an…[Read more]
-
Sara Damiano replied to the topic Logging Mayfly with Decagon SDI-12 Sensor in the forum Mayfly Data Logger 9 years, 1 month ago
Once you have physically connected your sensor to your Mayfly board, the next step is to download the library to communicate with the it from GitHub. If you are only interested in the SDI-12 library, download it here: https://github.com/EnviroDIY/Arduino-SDI-12/archive/master.zip. If you would like to download a collection of libraries that…[Read more]
-
Sara Damiano replied to the topic Logging Mayfly with Decagon SDI-12 Sensor in the forum Mayfly Data Logger 9 years, 1 month ago
Up to 61 SDI-12 sensors can be connected to the same pin of the Mayfly. It is more stable to use the same pin for all the SDI-12 sensors you wish to connect rather than using different pins for each because this allows you to create only one instance of the SDI-12 object in your code. To connect multiple sensors to that pin, you can use a Grove…[Read more]
-
Sara Damiano started the topic Logging Mayfly with Decagon SDI-12 Sensor in the forum Mayfly Data Logger 9 years, 1 month ago
Several people have asked about how to get a Decagon CTD or other SDI-12 sensor logging with the Mayfly, so I’m trying to put together a list of steps to help everyone out. Our convention at here at the Stroud Center is to plug all SDI-12 sensors into the D6-7 jack (J6) with pin 7 as our SDI-12 data pin. These instructions are written to follow…[Read more]
-
Sara Damiano replied to the topic Custom Arduino-based sensor, off-the-shelf SDI-12 datalogger in the forum Other Data Loggers 9 years, 1 month ago
I’d love any feedback you have on the modular sensors library! Feel free to post GitHub issues or post comments in the forums.
The Libraries repository doesn’t actually have anything new on its own, it’s just a bunch of links so anyone can download some of the more helpful libraries all at once. Do let me know if you think there are any crucial…[Read more]
-
Sara Damiano replied to the topic Using PlatformIO with Mayfly in the forum Mayfly Data Logger 9 years, 3 months ago
The wonderful people at PlatformIO have now added native support for the Mayfly. Run “platformio update” in the PlatformIO terminal and you will then be able to find the Mayfly in the drop downs and call up the Mayfly as “mayfly” just like any other board.
-
Sara Damiano started the topic Using PlatformIO with Mayfly in the forum Mayfly Data Logger 9 years, 3 months ago
In case anyone else is interested in using an alternative IDE for developing sketches for the Mayfly, here is the json that should work to add the Mayfly to PlatformIO:
{ "build": { "extra_flags": "-DARDUINO_AVR_ENVIRODIY_MAYFLY", "core": "arduino", "f_cpu": "8000000L", "mcu": "atmega1284p", "variant": "mayfly" },… -
Sara Damiano replied to the topic Looking for a bare-bones 16 bit 0-5V dc data logger sketch to build off of in the forum Mayfly Data Logger 9 years, 3 months ago
How are you trying to talk to the analog pins? To get the 16 bit ADD conversion you must use the auxiliary ADD converter/library for the Ti ADS 1115. Here’s a bit of code that may help you along. (Please note that this code is completely the work of Shannon Hicks!)
#include <Adafruit_ADS1015.h> /* The library for the auxiliary ADD…
-
Sara Damiano posted a new activity comment 9 years, 3 months ago
I converted this to a forum post: http://envirodiy.org/topic/looking-for-a-bare-bones-16-bit-0-5v-dc-data-logger-sketch-to-build-off-of/
-
Sara Damiano started the topic Looking for a bare-bones 16 bit 0-5V dc data logger sketch to build off of in the forum Mayfly Data Logger 9 years, 3 months ago
Converting a message/update from Paul Dyer into a forum post:
I am working on an application to log data from some magnetic flow meters measuring liquid flow in some 15 foot diameter circulating water lines. I have my application built and tested. It seems to work fine with the exception of being able to use the high resolution(16 bit) A/D…[Read more]
- Load More
Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of