how to build Mark Robe solenoid trigger?

this is little more than a beginners project.

light sensor.
read the sensor, if over X value,
start the timer
once the unit times out,
make an output high