Bonjour j'ai vraiment besoin d'aide je suis bloquer après avoir chercher et chercher je ne trouve plus la solution. Je n'arrive plus a envoyer un sms avec le module sim808
Voici mon programme arduino:
#include <DFRobot_sim808.h>
char PHONE_NUMBER[] = "0619130902"; //Mobile phone number,need to change
char MESSAGE[] = "Test"; //The content of messages sent
DFRobot_SIM808 sim808(&Serial);
void setup() {
Serial.begin(9600);
while (!sim808.init()) {
Serial.print(".");
delay(1000);
}
Serial.println("\nSim808 init success");
Serial.println("Start to send message ...");
sim808.sendSMS(PHONE_NUMBER, MESSAGE);
}
void loop() {}
Insert a SIM card in to the SIM slot on the SIM808 expansion shield
Stack the expansion shield on to an Arduino UNO
Connect an external power source to the Arduino
Set the function switch to None
Upload the sample code
Set the function switch to Arduino and make sure SIM808 could communicate with Arduino board
Press the Boot power button
Wait for the SIM card to register the network, the Net indicator LED will slowly flash every 3 seconds
Si vous êtes nul en arduino pourquoi vouloir faire des choses compliquées? Commencez par la base et faites clignoter des LEDs, apprenez la programmation etc... revenez à votre projet dans quelques semaines ou mois...