HOW TO MAKE AROMATIC DARK LIGHT  SENSOR BY USING  ARDUINO AND LDR WITH CODE  AND CIRCUIT DIAGRAM       WHO IT IS WORK                 This system works by sensing the intensity of light in its environment. The sensor that can be used to detect light is an   LDR . It's inexpensive, and you can buy it from any local electronics store or online.     The LDR gives out an analog voltage when connected to VCC (5V), which varies in magnitude in direct proportion to the input light intensity on it. That is, the greater the intensity of light, the greater the corresponding voltage from the LDR will be. Since the LDR gives out an analog voltage, it is connected to the analog input pin on the Arduino. The Arduino, with its built-in ADC (analog-to-digital converter), then converts the analog voltage (from 0-5V) into a digital value in the range of (0-1023). When there is sufficient light in its environment or on its surface, the converte...