Smart Home Automation Forum
KC868-A2 V2.4 +SIM7600E-L1C - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: KC868-A2 (https://www.kincony.com/forum/forumdisplay.php?fid=43)
+--- Thread: KC868-A2 V2.4 +SIM7600E-L1C (/showthread.php?tid=6203)



KC868-A2 V2.4 +SIM7600E-L1C - ktmustafa - 07-25-2024

Hello,
I used the KC868-A2 AT debug code to test the connection with the SIM7600E-L1C module. However, I did not get any response... The serial monitor keeps showing " Initializing... " only. Code as below. I would appreciate it if you could help solve this issue.

Thank you

Code:
#include <SoftwareSerial.h>
#include <Arduino.h>

SoftwareSerial gsmSerial(5, 13); ////Rx, Tx for SMS Modem

void setup() {
  Serial.begin(115200);
  gsmSerial.begin(9600);
}

void loop() {
  Serial.println("Initializing...");
  delay(1000);
  gsmSerial.println("AT");
  updateSerial();
  delay(3000);
 
}

void updateSerial()
{
  delay(1000);
  while (Serial.available())
  {
    gsmSerial.write(Serial.read());//Forward what Serial received to Software Serial Port
  }
  while(gsmSerial.available())
  {
    Serial.write(gsmSerial.read());//Forward what Software Serial received to Serial Port
  }
}



RE: KC868-A2 V2.4 +SIM7600E-L1C - admin - 07-25-2024

you should exchange RXD, TXD pin define: RX=13 Tx= 5


RE: KC868-A2 V2.4 +SIM7600E-L1C - ktmustafa - 07-26-2024

I did exchange.. but no hope... Please check the file I sent on WhatsApp


RE: KC868-A2 V2.4 +SIM7600E-L1C - admin - 07-27-2024

because your KC868-A2 PCB is newest verison: V2.4
so the GSM:
GSM:
RXD:13
TXD:5
I have test with simple code by AT command, it's OK. here is photo:
   
   


RE: KC868-A2 V2.4 +SIM7600E-L1C - admin - 07-27-2024

Code:
void setup() {
  Serial.begin(115200);
  Serial2.begin(115200,SERIAL_8N1,13,5);
  //KinCony KC868-A2 PCB v2.4  RXD:GPIO13   TXD:GPIO5
}

void loop() {
  while (Serial.available()) {
    //  delay(1);
      Serial2.write(Serial.read());
  }
  while (Serial2.available()) {
       Serial.write(Serial2.read());
  }
}



RE: KC868-A2 V2.4 +SIM7600E-L1C - ktmustafa - 07-27-2024

Thank you very much... I used this code, when I call it's Ok but when send AT command no reply... Am I missing something?
   


RE: KC868-A2 V2.4 +SIM7600E-L1C - admin - 07-27-2024

At the end of each AT command, should add "end symbol".