I have designed a PCB for mouth guard device and also its enclosure is ready in which PCB will be placed when its not in use. I want to use a UV blue light for UV sterilization inside the box. Now the function I want to add is when PCB is put into enclosure and enclosure is closed then blue light should turn on for a minute and then it should turn off. I tried to use 555 timer with LDR in mono stable mode. But the issue is when enclosure is closed then LDR resistance is too high until the enclosure is open again (Trigger pin2 can not pull up due to LDR resistance too high). I am unable to run my LED for 1 minute. Kindly suggest me some circuit with IC as I don't want to use MCU.
Original link from where the circuit is taken: https://www.buildcircuit.com/modes-of-ne555-monostable-and-astable/