Je n'arrive pas à envoyer d'SMSs

bonjour,
tu peux déjà faire un retour dans la console pour voir.
quelle shield utilise tu?
en général, ce que je fais avant de mettre la sim sur l'arduino, je la configure sur un gsm normal.

sinon essaye avec ca

#include <NewSoftSerial.h>
NewSoftSerial mySerial(7, 8);

const char* message = "toto";
const char* numero1 = "000000000";

void setup()
{
mySerial.begin(19200); // the GPRS baud rate
Serial.begin(19200); // the GPRS baud rate

}
void loop()
{
for(int i=0;i<2;i++){
mySerial.println("ATZ"); //Because we want to send the SMS in text mode
delay(1000);
mySerial.println("AT+CMGF=1"); //Because we want to send the SMS in text mode
delay(1000);
mySerial.print("AT+CMGS="); //Start accepting the text for the message
mySerial.print(34,BYTE);
mySerial.print(numero1); //Start accepting the text for the message
mySerial.println(34,BYTE);
delay(1000);
mySerial.print(34,BYTE);
mySerial.print(message); //The text for the message
mySerial.print(34,BYTE);
delay(1000);
mySerial.print(26,BYTE); //Equivalent to sending Ctrl+Z
}
}