Sending and Receiving SMS with a SIM900 GSM Module – Tutorial (#123)
I’m experimenting with the SIM900 module, connecting it to a Windows 10 computer and showing how to send and receive texts. I also use a cloud SMS service to help me test (Vonage). I demonstrate the AT commands using Putty, before writing some Python code to receive a text.
Sample code is available at my Github site: https://github.com/magiccow/sim900
You can find the AT command set for the SIM900 various places online including here: https://simcom.ee/documents/SIM900/SIM900_AT%20Command%20Manual_V1.11.pdf
See also: follow-up video on the SIM800 GSM Module: https://youtu.be/8rqfPc8aRGc
and the M590 module: https://youtu.be/IB7JVZKDjyI
Vonage API site is here: https://www.vonage.co.uk/communications-apis/
I used this service because I still have some account credit there, but there are various cloud services that offer similar pay-as-you-go SMS services including Messagebird, Twilio, Ziron etc, who all have APIs.
The prepay SIM card I bought from 1p mobile; again almost anything will do here as long as the SMS rate is low and the credit doesn’t expire.
Note that the mobile numbers shown here are temporary and may well be out of service or allocated to another user by the time this video is published.
Views : 9260
GSM