Posts

Showing posts from November, 2021

Proteus Simulation for IR Proximity Sensor module with Arduino

Image
Proteus Simulation  for IR Proximity Sensor module with Arduino   // Interfacing Infrared Proximity sensor Module with Arduino void setup() {   pinMode(12,OUTPUT);//connect LED to Digital Pin 12 of Arduno   pinMode(3,INPUT);// connect OUTPUT pin of  IR Sensor to Digital Pin 3 of Arduino   Serial.begin(9600); } void loop() {   if (digitalRead(3)== HIGH )//  (if any obstruction in front of IR sensor-Output will go HIGH)   {     digitalWrite(12,HIGH);// Turn on the LED          delay(10);   }   else    {          digitalWrite(12,LOW);// else ,Turn OFF the LED     delay(10);        }    }  

Missed Call Automation with status Reply

Image
Click on the link below to Download the Arduino sketch https://github.com/anokhramesh/GSM-Misscall-Automation Parts List 1- Arduino Nano 2-GSM module Sim 800L 3-5 Volt 10 A relay 4-2N2222A npn transister 5-PC 817 or P781 octocoupler  6-Terminal blocks 7- Red LED 8-1N4007 diode 9-220 ohm Resistance 10-330 ohm Resistance 11-Female header 12-220v AC to 5V DC 2Ampere powersupply 13-10 AFuse holder with fuse 14-10A toggle switch 15-PVC Box-6"x4" size   Arduino sketch //Projech Name-RelayControll by missedcall with Switch status,1=ON and 0=OFF #include <SoftwareSerial.h> //Install SoftwareSerial Library const int relayPin=5;//connect digital pin 5 of Arduino to IN pin of Relay module const int ledPin=6;//connect digital pin 6  of Arduino to switch indicator led bool relayStatus=1; bool ledStatus=1; const String phone="+971557407961";  // white list phone include +91 or your country code SoftwareSerial gsmSerial(7,8);//Connect RXT pin of GSM module to D8 pin on Ardui

GSM Missed Call Automation

Image
 Control Electrical appliances by a missed call with Sim 800L and Arduino   Materials Required: 1-Arduino Nano 2-GSM module Sim 800L 3-5 volt Single channel relay 4-5Volt 2Ampere power supply 5-Terminal blocks 6- Red LED 7- 330 ohm resistance Circuit Diagram: Arduino code: #include <SoftwareSerial.h> const int relayPin=4;//connect digital pin 4 of Arduino to IN pin of Relay module //bool relayStatus=1; bool relayStatus=0; const String phone="+971557407961";  // white list phone include +91 or your country code SoftwareSerial gsmSerial(7,8);//Connect RXT pin of GSM module to D8 pin on Arduino                               // Connect TXD pin of GSM module to D7 pin of Arduino String responseData; String senderNumber; void setup(){   responseData.reserve(200);   phone.reserve(20);   pinMode(relayPin,OUTPUT);   digitalWrite(relayPin,HIGH);   //digitalWrite(relayPin,LOW);   Serial.begin(9600);   gsmSerial.begin(9600);   delay(100);   gsmSerial.write("AT\r");// beca

Automatic Dark sensing Light

Image