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

Reply To: Could not wake modem for clock sync

Home Forums Mayfly Data Logger Could not wake modem for clock sync Reply To: Could not wake modem for clock sync

#18684
Sara Damiano
Moderator

    Does the red power light on the lower right of the modem turn on? If not, the modem isn’t getting power. Pin 18 should be the right pin number. I’m not sure why it wouldn’t be powering up. Have you ever messed with the solder jumpers?

    If the modem is powering up, you might have a baud rate problem. Try setting the modemBaud to 57600 even 115200.

    If neither of those work, then try dumping out debugging info. If you’re using PlatformIO, add this to your platformio.ini file within your default enviroment:
    <div>
    <div>

    </div>
    </div>
    If you’re using the Arduino IDE, add #define TINY_GSM_DEBUG Serial to the very top of your logging program. Then navigate to the ModularSensors folder within your libraries. In that folder, open up  The ModularSensors folder, then the src folder. Open LoggerModem.h and remove the comment slashes from lines 27 and 28 (lines start with #define MS_LOGGERMODEM_DEBUG). The go into the modems subfolder, open SIMComSIM7080.h and remove the comment slashes from lines 47 and 48 ((lines start with#define MS_SIMCOMSIM7080_DEBUG). Save all of the files.

    Re-program your board with the debugging on and you should get lengthy print-outs about the modem communication. With that, I can better help find what’s wrong.