Sensor-Driven LED Control Design

Job ID: 40201646

Budget: $250 – $750 USD

• I need an automatic LED control solution that switches my lights according to two conditions: ambient daylight levels and nearby motion. In practice, that means the system must remain ON while there is enough natural light, turn OFF whenever it gets dark, and also turn ON immediately when someone approaches, regardless of the time of day. Once the area is bright again the LEDs should default to power ON. Both sensing inputs—one light sensor and one distance/motion sensor—have to work together without manual intervention. I am only interested in straightforward ON/OFF behavior rather than dimming or color-changing effects, but the response must be fast and reliable. Based on fitting the component on the board, in the available space I have chosen the Adafruit TrinketM0 and the Adafruit VL53L0X Time of Flight Distance Sensor - ~30 to 1000mm

Ther will be 5 PBC’s needed
1. 120v-1 LED I/O fuse PCB
2. 120v-2 LED I/O fuse PCB
3.12c fuse I/O PCB
4. Controller PCB
5. 12v supply fuse PBC
Footprint and generic traces for all but the Controller PCB are defined and modeled, STEP files will be provided. See attached PowerPoint for images.

When complete, boards 1, 2, 3, and 5 will be ordered complete, soldered, ready to install.
The control board will be ordered assembled/populated with the exception of the TrinketM0 and the Adafruit VL53L0X Time of Flight Distance Sensor - ~30 to 1000mm


Deliverables
• Complete circuit schematic and component list
• Firmware or code that drives the automatic logic (Arduino, ESP-based, or a platform you recommend)
• Clear wiring/assembly guide so I can replicate the build and test it confidently
• Brief usage notes covering calibration of the daylight threshold and motion sensitivity

Acceptance Criteria
• LEDs stay ON in daylight and OFF at the desired darkness level after dark regardless of Distance sensor input.
• LEDs turn on with input from distance sensor at night when ambient light has LED's turned OFF.
• No flicker or false triggers under typical indoor lighting changes.
• All documentation is concise and ready for someone with basic electronics skills to follow.