Go Down

Topic: New tutorial - Arduino and SIM900 GSM Modules (Read 12427 times) previous topic - next topic

tronixstuff

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/
Check out my Arduino tutorials at http://tronixstuff.com/tutorials - Order my  Arduino book from http://nostarch.com/arduino

tronixstuff

And I've updated it with some more remote-control examples:
http://tronixstuff.com/2014/01/08/tutorial-arduino-and-sim900-gsm-modules/
Check out my Arduino tutorials at http://tronixstuff.com/tutorials - Order my  Arduino book from http://nostarch.com/arduino

GlomB

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

tronixstuff

You could store the incoming data into a string and then parse it.
Check out my Arduino tutorials at http://tronixstuff.com/tutorials - Order my  Arduino book from http://nostarch.com/arduino

method8

In something like this:

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

method8

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?

kathyelecfreaks

Arduino SIM900:  http://www.elecfreaks.com/store/gprsgsm-moduleefcom-pro-efcompro-p-450.html

Go Up