Skip to content

This repository aims at helping beginners to use EC200 GSM Module and communicate with it.

Notifications You must be signed in to change notification settings

electrongonewild/EC200_GSM_Module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 

Repository files navigation

EC200 GSM Module

In this project, we are going to see how to interface GSM Module(EC200) to USB to TTL(CP2102). So lets get to business!

A GSM(Global System for Mobile Communication) module is used to enable communication between microcontroller or microprocessor and GSM network.

You can checkout the Quectel Website for more details.

Okay! Now let’s see how to connect a GSM module to USB to TTL(CP2102)!

Table of Contents

Documentation

It is highly recommended to go through the Documentation first.
Here are direct links for same.

Prerequisites

  • Realterm or any other serial terminal
  • USB to TTL (CP2102)
  • EC200 EVB
  • Jumpers
  • Basic knowledge of UART and serial communication

Connections

Alt text

  • Rx(EC200) ---> Tx(USB to TTL)
  • Tx(EC200) ---> Rx(USB to TTL)
  • Power Supply(5V/3.3V and GND)

Getting Started

Follow the steps for getting started:

  • Connect the USB to TTL(CP2102) to USB port of PC and open device manager to check the port connected to serial bridge (USB to TTL).
    Alt text
  • Open Realterm or any other serial terminal you want to use.
  • Open the port to which your serial device is connected make sure to check serial configuration as follows:
    Baudrate : 115200
    Data Bits : 8
    Parity : None
    Stopbits : 1
    Alt text
  • That's it!!! Now you can send AT commands using realterm directly to GSM Module and also receive its response.
  • Firstly check whether you receive OK in response to AT\r\n, to make sure that your connections and configurations are fine.
  • Now you can further proceed to other AT commands according to your application.

Basic AT Commands

  1. Basic AT Command: AT\r\n
  2. Deactivate PDP Context: AT+QIDEACT=1\r\n
  3. Set APN: (according to network operator)
  • AT+QICSGP=1,1,"JIONET","","",0\r\n for JIO SIM
  • AT+QICSGP=1,1,"airtelgprs.com","","",0\r\n for Airtel SIM
  • AT+QICSGP=1,1,"portalnmms","","",0\r\n for Vodafone SIM
  • AT+QICSGP=1,1,"bsnlnet","","",0\r\n for Airtel SIM
  1. Activate PDP Context: AT+QIACT=1\r\n
  2. Ping Google to check internet availability: AT+QPING=1,"www.google.com"\r\n

Implementation

Alt text

Contributions

For reporting any technical issue or proposing new feature, please create new issue.