Home › Forums › Mayfly Data Logger › LTE Bee compatibility with older mayfly boards
- This topic has 2 replies, 2 voices, and was last updated 2025-07-13 at 6:09 AM by
Rikaad.
-
AuthorPosts
-
-
2025-07-08 at 7:24 AM #19175
Hi,
Is the LTE Bee (sim7080G modem) compatible with older Mayfly data-logger boards? I read in some documentation that it could be used with Mayfly V0.5b boards with minor changes to code. Is it also compatible with Mayfly 0.4/0.5 boards, if so what hardware/code changes need to be made?
Any help is much appreciated.
Cheers.
-
2025-07-08 at 7:27 PM #19177
Yes, the EnviroDIY sim7080 LTEbee module is compatible with the previous versions of the Mayfly board. There are no hardware changes to do, but you will have to edit your code slightly. The v1.x boards control power to the Bee socket (bee header pin 1) by using the the Mayfly’s D18 pin, allowing you to completely turn the 3.3v supply to the bee module on or off. The Mayfly v0.5 and earlier boards don’t have this control, so the bee module is constantly powered. This isn’t a problem because you can control the bee module’s sleep/awake functions using D23 (on all versions of the Mayfly). So if you’re using one of our example sketches from our ModularSensors library for your Mayfly station, you’ll see a section in the code for setting up the modem options (usually around line 100). For v1.0 or 1.1 boards, you should set the modemVccPin to 18. On v0.5 and earlier boards, you should set the modemVccPin to -1. This is also noted in the comment after that line in the sketch. See the attached screenshot.
Attachments:
-
2025-07-13 at 6:09 AM #19191
Hi,
Thanks for the reply, much appreciated.
I have now received an LTE Bee and am having few issues with:
- getting it to power up; and
- getting compile errors in the arduino IDE related to the modular sensors library.
For 2) above when trying to compile the DRWI_SIM7080LTE example, i get the following error:
Arduino: 1.8.19 (Linux), Board: “EnviroDIY Mayfly 1284p”
In file included from /home/richard/Dev/Sketchbook-Ard/libraries/ModularSensors/src/ModularSensors.h:25:0,
from /home/richard/Dev/Sketchbook-Ard/Mayfly/Mayfly_DRWI_SIM7080LTE/Mayfly_DRWI_SIM7080LTE.ino:42:
/home/richard/Dev/Sketchbook-Ard/libraries/ModularSensors/src/ModSensorInterrupts.h:21:10: fatal error: EnableInterrupt.h: No such file or directoryI have placed the Modular Sensors library in the Arduino libraries folder and the IDE detects it and it appears in the examples section so i assume i have the library in the correct place. I have modemVccPin = -1 for the Mayfly board i am using (v0.4). I assume that the LTE Bee will not power up unless properly initialised, which requires the SimComSIm7080 library i.e. i cant just set D23 low and then use Serial1 to talk to the modem directly and pass AT commands using some serial pass-though code?
If i try and use the SimComSim7080 library on its own – i get the following error:
Arduino: 1.8.19 (Linux), Board: “EnviroDIY Mayfly 1284p”
Mayfly_DRWI_SIM7080LTE:79:10: fatal error: modems/SIMComSIM7080.h: No such file or directory
#include <modems/SIMComSIM7080.h>So i assume that the ModularSensors header file has to be included and that the Sim7080 Lib cant be used on its own?
For 1) above i have the lipo battery going to the lipo input socket, mayfly connected to PC from USB for debugging/programming etc. When i connect USB while lipo is connected LED4 lights up. But no power led on LTE Bee lights up which i assume is due to reasons above – not being initialised properly.
What is the smallest example code that should have the LTE Bee power up and allow direct communication with the LTE Bee via Serial1? All the examples i looked at seemed to rely on ModularSensors and SimComSim7080 header files to be included which doesn’t compile.
Any help is much appreciated.
Cheers.
-
-
AuthorPosts
- You must be logged in to reply to this topic.
Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of 