Infra-red sensor controlled sheep dip

My workspace:

A close-up of the prototype controller on my breadboard:

A close-up of the infra-red sensor: