Raspberry Pi, Sensors, Hardware, DIY, Python.
calculate the pull-down resistor. In my use case, the ambient light would be 10~100 lux, where the photocell resistance is between 10kΩ~1.5kΩ, so a 10kΩ pull-down resistor is perfectly fine. Photocell resistance vs. light w/ 5V power supply and 10kΩ pull-down resistor. Source: datasheet Temperature