Go Down

Topic: SMS via GSM - ASCII 64 (@) NOT working?? (Read 523 times) previous topic - next topic

Feffe76

Hi all.

Trying to send a sms with my email address TEST@TEST.COM when it's recieved it reads: TESTiTEST.COM

It's not actually an "i". It seems to be set a little lower on the line.

All other chars seems to be working. Using TC35 as sender and android for reciever.

Thanks!

Regards.

daveb27

Hi,

I am working on a similar project at the moment to send SMS via TC35 but not having a lot of joy. Could you post the code/wiring (if you have a picture) it would be a great help.

Cheers,
Dave

Feffe76

Hi Daveb27

Try this:

#include <SoftwareSerial.h>
const byte rxPin = 2; // TC35 JP6 PIN1
const byte txPin = 3; // TC35 JP6 PIN2
// REMEMBER TO CONNECT GND ON ARDUINO TO GND ON TC35
// THIS EXSAMLPE NEEDS THE SIMM PINCODE TO BE DISABLED
SoftwareSerial TC35 = SoftwareSerial(rxPin, txPin);

void setup() {
  TC35.begin(9600);
  TC35.print("AT+CMGS=");
  TC35.write((int)34);
  TC35.print("PhoneNumber");
  TC35.write((int)34);
  TC35.write((int)13);
  delay(250);
  TC35.print("Message");
  delay(250);
  TC35.write((int)26);
}

void loop() {
}

Go Up