This post is intended to help begineers to interface GSM Modem with RaspberryPi and send data through serial port.
Note: Programs are written in Python Language. For C++ examples please contact our Technical support section at http://www.elementzonline.com
Connect a USB to Serial converter to the RaspberryPi USB port. A compatible USB to Serial converter can be obtained from this link.
Create a new file named serial_test.py by typing the following command
write the following lines to the file
And finally save the file using Ctrl+O and Ctrl+X
Run the following command in the terminal