Send Sms Using Gsm Modem

SMS is the most common type of notification today. UCME-OPC™ can send SMS to any cell phone or landline phone that supports SMS.

SMS can be sent by the following means:

This a sample how to send SMS using AT Commands like in Hyper Terminal via GSM Modem or compatible GSm phone attatched to the PC Comport or USB port. For this sample i used Huawei E160 GSM/HSDPA/GPRS modem. Demonstrate how to use MSComm Control in VB6 in order to send data to the GSM Modem. Older GSM phones often allowed external software to send and receive SMS messages with a serial port interface, but most modern phones do not support this functionality anymore. Purchase USB modem need additional cost. Aug 21, 2013 In that software we used a GSM Modem to send a SMS thanks to the donor. So we developed a small application that runs on the server and sends a SMS whenever a new record is inserted into the database from any client. In this application we will use the following: GSM Modem (I have used Vodafone; you can use any) SIM Card.

Using a cellular modem

Both CDMA and GSM are supported. SMS can be configured for both outgoing and incoming SMS. Incoming SMS can be used for alarm acknowledgement, Tag value change or query, report generation and more…

Supported modems

Sierra Wireless Airlink® RV50 4G (Ethernet modem) Dual SIM support, GSM & CDMA
Sierra Wireless AirLink LS300 3G (Ethernet modem) , GSM & CDMA
Sierra Wireless AirLink FX100 (Serial/USB) – GSM 3G – USB + Serial
Sierra Wireless GL6110 (USB), GSM 2G
Sierra Wireless GL6100 (Serial) GSM 2G
Cinterion/Gemalto BGS5T, MC52iT / MC55iT, TC65T – GSM 2G
MultiTech MultiModem GSM (USB or serial) – GSM 2G

Bidirectional SMS

UCME-OPC™ allows two-way SMS between recipients (such as technicians, field engineers or managers) and the control system. Recipients receive alarm notifications yet can also change set-points, acknowledge alarms, execute programs and scripts, and a range of other actions – directly from their cell phone.

Escalation using SMS and a cellular modem

UCME-OPC™’s sophisticated escalation procedure is a customizable alarm delivery feature that sends alarms to alternative recipients. When a recipient acknowledges the alarm, further, unnecessary repeat alarm notifications are prevented – reducing nuisance alarms and reducing costs. Alarms can be configured so that they are sent with a time delay between each SMS. Once and alarm is acknowledged or ended, the escalation may be stopped. If no acknowledgment is received, UCME will continue with the escalation reaching higher recipient levels.

Fallback SMS channel

If UCME-OPC™ fails to send a text message (SMS) via one channel (for example: a faulty GSM cellular modem), it will automatically switch to a fallback channel (for example: a CDMA cellular modem). This functionality reduces the chances that a text message will not be sent and as a result, increases the system reliability.

Native SMS via cellular modems – eliminating Internet threats

Unlike other software packages that require continuous Internet connection to send email-to-cellular messages, UCME-OPC™ uses native text messaging via cellular modems, which means your control system is completely protected from Internet security threats.

Sending production reports to your cell phone via SMS

Using the UCME-OPC™ Alarm Snapshot functionality, you may receive production reports to your cell-phone via SMS.

Sending SMS messages over the Internet using SMS gateways

UCME-OPC™ allows sending SMS over the Internet using SMS gateways. All you need is to contact an SMS Gateway service provider that will provide you the access to its SMS gateway service.

UCME-OPC™ allows sending SMS using your local language.

This is a simple project/tutorial on how to send sms/text message using sim900d gsm module with arduino uno. Project code is written in arduino ide. The code is compatible to all arduino boards. Post covers how to interface sim900 gsm module with arduino uno and efficiently send sms/text message to a desired cell phone number. Sim900d is a system on chip(SOC) by SimCom. Sim900 can work as gsm and gprs module. It also has Input/Output pins for controlling appliances but they are rarely used. Pre-assembled sim900 gsm boards available in market did not expose its gpio pins. Only the gsm and gprs connection pins are present on board(UART port pins Tx and Rx).

