{"product_id":"ldr-sensor-5mm-light-dependent-resistor-compoden","title":"LDR Sensor 5mm Light Dependent Resistor - Compoden","description":"\u003ch1\u003eLDR Sensor (Light Dependent Resistor) - 5mm\u003c\/h1\u003e\u003cp\u003eThe 5mm Light Dependent Resistor (LDR) is a passive component that changes resistance based on ambient light intensity. Commonly used in light-sensing circuits, it enables automatic brightness control, daylight detection, and twilight switching. Its small 5mm epoxy package makes it easy to integrate into breadboards and custom PCBs.\u003c\/p\u003e\u003ch2\u003eKey Specifications\u003c\/h2\u003e\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\u003eModel\u003c\/td\u003e\n\u003ctd\u003e5mm LDR (GL5528)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eLight Resistance (10 lux)\u003c\/td\u003e\n\u003ctd\u003e20–30 KΩ\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eDark Resistance\u003c\/td\u003e\n\u003ctd\u003e0.5 MΩ (min)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSpectral Peak\u003c\/td\u003e\n\u003ctd\u003e540 nm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eResponse Time\u003c\/td\u003e\n\u003ctd\u003e30 ms rise, 30 ms fall\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eMax Voltage\u003c\/td\u003e\n\u003ctd\u003e150 V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\u003ch2\u003eWhat You Can Build With This\u003c\/h2\u003e\u003cul\u003e\n\u003cli\u003e\u003ca href=\"\/products\/kit-automatic-night-lamp\"\u003eAutomatic night lamp using a comparator circuit\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003eLight-controlled switch for outdoor garden lights\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"\/products\/arduino-solar-tracker-kit-with-ldr-sensors-and-servos-track-the-sun\"\u003eSimple solar tracker to orient small panels\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"\/products\/kit-arduino-laser-tripwire-alarm-kit\"\u003eLaser-based security tripwire alarm\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2\u003eCompatibility\u003c\/h2\u003e\u003cp\u003eThis LDR works with any microcontroller or single-board computer that has an analog input, including Arduino Uno, ESP32, and Raspberry Pi Pico. It functions reliably with both 3.3V and 5V systems when used in a voltage divider configuration. Pair it with a 10KΩ resistor for standard light-level readings.\u003c\/p\u003e\u003ch2\u003eWiring Notes\u003c\/h2\u003e\u003cp\u003eSolder one lead to VCC (5V or 3.3V) and the other to an analog input pin, with a 10KΩ resistor from that pin to GND. This creates a voltage divider where the output voltage rises as light increases. No additional pull-up or pull-down is required.\u003c\/p\u003e\u003ch2\u003eWhy Buy from Compoden\u003c\/h2\u003e\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\u003cdetails\u003e\u003csummary\u003eIs this compatible with Arduino?\u003c\/summary\u003e\u003cp\u003eYes, any Arduino board with an analog pin (Uno, Nano, Mega) can read the LDR's varying voltage. Use a 10KΩ resistor in a voltage divider circuit connected to an analog input.\u003c\/p\u003e\u003c\/details\u003e\u003cdetails\u003e\u003csummary\u003eWhat is the resistance in complete darkness?\u003c\/summary\u003e\u003cp\u003eIn total darkness, resistance typically exceeds 0.5 MΩ. As light increases, resistance drops to a few hundred ohms under bright illumination.\u003c\/p\u003e\u003c\/details\u003e\u003cdetails\u003e\u003csummary\u003eCan it measure exact light levels in lux?\u003c\/summary\u003e\u003cp\u003eWhile not a precision photodiode, with calibration the LDR can provide approximate lux readings. It is best suited for detecting relative light changes or threshold-based triggers.\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":53445022777709,"sku":"CDN-0748","price":5.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/image_1_0a114a37-9e22-47fd-b39c-09e382493055.jpg?v=1781512879","url":"https:\/\/compoden.com\/products\/ldr-sensor-5mm-light-dependent-resistor-compoden","provider":"Compoden","version":"1.0","type":"link"}