Hi I'm new to the forum, and this is my school project. It is involved a SIM800L comm. module. I'm using an Arduino Mini Pro 5V 16Mhz as my microcontroller. I followed the guide from YT and had the SIM800L connected accordingly. I was testing the SIM800L with an examples code and testing the AT commands on the serial monitor. I got it send out all calls, but it could not send out text messages. I attached my code and the result I received. After the AT+CMGS="+1832#######", it did not respond back with anything. Any help or guidance will be appreciated.
my code:
< #include <SoftwareSerial.h>
SoftwareSerial mySerial(5, 4); // RX, TX
void setup() {
Serial.begin(9600);
mySerial.begin(9600);
}
void loop() {
if (mySerial.available()) {
Serial.write(mySerial.read());
}
if (Serial.available()) {
mySerial.write(Serial.read());
}
} >
The result I got back:
AT
OK
AT+CPIN?
+CPIN: READY
OK
ATD+ +1832#######
OK
AT+CMGF=1
OK
AT+CMGS="1832#######"
/> Hi
/>
/>
I was expecting a response such as +CMGS:# , but nothing showed.