Stopwatch III
Micro Projects Home Page

Home

 Microprocessor Basics

Micro Basics

Site Projects

Site Projects

Construction Techniques

Construction

Programming concepts

Software

Projects

Projects

8085 page

8085 page

Fault Finding

Fault Finding

Data Sheets

Data Sheets

Two views inside a completed Stopwatch 3. The heatsink is for the power supply regulator. The small �piggy back� board was an afterthought to give a bleep every time a �start� is announced. The unused headers on the right hand side were to allow easy testing of each finished board.

The mains transformer AC connections were potted after this pik was taken to make them completely safe.

Picture
Picture

The second pik shows a slightly different view. Note that the �triplex�display and driver chip are mounted to the left. The decoding is identical to many other projects I have built where the display digit is selected by the upper 4 bits of a byte, with the actual number to be displayed in the lower 4 bits.

The Stopwatch 3 program will in fact run directly from the Eprom socket of the site project digital clock as long as the RAM is fitted too. However, to display all of the information another 4 digit display (either DL1414 or additional 4xTIL311�s etc.) will be required for the upper 4 digits.

FULL DETAILS FOR CONSTRUCTION

Picture
EEprom Programmer

Programmer

Having now received several requests for an �information pack� for the �Stopwatch 3� Instead of repeating the same response over and over again :) I have compiled the information here for all to download if they so wish. As already mentioned, this useful piece of equipment uses the site �Digital Clock� project as it�s basis. Thus I refer you all to the �Site Project� section for full circuit details ( an unusually clear schematic from me too! ) and a wiring list that was tried and tested to make the actual working board seen in the pictures. Pleae note the following remarks though:

Video Information

VIDEO info

Peripheral Circuitry

Peripheral circuitry

Central Heating and Z280's

Z280 and  Central Heating  Controllers

Concluding Ideas

Concluding ideas

Links

Links

TIMEBASE

Unlike the DIGITAL CLOCK project that uses a 50Hz timebase, the STOPWATCH 3 uses 100Hz so you will therefore almost certainly need to build a crystal oscillator which can be divided down to 100Hz. One may of course use the same oscillator to drive the CPU clock pin! (not at 100Hz  though...!)

RAM

Whilst the CLOCK needs no RAM to work, the STOPWATCH 3 needs sufficient capacity for the stack, various areas of temporary storage PLUS room to save all the captured finishing times to be recalled at the end of the race. The circuit must therefore have 2K RAM fitted. (Like the 6116 already shown connected in the CLOCK schematic)

CONTROLS

STOPWATCH 3 needs a total of SIX buttons to operate correctly. These are interfaced via the same 74LS374 (designated IC4 in the Clock schematic) - but obviously using the first SIX inputs (D0-D5) as opposed to the clock�s FIVE. Input D7 in keeping with the CLOCK needs to be fed from the TIMEBASE output of 100Hz.

SCHEMATIC

Use the DIGITAL CLOCK schematic �as is� along with the wiring list. Note that once this has been built, all that will be left to complete will be: A) The crystal timebase and CPU clock oscillator.    B) The PSU of your choice.  C) The buttons and their simple interface.       D) The wiring to the display of your choice.

DISPLAY

If using the DL1414 displays, no decoder is needed for the digits. If however the TIL311 or any of the many other displays out there are used, one will probably be required. The SOFTWARE sends each number to each digit in a single 8 bit word. The BOTTOM 4 bits (D0-D3) are the number to be displayed - i.e. 0-9, and bits 4 and 5 are the ADDRESS. Address 0 points to the far right display, address 1 to the second from the right and so on. Look at the example of this sort of decoding on my TIL311 data sheet til311op.jpg. Here you�ll see Data Bus lines D4,5,6 being used in conjunction with an HCT138 for this exact purpose.  If you are going to use the DL1414 (two off for the 8 digits) you can refer immediately to the display schematic in my DATA SHEETS heading under DL1414 (naturally!) The circuit you want is the one designated �simple hex only wiring�; the image designation being dl1414op.jpg. This was actually taken from the prototype and needs no alteration whatsoever.

OSCILLATOR

If using a crystal and a simple divider to 100Hz to supply both the CPU and the TIMEBASE then a readily available 3,276,800Mhz crystal will be ideal. This will divide down to 100Hz without any special divide ratio�s. You can of course opt for separate clocks, with the CPU frequency being your choice and an oscillator with a 32,768KHz watch crystal for the dividers of the timebase. Your decision in the end. Mind you, I did have one young lady who�s on UK 50Hz mains, telling me that she used a simple step-up frequency doubler from her AC coupled Opto- Isolator...50Hz increased x2 to 100Hz?  Ingenious but simple! There is a nice stable and reliable crystal oscillator in my �Peripheral Circuitry� corner if you need one..

Click here for the full Stopwatch 3 program listing.  (Z80 code) As this code was �dumped� from a working EPROM, it is pretty much likely to work!

http://www.hampshire-shops.co.uk