Skip to main content

Time Transporter


Some microcontroller applications such as  those which log or track information often  require current time and date information  to be stored along with the collected data.  A Real Time Clock (RTC) chip such as the IC  DS1307 with battery back-up can be used to  supply the required information. This particular chip easily integrates into most designs  using the absolute minimum of external components. The process of programming the  chip in software is simple and is supported in  the majority of programming environments.  Intrinsic functions, header files and libraries are widely implemented for the device. A  quick trawl of the Internet will uncover lots of  programming examples.

Project Image :

Time Transporter-Image

 Time Transporter Image

 

So far so good except that the chip first needs to be programmed with the current time and date information. This information is maintained and updated (thanks to a keep-alive battery) even when the external circuitry is shut down. To carry out the programming requires connection to a keyboard and display but the additional hardware will only ever be needed for this one-off event.

Circuit diagram :

Time Transporter-Circuit Diagram

Time Transporter Circuit Diagram

The design suggested here solves  the problem by combining the IC, battery, crystal and peripheral components  onto a tiny plug-in PCB. The circuit consists  of a small square of prototyping perf board  onto which is mounted the IC, a crystal, battery, decoupling capacitor (C1) and two  (optional) pull-up resistors for the open collector outputs. An IC socket with extra longs  pins (or two modular connector strips) completes the design. The complete RTC module (see photo) is self contained and can be  plugged from one circuit to another using  its long pins without losing track of time and  date. The only requirement in the target sys-tem is space for an 8-way DIL socket, wiring  to the socket and software to read the time  information.

The essential advantage with this  approach is that hard and software  expenditure in the target system is  kept to a minimum, it will only ever  need to read the time and date information. The extra hardware and soft-ware required to set both time and  date are assigned to a separate sys-tem, maybe a dedicated breadboard  design.

Once programmed the ticking clock  module can then simply be transferred to the target system.

 

Author :Jochen Brüning - Copyright : Elektor


Comments

Popular posts from this blog

Digital Fan Regulator Circuit Diagram

This is the project of Digital Fan Regulator Circuit diagram. The circuit presented here can be used to control the speed of  fans using induction motor. The speed control is nonlinear, i.e. in steps. The current step number is displayed on a 7-segment display. Speed can be varied over a wide range because the circuit can alter the voltage applied to the fan motor from 130V to 230V RMS in a maximum of seven steps.  The triac used in the final stage is fired at different angles to get different voltage outputs by applying short-dura-tion current pulses at its gate. For this pur-pose a UJT relax-ation oscillator is used that outputs sawtooth waveform. This waveform is coupled to the gate of the triac through an optocoupler (MOC3011) that has a triac driver output stage.  Pedestal voltage control is used for varying the firing angle of the triac. The power supply for the relaxation oscillator is derived from the rectified mains via 10-kilo-ohm, 10W series dropping/limit-ing...

Using the SG3525 PWM Controller Explanation and Example Circuit Diagram Schematic of Push Pull Converter

PWM is used in all sorts of power control and converter circuits. Some common examples include motor control, DC-DC converters, DC-AC inverters and lamp dimmers. There are numerous PWM controllers available that make the use and application of PWM quite easy. One of the most popular of such controllers is the versatile and ubiquitous SG3525 produced by multiple manufacturers – ST Microelectronics, Fairchild Semiconductors, On Semiconductors, to name a few. SG3525 is used extensively in DC-DC converters, DC-AC inverters, home UPS systems, solar inverters, power supplies, battery chargers and numerous other applications. With proper understanding, you can soon start using SG3525 yourself in such applications or any other application really that demands PWM control. Before going on to the description and application, let’s first take a look at the block diagram and the pin layout. Pins 1 (Inverting Input) and 2 (Non Inverting Input) are the inputs to the on-board error amplifier. If you a...

Automatic Intruder Alarm Circuit Diagram

Description: This is a simple single-zone burglar alarm circuit. Its features include automatic Exit and Entry delays and a timed Bell/Siren Cut-Off. It's designed to be used with the usual types of normally-closed input devices such as - magnetic reed contacts - micro switches - foil tape - and PIRs. But it can be Easily Modified to accept normally-open triggering devices - such as pressure mats. Circuit Diagram   Notes:   It's easy to use. First check that the building is secure and that the green LED is lit. Then move SW1 to the "set" position. The red LED will light. You now have about 30 seconds to leave the building. When you return and open the door - the Buzzer will sound. You then have about 30 seconds to move SW1 to the "off" position. If you fail to do so - the relay will energize and the Siren will sound. While at least one of the switches in the normally-closed loop remains open - the Siren will continue to sound. However, about 15-minutes aft...