Tutorial in the ‘Python on Raspberry Pi’ Category
SMS based device control with GSM Modem on Raspberry Pi
June 19th, 2018 admin
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) […]
Switch Interfacing with Raspberry Pi | Digital Input with Raspberry Pi
March 25th, 2019 Nilesh Chaurasia
This tutorial provide step by step instruction to perform Switch Interfacing with Raspberry Pi and its Python program.
Serial Communication Loop Back Test on Raspberry Pi with Python
March 25th, 2019 Nilesh Chaurasia
Serial Loop Back on Raspberry Pi is the first Python Experiment every student have to perform on Pi kit, to check Serial is working or not. This tutorial provide step by step instruction to perform Serial Loop back. Note: To perform this experiment you have to short the GPIO Pin 8 and 10 with wire. […]
Blink LED on Raspberry Pi 3 with Python and BCM Pins
March 25th, 2019 Nilesh Chaurasia
Blink LED on Raspberry Pi 3 with Python and BCM Pins setup. This tutorial provide step by step instruction to perform LED Interfacing with Raspberry Pi and its Python program. In this example we are using BCM setup for pin assignment. Note: You have to connect your LED on pin number 11 on GPIO. Actually […]
IR Range Finder Interfacing with Raspberry Pi and Python
March 25th, 2019 Nilesh Chaurasia
IR Range Finder Interfacing with Raspberry Pi and its Python application program. It is step by step tutorial on Digital sensor Interfacing with Raspberry Pi.