GSM Click Board
GSM Click Board
The GSM Click Board™ is an ideal solution to add GSM/GPRS communication layer to your project. This accessory board includes a Telit GL865-QUAD GSM/GPRS module that supports GSM/GPRS 850/900/1800/1900 MHz Quad-band frequency. It also incorporates a TXB0106 6-bit bidirectional voltage-level translator and a SIM CARD socket (SIM card not included) integrated on the bottom side of the board. Ideal for mobile devices, GSM Click Board™ make use of the seven MikroBUS lines (RX, TX, INT, PWM, CS, RST and AN) to communicate with the target microcontroller. The GSM Click Board™ comes with an SMA antenna connector as well as a 3.5mm quadrupole earphone/microphone jack. The board can use either 3.3V or 5V power supply, selectable via an SMD jumper. It is soldered in a 3.3V position by default. It has an LED diode that denotes the status of the power supply.
To extend the functionality of the board at no additional cost, GSM Click Board™ has additional features such as an integrated TCP/IP protocol stack (including UDP, SMTP, ICMP and FTP), serial multiplexer, remote AT commands and more.
Software Support
We provide a library for the GSM Click Board™ on our Libstock page, as well as a demo application (example), developed using MikroElektronika compilers and mikroSDK. The provided click library is mikroSDK standard compliant. The demo application can run on all the main MikroElektronika development boards.
Library Description
The library carries a generic command parser adopted for AT command based modules. Generic parser.
Key Functions
gsm_cmdSingle
- Sends a provided command to the module.
gsm_setHandler
- Handler assignation to the provided command.
gsm_modulePower
- Turns on the module.
Example Description
The example demo application waits for the cal, and after the call is received the parser will get hang up.
This code snippet shows how a generic parser should be properly initialized. Before the initialization, the module must be turned on, and in addition to this, the hardware flow control should also be turned on.
Commands:
- The first command negotiates the baud rate with the module.
- The second command turns the echo off.
- The third command enables hardware flow control - necessary in case of UART polling.
- The fourth command sets up default message format.
void applicationInit() { // MODULE POWER ON gsm_hfcEnable( true ); gsm_modulePower( true ); // MODULE INIT gsm_cmdSingle( "AT" ); gsm_cmdSingle( "ATE0" ); gsm_cmdSingle( "AT+IFC=2,2" ); gsm_cmdSingle( "AT+CMGF=1" ); }
Along with the demo application, timer initialization functions are provided. Note that the timer is configured according to the default development system and MCUs, changing the system or MCU may require an update of timer init and timer ISR functions.
The full application code, and ready to use projects can be found on our Libstock page.
Additional Notes and Information
Depending on the development board you are using, you may need a USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The GSM Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
GSM Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.