A6 GSM/GPRS Module (Send an SMS)
 Page :   [ 1 ]    [ 2 ]  

After figuring out that using a M590E module (see here) in North America was out of the question so I ordered some A6 modules and also a couple A6 dev boards to speed up testing.  The dev boards arrived first.

The dev board looks like this :

I connected it to an FTDI breakout so I could talk to it via serial.  Hooked up 5V to the VCC_IN pin and ground to the GND pin.  The TX and RX from the FTDI board connected to U_RXD and U_TXD on the A6 dev board.

The A6 was set to 115200 baud.

Just supplying power and waiting a few seconds showed some signs of life right away on a serial console.

^CINIT: 1, 0, 0
^CINIT: 2, 32, 43683
^CINIT: 8, 2048, 1
^CINIT: 16, 0, 1638430
^CINIT: 32, 0, 0
+CREG: 0

 Then a couple seconds later :

+CTZV:17/01/26,05:18:52,+04

+CIEV: service,  1
+CIEV: roam, 0

+CREG: 1

I'm hoping the "+CIEV: service,  1"  or the "+CREG: 1" means it connected to / registered on the cellular network (I had an active SIM card in it).  Also it seems to have fetched the date and time from somewhere so that also hints that it's registered on something!

Time to look at a data sheet and some AT commands :)

Make a test call by entering this command:

ATD12065555555   (dummy number)

This was the response and my phone rang!

OK

+CIEV: "CALL",1

+CIEV: "SOUNDER",1

+CIEV: "SOUNDER",0

Heres some basic AT commands:

--Read IMEI--
AT+EGMR=2,7;

--Write IMEI--   
AT+EGMR=1,7,"000000000000000"

--Get Phone Number For SIM--
AT+CNUM

In order to send an SMS will require some hex codes and control characters to be sent so it's time to hook this thing up to a microcontroller.

Next page : hooking up an arduino.

 

 (Page 1 of 2)