-
Sara Damiano replied to the topic Current, best-supported cellular XBee radio for MayFly in the forum Mayfly Data Logger 7 years, 7 months ago
That all looks right.
Two notes:
All Sodaq uBee’s (U201 (3G), R410M (LTE-M), and N211 (LTE NB-IoT)) should work with the Mayfly with no soldering required, but I personally have only tested the U201. I do not know what, if any, SIM cards the LTE uBee’s will work with.
The Sodaq uBee’s do NOT fit in the plastic case provided in the Mayfly starter…[Read more] -
Sara Damiano replied to the topic Newbie Mayfly Setup for RS485 sensor to internet in the forum Mayfly Data Logger 7 years, 7 months ago
Your setup put the Bee to go into deep sleep, but you didn’t assign a pin to be the wake-up pin. So the Bee isn’t waking up anymore. You need to either set the modem to be always on (ModemSleepMode = modem_always_on) or put a pin in for modemSleepRqPin (probably 23 if you’re using a Mayfly). If you want the modem to not sleep, you will have to…[Read more]
-
Sara Damiano replied to the topic Current, best-supported cellular XBee radio for MayFly in the forum Mayfly Data Logger 7 years, 7 months ago
In our live installations, we still have the 2G Bees. That being said, what do you mean by “supported?” The Mayfly should work very with any of the digi cellular Xbees. You do need the solder jumper to get enough power for the 3G and cat 1 bees. The cat m might be able to go without it, but I haven’t tested enough. As far as library and code to…[Read more]
-
Sara Damiano replied to the topic Newbie Mayfly Setup for RS485 sensor to internet in the forum Mayfly Data Logger 7 years, 7 months ago
Oh, and a warning on the Digi LTE-M XBee: I can’t get mine to work on the Hologram network that we’ve been using with 2G. Other people say they have, but I can’t seem to get mine to work.
-
Sara Damiano replied to the topic Newbie Mayfly Setup for RS485 sensor to internet in the forum Mayfly Data Logger 7 years, 7 months ago
The modbus power up and down *can’t* include the begin or the pin settings because the modbus functionality is built around any Arduino stream type object. You can use a modbus sensor connected to anything that you can communicate with as an Arduino stream – that means HardwareSerial, SoftwareSerial, Client, etc. If you’re not using Serial1 for…[Read more]
-
Sara Damiano replied to the topic Newbie Mayfly Setup for RS485 sensor to internet in the forum Mayfly Data Logger 7 years, 7 months ago
@neilh – Thank you!
You can connect and send data at a different rate than you log it by essentially creating two different logger objects and setting them to different intervals. The “data_saving” and “double_logger” examples each do slight variants on this right now. You just can’t use the easy “log” function like in the data_to_envirodiy…[Read more]
-
Sara Damiano replied to the topic Newbie Mayfly Setup for RS485 sensor to internet in the forum Mayfly Data Logger 7 years, 7 months ago
Please, do send in a pull request! I really deeply appreciate other people taking the time to look through my code and giving any suggestions they might have.
You should be able to use the build flag “build_flags = -D DEBUGGING_SERIAL_OUTPUT=Serial” but that might give you way, way more than you want to see. There is a LOT of debugging output…[Read more]
-
Sara Damiano replied to the topic Newbie Mayfly Setup for RS485 sensor to internet in the forum Mayfly Data Logger 7 years, 7 months ago
Oh. Oops, apparently I didn’t refresh and see Beth’s latest response. She has much better detail than me. If you use the default “src” directory, you don’t need the src_dir = in your platformio.ini file. But you can only have a single ino in that folder, so if you want multiple programs for testing, you’ll need to specify the directories.
The…[Read more]
-
Sara Damiano replied to the topic Newbie Mayfly Setup for RS485 sensor to internet in the forum Mayfly Data Logger 7 years, 7 months ago
I’m sorry for not chiming in earlier.
PlatformIO is definitely a much, much better system for programming than the Arduino IDE. It’s much more powerful and the library manager is very good. I’m running it on Atom (instead of VSCode) but it’s the same beast underneath.
The ModularSensors library is designed to be able to communicate with a whole…[Read more]
-
Sara Damiano replied to the topic GPRSBee in the forum Mayfly Data Logger 7 years, 7 months ago
Huh.. I don’t know why the XBee would entirely stop responding. Does it still respond on XCTU? Could you have accidentally put it to sleep?
So far I have not managed to get my LTE-M XBee to connect to the internet with Hologram’s sims. I get denied service every time; sometimes quickly, sometimes after hanging at “22” (searching) for a long…[Read more]
-
Sara Damiano replied to the topic GPRSBee in the forum Mayfly Data Logger 7 years, 8 months ago
What was the bug you found?
-
Sara Damiano replied to the topic GPRSBee in the forum Mayfly Data Logger 7 years, 8 months ago
Which ADS1115 library are you using? Make sure you’re using the soligen2010 fork at https://github.com/soligen2010/Adafruit_ADS1X15/ – Don’t use the Adafruit original.
-
Sara Damiano replied to the topic PWM ports in the forum Mayfly Data Logger 7 years, 8 months ago
Also posted to GitHub, but so it’s here:
Pins D4, D5, (Timer 1 – 16 bit) D6, D7, (Timer 2 – 8 bit) D11, D12, (Timer 0 – 8 bit) D14, D15 (Timer 3, 16 bit).
-
Sara Damiano replied to the topic Using two MB7389s via Grove in the forum Mayfly Data Logger 7 years, 8 months ago
How (physically) are you connecting to the Maxbotix? Are you using a grove-to-male connector into screw terminals on the sensors? Are the sensors being positioned (in the field) in a way that their sonar beams could interfere with each other?
If you want to use the libraries you have and leave your code as is, you could twist your cables up…[Read more]
-
Sara Damiano replied to the topic Using two MB7389s via Grove in the forum Mayfly Data Logger 7 years, 8 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 7 years, 8 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 7 years, 12 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 7 years, 12 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 8 years 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 8 years 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.
- Load More
Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of