Send SMS using Uno and elecfreaks SIM900 breakout bord


i'm trying send sms uno. code i'm using is:
code: [select]
[/
void do_the_switch(void){
  if((pos=="u1front")&&(switch_state=="on")){//verify light position , switch state be.
    digitalwrite(u1frontsw,on);              //switch on light.
    temp='\"'+phone_num+'\"';                //format phone number read sms
    serial.print("temp=");
    serial.println(temp);
    myserial.print("at+cmgs=\"+27716758370\"\r"); //initiate sms sending
    delay(5000);
    myserial.println("u1front switched on");   //send confirmation sms of switching done.
  }code]
it doesn't seem initiate sending of sms. confirmation sms not sent.

can respond?

take @ bottom of page link in signature...


Arduino Forum > Topics > Home Automation and Networked Objects > Send SMS using Uno and elecfreaks SIM900 breakout bord


arduino

Comments

Popular posts from this blog

Help with codes to add 1 more shift register and add more to matrix LED

tcp client

Can't read sms using Thinker A7 communicate with Arduino