Serial Communication with SMS Modem (FONA) Posted on October 18, 2015 at June 27, 2016 by Elijah 2996 0 import serial ser = serial.Serial(port='/dev/ttyAMA0', baudrate=115200, timeout=1) cmd="AT\r" ser.write(cmd.encode()) msg=ser.read(64) print(msg) 123456 import serialser = serial.Serial(port='/dev/ttyAMA0', baudrate=115200, timeout=1)cmd="AT\r"ser.write(cmd.encode())msg=ser.read(64)print(msg) Keep Reading : GPS RESPONSE CODE ORDER Serial Commands used by our Satellite transciever. python to send a SMS message GPS AT Commands
Updated GPS & Battery commands for Sim808 / FONA Shield. Also works for LoNet Sim808 Posted by Elijah - October 23, 2015 0 Enable Charging Function It is recommended to execute this process when first time to use the module. In the Serial…
SMS on PI Posted by Elijah - November 22, 2015 0 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…
Add Clock Via i2c Posted by Elijah - October 24, 2015 0 Prepare i2c added real time clock driver to raspian Add time variable to picture display Solder pins to clock module…
Read email from a system pipe into python Posted by Elijah - August 15, 2016 0 #!/usr/local/bin/python import sys import email full_msg = “” for line in sys.stdin full_msg += line msg = email.message_from_string(full_msg) to =…
Super Simple Google AIY Surveillance Camera Posted by Elijah - August 31, 2018 0 In may 2018, durning the bay area Maker Faire in San Francisco, I bought a google AIY Vision Kit. I…