Go Down

Topic: New tutorial - Arduino and SIM900 GSM Modules (Read 16444 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?

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

ricky101

Hi John,

Thanks for your very good Sim900 tutorials , found them to be the best around.
Could not leave thanks on your site as not member of those feeds.

Would just like to ask you for some more practical voltage questions.

Those shields say feed with 5v  to produced the 3v3 via the regulator but the regulator is able to accept a higher input voltage, but due to its minimal pcb heatsink wondered how it would fair with a 9v or 12v dc input ?

Its use in my project is very low, just sending out an alarm status message as a rare event.


Also when measuring the shields current during a SMS I can only see a peak of 330ma on my slow DVM, though its said it can reach 2A peak.

Again, in your experience,  would a Wall pack rated at 1A with an extra 470uf by or on the shield be sufficient to deal with that short 2A peak draw ?


Thanks

shpatel6

i do not find library relatede this codes such as print , printin so anyone have that library ?
or any other codes detail ?


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy