Digital Clock with Timer and Solar Panel Regulator circuit

15,313

Circuit Image

This device is a combination digital clock timer and solar panel charge controller designed to maintain a deep cycle battery charged by a solar panel. The timer output controls a 12-volt load for a 32-minute interval each day. The start time is set using nine dip switches and concludes 32 minutes later. The 32-minute duration is determined by selecting the fifth bit of a 4040 binary counter (pin 2). Additionally, the timer features a manual toggle switch for manually turning the load on or off, automatically shutting off after 32 minutes. The time duration can be adjusted to longer or shorter intervals (8, 16, 32, 64, 128, 256 minutes, etc.) by selecting the appropriate bit of the counter. The timer circuit is depicted in the lower schematic, located just above the voltage regulator. The basic clock circuit, illustrated in the top schematic, bears similarities to a binary clock and employs seven integrated circuits (ICs) to generate 20 digital bits for 12-hour time representation, including AM and PM indicators. A standard watch crystal oscillator (32,768 Hz) serves as the time base, which is divided down to a half-second signal by the 4020 binary counter. One half of a 4013 data latch divides the half-second signal by two, producing a one-second pulse that drives the seconds counter (74HC390, shown in purple). The minutes counter is advanced by decoding 60 seconds (40 + 20), resetting the seconds counter to zero while simultaneously advancing the minutes counter. A similar process is employed to advance the hours. The second half of the 4013 latch indicates AM or PM, toggled by decoding 13 hours and resetting the hours to zero before advancing to "one." The clock display circuit, shown in the second drawing, utilizes six additional ICs to decode binary data and control four seven-segment LED displays. The tens of hours digit is driven by a single 3904 transistor. Two multiplexer circuits (4053) allow for manual selection between minutes or seconds for the respective display digits. The two switches located between the 4053s and beneath the left 4053 are part of a double-pole double-throw (DPDT) switch that selects either seconds or minutes for the 1X and 10X digits. This switch is depicted in the seconds position, with the hours digits blanked via a low signal on pin 4 of the 4511. The display can also be toggled on and off using a set/reset latch constructed from two 74HC00 NAND gates. A momentary DPDT switch controls the latch to toggle the display's visibility. The second pole of this switch is utilized in the upper drawing (connected to the run/stop switch) to set the hours and minutes. Consequently, this switch serves dual functions: blanking the display and adjusting the time. The run/stop switch is illustrated in normal operation mode, supplying a low signal to a NAND gate that prevents accidental time setting while the clock is running. This switch also activates the display (through diode D2) when in the stop position. To set the clock, the run/stop switch should be positioned to stop, and the seconds/minutes switch set to minutes. The momentary switch is then toggled to set the minutes and hours to the current time plus one minute. The clock can be initiated with the run/stop switch at the precise time (+/- 0.5 seconds). The voltage regulator in the lower drawing maintains the battery at 13.6 volts while supplying the clock and timer circuits with 4.3 volts. The charge LED indicator activates only when the regulator is delivering maximum charge to the battery. When the battery voltage reaches 13.6 volts, the regulator reduces the current as necessary to maintain the voltage, causing the charge indicator to turn off. The constructed unit also includes a battery condition indicator (voltmeter using four LEDs) to reflect the battery's status, indicating a regulator failure if the charge indicator LED is off and fewer than four LEDs are lit on the voltmeter.

This combination device integrates multiple functionalities, including timekeeping, load control, and battery management, into a coherent system. The timer function is crucial for applications where energy management is essential, ensuring that the load operates only during designated intervals, thus optimizing battery usage. The use of a 4040 binary counter allows for flexible timing configurations, enhancing versatility in various applications. The clock circuit's reliance on a 32,768 Hz crystal oscillator ensures high accuracy in timekeeping, which is essential for both the timer and the display.

The display circuit, leveraging seven-segment LED technology, provides clear visual feedback of the time, while the multiplexing system allows for efficient use of display resources, minimizing the number of active components at any given time. The dual-functionality of the DPDT switch simplifies user interaction, allowing for intuitive adjustments to time settings without needing separate controls.

