Easy IoT is a simplest IoT Solution presented by DFRobot
#28549
Hello,
I have same problem with my NB-IOT SIM7000E Arduino Shield ;/
Here s my code:
Code: Select all
#include <Wire.h>
#include <DFRobot_SIM7000.h>

#define PIN_TX     7
#define PIN_RX     8
SoftwareSerial     mySerial(PIN_RX,PIN_TX);
DFRobot_SIM7000    sim7000;

void setup(){    
    Serial.begin(115200);
    while(!Serial);

    Serial.println("BEFORE begin()");    
    sim7000.begin(mySerial);  
    Serial.println("AFTER begin()");        
    
    Serial.println("BEFORE turnON()");    
    sim7000.turnON();
    Serial.println("AFTER turnON()");    
}
  
void loop(){
   Serial.println("INSIDE LOOP");
}

It always stops on printing 'BEFORE turnON()' - turnON() method seems not to work correctly.

I have Software/Hardware Port switched to Tx->D8, Rx->D7,
SIM card is inside the socket,
GNSS & GSM/LTE antenas are plugged in.

No idea what I am doing wrong, anyone can help here?
#28570
kaczmarek.mateusz.dev wrote:
Fri Feb 15, 2019 3:43 pm
Hello,
I have same problem with my NB-IOT SIM7000E Arduino Shield ;/
Here s my code:
Code: Select all
#include <Wire.h>
#include <DFRobot_SIM7000.h>

#define PIN_TX     7
#define PIN_RX     8
SoftwareSerial     mySerial(PIN_RX,PIN_TX);
DFRobot_SIM7000    sim7000;

void setup(){    
    Serial.begin(115200);
    while(!Serial);

    Serial.println("BEFORE begin()");    
    sim7000.begin(mySerial);  
    Serial.println("AFTER begin()");        
    
    Serial.println("BEFORE turnON()");    
    sim7000.turnON();
    Serial.println("AFTER turnON()");    
}
  
void loop(){
   Serial.println("INSIDE LOOP");
}

It always stops on printing 'BEFORE turnON()' - turnON() method seems not to work correctly.

I have Software/Hardware Port switched to Tx->D8, Rx->D7,
SIM card is inside the socket,
GNSS & GSM/LTE antenas are plugged in.

No idea what I am doing wrong, anyone can help here?
Hi
Can I know which country are you in?
#28602
Power: for now shield is plugged into my Arduino Uno (shield pins to Arduino pins). Arduino is connected to my PC with USB A-B. I think there is no problem with power supply, because NB-IOT SIM7000 module is able to get data from BME 280 sensor.

Provider: I bought standard SIM card with 30gb internet data package. Provider is Play - polish cellular telecommunications provider.