Serial Communication with SMS Modem (FONA) Posted on October 18, 2015 at June 27, 2016 by Elijah 3336 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
while loop Posted by Elijah - October 18, 2015 0 [crayon-68f08adf003ea269516212/] Keep Reading : Pi Camera Resolution Fix Hello World LED Blinking Wire camera to pi
maserCycle.py – Cycle through lasers on servos and draw lines Posted by Elijah - March 17, 2017 0 This is the third of five articles on my 2017 laser science project "Rock, Paper, Lasers." This one was just…
Chain connect pressure/temperature module i2c on clock module Posted by Elijah - October 25, 2015 0 Turned pressure and temperature into variables Print all variables on photo Change font and location of variable Keep Reading :…
Boot and install Raspbian Posted by Elijah - August 15, 2015 0 Ok lets do this! After you see a rainbow this is the first screen you will see. Its called the…
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 =…