I am working on a project which utilizes three components:
Arudino Pro Mini(5v)
Breakout SIM7600 A-H from AND technologies
9V Battery
I am trying to communicate through the device using the pins provided on the SIM board, which unfortunately is not successful.
I am able to connect to the board directly using an usb-c cable. After installing the right drivers, I am able to communicate with the board using AT commands from my Windows PC.
However, I want to be able to send AT commands through the arduino. The set up looks like this: I connect the following pins of arduino mini and SIM 7600A-H.
SIM 7600 TXD --> Arduino Pin 2
SIM 7600 RXD --> Arduino Pin 3
SIM 7600 Supply --> 5V
SIM 7600 GND --> GND
The code that I am using, I tried it with every possible baud rate:
#include <SoftwareSerial.h>
SoftwareSerial mySerial(2, 3); // RX, TX
void setup() {
// Open serial communications and wait for port to open:
Serial.begin(115200);
while (!Serial) {
; // wait for serial port to connect. Needed for native USB port only
}
Serial.println("Goodnight moon!");
// set the data rate for the SoftwareSerial port
mySerial.begin(115200);
}
void loop() { // run over and over
if (mySerial.available()) {
Serial.write(mySerial.read());
}
if (Serial.available()) {
mySerial.write(Serial.read());
}
}
After sending an AT command, there is no response, the module has both LED's on, indicating that it is up and running.