A7672 communication with ESP32 issue

Hello experts,

I am using SIMCOM A7672 & ESP32 for a communication...

Here I am using this code :

void setup() {
  // Start the Serial Monitor
  Serial.begin(9600);
 
  // Start the SoftwareSerial for communication with SIM800
  Serial2.begin(9600);
 
  // Give some time for SIM800 to initialize
  delay(2000);
 
  // Initialize the SIM800 module (optional)
}
 
void loop() {
  // Check for data from Serial Monitor and send it to SIM800
  if (Serial.available()) {
    char data = Serial.read();
    Serial2.write(data); // Send data to SIM800
  }
 
  // Check for data from SIM800 and send it to Serial Monitor
  if (Serial2.available()) {
    char data = Serial2.read();
    Serial.write(data); // Send data to Serial Monitor
  }
}
 

CONNECTIONS

ESP pin.   --->   A7672 PIN
         
TX_2      --->      RX
RX_2      --->      TX 
GND      --->      GND
VCC        --->      VCC

According to my code,
When I send any AT commands then the A7672 should feedback & the responce should be visible is Serial monitor.

similarly

If I called on the SIM present in A7672 then the module should tell it to the SERIAL MONITOR )

But anything is not happening like this

Please tell me where I am wrong...

Thanks & Regards!!!

-SRJ

Could You make a schematics showing the powering of the circuits?

This is what I did.....

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