Dr H. Holden. 2015. Introduction:



Similar documents
CHAPTER 11: Flip Flops

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver

A Digital Timer Implementation using 7 Segment Displays

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

Chapter 9 Latches, Flip-Flops, and Timers

Neonixie 6 Digit Nixie Clock Controller Introduction and Assembly

A simple RF/Microwave frequency counter

The components. E3: Digital electronics. Goals:

Description of High Accuracy Digital Pressure Gauge Design

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

A Lesson on Digital Clocks, One Shots and Counters

A Lesson on Digital Clocks, One Shots and Counters

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

If an occupancy of room is zero, i.e. room is empty then light source will be switched off automatically

Module 3: Floyd, Digital Fundamental

Decimal Number (base 10) Binary Number (base 2)

Modifying the Yaesu FT-847 External MHz Reference Input

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Upon completion of unit 1.1, students will be able to

Lesson 12 Sequential Circuits: Flip-Flops

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Lecture 8: Synchronous Digital Systems

3-Digit Counter and Display

Contents COUNTER. Unit III- Counters

Counters. Present State Next State A B A B

2 : BISTABLES. In this Chapter, you will find out about bistables which are the fundamental building blocks of electronic counting circuits.

EXPERIMENT 8. Flip-Flops and Sequential Circuits

Interfacing To Alphanumeric Displays

Counters and Decoders

A PIC16F628 controlled FLL (Frequency Locked Loop) VFO for HF

Lab 11 Digital Dice. Figure Digital Dice Circuit on NI ELVIS II Workstation

DEPARTMENT OF INFORMATION TECHNLOGY

- 35mA Standby, mA Speaking pre-defined phrases with up to 1925 total characters.

Master/Slave Flip Flops

Digital Electronics Detailed Outline

Low Cost Pure Sine Wave Solar Inverter Circuit

ASYNCHRONOUS COUNTERS

GLOLAB Two Wire Stepper Motor Positioner

CS311 Lecture: Sequential Circuits

FIREDEX Conventional Fire Panels

ECEN 1400, Introduction to Analog and Digital Electronics

DM Segment Decoder/Driver/Latch with Constant Current Source Outputs

PLL frequency synthesizer

Content Map For Career & Technology

DP8570A DP8570A Timer Clock Peripheral (TCP)

DS1307ZN. 64 x 8 Serial Real-Time Clock

Operating Manual Ver.1.1

DIGITAL COUNTERS. Q B Q A = 00 initially. Q B Q A = 01 after the first clock pulse.

Tutorial. replace them with cell-phone operated module. The advantages of a cell-phone operated bot are:-

Sequential Logic Design Principles.Latches and Flip-Flops

Digital Logic Elements, Clock, and Memory Elements

Fig1-1 2-bit asynchronous counter

Controlling a Dot Matrix LED Display with a Microcontroller

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

Sequential Logic: Clocks, Registers, etc.

PolyBot Board. User's Guide V1.11 9/20/08

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1

BUILD YOUR OWN RC SWITCH (Issue 3)

Copyright Peter R. Rony All rights reserved.

ETEC Digital Controls PIC Lab 10 Pulse Width Modulation

DC Electronic Loads 8500 series

BINARY CODED DECIMAL: B.C.D.

0832 Dot Matrix Green Display Information Board User s Guide

HAM841K ALARM CONTROL PANEL FOR COMMERCIAL AND RESIDENTIAL SECURITY SYSTEMS

Electronic Rotary Table Divider V2.1 Construction

revolution Contents: Introduction Power 28-pin Project Board with input/output cables

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

Standart TTL, Serie Art.Gruppe

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012

CSE140 Homework #7 - Solution

Series /16 DIN Multi-Mode Bar Graph Display Timer TIMERS PRODUCT HIGHLIGHTS

Ignition Alert Anti-Theft Security System for Motorbikes with Remote Control Amit Yadav, Anushri Jha, Neelesh Gupta

ANALOG & DIGITAL ELECTRONICS

Web Streamed SDR s in Service at GB2RHQ Hack Green Bunker

