ldr using automatic door opening