In previous article I present you a GPRS kit with M590 chip on-board and I send SMS when push an button. Now, I will received a SMS and interpret the text and comand few leds as in article named Tutorial – Arduino and SIM900 GSM Modules from tronixstuff.com. M590 chip is similar with SIM900, just haven't voice part... First, I upload M590_Mega_serialmonitor.ino sketch and I send from phone a SMS to GPRS module:
and is clear, is a simplified base schematic, put directly wire instead logical interface between Arduino board (or FTDI-USB interface) to M590:
For protect M590 chip, I powered M590 GPRS module with external 4.2V and put a logical interface 5V/3V between Arduino and M590 module kit.
For easy link with interface or other modules, I connect pins 6 & 8 with 4, and now I have 3 pins for GND:
I choose Arduino Mega board because have 4 hardware serial ports. For comunication with PC, I use classical Rx-Tx port and for M590 GPRS kit, I use Rx2-Tx2 (Serial2) port.
Another reason is speed too much for software serial port and I noticed some errors.
Thru serial monitor using Arduino, I can't send SMS ar begin of experiments and I try a PC sofware named Putty and I made a new schematic:
I verify what com are the interface:
and made changes in Putty software configuration window:
I write few AT commands on Putty window:
I on phone I received the SMS.
I analyzed differents from Arduino style and Putty software and I realised in what sequence must be given commands to M590 GPRS module (I upload M590_Mega_sms_sender_v1m0.ino sketch)