-
Sara Damiano replied to the topic Using two MB7389s via Grove in the forum Mayfly Data Logger 6 years, 3 months ago
Short answer: you just can’t use on 7 for the Maxbotix using the libraries and sketch as you have it written.
Long answer: It’s a pin change interrupt conflict problem. The software serial library version you’re using is a modified version that only has access to vectors 1 and 2. Pin 7 is on vector 3. The ReadMe for ModularSensors has more…[Read more]
-
Sara Damiano replied to the topic GPRSBee in the forum Mayfly Data Logger 6 years, 3 months ago
The modular sensors library that Beth references depends on TinyGSM for the majority of the cellular connection process. You may want to look at the code and examples in that library for help communicating with the GPRSBee (which is a SIM800 chip).
Unfortunately, I think if you’re successfully querying for csq and only being a response of 0, that…[Read more]
-
Sara Damiano replied to the topic Campbell Scientific CS-215 SDI-12 communication issues w/ Mayfly in the forum Mayfly Data Logger 6 years, 6 months ago
I’m sorry, I just looked back at your link from the first page and they mentioned they were using a Mega, which should be 5V. I don’t know. I don’t have any other guesses. Do you have an oscilloscope you can put on the line to watch the communication between the sensor and CR1000? If so, can you share the results of sending a single command to…[Read more]
-
Sara Damiano replied to the topic Campbell Scientific CS-215 SDI-12 communication issues w/ Mayfly in the forum Mayfly Data Logger 6 years, 6 months ago
Hm. I doubt the mid-character times are the problem, but it is possible that the break or marking times are causing problems. You can try tweaking them a bit on the very top of the SDI12.cpp file.
Instead of timing, it’s possible there’s a voltage problem. Do you have the sdi-12 data pin going directly to the Mayfly? Then the power and ground to…[Read more]
-
Sara Damiano replied to the topic Connecting to the Internet in the forum Mayfly Data Logger 6 years, 7 months ago
Most of your code looks familiar, though very mish-mash. I’m glad it works.
As far as getting the data into a website or MySql database… Doing that is all going to be the responsibility of your web receiver, that is, whatever website the internet connected radio receiver visits. You have to use your php or whatever set up for that.
Have you…[Read more]
-
Sara Damiano replied to the topic Testing Data Uploads to data.envirodiy.org in the forum Mayfly Data Logger 6 years, 7 months ago
In short, no. There’s currently no way to send “testing” data to any site and delete those points later. You can create a site that you call testing, test uploads to it, and then delete that site and create a new “real” site, but the new site will have completely new GUIDs and tokens.
-
Sara Damiano replied to the topic Campbell Scientific CS-215 SDI-12 communication issues w/ Mayfly in the forum Mayfly Data Logger 6 years, 7 months 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 6 years, 8 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 6 years, 8 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 6 years, 8 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 6 years, 8 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 6 years, 8 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 6 years, 9 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 6 years, 9 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 6 years, 9 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 6 years, 9 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 6 years, 10 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 7 years, 1 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 7 years, 1 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 7 years, 3 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]
- Load More