Introduction: Motion Activated Automatic Room Light Using Mini PIR Sensor and Arduino Nano

About: Youtuber | Electrical Engineer | Electronics Lover | Project Developer | Article Writer |

Hello Friends welcome back to Techno-E-Solution, In this Video I'll show you how to make Room Light Automatic, The room light get automatically turn on when you someone enters in the room & get turn off after 15 sec when nobuddy in the room. so for making this project I'm going to use Mini PIR sensor also you can use PIR sensor. To Control AC Load I'm using a single channel relay module. I provide the complete details of the project like circuit diagram & Arduino code with demonstration Video.

Follow me on :-

Facebook :- https://www.facebook.com/TechnoShubham

Instagram :- https://www.instagram.com/technoesolution2020/?hl...

Instructables :- https://www.instructables.com/member/Technoesolut...

Dailymotion :- https://www.dailymotion.com/technoesolution

Youtube :- https://www.instagram.com/technoesolution2020/?hl...

If you like this project subscribe us on Youtube, So without wasting time Let's get started..............

Step 1: MATERIAL REQUIRED

Step 2: CIRCUIT DIAGRAM

Follow the circuit diagram for making a connection. I make this circuit in Easy EDA software.

Note:- Take the help of electrition to connect AC Load (Bulb), because it should be dangerous.

Next PCB


NextPCB is a high-quality PCB Manufacturer. With professional PCB manufacturing capabilities, our PCB engineers with more than 10 years of experience will double-check your engineering files.

NextPCB is certified by IATF16949, ISO9001, ISO14001, UL, CQC, RoHS and REACH; more importantly, we handle the whole process including the PCB prototype, PCB manufacturing, PCB assembly, testing, and final shipment. We are capable of assembling BGA, Micro-BGA, QFN, and other leadless package parts. We also have an online parts shop, you can choose any parts you need.

If you want a Printed circuit board go through the NEXT PCB

Step 3: ARDUINO CODE

Simply Copy the following code & upload in your Arduino IDE software.

/*
 * Hello Friends Welcome To Techno-E-Solution
 * Here is the Code For Automatic Room Light Using Arduino
 */
 
#define PIR 4
#define Relay 6

void setup() 
{
 Serial.begin (9600);
 pinMode (PIR, INPUT_PULLUP);
 pinMode (Relay, OUTPUT); 
}

void loop() 
{
  int motion = digitalRead (PIR);
  if (motion)
  {
    Serial.println ("Motion Detected");
    digitalWrite (Relay,HIGH);
  }
  else 
  {
    Serial.println ("All Stable");
    digitalWrite (Relay,LOW); 
  }
  delay (100);
  }<br>

Step 4: DEMONSTRATION

Step 5: NextDFM Software From NextPCB

A PCB Design Problems Detector, An Engineering Solution Provider Import the Gerber file with one click. No need for complicated file reading steps to review easily and improve efficiency.

Download Software Help you quickly familiarize DFM design specifications and production needs to determine whether there are any manufacturing constraints

Features

Make PCB design more standard Prevent the quality flaw Impedance calculation function and lamination automation Automatically generate the best puzzle CAM350 free alternative version Check Gerber files anytime, anywhere and parse it with one click Instate Quote and evaluate delivery time Reduce cost and improve benefit these are advantage comparing to Eagle and Altium

Make it Glow Contest

Participated in the
Make it Glow Contest