
Its syntax is − AT+CIPPING = ]]]Īs can be understood from the square brackets, all parameters apart from the first one are optional. However, the commands specific to ping are not present in the above AT Command Manual.For those commands, you will have to refer to the SIM900_PING_AT_Manual.įor pinging to a website, the main AT Command of interest is AT+CIPPING. The AT Commands manual for SIM900 can be found here. However, you should know that each GSM Command comes with its own AT Commands manual, which you should refer to for all operations (sending SMS, making calls, connecting to internet, etc.) Going into the details of the AT Commands is beyond the scope of this article. Since the GSM Module will be powered using a separate 1A+ adapter, no need to connect Vcc to Arduino (it needs more current than what Arduino pins can provide).Since in UART connection, TX of one module is connected to RX of other and vice versa, pin 5 of Arduino will serve as TX (because it is connected to RX of GSM), and pin 9 will serve as RX. The circuit diagram is shown below −Īs you can see, we have connected the RX of the GSM Module to pin 5 of Arduino, the TX to pin 9 and GND to GND. We will use SoftwareSerial to connect to the GSM Module.


You could also get a GSM Module development board, like the one below (the SIM Card Holder is on the other side of the board) −Ī GSM Module interacts with a microcontroller via UART (see the jumper holes for the UART at the bottom left of the above board).

In this article, we will see how to interface Arduino with a GSM Module, and ping to a website.You will need the following −Ī GSM Module (SIM800C, SIM900A, are popular examples, but you can have anyĪ GSM (2G) SIM Card, or a 4G SIM Card with 2G fallback option (Jio SIM Cards won't work for this project)
