Tutorial.GSMExamplesWebServer History

Hide minor edits - Show changes to markup

March 11, 2013, at 10:36 AM by Scott Fitzgerald -
Changed lines 284-293 from:
to:
February 02, 2013, at 11:35 AM by Scott Fitzgerald -
Changed lines 1-6 from:

Examples > Make Voice Call

Using the GSM Shield to Make Calls

This example shows how to use the GSM Shield and Library to make voice calls. Please click here for more information on the GSM library.

to:

Examples > GSM library

GSM Web Server

This sketch turns the Arduino with a GSM shield and a data enabled SIM card into a web server. When the Arduino receives a request from a connected client, it sends back the value of analog inputs 0-5.

Not all network operators allow incoming data requests from outside their network. This means you can create a web server with the GSM shield, but you may not be able to connect to it from the public internet; only from another data enabled device from the same provider on the same network. You should check with your provider to see what specific policies they have in place regarding incoming data connections.

Changed lines 13-14 from:
  • SIM card
to:
  • SIM card with a data connection
  • (optional) 6 potentiometers or other analog inputs attached to A0-A5
Changed lines 26-28 from:

The code below is configured for use with a GSM/GPRS shield. In the variable declaration area, you need to instantiate both the GSM and GSMVoiceCall classes. Inside setup(), call GSM.begin(), with the PINNUMBER of your SIM card as parameter. GSM.begin() will return whether the shield managed to connect to the GSM network or not.

In the loop(), the input from the Serial Monitor is used to tell the GSM Shield a phone number to call to. The code waits until the call is over before performing any other actions.

to:
Changed lines 162-278 from:
to:
Changed line 284 from:
to:
November 16, 2012, at 07:58 PM by Scott Fitzgerald -
Added lines 1-34:

Share