Linksprite ATWIN Quad-band GPRS/GSM Shield for Arduino

Linksprite ATWIN Quad-band GPRS/GSM Shield for Arduino
Price: US $47.28/ piece|Processing Time: Ships out within 3 days
Unit Type: piece|Package Weight: 0.3kg|Package Size: 10cm x 10cm x 10cm

Detailed Information:

GSM/GPRS shield has PCB etched antenna, so no need for external antenna.

Download:

The shield must be powered by a wall adapter with 12V, 1A

1. 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 is115200.

2. Install X-CTU serial terminal console:


Second Tutorial:

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:

CODE: SELECT ALL/*
*/
#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.
}
}

ONLY FOR PROFESSIONALS

Free Shipping China post registered air mail tracking number offered


inkfrog terapeak

i000000

Analyzing"Smart Counters"only at inkFrog


inkFrog Analytics

Detailed Specifications: