Fig. So presence of human is detected by IR rays by this module. Recent Comments. The resistor of the LDR changes  based on the light intensity. (There are two options: choose sketch ForASLMysensorInkluded or ForASLOnlyLightSensor for controlling day/night mode. 8: Image showing Relay Module used for automatic switching of staircase light. This ATmega32 AVR Microcontroller based project covers an automatic staircase light circuit using PIR sensor and LDR. Once you get it, follow these step-by-step instructions: 1. This project combines the WS2812B RGB LED matrix and PIR motion sensor to greet visitors with a text. The Automatic Room Lights using Arduino and PIR Sensor is a simple project, where the lights in the room will automatically turn on upon detecting a human motion and stay turned on until the person has left or there is no motion. 8. light dependent resistor senses the light intensity(that's day and night) and gives command for the light to come on, but the light intensity should be only 50% bright. As shown in the above automatic staircase lighting circuit, there is no need to connect an external crystal here. Create an awesome looking motion activated RGB lights for any staircase under $20! Whenever a there is a human in the sensor module region it detects the presence of IR rays. Connect another short wire to the other terminal of the bulb holder and close the bulb cap. So whenever a human crosses the sensing region of module, it generates a pulse of 5 sec. Once you are done with testing on breadboard, start soldering on PCB. Fig. Two of them are from the coil where the input to drive the relay is supposed to be given. Edit the code: Set the number of stairs, pause between on/off, check your sensor's type, adjust photocell sensitivity (if using one). We usually turn on light at stairs and leave it in a hurry.              if (x==1) //when x is set Design a PCB layout of this circuit and make it on PCB board. Connect with us on social media and stay updated with latest news, articles and projects! The SPDT (Single Pole Double Throw) Relay coil is connected between Vcc and Q1 transistor’s collector, when the transistor ON then relay gets energized otherwise relay stay opened. The LED is kept ON as soon i connect the battery, The CR01005 chip resistor features a three-layer termination process with a nickel barrier, SRP0310/0315/0410/0510/0610 shielded power inductors have a metal alloy powder core and flat wire, The TBU-RS055-300-WH is an integrated dual-channel TBU overcurrent and TVS overvoltage protector, The model CRxxxxA AEC-Q200 compliant chip resistor series is available in eight different footprints, AVHT high-temperature varistors offer great circuit-board layout flexibility for designers, The Model SF-0603HIA-M/SF-1206HIA-M series utilize Bourns' popular multilayer ceramic design, SRP4018FA shielded power inductors are designed to meet high current density requirements, The SM41126EL Chip LAN 10/100 Base-T transformer module is ideal for use in LAN interfaces. Choose appropriately. Lower impedance and easier to interface. I m not an electronics student but i feel it intresting. The switches at our home need to be operated manually by hand or “mechanically triggered” in order to work. In this project we are going to design a stair case lamp which works on battery and only turn on the lights only when someone is present at there. (It can be included as relay.     DDRB = 0b11111100; //PB0,PB1 are used as inputs and reset are used as outputs Whenever a human present in the sensing region of module, the sensor picks up IR changes as human body emits IR rays, so now these changes of IR picked up by module are filtered by electronics in the module and as of signaling the changes in IR, A pulse is generated by the module.