SIMCom SIM7080 topic
- Introduction
- Manufacturer Documentation
- Modem Constructor
- Example Code
- Reference
- Detailed Descriptions
Introduction
The SIMCom SIM7080G is a Multi-Band CAT-M and NB-IoT module solution in a SMT type.
Manufacturer Documentation
The module datasheet and AT commands are available here: http:/
Modem Constructor
Construct a new SIMComSIM7080 object The constuctor initializes all of the provided member variables, constructs a loggerModem parent class with the appropriate timing for the module, calls the constructor for a TinyGSM modem on the provided modemStream, and creates a TinyGSM Client linked to the modem. Should be set to a negative number if the modem should be continuously powered or the power cannot be controlled by the MCU.
Should be set to a negative number if the modem status pin cannot be read. This is the pin labeled
SIMComSIM7080::
Parameters
modemStream
The Arduino stream instance for serial communication.
powerPin
The digital pin number of the mcu pin controlling power to the modem (active
HIGH
).
statusPin
The digital pin number of the mcu pin connected to the modem status output pin.
modemSleepRqPin
The digital pin number of a pin on the mcu used to request the modem enter its lowest possible power state.
apn
The Access Point Name (APN) for the SIM card.
STATUS
in SIMCom's integration guide.
Should be set to a negative number if there is no pin usable for deep sleep modes or it is not accessible to the MCU. This is the pin labeled PWRKEY
in SIMCom's integration guide.
Example Code
The SIM7080 is used in the menu a la carte example.
Classes
- class SIMComSIM7080
- The loggerModem subclass for modules based on the SIMCOMSIM7080".
Modem Pin Settings and Timing
The timing and pin level settings for a SIMCom SIM7080
- #define SIM7080_STATUS_LEVEL = HIGH
- The loggerModem::
_statusLevel. - #define SIM7080_STATUS_TIME_MS = 1800L
- The loggerModem::
_statusTime_ms. - #define SIM7080_RESET_LEVEL = LOW
- The loggerModem::
_resetLevel. - #define SIM7080_RESET_PULSE_MS = 12600L
- The loggerModem::
_resetPulse_ms. - #define SIM7080_WAKE_LEVEL = LOW
- The loggerModem::
_wakeLevel. - #define SIM7080_WAKE_PULSE_MS = 1100
- The loggerModem::
_wakePulse_ms. - #define SIM7080_WAKE_DELAY_MS = 1000L
- The loggerModem::
_wakeDelayTime_ms. - #define SIM7080_ATRESPONSE_TIME_MS = 1800
- The loggerModem::
_max_atresponse_time_ms. - #define SIM7080_DISCONNECT_TIME_MS = 2000L
- The loggerModem::
_disconnetTime_ms.
Define documentation
#define SIM7080_STATUS_LEVEL = HIGH
#include <src/modems/SIMComSIM7080.h>
The loggerModem::
Status of the SIM7080G should be monitored on the STATUS
pin, which is at a high level when the module has powered on and the firmware goes ready.
Time after start of pulse until status pin becomes active is >1.8sec.
#define SIM7080_STATUS_TIME_MS = 1800L
#include <src/modems/SIMComSIM7080.h>
The loggerModem::
Status of the SIM7080G should be monitored on the STATUS
pin, which is at a high level when the module has powered on and the firmware goes ready.
Time after start of pulse until status pin becomes active is >1.8sec.
#define SIM7080_RESET_LEVEL = LOW
#include <src/modems/SIMComSIM7080.h>
The SIM7080G is reset using the PWRKEY
NOT a separate RESET
pin!
To reset the module, the PWRKEY
is held low for 12.6s.
#define SIM7080_RESET_PULSE_MS = 12600L
#include <src/modems/SIMComSIM7080.h>
The loggerModem::
The SIM7080G is reset using the PWRKEY
NOT a separate RESET
pin!
To reset the module, the PWRKEY
is held low for 12.6s.
#define SIM7080_WAKE_LEVEL = LOW
#include <src/modems/SIMComSIM7080.h>
The SIM7080G Module is switched on by a >1 second LOW
pulse on the PWRKEY
pin.
#define SIM7080_WAKE_PULSE_MS = 1100
#include <src/modems/SIMComSIM7080.h>
The loggerModem::
The SIM7080G Module is switched on by a >1 second LOW
pulse on the PWRKEY
pin.
#define SIM7080_WAKE_DELAY_MS = 1000L
#include <src/modems/SIMComSIM7080.h>
The loggerModem::
Time after power on before PWRKEY
on SIM7080 can be used is undocumented. Using 1s.
#define SIM7080_ATRESPONSE_TIME_MS = 1800
#include <src/modems/SIMComSIM7080.h>
The loggerModem::
Time after end pulse until serial port on SIM7080 becomes active is >1.8sec.
#define SIM7080_DISCONNECT_TIME_MS = 2000L
#include <src/modems/SIMComSIM7080.h>
The loggerModem::
SIM7080 power down (gracefully) takes 1.8-2 sec.