TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (351 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136650 times)
  2. FAT32 Library (69864 times)
  3. Network Ethernet Library (55901 times)
  4. USB Device Library (46244 times)
  5. Network WiFi Library (41871 times)
  6. FT800 Library (41107 times)
  7. GSM click (28960 times)
  8. PID Library (26403 times)
  9. mikroSDK (26325 times)
  10. microSD click (25341 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
mikroSDK Library

3G click

Rating:

7

Author: MIKROE

Last Updated: 2018-01-21

Package Version: 1.0.0.1

mikroSDK Library: 1.0.0.0

Category: GSM/LTE

Downloaded: 7028 times

Not followed.

License: MIT license  

3G click (for Europe and Australia) is a mikroBUS add-on board with Quectel’s UG95 3G UMTS/HSPA module. The board has an SMA connector, earphone/microphone jack, MicroUSB port, as well as a SIM card slot. 3G click communicates with the target MCU through the mikroBUS UART interface (RX, TX). Note: Antenna sold separately.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "3G click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "3G click" changes.

Do you want to report abuse regarding "3G click".

DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

3G click

3G click

Front view of the 3G click board.

View full image
3G Click board

3G Click board

Front and back view of the 3G Click board

View full image

Library Description

The library carries generic command parser adopted for AT command based modules. Generic parser.

Key functions:

  • c3g_cmdSingle - Sends the provided command to the module.
  • c3g_setHandler - Handler assignation to the provided command.
  • c3g_modulePower - Turns on the module.

Examples Description

Example demo application waits for the call. After the call is received the parser will get a hangup call.

This code snippet shows how generic parser should be properly initialized. 
Before initialization, the module must be turned on and in additional to this, the hardware 
flow control should also be turned on.
 

  • The first command negotiates baud rate with the module.
  • The second command turns echo off.
  • The third command enables hardware flow control - necessary in case of UART polling.
  • Fourth command setup default message foramt.
void applicationInit()
{
// MODULE POWER ON
 c3g_hfcEnable( true );
 c3g_modulePower( true );

// MODULE INIT
 c3g_cmdSingle( "AT" );
 c3g_cmdSingle( "ATE0" );
 c3g_cmdSingle( "AT+IFC=2,2" );
 c3g_cmdSingle( "AT+CMGF=1" );
}

Along with the demo application, timer initialization functions are provided. Note that 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.

Other mikroE Libraries used in the example:

  • I2C
  • UART
  • Conversions

Additional notes and information

Depending on the development board you are using, you may need 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.

ALSO FROM THIS AUTHOR

Fram click

0

FRAM click is a Click board™ that carries a ferroelectric RAM module. Ferroelectric RAM, also known as FRAM, is a non-volatile memory type, with characteristics comparable to much faster DRAM memory modules.

[Learn More]

HAPTIC 3 click

0

Haptic 3 Click is a compact add-on board that uses advanced vibration patterns and waveforms to convey information to a user. This board features the DA7282, a linear resonant actuator (LRA), and an eccentric rotating mass (ERM) haptic driver from Dialog Semiconductor. The DA7282 features LRA or ERM drive capability with automatic closed-loop LRA resonant frequency tracking, guaranteeing consistency across LRA production tolerances. It also offers wideband operation that fully utilizes the capabilities of newer wideband and multi-directional LRAs, alongside three external general-purpose inputs for triggering up to six independent haptic sequences.

[Learn More]

ATA6563 click

11

ATA6563 click carries the ATA6563 high-speed CAN transceiver. The click is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over UART interface, with additional functionality provided by the AN pin on the mikroBUS line.

[Learn More]