Difference between revisions of "Quad-band GPRS/GSM Shield for Arduino Mega"

From LinkSprite Playgound
Jump to: navigation, search
(Tutorial 1)
Line 1: Line 1:
 
== Introduction  ==
 
== Introduction  ==
  
Model:[http://www.cutedigi.com/arduino-shields/quad-band-gprsgsm-shield-for-arduino-mega-gsm-module-included.html ARDUI_MEGA_5100_GPRS]
 
  
 
[[File:ARDUI_MEGA_5100_GPRS.jpg]]
 
[[File:ARDUI_MEGA_5100_GPRS.jpg]]
Line 49: Line 48:
 
== Usage  ==
 
== Usage  ==
  
 
+
Due to the large current of the GPRS module, a wall adaptor is recommended: http://www.cutedigi.com/product_info.php?products_id=4184
  
  

Revision as of 12:49, 27 December 2012

Introduction

ARDUI MEGA 5100 GPRS.jpg

Features

Application Ideas

Cautions

Schematic

Specification

Pin definition and Rating

Mechanic Dimensions

Usage

Due to the large current of the GPRS module, a wall adaptor is recommended: http://www.cutedigi.com/product_info.php?products_id=4184


Hardware Installation

Tutorial 1

Jumpers position:

J1: 5100RX to TX1

J2: 5100TX to RX1

Pass through code:

<syntaxhighlight lang="c">

  1. include //Used for string manipulations

char incoming_char=0; //Will hold the incoming character from the Serial Port.

void setup()

{

 //Initialize serial ports for communication.

Serial.begin(9600);

Serial1.begin(9600);

Serial.println("Starting SM5100B Communication...");

}

void loop()

{

//If a character comes in from the cellular module...

if(Serial1.available() >0)

{

incoming_char=Serial1.read(); //Get the character from the cellular serial port.

Serial.print(incoming_char); //Print the incoming character to the terminal.

}

//If a character is coming from the terminal to the Arduino...

if(Serial.available() >0)

{

incoming_char=Serial.read(); //Get the character coming from the terminal

Serial1.print(incoming_char); //Send the character to the cellular module.

}

}

</syntaxhighlight>

Programming

FAQ

Please list your question here:

Support

If you have questions or other better design ideas, you can go to our forum to discuss or creat a ticket for your issue at linksprite support.

Resources

How to buy

Here to buy Quad-band GPRS/GSM Shield for Arduino MegaARDUI_MEGA_5100_GPRS on LinkSprite Cart

See Also

Other related products and resources.

Licensing

This documentation is licensed under the Creative Commons Attribution-ShareAlike License 3.0 Source code and libraries are licensed under GPL/LGPL, see source code files for details.