I'm trying to get my arduino GSM shield working with the example "Send SMS" code provided. However, when I upload and compile the program, the serial monitor displays "SMS Messages Sender" and nothing else occurs.


I cannot leave a comment otherwise I wouldn't post this as an answer. There are several reasons why this could be happening. You need to provide a bit more info.

Are you powering the GSM shield properly or do you just have it plugged into the USB?

According to the Arduino GSM shield web page:

Power requirements

It is recommended that the board be powered with an external power supply that can provide between 700mA and 1000mA. Powering an Arduino and the GSM shield from a USB connection is not recommended, as USB cannot provide the required current for when the modem is in heavy use.

The modem can pull up to 2A of current at peak usage, which can occur during data transmission. This current is provided through the large orange capacitor on the board's surface.

Another thing to check is if your SIM card configured correctly. For example, does your SMS provider require a PIN to connect to the network?

| improve this answer | |
  • yaa i supplied gsm with a different battery and arduino with USB cable. problem is no example is running even AT command is also not showing ok. I also check arduino and gsm seprately and they r working properly. my connection is rx-tx;tx-rx ; grnd-grnd reverse is also tried. – Piyush Jain May 12 '15 at 8:45
  • Ok, then most likely it is an issue with your SIM. If you look at the example code you will see that it is in an infinite loop unil gsmAccess.begin(PINNUMBER)==GSM_READY. Based on your info, it seems that GSM never returns ready. – neverseenjack May 12 '15 at 17:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.