Error in communication with A7672

Hello experts,

I am SRJ.
I am currently working on a project which need a A7672 sim modem manufactured by SIMCOM (SIMCOM A7672).

My problem is that I am unable to communicate with A7672..

I am using ESP32 for this..

The thing happening is when I send any AT command to it then it shows some garbage values as responce...

I have checked BAUD RATE which is correct..

Please tell me what type of issue this might be & how can I solve it...

Thanks.....

-SRJ

Before adding the complications of code and the ESP, have you tried communicating with it manually from a terminal?

Print the return in HEX and see if that makes sense as a return for what you sent.

Thanks for your reply...

Yes

I am trying manually.....

I also tried Multiserial from TINYGSM library but every Baud rate is failed......

Thanks for your reply,

I tried below cod eyo print HEX

void setup() {
  Serial.begin(115200);
  Serial2.begin(115200);
}

void loop() {
  if (Serial.available() > 0) {
    String message = Serial.readString();
    Serial.print("ESP1 Sent: ");
    Serial.println(message);
    Serial2.println(message);
  }

  if (Serial2.available() > 0) {
    String receivedMessage = Serial2.readString();
    Serial.print("ESP1 Received: ");
    for (size_t i = 0; i < receivedMessage.length(); i++) {
      Serial.print(receivedMessage[i], HEX);
    }
    Serial.println(); // Print a newline after printing the entire message in hexadecimal.
  }
}

The response I see in Serial monitor is just like

20:29:32.631 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
20:29:32.631 -> configsip: 0, SPIWP:0xee
20:29:32.663 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
20:29:32.663 -> mode:DIO, clock div:1
20:29:32.663 -> load:0x3fff0030,len:1184
20:29:32.663 -> load:0x40078000,len:13220
20:29:32.663 -> ho 0 tail 12 room 4
20:29:32.663 -> load:0x40080400,len:3028
20:29:32.663 -> entry 0x400805e4
20:29:37.103 -> ESP1 Sent: AT
20:29:37.103 -> 
20:29:38.102 -> ESP1 Received: 0A095A848F8
20:29:41.839 -> ESP1 Sent: AT
20:29:41.839 -> 
20:29:42.838 -> ESP1 Received: DFBFDA4B7224D400004000000000000A095A848F8
20:29:46.023 -> ESP1 Sent: AT
20:29:46.023 -> 
20:29:47.020 -> ESP1 Received: FFDE1D9C08000000000000000A095A848F8

You are just sending "AT". Don't you also need additional data with that to identify what the AT is supposed to do?

AT – checks the connection to the modem

The responce of the module should be

OK

I tried some other commands

But no use

20:40:56.226-> ESP1 Sent: AT+COPS?

20:40:56.226 ->

20:40:57.223 -> ESP1 Received: 87FB7BFBEFDB9F1A202418494180800000000A0D56930414DFDADA

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