{"product_id":"ldr-light-sensor-module-for-arduino-microcontroller-projects","title":"LDR Light Sensor Module for Arduino \u0026 Microcontroller Projects","description":"\u003ch1\u003eLDR Sensor Module - Photosensitive Light Detection for DIY Electronics\u003c\/h1\u003e\n\n\u003cp\u003eThe LDR Sensor Module uses a light-dependent resistor to detect ambient light intensity. It outputs an analog voltage proportional to light level and includes a digital output with an adjustable threshold via an onboard potentiometer. Perfect for automatic lighting, IoT, and educational projects.\u003c\/p\u003e\n\n\u003ch2\u003eKey Specifications\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eSpecification\u003c\/th\u003e\n\u003cth\u003eValue\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSensor Type\u003c\/td\u003e\n\u003ctd\u003eLight Dependent Resistor (LDR)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eOperating Voltage\u003c\/td\u003e\n\u003ctd\u003e3.3V - 5V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eOutput Type\u003c\/td\u003e\n\u003ctd\u003eAnalog (0-5V) \u0026amp; Digital (TTL)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePotentiometer\u003c\/td\u003e\n\u003ctd\u003eOn-board for threshold adjustment\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePCB Size\u003c\/td\u003e\n\u003ctd\u003eApprox 3.2cm x 1.4cm\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eSignal Indicator\u003c\/td\u003e\n\u003ctd\u003ePower LED and DO output LED\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eWhat You Can Build With This\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/kit-automatic-night-light\"\u003eAutomatic night light or street light controller\u003c\/a\u003e\u003c\/li\u003e\n  \u003cli\u003eLight intensity meter with Arduino and LCD\u003c\/li\u003e\n  \u003cli\u003eSmart alarm that triggers when light turns on\u003c\/li\u003e\n  \u003cli\u003eObstacle detection using light beam interruption\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eCompatibility\u003c\/h2\u003e\n\u003cp\u003eWorks with 3.3V and 5V logic microcontrollers including Arduino Uno, Nano, Mega, ESP32, ESP8266, Raspberry Pi Pico, and STM32. Simply connect VCC and GND, then read analog signal on any analog pin. The digital output can be connected to a digital pin for threshold-based detection.\u003c\/p\u003e\n\n\u003ch2\u003eWiring Notes\u003c\/h2\u003e\n\u003cp\u003eConnect VCC to 5V (or 3.3V), GND to GND, AO to analog input (A0 on Arduino). For digital output, connect DO to a digital pin. Use the onboard potentiometer to set the threshold: turn clockwise to increase sensitivity to darkness. Keep current below 20mA per pin.\u003c\/p\u003e\n\n\u003ch2\u003eWhy Buy from Compoden\u003c\/h2\u003e\n\u003cp\u003eEvery component is sourced from verified suppliers and tested for compatibility before listing. We've spent 10 years building projects for makers, schools, and institutions across India. Ships from Bengaluru in 3-5 days. If defective on arrival, replace within 7 days.\u003c\/p\u003e\n\n\u003cdetails\u003e\u003csummary\u003eIs this compatible with Arduino?\u003c\/summary\u003e\u003cp\u003eYes, it works with all Arduino boards. Connect AO to any analog pin and read values from 0 to 1023.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eCan I use this to detect darkness instead of light?\u003c\/summary\u003e\u003cp\u003eAbsolutely. The sensor outputs lower voltage in darkness. Set the digital threshold with the potentiometer to trigger an output when it gets dark.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eDoes it require soldering or comes pre-assembled?\u003c\/summary\u003e\u003cp\u003eIt comes fully assembled with header pins. You can plug it directly into a breadboard or use jumper wires.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdiv class=\"compoden-handoff\" style=\"margin-top:24px;padding:16px;background:#f0f4ff;border-left:4px solid #2B4D8F;border-radius:4px;\"\u003e\n  \u003cp style=\"margin:0 0 6px 0;font-weight:600;color:#1A3560;\"\u003e📦 Free Setup Handoff Document Included\u003c\/p\u003e\n  \u003cp style=\"margin:0;font-size:0.95em;color:#333;\"\u003eEvery Compoden order includes a free setup handoff document — step-by-step instructions to get your component working within minutes. Download it via QR code on your package. The handoff document is also trained to help you troubleshoot the majority of problems.\u003c\/p\u003e\n\u003c\/div\u003e\n","brand":"Compoden","offers":[{"title":"Default Title","offer_id":53445018648941,"sku":"CDN-0730","price":30.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/image_1_3bf5b19c-8358-4a0f-99a1-b6066219efeb.jpg?v=1781512854","url":"https:\/\/compoden.com\/products\/ldr-light-sensor-module-for-arduino-microcontroller-projects","provider":"Compoden","version":"1.0","type":"link"}