Category Archives: AT Commands

SMS on PI

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...
Read More

Updated GPS & Battery commands for Sim808 / FONA Shield. Also works for LoNet Sim808

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. Serial...
Read More

GPS RESPONSE CODE ORDER

in response to AT+CGPSINF=0 0 longitude 1 latitude 2 altitude 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) ...
Read More

python to send a SMS message

ser.write('AT+CMGF=1\r\n') ser.write('AT+CMGS=') ser.write("555-555-5555") ser.write('\r\n') ser.write("This is a text message") ser.write(ascii.ctrl('z')) ser.close() ...
Read More

Send MMS From Serial Port on Raspberry Pi

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. AT+CGATT=1...
Read More