What components do you need to build a basic light sensor circuit?
To build a basic light sensor circuit, use a photoresistor (LDR) as the primary sensing component. Connect it in a voltage divider configuration with a fixed resistor. The output voltage changes with light intensity and can be fed to a microcontroller or an operational amplifier for further processing or direct control of a load like a relay.