The voltage regulation system is pivotal for ensuring the longevity and reliability of the deep cycle battery, which is essential in solar applications where energy availability can fluctuate. The integration of a charge indicator and a battery condition indicator provides users with immediate feedback on battery health, allowing for proactive maintenance and minimizing the risk of system failure.

Overall, the design reflects a thoughtful integration of components that work synergistically to provide a reliable and efficient solution for solar energy management and timekeeping.This is a combination digital clock timer and solar panel charge controller used to maintain a deep cycle battery from a solar panel. The timer output is used to control a 12 volt load for a 32 minute time interval each day. Start time is set using 9 dip switches and ends 32 minutes later. The 32 minute duration is set by selecting the 5th bit 5 = 32) of a 4040 binary counter (pin 2). The timer also has a manual toggle switch so the load can be manually switched on or off and automatically shuts off after 32 minutes. The time duration can be longer or shorter (8, 16, 32, 64, 128, 256 minutes etc. ) by selecting the appropriate bit of the counter. The timer circuit is shown in the lower schematic just above the regulator. The basic clock circuit (top schematic below) is similar to the binary clock (on another page) and uses 7 ICs to produce the 20 digital bits for 12 hour time, plus AM and PM.

A standard watch crystal oscillator (32, 768) is used as the time base and is divided down to 1/2 half second by the 4020 binary counter. One half of a 4013 data latch is used to divide the 1/2 second signal by 2 and produce a one second pulse that drives the seconds counter (74HC390 colored purple).

The minutes are advanced by decoding 60 seconds (40 + 20) and then resetting the seconds counter to 0 and at the same time advancing the minutes counter. The same procedure is used to advance the hours. The second half of the 4013 latch is used to indicate AM or PM and is toggled by decoding 13 hours and resetting the hours to 0 and then advancing the hours to "one".

The clock display circuit is shown in the second drawing below and uses 6 more ICs to decode the binary data and drive four seven segment LED displays. The 10s of hours digit is driven with a single 3904 transistor. Two multiplexer circuits (4053) are used to manually select either minutes or seconds for the right two display digits.

The two switches shown between the 4053s and below the left 4053 are both part of one DPDT switch which selects either seconds or minutes for the 1X and 10X digits. This switch is shown in the seconds position and the hours digits are blanked with a low signal on pin 4 of the 4511.

The display can also be toggled on and off (totally blank) using a set/reset latch made from a couple 74HC00 NAND gates. A momentary DPDT switch is used to control the latch and toggle the display on or off. The second pole of this switch is used on the upper drawing (connected to the run/stop switch) to set the hours and minutes.

Thus this same switch performs both functions of blanking the display and setting the time. The run/stop switch is shown in the normal running mode and supplies a low signal to a NAND gate which prevents accidental setting the time while the clock is running. The run/stop switch also turns on the display (through the diode D2) when in the stop position. The procedure for setting the clock would be to set the (run/stop) switch the stop position and the (seconds/minutes) switch to the minutes position.

Then toggle the momentary switch to set minutes and hours of the current time plus one minute. The clock can then be started with the run/stop switch at precisely the right time (+/- 0. 5 seconds). The voltage regulator in the lower drawing maintains the battery at 13. 6 volts and also supplies the clock and timer circuits with 4. 3 volts. The charge LED indicator only comes on when the regulator is supplying max charge to the battery. When the battery voltage reaches 13. 6 the regulator reduces the current to whatever is necessary to maintain the voltage and the charge indicator will turn off. The unit I built also included a battery condition indicator (voltmeter using 4 LEDs) to indicate the battery condition so that a failure of the regulator would be indicated by the charge indicator LED turned off and less than 4 LEDs lit on the voltmeter.

🔗 External reference




Warning: include(partials/cookie-banner.php): Failed to open stream: Permission denied in /var/www/html/nextgr/view-circuit.php on line 713

Warning: include(): Failed opening 'partials/cookie-banner.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/nextgr/view-circuit.php on line 713