SIM800L using SoftwareSerial?
Posted: Wed Apr 27, 2016 12:41 pm
I'm trying to communicate with a SIM800L module using the SoftSerial library.
I am trying various pins, but I get no reply whatsoever!
Has anyone got this working?
An excerpt of my code:
serialSIM800.begin(9600);
delay(1000);
if(Serial.available()){
Serial.println("AT\r\n");
serialSIM800.write("AT\r\n");
}
if(serialSIM800.available()){
Serial.write(serialSIM800.read());
}
It works fine when connected straight to my PC over an 3.3v FTDI cable.
I am trying various pins, but I get no reply whatsoever!
Has anyone got this working?
An excerpt of my code:
serialSIM800.begin(9600);
delay(1000);
if(Serial.available()){
Serial.println("AT\r\n");
serialSIM800.write("AT\r\n");
}
if(serialSIM800.available()){
Serial.write(serialSIM800.read());
}
It works fine when connected straight to my PC over an 3.3v FTDI cable.