Color sensing (as well as detecting empty spaces) settled on IR-based sensors commonly used in line-following robots. You can watch the clock in action in the video embedded below just under the ...
I recently did tests with the IR sensor of a broken dvd player. The frenquencies of the signals are below 44kHz, wich means you can use the microphone input of your computer and audacity to record ...