Forum >Replies by numael
userhead numael
Replies (2)
  • You Reply: Hello,

    Thx for your replay.
    It's work !

    Best,
    Manuel
  • You Reply: Hello,

    Please found an exemple:
    Code: Select all
    #include <Wire.h>
    #include <DFRobot_SIM7000.h>
    
    SoftwareSerial     mySerial(10, 7); // with link between D8 - D10 on my Mega.
    DFRobot_SIM7000    sim7000;
    
    
    void setup() 
    {   
        Serial.begin(115200);     
        sim7000.begin(mySerial);
        
        sim7000.turnOFF();
        Serial.print("Turn OFF SIM7000 ");
        for(int i=0 ; i < 6; i++)
        {
          delay(1000);
          Serial.print(".");
        }
        Serial.println(" OK");
    
        Serial.print("Turn ON SIM7000 ...");
        if( sim7000.turnON() )
          Serial.println(" OK");
        else
          Serial.println(" Failed !");
          
        delay(2000);
        
        Serial.print("Set baud rate: 19200 ...");
        if( sim7000.setBaudRate(19200) )
          Serial.println(" OK");
        else
          Serial.println(" Failed !");
            
        delay(2000);     
    }
    
    void loop()
    {
      Serial.print(".");
      delay(1000);
    }