Example Code for Arduino-Make a Call (AT Commands)-V1.0
Last revision 2026/01/24
This article offers a detailed tutorial on making calls using Arduino UNO and SIM7600CE-T Shield with AT commands. It covers hardware and software setup, sample code, and step-by-step instructions, making it an ideal resource for Arduino enthusiasts looking to enhance their project capabilities.
Hardware Preparation
- DFR0216 DFRduino UNO R3 ×1
- SIM7600CE-T Shield ×1
- External Power Supply ×1
Software Preparation
- Download and install the Arduino IDE: Click to Download Arduino IDE
- Download and install the Serial Debugger: Click to Download Serial Debugger
Preparations
- Insert SIM card into SIM7600CE-T shield, then connect it with Arduino UNO and plug in the external power supply.
- Press “Boot” to start the module, and wait for SIM card to be successfully registered into Network, which means Net indicator begins to flash quickly.
- Select D0/D1 or D7/D8 as communication serial port through jumper cap according to the type of controller board.
- Take Arduino UNO as an example, download the following code to UNO and connect RX-D8/TX-D7 by jumper cap.
Sample Code
#include <SoftwareSerial.h>
SoftwareSerial myserial(7, 8); //Define virtual serial port name as myseria,Rx is port 7, Tx is port 8
void setup()
{
myserial.begin(115200); //Initialize virtual serial port
Serial.begin(115200); //Initialize Arduino default serial port
}
void loop()
{
while(1){
while (myserial.available()) {
Serial.write(myserial.read());//if Serial received data, output it via mySerial.
}
while(Serial.available()) {
myserial.write(Serial.read());//if myserial received data, output it via Serial.
}
}
}
Other Preparation Work(AT command)
Open your Arduino Serial Monitor, and choose Baud Rate@ 115200, Format@ Carriage Return, you can also use other software or even wireless module.
- Send AT to enter AT mode, you will get OK, or please check the serial monitor setting or if the NET led is flashing every 3 seconds.
- Send *ATD170***9217; to make a call, do not forget the ";" in the end;
- If accepted, you will see OK.
- If rejected, you will see NO CARRIER.
Result

Was this article helpful?
