Module GSM with Arduino UNO

Good day,
My name is Michael, I am asking you for help with an integration of a "GMS / GPRS / GPS Shield (B) module purchased by the company" WAVESHARE ". I use ARDUINO UNO as hardware.
To initialize the module, I have to press the "PWRKEY" button for 1s and after the "NET" LED flashes I must then press the "RESET" button. Only after this procedure can I start to control the GSM module with AT commands.
I wanted to understand if it was possible to initialize the GMS / GPRS / GPS Shield (B) module via the ARDUINO software.
I am attaching some pictures.
I thank you in advance. :grinning:
Michael

4800ef78341d4db9b8c5a29cfe41348455b8416f_2_281x500


#include <SoftwareSerial.h>

SoftwareSerial mySerial(2, 3); // RX, TX
String comdata = "";
void Call_Phone(void);
void setup()
{
  // Open serial communications and wait for port to open:
  Serial.begin(9600);

 while (!Serial) {
    ; // wait for serial port to connect. Needed for native USB port only
  }

  // set the data rate for the SoftwareSerial port
  mySerial.begin(4800);
  delay(200);
}

void loop() // run over and over
{
  /*delay(2000);
  
   mySerial.listen();
   while(1)
  {  
    while(mySerial.available()>0)  
    {
        Serial.write(mySerial.read());
  }
   while(Serial.available())
   {
    mySerial.write(Serial.read());  //Arduino send the sim808 feedback to computer     
   }*/
   
   int inByte = Serial.read();
           switch (inByte) {
        case 'a':
          Serial.println("CALL");
          Call_Phone();
         break;
        }
        
   
}

void Call_Phone(void)//sned message 
{
   mySerial.println("AT");//Send AT command     
   delay(500);  
  //Make a phone call
   mySerial.println("ATD+39333333333;");//Change the receiver phone number   
   delay(200);
}

What does the documentation say?

There was no documentation in the module packaging. I recovered the schematic.

seems this is their web site

try to see if there is a reset pin on the module that you could drive from an Arduino Pin

Thanks for the reply :slight_smile:
I have already seen this documentation but I don't know how to reset.
The documentation I have attached shows the various pins but I don't know how to reset or turn the module on / off. Can you help me please? Thank you
Michael

the only thing visible is that the Arduino Reset pin is connected to the module's Reset pin. But they might have some design challenge and a boot race that creates issues...

seems they don't document it... so it would be guesswork..

ok, thank you very much for your reply. I see what I can do :slight_smile:

I used this shield in 2018. And I discovered that there Tx , RX marking was wrong. The pin rail they marked as TX was actually Rx and the RX was actually Tx. I posted the correct pinout in a tutorial. Don't know if they have corrected it now.
pinoutgsm.PNG

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.