GSM 3 Click Board
GSM 3 Click Board
The GSM 3 Click Board™ is a complete quad-band GSM cellular network communication solution, featuring the SIM800H-BT, a quad-band 2G GSM/GPRS module. This module is GSM Phase 2/2+ compliant, featuring a full set of options for the cellular networking and communication. It has a network status indication, jamming detection, embedded internet protocols including TCP/IP, UDP, FTP, PPP, HTTP, E-mail, MMS, and more. It also features advanced voice/audio functions, including the FM radio interface. The GPRS multislot class 12 implementation allows 4 uplink and 4 downlink slots, with 5 slots open in total. Data communication speed is rated at 85.6 kbps for both uplink and downlink connection. An outstanding feature of this module is the support for the Bluetooth 3.0+ EDR protocol.
Software Support
We provide a library for the GSM3 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
gsm3_cmdSingle
- Sends a provided command to the module.gsm3_setHandler
- Handler assignation to the provided command.gsm3_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 gsm3_hfcEnable( true ); gsm_modulePower( true ); // MODULE INIT gsm3_cmdSingle( "AT" ); gsm3_cmdSingle( "ATE0" ); gsm3_cmdSingle( "AT+IFC=2,2" ); gsm3_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.
Other mikroE Libraries used in the example:
- String
- Conversion
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 GSM3 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 3 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.