1.1 The 7493 consists of 4 flip-flops with J-K inputs unconnected. In a TTL chip, unconnected inputs

Keywords: rainfall detection, rain sensor, buzzer and alarm system.

Digital Fundamentals. Lab 8 Asynchronous Counter Applications

Build A Video Switcher. Reprinted with permission from Electronics Now Magazine September 1997 issue

MFJ BOX APPEARANCE. Adjusting Counter Module.

ELEC EXPERIMENT 1 Basic Digital Logic Circuits

RUNNING MESSAGE BOARD USING DOT-MATRIX DISPLAY. Ervin John U. Benigra, Bryan Leonard D. Montaño and Engr. Maridee B. Adiong. Capitol University

DATA SHEET. HEF40193B MSI 4-bit up/down binary counter. For a complete data sheet, please also download: INTEGRATED CIRCUITS

MN3310 Evaluation Kit v1 User Guide

Radio Systems, Inc. CT-2002 Clock/Timer Manual

DS12885, DS12885Q, DS12885T. Real Time Clock FEATURES PIN ASSIGNMENT

ARRL Morse Code Oscillator, How It Works By: Mark Spencer, WA8SME

Rain+Birdt. Simple To Set Timer (SST) Setup & Operation Instructions. English RAIN BIRD ( ) or visit

Real Time Clock USB Evaluation Board V3.0

DIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department

MN1010 Evaluation Kit v3 User Guide

RC Camera Control. User Guide v /20/2012

SYSTEM 4C. C R H Electronics Design

Microcontroller Code Example Explanation and Words of Wisdom For Senior Design

Technical data. General specifications. Indicators/operating means. Electrical specifications Operating voltage U B Power consumption P 0 Interface

css Custom Silicon Solutions, Inc.

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Transcription:

THE CMOS UP OR DOWN COUNT, 12-24HR DIGITAL CLOCK WITH 1/10 SEC READOUT, COUNT DOWN FROM 99hrs:59min:59sec:0.9sec TO ZERO & LATCH WITH AM & PM INDICATORS IN 12HR MODE. Dr H. Holden. 2015. Introduction: It is practically a right of passage that every Electronics Engineer or Physics enthusiast will at some stage in their life build an electronic clock. Perhaps it is the fascination with the arrow of time itself that drives this interest since time remains somewhat enigmatic. Or the Question posed: Why can one not change the past? The answer given in the second Time Machine movie by the public library s compendium of all human knowledge: Because one cannot travel into the past. This statement remains true currently. Fortunately for the time traveller in this fictional story it was not correct. On a more practical note our entire human civilization is now structured and coordinated around clocks and time measurement. The way an electronic clock could be built is only limited by human imagination. The options include all manner of display types including LED, LCD, Nixie Tube, Cathode Ray Tube or any type of visible display including a pseudo analogue display with hands. The display format has been done in the past in interesting ways such as Binary or Roman numerals for creative effect. The electronics could be as varied and as simple TTL or CMOS logic circuit or a programmed PIC microcontroller. The time-base could be as simple as using the mains power frequency as a reference, or a divided down crystal reference as is customary in most electronic clocks, or a Cesium or Rubidium atomic reference or even synchronizing the clock to a GPS reference signal.

This article shows the design of a compact multi-function clock based on 4000 series CMOS logic IC s and a beautiful type of LED display, the INL-0397-1 made by Innocor. This display is the CMOS high efficiency equivalent of the famous TIL-311 made by Texas Instruments. The clock is built into a high quality OKW housing and powered by 4 rechargeable AA cells and/or a 6V DC mains plug-pack. The clock has very low power consumption. The circuit draws only about 14mA with the displays disabled. When the displays are running they are strobed with a 50% duty cycle from a 1kHz square wave oscillator as shown below. The current consumption is only about 45mA under these conditions with the display lit up. The efficient Innocor displays are very bright. The schematics are shown below in 4 pages: In order that the 1/10 second, seconds, minutes and hours can be individually set, XOR gates are used to mix the individual clock set signals from the set buttons into the appropriate 4510

