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

From LinkSprite Playgound
Jump to: navigation, search
(Hardware Installation)
(Introduction)
Line 5: Line 5:
  
 
[[File:4_ATWIN.jpg]]
 
[[File:4_ATWIN.jpg]]
 +
 +
 +
[[Media:http://v.youku.com/v_show/id_XMzkyOTMyMTQ0.html Vedio Intro]]
  
 
== Features  ==
 
== Features  ==

Revision as of 10:07, 8 November 2012

Introduction

AT139 is an ultra compact and high quality wireless module base on infineon UCL2 platform with industy-standard interface. This is a SMT package with small dimension, low power consumption, quad-band (AT139) and dual-band (AT139D) GSM/GPRS module, it can provide with voice, SMS, Fax, data applicationgs for customers.

Model: SOLID_ATGPRS_SHIELD_D32

4 ATWIN.jpg


Media:http://v.youku.com/v_show/id_XMzkyOTMyMTQ0.html Vedio Intro

Features

Application Ideas

Cautions

The warnings and wrong operations possible cause dangerous.

Schematic

Specification

May include key specification and other specifications.

Pin definition and Rating

Mechanic Dimensions

Usage

Hardware Installation

The shield must be powered by a wall adapter with 12V, 1A, like this one: PW-12VDC-1A_X3

  • RX jump to MRX, TX jump to MTX, and remove the atmega328P from arduino. By doing this, we can directly monitor serial port output using the USB port.The default baud rate is 115200.
  • Now we are going to use atmega328P's UART to talk to USB, and soft serial of atmega328P to talk to ATWIN.
  • Before we do that, we have to change ATWIN's data rate to 9600 as soft serial can't go to 119200.In first tutorial setup, do: AT+IPR=9600 to set the baud rate to 9600
  • Now set the jumper RX to D3, and TX to D2. SO that atmega328P's UART to talk to USB and soft serial of atmega328P to talk to ATWIN:
/*
*/
#include   //Include the NewSoftSerial library to send serial commands to the cellular module.
#include          //Used for string manipulations
char incoming_char=0;      //Will hold the incoming character from the Serial Port.
NewSoftSerial cell(2,3);  //Create a 'fake' serial port. Pin 2 is the Rx pin, pin 3 is the Tx pin.
void setup()
{
  //Initialize serial ports for communication.
Serial.begin(9600);
cell.begin(9600);
Serial.println("Starting ATWIN Communication...");
}
void loop()
{
//If a character comes in from the cellular module...
if(cell.available() >0)
{
incoming_char=cell.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
cell.print(incoming_char);    //Send the character to the cellular module.
}
}


Programming

FAQ

Please list your question here:

Support

Resources

How to buy

Here to buy ATWIN Quad-band GPRS/GSM Shield for Arduino SOLID_ATGPRS_SHIELD_D32 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.