Home › Forums › Mayfly Data Logger › LTEBee conflict with NeoSWSerial?
- This topic has 3 replies, 2 voices, and was last updated 2023-10-25 at 7:04 PM by Matt Barney.
-
AuthorPosts
-
-
2023-10-23 at 2:53 PM #18135
We have an EnviroDIY station that’s been running for a number of months, using a v0.5 Mayfly with Digi LTE modem, a CTD, and a Maxbotix sonar sensor. More recently, the Digi failed, and we upgraded the modem to an LTEBee and the Mayfly to a v1.1. Accordingly, I updated the code (attached) for the new modem. Since then, no data has been uploaded to MMW. During desktop debugging, the last lines printed to the Serial Monitor are:
123412:46:51.507 > Logger portion of setup finished.12:46:51.513 >12:46:51.513 > Waking modem and setting Cellular Carrier Options...12:46:55.920 > Putting processor to sleep…and nothing afterward.
If I comment out all code for the Maxbotix and NeoSWSerial, then the Mayfly communicates and uploads successfully. Is there a conflict between the LTEBee and NeoSWSerial as I have them coded?
Attachments:
-
2023-10-23 at 6:08 PM #18138
I’m looking into it. I would have said “of course they should work together” but I’d never tried it, so I hooked it up and tried it out. And I got the same result as you. I haven’t figured it out yet, though.
-
2023-10-24 at 3:55 PM #18139
I’m sorry; I’m stumped. There’s something wrong with the way the battery voltage is being read. But I don’t understand what. As soon as I turn on the debugging for it.. it works. It also works if I upgrade to the current ModularSensors master branch. But I cannot figure out for the life of me what change makes it work.
So my two suggestions to get it working (pick one):
– Add-D MS_PROCESSORSTATS_DEBUG
to the build flags in your platformio.ini
– Upgrade to the latest master branch of ModularSensors on GitHub by changing your lib_deps toenvirodiy/EnviroDIY_ModularSensors@0.33.3
-
2023-10-25 at 7:04 PM #18140
Great, thanks @srgdamiano! Got it working on my desktop; now will deploy into the field.
One small change: The lib_deps line I used to grab the latest ModularSensors was:
1envirodiy/EnviroDIY_ModularSensors(without a version number).
-
-
AuthorPosts
- You must be logged in to reply to this topic.