-
Sara Damiano replied to the topic Campbell Scientific CS-215 SDI-12 communication issues w/ Mayfly in the forum Mayfly Data Logger 8 years ago
Hm. I’ve done some pretty extensive rewriting of the sdi-12 library in the last month or so. Do you know which version of the library you are using? Can you try updating to the most recent version (1.3.1) if you’re not already using it? Can you post the full serial output your getting from both the address change example (b) and the data logging…[Read more]
-
Sara Damiano replied to the topic SDI12/Software Serial library conflicts: Arduino-based data logger in the forum Other Data Loggers 8 years, 2 months ago
I’m glad it worked!
-
Sara Damiano replied to the topic SDI12/Software Serial library conflicts: Arduino-based data logger in the forum Other Data Loggers 8 years, 2 months ago
I’m sorry, you can’t just update the library, you have to actually open and change the cpp files from both SoftwareSerial and the SDI-12 libraries if you want to use them together. All updating did was remove the warning about ‘util/parity’ (which is now gone from even your verbose log).
That being said, yes, unless you have a very good reason…[Read more]
-
Sara Damiano replied to the topic SDI12/Software Serial library conflicts: Arduino-based data logger in the forum Other Data Loggers 8 years, 2 months ago
Oh, also, the warning “#warning “This file has been moved to <util/parity.h>.” might be because you have an older version of the SDI-12 library. Try updating it and see if that goes away.
-
Sara Damiano replied to the topic SDI12/Software Serial library conflicts: Arduino-based data logger in the forum Other Data Loggers 8 years, 2 months ago
If you want to understand the problem better, there’s a good explanation of interrupts here: http://www.engblaze.com/we-interrupt-this-program-to-bring-you-a-tutorial-on-arduino-interrupts/
The wiki attached to the EnableInterrupt library also has a lot of helpful information about interrupts and which pins are attached to which interrupt…[Read more]
-
Sara Damiano replied to the topic SDI12/Software Serial library conflicts: Arduino-based data logger in the forum Other Data Loggers 8 years, 2 months ago
Yes, the SDI-12 library will conflict with SoftwareSerial, EnableInterrupt, and every single other library that defines and uses pin change interrupt vectors. This is a known issue. There are notes about it here: https://github.com/EnviroDIY/Arduino-SDI-12/issues/8. There are also lots of places around the web where you’ll find lots of…[Read more]
-
Sara Damiano replied to the topic Problems compiling Logging_to_EnviroDIY example in ModularSensors in the forum Monitor My Watershed 8 years, 2 months ago
Oops, delete the “@>=0.6.7” after ModularSensors. That’s the version that I’m working on and it hasn’t been released yet so PlatformIO won’t find it.
-
Sara Damiano replied to the topic Problems compiling Logging_to_EnviroDIY example in ModularSensors in the forum Monitor My Watershed 8 years, 2 months ago
Great that you’re using PlatformIO; it really is a big improvement over the Arduino IDE!
Do you mind sharing your platformio.ini file? It should look very much like this:
; PlatformIO Project Configuration File ; ; Build options: build flags, source filter ; Upload options: custom upload port, speed and extra flags ; Library options:…
-
Sara Damiano replied to the topic enviroDIY server not responding to POST in the forum Monitor My Watershed 8 years, 2 months ago
Ok, I hate to admit this, but I’m baffled as to why that example is failing. It really should be working. You do need to change the server IP address (DL) on your XBee to 129.123.41.212 because the server’s IP address has changed. Other than that, everything looks great to me… but the server isn’t responding to the request.
So, in the…[Read more]
-
Sara Damiano replied to the topic enviroDIY server not responding to POST in the forum Monitor My Watershed 8 years, 2 months ago
I haven’t tried running that particular example in a long time, but I don’t think the POST request format has changed since it was first developed. The server definitely *is* accepting data right now; my online loggers have up-to-date data. I’ll go back to that example and see what happens for me.
-
Sara Damiano replied to the topic Modify SW5V boost to 12V in the forum Mayfly Data Logger 8 years, 3 months ago
I’m sorry I’ve missed this thread until now.
I agree that when interfacing with a 12V powered device through the RS485 adapter, there shouldn’t be much risk of frying the Mayfly. I would still go with a separate power boost instead of stripping the resistors on the Mayfly, though.
I would *NOT* recommend any RS485-to-TTL adapters based on the…[Read more]
-
Sara Damiano replied to the topic Wiring Ultrasonic sensor w/ temp compensator in the forum Mayfly Data Logger 8 years, 7 months ago
I’m sorry, I’ll have to look into why you’re getting some values that are too high.
-
Sara Damiano replied to the topic Wiring Ultrasonic sensor w/ temp compensator in the forum Mayfly Data Logger 8 years, 7 months ago
I’m sorry for the library download trouble! How are you trying to download them? The easiest way is to get all the libraries for the Arduino IDE is pull them all together from the libraries repo: https://github.com/EnviroDIY/Libraries. If you scroll down, there are instructions for the Arduino IDE and PlatformIO. This will probably pull in…[Read more]
-
Sara Damiano replied to the topic Reposting: Library extension "Mod" in the forum Mayfly Data Logger 8 years, 9 months ago
If you don’t want to be limited as to which pin each library can control, you can set the pin change interrupt as “master” and use a different version of software serial that has been stripped of all interrupt register control: https://github.com/EnviroDIY/SoftwareSerial_ExternalInts.
You could also use AltSoftSerial instead of SoftwareSerial…[Read more]
-
Sara Damiano replied to the topic Reposting: Library extension "Mod" in the forum Mayfly Data Logger 8 years, 9 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 8 years, 9 months ago
Also, please post questions like this to the forums instead of as a personal update.
-
Sara Damiano posted a new activity comment 8 years, 9 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 8 years, 9 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 8 years, 9 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 8 years, 11 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.
- Load More
Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of
Sorry, will do.