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

#include <LiquidCrystal.h> // initialize the library with the numbers of the interface pins LiquidCrystal lcd(7, 6, A0, A1, A2, A3); void setup() { lcd.begin(16, 2); } void loop() { // Print a message to the LCD. lcd.print(“Welcome…”); delay(4000); lcd.clear(); lcd.print(“Novel Technology”); delay(4000); }

Interfacing of Arduino with 4×4 Keypad

int row[]={11,10,9,8}; int col[]={5,4,3,2}; int i,j; int col_scan; void setup() { Serial.begin(9600); for(i=0;i
Learning & Certifications
Follow Us
Facebook Icon   Linked In Icon   Twitter Icon  
Validation and Recognition

Valid CSS! Valid HTML5!          Protected by Copyscape