Pages: [1]   Go Down
Author Topic: New tutorial - Arduino and SIM900 GSM Modules  (Read 8573 times)
0 Members and 1 Guest are viewing this topic.
Melbourne, Australia
Offline Offline
Jr. Member
**
Karma: 6
Posts: 93
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

A few people have been asking how to use SIM900-based GSM shields, so here's a start:
http://tronixstuff.com/2013/09/18/tutorial-arduino-sim900-gsm-modules/
Logged

Check out my Arduino tutorials at http://tronixstuff.com/tutorials - Order my  Arduino book from http://nostarch.com/arduino

Melbourne, Australia
Offline Offline
Jr. Member
**
Karma: 6
Posts: 93
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

And I've updated it with some more remote-control examples:
http://tronixstuff.com/2014/01/08/tutorial-arduino-and-sim900-gsm-modules/
Logged

Check out my Arduino tutorials at http://tronixstuff.com/tutorials - Order my  Arduino book from http://nostarch.com/arduino

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There has to be a better way of checking caller-id and the SMS content? Seems really awkward the way you do it now?
Logged

Melbourne, Australia
Offline Offline
Jr. Member
**
Karma: 6
Posts: 93
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You could store the incoming data into a string and then parse it.
Logged

Check out my Arduino tutorials at http://tronixstuff.com/tutorials - Order my  Arduino book from http://nostarch.com/arduino

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In something like this:

Code:
if (SIM900.available() > 0){
    c = SIM900.read();
    if (c != '\r') temp = temp + c;
     else {
        //do something with string temp
     }
}
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm using tronixstuff's tutorial extensively and it is a life saver.

There's one thing I can't manage: Software Power On/Off. And sometimes the arduino resets (lose global variables) after an SMS is sent. I don't know what's going on.

I'm using this version: SIMCOM SIM900 Quad-band GSM GPRS Shield Development Board for Arduino/Iduino. Works perfectly. Just didn't manage to power on and that's something I really need unfortunately. Any help?
Logged

Pages: [1]   Go Up
Jump to: