I've just ordered these modules for a project I'm thinking of giving to some of my IoT students.
SIM900 GSM shield - development board for Arduino
SIM800L GSM GPRS module
I would appreciate hearing from anyone who has practical experience of using these devices.
I've watched quite a few YouTube videos about controlling the devices using AT codes - looks like a "fun" thing to do and fairly straightforward.
I plan to allow my students to send & receive text messages to their mobile phones before getting them to work out how to send data, like temperature readings to a remote database or via MQTT to Node-RED.
I had one of these a while back... - the things I noted were...
a) does draw some power - so make sure you have a good power supply.
b) will need a Sim of the correct size obviously - and credit to go with it... (hopefully they won't go walkies)
c) GPRS is slowly being switched off in UK - (2G) - so check you still have coverage on your chosen network...
My two GSM modules arrived this morning.
Quickly lashed-up the GSM-900 Module and got it working - yippppppeeee.
As a temporary measure, I took the SIM card out of my mobile phone and used it in the GSM-900.
Bit fiddly as my SIM is a nano-size so I had to find its original plastic carriers.
Connected an Arduino UNO to the GSM-900 Module and used a simple sketch that acts a relay.
I tried various simple AT commands then tried sending an SMS message to my wife's phone.
Worked a treat.
Then tried sending a reply from wife's phone to the SIM-900 - again works fine.
The message gets stored on the SIM card, so I had to use an AT command to read it or "all" messages.
Another quick update.
Aided by one of my grandsons we tried doing a voice call from the SIM900 to his mobile phone.
I found a headset with pink and green coloured plugs that fitted exactly into the SIM900 Dev Board.
We were delighted as we could make a call and answer a call.
Dead easy with the command ATD+441234567890; << Your mobile phone number goes here
It was great fun talking to each other via this inexpensive Dev Board (UKP £ 6.50)
Next step is to try sending data (e.g. a temperature reading) to a remote PHP file that writes the data into a MySQL database.
I've used the 1p Mobile provider as someone on the forum recommended/mentioned them.
They are a UK-based company that use EE as their carrier.
If you are not in the UK, I have no idea if you'll be able to use them.
I have a 'refer a friend £5 sign-up discount voucher'. Let me know if you interested in using it?
I've actually moved my wife's mobile and mine to use their 1-year Talker plan for £36. This gives unlimited texts and unlimited calls and 250MB of monthly data. Suits us fine as we are not huge mobile-data users.
I've just ordered one of their Classic PAYG plans for £10 as I'm fed-up with pulling the SIM card out of my mobile phone to experiment with the SIM900.
I managed to get the HTTP-protocol working yesterday to send a temp/humidity/pressure reading from an Arduino via the SIM900 to a PHP page on a remote server that updates a MySQL dB.
I had the LILYGO® TTGO T-Call which has SIMM800 module. Apparently this is newer than the 900 version. Both are limited to 2G which a lot of the carriers have dropped. I never got my board working even after buying a "THREE" simm card which apparently does support 2G. Maybe the board was faulty.
Anyway I still have the "THREE" card if I decide to buy another board.
Sorry, my mistake. "Three" does NOT support 2G but I have tried with EE which does and still had no success. I'm currently looking at SIM7600 boards which support 5G. Unfortunately they are more expensive.
Started PUTTY (or some other terminal program) on the correct COM port for the Arduino.
Then tried some AT commands....
Should return OK
AT+CMGF=1 Check if SIM900 will support SMS mode
AT+CMGS="+44123456789" <<< Enter the mobile number of the destination
When you press enter you get a > prompt
Type in your message and terminate it with a * (star) character (to send the message).
If that works you can try sending an SMS from the destination phone to the Dev Board.
You should get an indication on the terminal that a message has been received.
You can see the messages with... AT+CMGL="ALL"
You need a decent 5V PSU (that can supply 2A) for the SIM900 Dev Board.
The red LED blinks fast whilst it is looking for a network.
Once it has connected to your network the flash rate changes to once every 4 seconds.
I bought my SIM900 from AliExpress for £6.72 + VAT and postage (arrived in the UK in 2-weeks).