Serial Communication with SMS Modem (FONA) Posted on October 18, 2015 at June 27, 2016 by Elijah 3273 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
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 =…
LED Blinking Posted by Elijah - August 15, 2015 0 You will need the following things: Raspberry pi configured (see previos lessons) 5 Volt LED bulb(s) 2 jumper wires m/f…
Wire camera to pi Posted by Elijah - October 24, 2015 0 Install camera software & configure pi One picture program One picture per blink cycle Print proto time on picture …
while loop Posted by Elijah - October 18, 2015 0 [crayon-62b771d58be73792159897/] Keep Reading : Pi Camera Resolution Fix Hello World LED Blinking Wire camera to pi
Rotate Raspberry Pi Touchscreen Display 180d Posted by Elijah - July 1, 2016 0 Problem : our 7″ touchscreen is upside-down if you want to rest it on it’s holder. We need to edit…