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 (136641 times)
  2. FAT32 Library (69855 times)
  3. Network Ethernet Library (55898 times)
  4. USB Device Library (46236 times)
  5. Network WiFi Library (41869 times)
  6. FT800 Library (41095 times)
  7. GSM click (28948 times)
  8. PID Library (26403 times)
  9. mikroSDK (26321 times)
  10. microSD click (25331 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: 7026 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

Accel 27 click

0

Accel 27 Click is a compact add-on board that contains an acceleration sensor. This board features the ADXL373, a three-axis MEMS ±400g accelerometer from Analog Devices. In addition to its ultra-low power consumption, the ADXL373 enables impact detection while providing system-level power reduction. It offers 12-bit output data at 200mg/LSB scale factor with a configurable host interface that supports SPI and I2C serial communication.

[Learn More]

Pressure 6 click

5

Pressure 6 click features a simple, yet highly accurate and reliable pressure sensor labeled as BM1386GLV, produced by ROHM. This sensor is a piezo-resistive pressure sensor with internal thermal compensation, which greatly simplifies the pressure reading.

[Learn More]

Scanner click

5

Scanner Click features a high-sensitivity 300-dpi, linear optical sensor array with integrated 8-bit analog-to-digital converters labeled as the TSL3301CL. This Click board™ has the array that consists of 102 pixels, each measuring 85 μm (H) by 77 μm (W) and spaced on 85 μm centers.

[Learn More]