-
Sara Damiano replied to the topic Reposting: Library extension "Mod" in the forum Mayfly Data Logger 7 years, 3 months ago
If you’ve downloaded the libraries from https://github.com/EnviroDIY/Libraries, then you should be able to fix it by replacing (in your sketch, not in the library) every instance of “SoftwareSerialMod” with “SoftwareSerial_PCINT12” and “Sodaq_PcInt_Mod” with “Sodaq_PcInt_PCINT0”.
Essentially, what happened is that these libraries all conflict…[Read more]
-
Sara Damiano posted a new activity comment 7 years, 3 months ago
Also, please post questions like this to the forums instead of as a personal update.
-
Sara Damiano posted a new activity comment 7 years, 3 months ago
I think right now we’re taking 10 readings very quickly (as fast as the CTD can) and averaging them. Then we repeat that every 5 minutes.
-
Sara Damiano replied to the topic Interrupt in the forum Mayfly Data Logger 7 years, 4 months ago
You should also be able to use pin-change interrupts for the tipping bucket, which would allow you to use any pin at all. Using pin change interrupts requires an extra library, though. I’m a fan of GreyGnome’s EnableInterrupt library, which I’ve modified to have all the right pin numbers for the Mayfly:…[Read more]
-
Sara Damiano replied to the topic Wiring Ultrasonic sensor w/ temp compensator in the forum Mayfly Data Logger 7 years, 4 months ago
The red cable from the MaxTemp goes to pin 1 on the MaxSonar. The shield (yellow) and black cables from the MaxTemp both go to pin 7 on the MaxSonar. Pin 7 on the MaxSonar is also connected to ground (black) from the grove, so you’ll be shoving three wires into the MaxSonar screw terminal at Pin 7. Pin 6 on the MaxSonar goes to Vcc (red on the…[Read more]
-
Sara Damiano replied to the topic Problem downloading Mayfly libraries in the forum Miscellaneous 7 years, 6 months ago
I tried to re-word the instructions on GitHub a little and get the link to the zip right so maybe it’s a little less confusing.
-
Sara Damiano replied to the topic Problem downloading Mayfly libraries in the forum Miscellaneous 7 years, 6 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 7 years, 7 months 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 7 years, 7 months 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 7 years, 7 months 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 7 years, 7 months 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 7 years, 7 months 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 7 years, 7 months 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 7 years, 7 months 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 7 years, 7 months 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 7 years, 7 months 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 7 years, 7 months 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 7 years, 7 months 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 7 years, 7 months 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 7 years, 7 months 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]
- Load More
Sorry, will do.