Archive for June, 2018
SMS based device control with GSM Modem on Raspberry Pi


import serial import RPi.GPIO as GPIO import sys, math import io import os,time import string GPIO.setmode(GPIO.BCM) #print (“rcv”) # Enable Serial Communication port = serial.Serial(“/dev/ttyS0″, baudrate=115200, timeout=1) # Transmitting AT Commands to the Modem # ‘\r\n’ indicates the Enter key # at_command=to_bytes(‘AT\r\n’) port.write(b”AT\r\n”) port.flush() rcv = port.read(20) print(rcv) time.sleep(1) port.write(b”AT+CMGR=1\r\n”) port.flush() rcv = port.read(250) print(rcv) […]
Interfacing of Arduino with 16×2 LCD Display



Interfacing of Arduino with 4×4 Keypad


