HI, I am trying to communicate with sim900 i can't send a AT commands i can only receive . when i send a AT command i dont get the O.K Turning on the sim 900 i get
RDY
+CFUN:1
+CPIN :READY
+PACSP: 1
CALL READY
did i do somthing wrong
HI, I am trying to communicate with sim900 i can't send a AT commands i can only receive . when i send a AT command i dont get the O.K Turning on the sim 900 i get
RDY
+CFUN:1
+CPIN :READY
+PACSP: 1
CALL READY
did i do somthing wrong
What are you using to send the AT commands?
am using arduino
you have to post your code. it's all well and good to send these commands, but you have to write code to read the results
This is the sketch . in my serial moneter i get only the Initializing... then nothing, is there somthing to do with the sleep mode the last time i whas useing AT+CSCLK=
#include <SoftwareSerial.h>
SoftwareSerial mySerial(2 , 3 );
void setup()
{
Serial.begin(9600);
mySerial.begin(9600);
Serial.println("Initializing...");
delay(1000);
mySerial.println("AT"); //Handshaking with SIM900
updateSerial();
mySerial.println("AT+CSQ"); //Signal quality test, value range is 0-31 , 31 is the best
updateSerial();
mySerial.println("AT+CCID"); //Read SIM information to confirm whether the SIM is plugged
updateSerial();
mySerial.println("ATZ"); //Check whether it has registered in the network
updateSerial();
}
void loop()
{
updateSerial();
}
void updateSerial()
{
delay(500);
while (Serial.available())
{
mySerial.write(Serial.read());//Forward what Serial received to Software Serial Port
}
while (mySerial.available())
{
Serial.write(mySerial.read());//Forward what Software Serial received to Serial Port
}
}
I believe that the syntax for the AT command needs to be terminated with a carriage return \r
e.g.
mySerial.println("AT\r");
no still nothing. I think i have a problem with my tx
have you ever come to solve this problem? I'm using the very same sketch from lastminuteengineers.com and it doesn't work for me either.