SMS on your Raspberry Pi…
Adapted from : http://www.smssolutions.net/tutorials/gsm/receivesmsat/
This assumes you have set up your sim card, wired your modem correctly to your Pi, and are using a terminal program such as minicom.
You may need...
Enable Charging Function
It is recommended to execute this process when first time to use the module. In the Serial Monitor columns of following tables, input of AT commands are in back, module returns values are in orange.
in response to AT+CGPSINF=0
3 UTC Broadcast Time
4 TTFF Time To First Fix
5 num Number of satellites
6 speed Speed Over Ground
8 course Heading Over Ground (degrees of compass where 0 = N)
if off :
Get status :
Get GPS :
RESET CODES :
What mode ? – AT+CGPSRST?
COLD Reset – AT+CGPSRST=0
WARM Reset – AT+CGPSRST=1
ser.write("This is a text message")
ser = serial.Serial(port='/dev/ttyAMA0', baudrate=115200, timeout=1)
We will need the crc16 python code library :
tar -xzf crc16-0.1.1.tar.gz
python setup.py build
sudo python setup.py install
IF ANY COMMAND BELOW DOES NOT WORK CORRECTLY ADD A Semicolon ‘ ; ‘
In order to establish the PPP connection:
AT+CGDCONT? This should respond with the context you are on. This means you are ready to attach/connect.
First you will need to open terminal. Terminal is located at the top of your raspberry pi screen. Terminal is used for running commands such as opening programs, editing files, and you can also install applications and libraries as well as update...
STEM & M • Science, Tech, Engineering, Math & Media