LDR night light on a Nano

by ourcircuits

6 parts

An LDR night light on a Nano on a 9 V battery: the simulation shows its LED dark in daylight and lit in the dark. A7 reads 853 at 100 lux, and 170 at 1 lux with the LED lit. The battery feeds VIN, through the board's regulator. Select the LDR to set its light.