Whenever spawning is not taking place, light from the LED bulb passes through the screen, producing low resistance at the LDR At spawning, newly released eggs are pumped into the PVC pipe and become attached to the screen, thereby decreasing light intensity to the LDR, causing an increase in resistance.