Mikrolelektronika actually has two modules that are similar, the GSM Click and the GSM2 Click. Each one is based on a different GSM chipset (Telit on the GSM, Quectel on the GSM2), but both are quad-band and support GPRS.
The interesting thing about these modules is that they have a full TCP/IP stack built-in, and they even support high level protocols such as HTTP and DNS. Imagine implementing all that in an Arduino with 32K of flash and 2K of RAM... So the workflow for an HTTP request in these modules is actually very simple:
- Unlock the SIM via PIN
- Wait for network registration
- Start a GPRS connection
- Open up a connection to your server:port (ie. google.com:80)
- Send / receive data
- Close the GPRS connection
Steps 1 and 2 are done during initialization, and as long as the module stays registered, new requests would only require 3..6. Most of the steps can be done with single AT commands.
Electrically, I/O pins in the GSM Click support both 3.3/5V levels, but it does require a 3.3V power source. It took me an hour of frustration before I realized this. According to the datasheet of the GL-865 chip, the module can draw a maximum average ranging 140-330 mA (depending on the band and GPRS class), however they state the power supply must be designed to withstand a peak demand of 2A. This means you can't use the 3.3V source from most Arduinos because they are rated for much lower current, you need to provide your own 3.3V regulator.
The module comes preconfigured for 3.3V I/O operation. If you want to connect it to 5V devices you need to unsolder an SMD jumper and then resolder it across the 5V label.
In addition to the 3.3V power source you also need 5V (you can take this from the Arduino, it's used just for level conversion), GND and TX/RX. The module's TX goes to the Arduino RX and viceversa.
I've used SoftwareSerial on pins 2/3 to talk to the module so that I have the hardware UART free for debugging. However, when using both ports at the same time, incoming data from the GSM module gets massively corrupted. I believe either of them alone would work fine, but it's still early to say.
In the next post I'll show a more detailed connection schematic and some test code to do basic HTTP communication.
Amazing post, I’m the essential mere person of this once and likewise show pride in you actually taking some minutes to hold on necessary collaborating high-quality content. Chip Level Training in Hyderabad
ReplyDeleteI salute you help me how I can do to fulfill the transaction take over sms gsm clic on the Arduino?
ReplyDeleteyusuf connect with me about sms over gsm click if you need. Also i am looking for GPRS samples, if you have any may be share with me.
Deletei am looking for some code samples gsm click + arduino GPRS. i cannot run it with arduino library. Please write some example codes about GPRS.
ReplyDeletethank you.
I have been reading out a lot of your articles.
ReplyDeleteI will certainly bookmark your Blog.
Free Hybris Training
Devops Training
A not unusual Arduino, as an example the Mini does now not devour very a lot energy, generally 40 MA while connected to a USB cable. "find out more here"
ReplyDeleteSCCM online training
ReplyDeleteSCOM online training
MSBI online training
salesforce online training
Mulesoft online training
Webmethods online training
The Starter Kit is a great way to get started with Arduino, coding and electronics! Reach us out
ReplyDelete