Create project Need help?
Show more (2)
Dorian.Saussard

GSM Breakout board [150330]

Status: Finished
4953
14
votes
July 28, 2015
DSCN4401.JPG

This project is a BoB (Break-out board) used to communicate (with a SIMcard) on the GSM network.

The project works with the M95 module from Quectel :

http://www.quectel.com/product/prodetail.aspx?id=7

With this you can send SMS/MMS, receive SMS/MMS, manage call !

Let me explain this project to you : 

Power supply

There is a LDO regulator (MIC29302). The output of the regulator is 4.1V (recommended by the datasheet of the M95). You can input a voltage between 5v and 12v.

To power ON the module, you have to put the PWRKEY pin to VDD until 1/2second, the module will answer.

Connectors

There are 4 connectors on the PCB (K1, K2, K3, K4) if a user want to use this pins. The VCC pin is on K4.2 and the GND is on K4.1, K3.6 & K3.7. (you can find the pinout of the connector in the files attached)

To power on the module, you can add a push button or a signal from a microcontroller.

When you communicate with the module, you can just use RX and TX, or you can use too RTS, CTS to control. There is a resistor of 0 ohm on RTS. If you use just RX and TX you have to let this resistor. Otherwise if you use RX, TX, CTS, RTS you must remove this resistor.

LED

There are 2 differents LED : 

  • POWER : When there is power on the module, this LED will power on 
  • NETLIGHT : This led indicates the network. You can find the status with the datasheet page 52 (http://www.quectel.com/UploadImage/Downlad/M95_Hardware_Design_V1.3.pdf)

 

Here are the differents step to test the module : 

  1. Power supply the module between 5v and 12v (the power LED should be on)
  2. Connect TTL-232R-5V cable from FTDI or our FT232R USB/Serial Bridge/BOB (http://www.elektor.com/ft232r-usb-serial-bridge-bob-110553-91) (put Rx FTDI on Tx module, and Tx FTDI and Rx module, don't forget the ground)
  3. Use a terminal (personnally I use "Docklight") to simulate a serial port.
  4. Send the command AT (don't forget the Carriage Return (0x0D) or the module won't answer)

  5. If the module says "OK", it means that everything is good !!

Steps to send an SMS (each time with the Carriage Return) : 

  1. AT+CPIN=xxxx : to unlock you SIMcard, with xxxx your code)
  2. AT+CPIN? : Check if it's good, the module have to say "+CPIN: READY"
  3. AT+CMGF=1 : To put SMS message format in text mode
  4. AT+CSCS="GSM" : To put GSM as character set
  5. AT+CMGS"xxxxxxxxxx" : Put the telephone number of the person that you want to send a SMS
  6. You can now put text, and to send you have to finished by a CTRL+Z "0x1A"

You can find all AT commands on the datasheet : 

http://www.quectel.com/UploadImage/Downlad/M95_AT_Commands_Manual_V1.2.pdf

ADD 05/08/2015 :

Steps to send an MMS (with the <CR>) : 

  1. AT+QICSGP=1,"xxxxxx" : with xxxxxx your APN from your provider
  2. AT+QMMURL="xxxxxx" : with xxxxxx your MMSC 
  3. AT+QMMPROXY=1,"xxx.xxx.xxx.xxx",zzzz : with xxx.xxx.xxx.xxx the IP adress of your proxy and zzzz the port (write some times xxx.xxx.xxx.xxx:zzzz) (you can find this informations on the website of your network)
  4. AT+QMMSW=0 : Clean MMS (to prepare configuration)
  5. AT+QMMSW=1,1,"yyyyyyyyyy" : with "yyyyyyyyyy" the telephone number to the person that you want to send MMS
  6. AT+QMMSCS="UTF8",1
  7. AT+QMMSW=4,1 : To put a title in your MMS (don't forget to finished by CTRL-Z)
  8. AT+QMMSEND=1 : To send your MMS. If everyting is ok, the module will answer you "+QMMNOTIFY: 1, 0, 0"

You can find all the commands in the PDF : 

http://www.quectel.com/UploadImage/Downlad/GSM_MMS_AT_Commands_Manual_V1.1.pdf

With this commands you can send MMS with text. But you maybe want to add a picture ? So to add a picture and send it : 

  1. You must have a terminal who allow sending picture (personnaly I used "RealTerm" (http://realterm.sourceforge.net/)
  2. before sending the picture, you have to say to the module that a picture will arrive with this command : AT+QFUPL="RAM:test.jpg",xxxxx : You will put into the RAM a fil named test.jpg with a size of xxxxx bytes
  3. You will have a message when the transfer is over
  4. Go to the previous steps to send MMS, and after step 7 you have to send this command : AT+QMMSW=5,1,"RAM:test.jpg"

 

Enjoy !!

Read the full post
Show less

Attachments


Images
SMS received !
Someone is calling
Pinout of connectors
Schematic
Loading comments...