I came up with a modified Johnson Counter, the counter and added the IR LED and Phototransistor to the clock.
Step 1: Modified Johnson Counter
Step 2: This Is the Finished Circuit
This is two different ways to wire the circuit.
It works the way they wanted, turn on the circuit and all the LEDs turn on, if all 6 LEDs do not come on press the reset button and all the LEDs will turn on.
Every time you pass an object between the IR LED and the Phototransistor, one LED turns off at a time until all 6 LEDs are off, then when you press the reset button all 6 LEDs turn on.
If you pass an object between the IR LED and the Phototransistor a 7th time or more and the LEDs start to turn on.
Step 3: Parts
1. IR or UV LED
1. IR or UV Phototransistor
1. CJ78M05 voltage regulator
1. Push button switch
1. 220 uF 16 volt electrolytic capacitor
1. 10 uF 16 volt electrolytic capacitor
2. SN74LS175N D Flip Flops
3. 1N4001 Diode
6. LEDs, 2 red, 2 green, 2 yellow
9. 1 KΩ ¼ watt Resistors
If you need a place to get the ICs you can get them at http://ca.mouser.com/search/Default.aspx
For the voltage regulator just enter 78M05 in the search box.
You can get the datasheets athttp://www.maxim4u.com/
Step 4: Upping the Design
I think the next counter I design and build will be a numerical counter.