decade counters. The XOR system has the advantage of being able to clock the counters regardless of the logic state of the previous counter normally driving the clock input. Also in the Set mode, the time-base reference, derived from an Epson SPG8651B is set to 2.5Hz to speed up the setting process. The time set push buttons are de-bounced by the RC network and the Schmitt trigger Nand gates 3C. The display s leading zero in the hours column is blanked in the 12 hour mode count up direction only to give the normal display appearance of a 12 Hr clock. When in set mode, the up/down switch can also be used so the time setting function is bidirectional which is another unique feature. Since the clock can count either upwards in 12 or 24Hr time and count downwards from a maximum of 99:59:59.9 (Format = HRS:MIN:SEC.(1/10)SEC) then different gating is required to control the decade counters in the up & down modes. This is executed with the gate array

shown above with the help of a 4019 Multiplexer IC controlled by the up-down mode switch. Also in count down mode the total hours count down was not limited to 24 Hrs, it can be up to 99 Hrs. When the counter outputs are detected corresponding to the correct count in the up or down mode, the new value which follows is parallel loaded into the 4150 counter using the parallel load facility. For example with the pair of minutes (or seconds display) counting up to 59 is followed by 00 because the state 60 is detected by the gating and 0 is parallel loaded into the 4510 tens of minutes counter 4A and at the same time 5A returns to zero as it is a decade counter overflow. In count down mode 00 is followed by 59 because the state 09 is detected by the gating. For the hours in the 12Hr count up mode 12:59:59.9 is followed by X1:00:00.0 (X = blanked digit) because 13 Hrs is detected and the leading zero blanked. In the 24Hr count up mode after 23:59:59.9 the official (and displayed) time is 00:00:00.0.This zero state is not detected by the count down zero detector IC 5B(even with the zero enable switch on) because the terminal count output (pin 7) of each 4510 counter IC in this condition is high, not low. So the 00:00:00.0 state is only detected when the clock is used as a count down timer. A small delay of 10uS is added to the parallel load circuits to ensure the 4510 counters definitely reach a new stable state during the load process because after the load process the data that initiated the load process (on the counter outputs) vanishes. The AM and PM lights toggle at the count just after 12:59:59.9 only in the 12 HR mode and are off in the count down or 24Hr mode. To ensure the mode control switches are effectively de-bounced, they are a changeover type configured with pairs of inverter gates. This method is by far and away the most effective method of contact de-bouncing as it is not frequency or time domain dependent to any extent (except for the short gate propagation delay) as an R-C network is and it is also superior to any software de-bouncing. However it does require a changeover switch to execute it. This debouncing is shown below:

When the clock is in the countdown timer mode (operating in 12 or 24 Hr mode) IC 5B detects when the count on all 4510 s has reached zero (Zero detected = Zero Det.) and so pin 10 of 5C goes high. This deploys the master reset for all of the 4510 counters (MRC) and the display freezes on zero. The VN10kM Mosfet turns on the DIL relay and the relay contacts can be used to trigger an external event for any practical task such as a laboratory experiment. If the zero enable switch is not in the enabled position, the countdown simply passes by 00:00:00.0 and goes to 99:59:59.9 and keeps counting downwards again. Using the Set controls the clock can be programmed to count down from any time below the 99:59:59.9 value to zero. However with the display enabled(lit) and the clock running on batteries alone, then the expected battery life with the clock s 45mA current drain is limited to

55 Hrs, but with the display turned off it is 178 Hrs as the current drain under that condition is only 14mA. The clock runs from its internal 4 x 2500mAh internal batteries which receive a low charge when the clock is powered by its usual 6V DC plug pack: The diagram above shows the basic component layout. The PCB was hand wired and connections soldered with over 400 connections. The wiring was laced together with silk thread in a loom like configuration on the rear of the PCB which is a Sunhayato product. Connectors and ribbon cable were used to keep the wiring between the front panel/switch/display to the main PCB tidy. The photos below show the hand wired PCB:

The OKW housing has the 4 x AA battery holder integral to its design (not see in the photo above) and is also fitted with tilt feet which are also an OKW product. **************************************************************************