Sim900d gsm/gprs module works on AT command set. Almost every GSM chip by simcom works on AT command set. An external microcontroller is required to talk to sim900 gsm module. Sim900 communicates with external controller on UART protocol. In uart protocol only two pins are required to talk with external devices Tx(Transmit) and Rx(Receive). Both the devices must have one single uart port to talk with each other. Communication speed in uart protocol is termed as baud rate. We first have to set the baud rate speed of the modules who are going to communicate on uart protocol. Both the modules must be on the same speed for successful communication.

Arduino has a default uart port on its pins#0 and 1. So arduino can talk to devices which requires uart protocol for communication. Arduino Rx or pin#0 is tied to Tx of sim900 module and arduino Tx or pin#1 is tied with Rx of sim900 module for communication.

Coming to wards ‘AT’ command set. Their are numerous ‘AT’ commands if you go through the data sheet of sim900 gsm module. In this tutorial i will explain only the ones which are required to send an sms with gsm sim900 module. If you wan to learn all the commands go through the data sheet of sim900 module. AT commands which are required to send a text message/sms are listed below. .

Send Sms Using Gsm Modem Password

sim900 gsm module AT command set to send sms text message
The upper few AT commands are required to send an sms with arduino gsm module. We can skip the first command ‘AT’, if we are sure that our module is perfectly operational. ‘AT’ command only checks the status of the gsm module working or not.
First insert your sim in the sim900 module sim slot and be sure you have credit/balance in it for texting to other numbers. Connect Arduino uno Rx(Pin#0) to GSM module TX and TX(Pin#1) of Arduino uno to RX of sim900 GSM module.
Sim900 requires about 5 volts and 1 ampere of current while transmitting the sms/text message. We can not power the gsm module directly with the arduino 5v output. External dc adopter which can supply continuous 1 ampere of current at 5 volt is enough for the arduino and sim900 module power requirements.

Note: If your GSM stops working and restarts it self when you send commands to it. It means your GSM needs more current. Try to power your circuit with high rating of source like on the right side i powered the diy circuit with 4.5 Ah 5v DC batter.
GSM sim900d with arduino mega and battery-circuit Diagram
You can also use a current booster circuit for your gsm power requirements. You can purchase cheap current booster circuits online from Chinese electric stores. Important: If you are powering both the arduino and sim900 gsm module with different power supplies then you must make the grounds of both the power sources common. In Uart protocol both the modules sender and receiver must be on the same potential. So you have to make both modules ground common.
One can use any sim900 gsm module by any vendor/manufacturer to interface it with arduino. The circuit connections will be same as given on the right hand side.

Send Sms Using Gsm Modem App

Pkey button on your GSM is Power button when you press the push button associated with Pkey your GSM module becomes on and starts working. Now when you press it again your GSM becomes off. ​
Now coming to the code portion of the project. Ccode is written in arduino ide. Code is universal it is compatible with other arduino boards also. You can use it with arduino uno, arduino lenardo, arduino mega and arduino due etc. For arduino mega you have to connect the Rx Tx lines of GSM to UART channel 1 of Arduino Mega. I tested it on both arduino uno and mega. I am sending my website name “www.microcontroller-project.com” as sms/text message to receiver.
In the setup function i first initialized the arduino uart port. Communication baud rate is set to 9600 bps. Sim900 gsm module default baud rate is 9600 bps. So i set the arduino uart baud rate to 9600. Arduino code statement used for this purpose is Serial.begin(9600). In the loop function i am sending one by one each ‘AT’ command discussed above to send a text message with arduino gsm module. To send data with uart of arduino using arduino ide we put our data in Serial.print(“”) command. Our data comes in double quotations. Gsm

Send Sms Using Gsm Modem Without

  • Recall that sim900 accepts the cell number of the recipient enclosed in double quotations.

Send Sms Using Gsm Modem Ip

  • To send the recipient cell number to sim900 gsm module using arduino ide we must put the in the code statement. If we do not put the . Then arduino ide compiler identifies it as the arduino ide statement and executes it rather than sending it on uart to sim900 module. tells the arduino ide compiler that is data to be send out on uart.

Sending Sms Through Gsm Modem In Java

At the end of the code i inserted a while(1) loop. While loop will hold the control for ever. It means our code will execute only once after power up and after than it stops.

I made arduino home security system using arduino gsm module, pir motion detector sensor and door contact sensor. Visit the diy project by clicking the below button.

Send Sms Using Gsm Modem Wireless

Watch the project video Here… Sending text SMS through Arduino uno to remote cell Phone using Sim900d GSM module.