The 7805 is a three terminal 5 volt regulated power supply. You provide a ground, a DC supply somewhat higher than 7 volts, and it provides a regulated 5 volts output.
A: First you need a object detector that give out a pulse per each. That becomes the clock for any the input to a counter that will count up in binary coded decimal and of these there are many to...