Hello everyone,
I recently purchased a Simcom A7670e module to use with my Arduino Uno and send HTTP requests through 4G. However, I'm having trouble establishing a connection between the A7670e and the Arduino Uno.
Here are the steps I've taken so far:
- Connected the R port of the A7670e to pin 2 of the Arduino Uno, and the T port to pin
- Made a common ground connection between the A7670e and the Arduino Uno.
- Supplied power to the A7670e using a 2A regulator to provide a stable 5V input.
Despite these steps, I haven't been able to get any response from the A7670e on the serial monitor when trying to send an AT command.
Can anyone offer some guidance on how to establish a successful connection and send commands to the A7670e through the Arduino Uno?
Here is an example code that sends an AT command to the A7670e and prints the response to the serial monitor:
#include <SoftwareSerial.h>
SoftwareSerial mySerial(2, 3); // RX, TX
void setup() {
Serial.begin(9600); // Serial monitor baud rate
mySerial.begin(9600); // A7670e baud rate
delay(1000);
Serial.println("Starting communication with A7670e");
}
void loop() {
if (mySerial.available()) {
Serial.write(mySerial.read()); // print response from A7670e on serial monitor
}
if (Serial.available()) {
mySerial.write(Serial.read()); // send command written on serial monitor to A7670e
}
}