Originally Posted by rleete
So, enlighten us. What time is that displaying?
I've highlighted it so that you can read it yourself:
For each row, the values add together. So in the seconds row, 32+16+1=49, in the minutes row 16+8+2+1=27, and in the hours row 8+1=9. It's 9:27:49.
How much would it cost to build one (minus case)?
You know, I never really costed it out. Lemme do a quick DigiKey BOM.
If you build it exactly the way I did, the front-panel semiconductors come to $20.35. The perfboard was $4.49 at RadioShack. The resistors will be about $3.50, switches would be about $10 for four, and there's probably another $15 worth of power supply in the back. Figure about $55 altogether, assuming you build the case out of scrap wood you have lying around. Less than a commercial kit, and it reads in "real" binary, which most of the kits actually do not.
Obviously some of the parts on the front panel are there purely for aesthetic reasons. You will never have seconds or minutes > 59, nor hours > 23, so a lot of those LEDs / resistors / transistors are purely cosmetic. They are, in fact, hooked up, but they'll never be used (well, I did light them all up during testing before the NAND gates were configured, while I was validating the operation of the counters. They can, in fact, count all the way to 255 in each row.) Cost on those parts is trivial, however.
edit: what do the switches do? For setting the time?
Yeah. The upper-right is a run/stop switch, so I can pause the time when I set it. Upper-left is a 12/24 hour selector. The two switches on the bottom are fast-set and slow-set. Slow-set bypass the 60ths of a second divider (so that the seconds row advances at a rate of 60 seconds per second), and fast-set bypasses both that and the seconds divider (so that minutes advances at 60 minutes per second).
So the setting procedure is:
1: Flip the run/stop switch to "stop."
2: Activate the "fast set" switch until you're within an hour or so of the actual time.
3: Activate the "slow set" switch until you just barely over-shoot the actual time.
4: When the actual time catches up to the displayed time, flip the run/stop switch back to "run."