Skip to content

Seeed-Studio/GPRS_SIM900

Repository files navigation

GPRS Shield and Cheap SIM800L PCB BOARDS Build Status

Only two special functions are different for SIM900 Shield or SIM800L PCB boards:

  • For SIM900 shield you have to use powerUpDown.
  • For SIM800L with RST pin, you have to use powerReset.

GPRS Shield 3.0

GPRS Shield provide you a way to DIY your own mobile phone. You can use your GRPS Shield to dial a phone number or send a text message to your friend. Besides these, you can use it to access the network and view web pages. For more information, you can visit our Wiki Page

If using multiple software serial ports, only one can receive data at a time. Not all pins on the Mega and Mega 2560 support change interrupts, so only the following can be used for RX: 10, 11, 12, 13, 14, 15, 50, 51, 52, 53, A8 (62), A9 (63), A10 (64), A11 (65), A12 (66), A13 (67), A14 (68), A15 (69). Not all pins on the Leonardo and Micro support change interrupts, so only the following can be used for RX: 8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI). On Arduino or Genuino 101 the current maximum RX speed is 57600bps On Arduino or Genuino 101 RX doesn't work on Pin 13 If your project requires simultaneous data flows, see Paul Stoffregen's AltSoftSerial library. AltSoftSerial overcomes a number of other issues with the core SoftwareSerial, but has it's own limitations. Refer to the AltSoftSerial site for more information.

Features

  • Compatible with standard Arduino and Arduino Mega
  • Selectable interface between hardware serial port and software serial port
  • Selectable interface between hardware serial port and software serial port
  • Support TCP/UDP protocols
  • Full control via AT commands set: Standard - GSM 07.07 & 07.05 and Enhanced - SIMCOM AT Commands
  • 2-in-1 headset jack
  • Convenient external SIM card holder
  • Low power consumption: 1.5mA(sleep mode)
  • 3V CR1220 Battery Holder Connetor

Applications

  • Call up and answer Call
  • Send SMS and read SMS
  • AT Command Test
  • TCP Connection Test
  • Issue HTTP GET requests

Getting Started

Make sure that two libraries (GPRS_Shield —— GPRS Module Library, SoftwareSerial —— we use software serial to communicate with GPRS module) have been in your libraries folder. Then you can have a test with the sketches in example folder.

  • GPRS_Serial_Debug —— test GPRS module with AT commands.
  • GPRS_CallUp —— give a call to someone.
  • GPRS_SendSMS —— send a message to someone.
  • GPRS_LoopHandle —— answer the call & read the message.
  • GPRS_SMSread —— another way to read a message.
  • GPRS_TCPConnection —— build a TCP connection and read the content from the specified website.
  • GRPS_HTTP_GET —— issue a HTTP GET request using native HTTP support of module

This software is written by lawliet zou for Seeed Technology Co.,Ltd and is licensed under The MIT License. Check License.txt/LICENSE for the details of MIT license.

Contributing to this software is warmly welcomed. You can do this basically by forking, committing modifications and then pulling requests (follow the links above for operating guide). Adding change log and your contact into file header is encouraged.

Thanks for your contribution.

Seeed is a hardware innovation platform for makers to grow inspirations into differentiating products. By working closely with technology providers of all scale, Seeed provides accessible technologies with quality, speed and supply chain knowledge. When prototypes are ready to iterate, Seeed helps productize 1 to 1,000 pcs using in-house engineering, supply chain management and agile manufacture forces. Seeed also team up with incubators, Chinese tech ecosystem, investors and distribution channels to portal Maker startups beyond.

Analytics