Dec 08 2009
Shop Timer : Part 1
In order for us to properly price our products we need to know exactly how long it takes to make things. This is fair for us and our customers. In addition, for our Sixty Second Shop videos, it’s important to know how long I’ve been rambling on.
Up to now we’ve been using things like cell phone stopwatches (which reset whenever a call comes in — ugh!) or just the clock on the wall. After wishing — for about the 100th time — for a big wall-mounted timer, I decided to build one.
I don’t need anything fancy. The timer merely needs to count up the seconds and display them in a very obvious way. Most of the individual steps we perform are under 15 minutes, so I could get by with a three digit display, counting from 1 to 999 seconds (about 16 minutes). Key features: Big. Easy to start/stop. Can survive shop conditions.
After building my LED Christmas Tree I realized I had exactly the correct circuit. A 555 timer could be used to (pretty accurately) tick off every second. As the seconds tick by, the CD4026 7 segment display driver would count up and display the values on the LED display.
Unlike the Christmas Tree, where I was using the 4026 as a pseudo random display, this time I’m actually using it for what it was intended — to translate counts / ticks to a 7 segment LED display. All I need to do is wire the correct LEDs to the appropriate outputs. Should be pretty easy.
If you own a digital clock, or just about any home gizmo, you’ve seen 7 segment displays. They are laid out like this:
When the CD4026 is at tick #3, it’s smart enough to translate that to the display. For example, if three was ticked, it would light up segments A, B, G, C, and D. The translation from counts / ticks to the display is handled by the chip itself. No thinking about logic, and no programming.
Okay, now I had an idea of how to drive the LEDs. Next I needed a display. Typically segment displays are pretty small (under an inch tall) and anything bigger is too expensive. Instead, I’d take a page out of the LEDKit Clock book and use discrete LEDs, wired in pairs, for the display.
First I found some open source clip art of 7 segment displays, resized a bit, and pasted three copies into a Word document. Then I printed it out. (My goal was to get them big enough to fill an 8.5 x 11 piece of paper, landscape.) Here is what it looked like:
At each segment I made two little marks to the left/right or top/bottom of the letter. These are where my LEDs will be located. I used two LEDs per segment because they can be simply wired together and means I don’t need baffles or other complexity between the segments. The holes are 5mm / 3/16″ (roughly) and fit standard 5 mm LEDs.
Note that I’ll be running the two LEDs in each segment in parallel. I don’t often advise this, as you could risk thermal runaway if one dies, but remember that I’m driving this with a CD4026 — a chip that is controlling the current for me. Chances of it blowing LEDs is pretty slim, especially since these are all from one batch.
I took the above template and spray glued it to a thin (5 mm) piece of plywood. Once dried a bit, I took it to my drill press and made all of the holes. The 3/16″ bit is just about the right size for 5mm LEDs. They fit snugly (sometimes requiring a second “wiggle” of the drill to get them in). Once drilled, I peeled off the template. Here’s the results (with LEDs):
For this timer I used super bright 5mm blue LEDs. Blue LEDs are usually very bright, which is what I want for the shop. This is a timer I need to see 25 feet away.
On the underside you can see all of the leads popping up. I’ll be wiring the two LEDs per segment together, then soldering short pieces of wire which will connect to the display board.
Remember: The letter (a to g) on the schematics is viewed from the front. On the back side, the horizontal letters (ex: B and F) are reversed. Don’t confuse yourself!
The LED wiring will probably be the most tedious part, since there will be 21 segments in all. Though, not much worse than the LED Christmas Tree, which had 20 LEDs wired in.
Next up, wiring the LEDs and then building the controller. The controller will be very similar to the Tree version — one 555 timer and three CD4026 display chips.
This version will cascade / carry down to the “downstream” chips. The 555 will trigger the first, and its output will feed the next chip, and so on. (In the Tree, the 555 triggered the clock of all three chips directly — in parallel.) I have to cascade/carry for this display because I want the numerals to automatically increment. (This makes more sense if you take a look at some of the example data sheets.)
Also, I’ll probably use some potentiometers for the 555 timer instead of fixed resistors. Having a pot will allow me to make finer adjustments to the ticks. The 555 is pretty good at timing, but it depends of the outboard components (resistors and a capacitor) which can be affected by temperature and age. As long as it’s “about” a second a click I’ll be okay. This is a rough timer, so no need for a fancy clock chip or crystals or whatnot.
Comments Off













