Posts

Showing posts with the label #SensorBasedLight

DIY Motion Sensor Light

Image
  Project 4: DIY Motion Sensor Light Objective: To build a motion-activated LED light using a PIR (Passive Infrared) sensor that turns ON when motion is detected and turns OFF automatically after a few seconds. Components Required: PIR Motion Sensor (HC-SR501) NPN Transistor (BC547) Resistors – 330Ω LED – Any color Battery – 9V Relay Module (for controlling high-power devices) Diode – 1N4007 (for relay protection) Breadboard & Connecting Wires Circuit Diagram: (You can design the schematic using Tinkercad, Fritzing, or any circuit design tool.) Step-by-Step Instructions: Step 1: Connect the PIR Sensor The PIR sensor has three pins: VCC → Connect to +9V (or 5V). GND → Connect to ground (-) . OUT → Connect to the base of BC547 transistor via a 330Ω resistor . Step 2: Connect the Transistor The collector of the BC547 transistor connects to the negative leg of the LED . The emitter connects to ground (-) . Step 3: Connect the LED or Relay The positive leg of the LED co...