-
Sara Damiano replied to the topic Error installing EnviroDIY libraries in PlatformIO in the forum Mayfly Data Logger 6 years ago
Oh dear. That definitely *is* a problem. And that’s entirely my fault; I hadn’t error-checked that json in a long time. It should be fixed now.
Just FYI, there’s a lot in that library bundle.
-
Sara Damiano replied to the topic Trouble initializing XBee3 LTE-M in the forum Mayfly Data Logger 6 years ago
I’ve usually seen that “no response” pattern with the 3G XBee’s without the solder jumper. I’ve assumed it was them “browning out” as they tried to connect to the internet. With those, switching the solder jumper seemed to fix the problem. Have you been able to connect to the internet at all with the LTE-M XBee? Is it working attached to a…[Read more]
-
Sara Damiano replied to the topic Staff gauges in the forum Infrastructure and Equipment 6 years ago
We’ve bought these ones from Oregon Rule: https://oregonrule.com/product/superior-staff-gauges/ They don’t rust like the WaterMark ones eventually do. And, at least in the US, they’re cheaper.
-
Sara Damiano replied to the topic Newbie Mayfly Setup for RS485 sensor to internet in the forum Mayfly Data Logger 6 years, 1 months ago
Up to you whether you want to work with the develop or master branch. They are currently **not** compatible with each-other though, so if you’re flipping back and forth, you’ll need to adjust your code each time to match up. I think all the changes are in the modem structure.
I don’t know if the May code is compatible with the current master or…[Read more]
-
Sara Damiano replied to the topic Newbie Mayfly Setup for RS485 sensor to internet in the forum Mayfly Data Logger 6 years, 1 months ago
It looks like you mis-typed the last GUID’s; you put a space on the end of it. The parser doesn’t expect a space inside of the GUID, so it fails. The error is at character 333, which is the guilty space.
-
Sara Damiano replied to the topic Current, best-supported cellular XBee radio for MayFly in the forum Mayfly Data Logger 6 years, 1 months ago
Update! I got the Digi LTE-M XBee to work on Hologram!
It turns out I needed a brand new sim; one that had never been registered with another device. As soon as I put that in, it worked.
-
Sara Damiano replied to the topic Current, best-supported cellular XBee radio for MayFly in the forum Mayfly Data Logger 6 years, 1 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 6 years, 1 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 6 years, 1 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 6 years, 1 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 6 years, 1 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 6 years, 1 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 6 years, 1 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 6 years, 1 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 6 years, 1 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 6 years, 1 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 6 years, 2 months ago
What was the bug you found?
-
Sara Damiano replied to the topic GPRSBee in the forum Mayfly Data Logger 6 years, 2 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 6 years, 2 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 6 years, 3 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]
- Load More