Posts: 7
Threads: 0
Joined: Jan 2025
Reputation:
0
Hello I am in the process of testing the sim7600 4G but I cannot do the tests here is my code: #define SIM7600_TX 13 // TX2 on KC868-A4S
#define SIM7600_RX 15 // RX2 on KC868-A4S
void setup() {
Serial.begin(115200);
Serial2.begin(115200, SERIAL_8N1, SIM7600_RX, SIM7600_TX);
Serial.println("? KC868-A4S connected to SIM7600!");
// Wait 2 seconds for the module to start
delay(2000);
Serial.println("Sending AT command...");
Serial2.println("AT");
// Wait for the response from SIM7600
unsigned long timeout = millis() + 3000; // Timeout of 3 seconds
while (millis() < timeout) {
while (Serial2.available()) {
char c = Serial2.read();
Serial.write©;
}
}
}
void loop() {
// Transfer of commands from PC to SIM7600
while (Serial.available()) {
Serial2.write(Serial.read());
}
// Display of SIM7600 responses
while (Serial2.available()) {
Serial.write(Serial2.read());
}
}
Posts: 9,100
Threads: 1,204
Joined: Oct 2020
Reputation:
235
can you use our sample code test firstly.
Posts: 7
Threads: 0
Joined: Jan 2025
Reputation:
0
I have already done this test but it
Posts: 9,100
Threads: 1,204
Joined: Oct 2020
Reputation:
235
after china new year holidays, we can test it with A4S + SIM7600E