Home > Tutorials > Arduino Cellular Shield Tutorial

Arduino Cellular Shield Tutorial

Summary of Arduino Cellular Shield Tutorial


The article provides a tutorial on setting up the Arduino Cellular Shield to make calls and send text messages using the SM5100B module. It covers hardware assembly steps like soldering headers, resoldering antenna connections, and inserting a SIM card. The guide includes code for initializing communication via SoftwareSerial and details AT commands for network registration, dialing, and messaging.

Parts used in the Arduino Cellular Shield Project:

  • Cellular shield
  • Stackable Arduino headers
  • Quad band antenna
  • Arduino Uno (or similar)
  • SIM card
  • Microphone and speaker (optional for calls)

The Arduino Cellular Shield allows you to make cellular telephone calls, and send text messages. The brains of this shield is the SM5100B which is a robust cellular module capable of performing many of the tasks of most standard cell phones. This shield requires use of a SIM card to connect to a cellular network. The tutorial that follows is a bare bones tutorial for initializing the shield, and both sending and receiving text messages, and telephone calls. To learn more about the module’s functionality, be sure to check out the datasheets on Sparkfun’s product page.

Arduino Cellular Shield

Step 2: Solder Headers

Insert the headers into the shield and solder them into place.

Step 3: Insert

Insert the header pins into the sockets on the Arduino.

Arduino Cellular Shield connecting

Step 4: Resolder

The antenna cable’s connection to the SM5100B module is usually not very good. Resolder each of the cable’s connections to the module to ensure connectivity.

Step 5: Attach the Antenna

Thread the antenna to the antenna cable.

Step 6: Insert SIM Card

Insert the SIM card securely into the SIM card socket.

Step 7: Initialize

Run the following code on the Arduino:

Major Components in Project

Go Get Stuff

You will need:

(x1) Cellular shield
(x1) Stackable Arduino headers
(x1) Quad band antenna
(x1) Arduino Uno (or similar)

For more detail: Arduino Cellular Shield Tutorial

Quick Solutions to Questions related to Arduino Cellular Shield:

  • How do I ensure good connectivity for the antenna?
    Resolder each of the cable's connections to the SM5100B module because the connection is usually not very good.
  • What library is required to interface with the cellular module?
    The NewSoftSerial library must be included to send serial commands to the cellular module.
  • Which pins are used for the fake serial port on the Arduino?
    Pin 2 is used as the Rx pin and Pin 3 is used as the Tx pin.
  • How can I verify if the module recognizes the SIM card?
    Check the startup sequence for +SIND: 10; if every other field is a 1, the SIM card is detected.
  • What command sets the GSM band to 7 for the US?
    Use the command AT+SBAND=7 to set the band.
  • What indicates that the AT module is totally ready?
    A +SIND response of 4 indicates the AT module is totally ready.
  • How do I format a phone number when making a call?
    The phone number format should be (xxx)yyy-zzzz inside the ATD command.
  • How do I end a text message AT command?
    End the AT command by sending CTRL+Z after entering the text.
  • Can I use the standard Arduino terminal to send the final character for texts?
    No, you cannot send CTRL+Z from the Arduino's terminal; use an alternate program like Hyperterminal or Tera Term.
  • What baud rate should be used for initialization?
    Initialize both Serial and cell ports at 9600 baud.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top