Serial Communication with SMS Modem (FONA) Posted on October 18, 2015 at June 27, 2016 by Elijah 3159 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
python to send a SMS message Posted by Elijah - October 18, 2015 0 [crayon-687ae7d5cb8b4146260866/] Keep Reading : Serial Communication with SMS Modem (FONA) GPS RESPONSE CODE ORDER Serial Commands used by our Satellite…
Identify USB device and discover its name and port Posted by Elijah - October 17, 2015 0 Download latest PyUSB from : http://sourceforge.net/projects/pyusb/files/PyUSB%201.0/1.0.0-beta-2/pyusb-1.0.0b2.tar.gz/download Place file “pyusb-1.0.0b2.tar.gz” on your desktop gunzip <pyusb-1.0.0b2.tar.gz |tar xvfp - cd pyusb-1.0.0b2 sudo ./setup.py…
Turn string into array with split Posted by Elijah - October 18, 2015 0 textWithCommas = “bee,apple,pear,dog,carrot,robot” wordList = textWithCommas.split(“,”) print “the second item is : ” + textWithCommas[1] Keep Reading : Identify USB…
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…
Remote ssh connect from iPad P.C. and laptop using dynamic ip address Posted by Elijah - October 25, 2015 2 Keep Reading : Add Clock Via i2c Chain connect pressure/temperature module i2c on clock module Hello World LED Blinking