Total Pageviews

Showing posts with label Neoway. Show all posts
Showing posts with label Neoway. Show all posts

Monday, September 21, 2015

GPRS module with M590 for SMS projects (part 2)

   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:
   I use this schematic for tests:
   I upload M590_tronixstuff_sms_control_Arduino_v1m0.ino sketch and send #a1b0c1d0 text in SMS from phone:
(aprins = on, stins = off)
and leds 1 & 3 are on, 2 & 4 are off:
   I send #a0b1c0d1 SMS:
(aprins = on, stins = off)
and leds 1 & 3 are off, 2 & 4 are on:
   I send a new SMS, for all leds lit (all on):
and all led are lit.
   I made a movie named SMS control 4 leds using M590 GPRS module and Arduino with sending sms from phone and received from M590 GPRS module, interpret datas and comand 4 leds:

 NOTE: External power supply is +4,6V not 4,2V (power supply with voltmeter show less with 0,3-0,4V) !

GPRS module with M590 for SMS projects (part 1)

original article


   I buy a "DIY KIT GSM GPRS 900 1800 MHz Short Message Service SMS module for project for Arduino remote sensing alarm" based on M590 chip from Neoway.
   After, we solder the components, the montage must be:
   In my case, the montage and FTDI-USB interface are:
I made a "reverse engineering" of my montage:
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.
   First stept, is put Mega_serialmonitor.ino sketch and discover and learn AT commands (I use M590 - AT Command Sets v3.0" documment).

   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)

and on my phone I see:
   Next step was to send a SMS from Arduino to phone when I push a button. I use M590_Mega_sms_sender_1button_ver1m0.ino sketch and this schematic:
   I made, also, 2 movie (in roumanian language):

 NOTE: External power supply is +4,6V not 4,2V (power supply with voltmeter show less with 0,3-0,4V) !