Skip to main content
Bumped by Community user
Bumped by Community user
added 176 characters in body
Source Link
jfpoilpret
  • 9.2k
  • 7
  • 38
  • 54

I connected a gsmGSM module with the arduino unoArduino UNO. The connections are as follows: Gsm

Gnd of gsm -----> Gnd of arduino

TX of gsm -----> pin 9 of arduino

Rx of gsm -----> pin 10 of arduino

GSM is powered from a 9V-1Amp wall adapter Gnd of gsm----->Gnd of arduino TX of gsm----->pin 9 of arduino Rx of gsm----->pin 10 of arduino The gsm.

The GSM is performing according to all the ATAT commands  (like making a voice call, hanging a call, answering a call) which are given, but it is displaying garbage values on serial monitor in response. 

Here is the code: #include <SoftwareSerial.h> SoftwareSerial myserial(9, 10); Void setup() Serial.begin(115200); myserial.begin(9600); myserial.println("ATDXXXXXXXXXX;"); delay(30000); myserial.println("ATH"); Void loop() If( myserial.available()>0){ Serial.println(myserial.read()); } What

#include <SoftwareSerial.h>
SoftwareSerial myserial(9, 10);

void setup() {
    Serial.begin(115200);
    myserial.begin(9600);
    myserial.println("ATDXXXXXXXXXX;");
    delay(30000);
    myserial.println("ATH");
}

void loop() {
    if (myserial.available()>0){
        Serial.println(myserial.read());
    }
}

What could be reasonreasons for the gsm givingGSM to output garbage values and how can I resolve it??

I connected a gsm module with the arduino uno. The connections are as follows: Gsm powered from a 9V-1Amp wall adapter Gnd of gsm----->Gnd of arduino TX of gsm----->pin 9 of arduino Rx of gsm----->pin 10 of arduino The gsm is performing according to all the AT commands(like making a voice call, hanging a call, answering a call) which are given but is displaying garbage values on serial monitor in response. Here is the code: #include <SoftwareSerial.h> SoftwareSerial myserial(9, 10); Void setup() Serial.begin(115200); myserial.begin(9600); myserial.println("ATDXXXXXXXXXX;"); delay(30000); myserial.println("ATH"); Void loop() If( myserial.available()>0){ Serial.println(myserial.read()); } What could be reason for the gsm giving garbage values and how can I resolve it??

I connected a GSM module with the Arduino UNO. The connections are as follows:

Gnd of gsm -----> Gnd of arduino

TX of gsm -----> pin 9 of arduino

Rx of gsm -----> pin 10 of arduino

GSM is powered from a 9V-1Amp wall adapter.

The GSM is performing according to all the AT commands  (like making a voice call, hanging a call, answering a call) which are given, but it is displaying garbage values on serial monitor in response. 

Here is the code:

#include <SoftwareSerial.h>
SoftwareSerial myserial(9, 10);

void setup() {
    Serial.begin(115200);
    myserial.begin(9600);
    myserial.println("ATDXXXXXXXXXX;");
    delay(30000);
    myserial.println("ATH");
}

void loop() {
    if (myserial.available()>0){
        Serial.println(myserial.read());
    }
}

What could be reasons for the GSM to output garbage values and how can I resolve it?

Source Link

GSM module connected with arduino uno giving garbage values in response

I connected a gsm module with the arduino uno. The connections are as follows: Gsm powered from a 9V-1Amp wall adapter Gnd of gsm----->Gnd of arduino TX of gsm----->pin 9 of arduino Rx of gsm----->pin 10 of arduino The gsm is performing according to all the AT commands(like making a voice call, hanging a call, answering a call) which are given but is displaying garbage values on serial monitor in response. Here is the code: #include <SoftwareSerial.h> SoftwareSerial myserial(9, 10); Void setup() Serial.begin(115200); myserial.begin(9600); myserial.println("ATDXXXXXXXXXX;"); delay(30000); myserial.println("ATH"); Void loop() If( myserial.available()>0){ Serial.println(myserial.read()); } What could be reason for the gsm giving garbage values and how can I resolve it??