Home › Forums › Mayfly Data Logger › Could not wake modem for clock sync. › Reply To: Could not wake modem for clock sync.
2025-07-25 at 5:20 PM
#19207
Additionally, I have arduino 1.8.19 and it says I have the EnviroDIY Mayfly 1284p on /dev/cu.usbserial-0001. These boards were bought fairly recently. My baud is 57600. I believe I kept most of the pins the same as in the original code. I have my apn set to “hologram”, and the UUIDs are in place and are in the same order as the variables.
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
// How frequently (in minutes) to log data const uint8_t loggingInterval = 1; // Your logger's timezone. const int8_t timeZone = -5; // Eastern Standard Time // NOTE: Daylight savings time will not be applied! Please use standard time! // Set the input and output pins for the logger // NOTE: Use -1 for pins that do not apply const int32_t serialBaud = 57600; // Baud rate for debugging const int8_t greenLED = 8; // Pin for the green LED const int8_t redLED = 9; // Pin for the red LED const int8_t buttonPin = 21; // Pin for debugging mode (ie, button pin) const int8_t wakePin = 31; // MCU interrupt/alarm pin to wake from sleep // Mayfly 0.x D31 = A7 const int8_t sdCardPwrPin = -1; // MCU SD card power pin const int8_t sdCardSSPin = 12; // SD card chip select/slave select pin const int8_t sensorPowerPin = 22; // MCU pin controlling main sensor power /** End [logging_options] */ --- const int8_t modemVccPin = 18; // MCU pin controlling modem power --- Pin 18 is the power enable pin for the // bee socket on Mayfly v1.0, use -1 if using Mayfly 0.5b or if the bee socket // is constantly powered (ie you changed SJ18 on Mayfly 1.x to 3.3v) const int8_t modemStatusPin = 19; // MCU pin used to read modem status const int8_t modemSleepRqPin = 23; // MCU pin for modem sleep/wake request const int8_t modemLEDPin = redLED; // MCU pin connected an LED to show modem // status |
Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of