{"product_id":"light-detection-switching-sensor-module-dusk-to-dawn","title":"Light Detection \u0026 Switching Sensor Module - Dusk to Dawn","description":"\u003ch1\u003eLight Detection \u0026amp; Switching Sensor Module for Dusk to Dawn Automation\u003c\/h1\u003e\n\n\u003cp\u003eThis module detects ambient light levels and provides a digital output to switch devices on at dusk and off at dawn. Ideal for automating outdoor lights, corridor lamps, or any appliance that operates based on daylight. It features an adjustable sensitivity potentiometer to set the threshold light level.\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\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\u003eDigital (HIGH\/LOW)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eComparator Chip\u003c\/td\u003e\n\u003ctd\u003eLM393\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eLight Sensor\u003c\/td\u003e\n\u003ctd\u003ePhotoresistor (LDR)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePCB Dimensions\u003c\/td\u003e\n\u003ctd\u003e~32mm × 14mm\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eAdjustment\u003c\/td\u003e\n\u003ctd\u003eOnboard potentiometer for threshold\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\u003eAutomatic garden or pathway lights that turn on at sunset\u003c\/li\u003e\n  \u003cli\u003eNight security lighting for driveways or backyards\u003c\/li\u003e\n  \u003cli\u003eSunrise alarm or daylight-activated fan controllers\u003c\/li\u003e\n  \u003cli\u003eEnergy-saving daylight switch for indoor accent lamps\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eCompatibility\u003c\/h2\u003e\n\u003cp\u003eThe module interfaces with any 3.3V\/5V microcontroller: Arduino Uno, Nano, ESP8266, ESP32, Raspberry Pi (with level shifting if needed). Its digital output can directly drive a relay module or a transistor for higher loads. Typical pairing is with a 5V single-channel relay to switch AC appliances.\u003c\/p\u003e\n\n\u003ch2\u003eWiring Notes\u003c\/h2\u003e\n\u003cp\u003eConnect VCC to 5V, GND to GND, and DO (digital output) to a GPIO pin. Adjust the potentiometer while covering the LDR to set the trigger point; the onboard LED indicates output state. Use a relay module for high-current or mains-voltage loads—never connect them directly to the module.\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 any Arduino board. Connect VCC to 5V, GND to GND, and DO to a digital pin like D2.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eCan it switch AC loads directly?\u003c\/summary\u003e\u003cp\u003eNo, this module provides a low-current digital signal. For AC loads, pair it with a relay module or solid-state relay.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eHow do I adjust the darkness threshold?\u003c\/summary\u003e\u003cp\u003eTurn the onboard potentiometer: clockwise increases sensitivity (triggers at lower light), counterclockwise decreases. Use the built-in LED to test, or monitor the DO pin status.\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":53444958421357,"sku":"CDN-0325","price":280.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/image_1_30da7c80-4358-4623-b9d1-a6957699419a.jpg?v=1781512449","url":"https:\/\/compoden.com\/products\/light-detection-switching-sensor-module-dusk-to-dawn","provider":"Compoden","version":"1.0","type":"link"}