Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, an initiative of Stroud Water Research Center designed to help people advance knowledge and stewardship of fresh water.
New to EnviroDIY? Start here

LTEBee conflict with NeoSWSerial?

Home Forums Mayfly Data Logger LTEBee conflict with NeoSWSerial?

Viewing 3 reply threads
  • Author
    Posts
    • #18135
      Matt Barney
      Participant

        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:

         

        …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?

      • #18138
        Sara Damiano
        Moderator

          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.

        • #18139
          Sara Damiano
          Moderator

            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 to envirodiy/EnviroDIY_ModularSensors@0.33.3

          • #18140
            Matt Barney
            Participant

              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:

              (without a version number).

               

          Viewing 3 reply threads
          • You must be logged in to reply to this topic.