Skip to main content

Digital Clock Using with PIC16C54


Digital clock project based on the PIC16C54 microcontroller can be designed using the following circuit diagram . This digital clock electronic project based on the PIC16C54 is a simple time-of-day clock incorporating four seven-segment LED displays and three input switches. There is also an additional reset switch that would not normally be incorporated into the final design.

Digital clock Circuit diagram 



The common cathode for each display is turned on with transistors connected to the four I/O lines of PORTA . A low output turns on the PNP transistor for the selected display. The PORTB pins activate the LED segments.

The PORTB pins activate the LED segments. The switches are also connected to PORTB I/O pins.
When no buttons are pressed, the circuit will display the current time, starting at 12:00 on reset.
Pressing SW1 will cause seconds to be displayed. The time is set by pressing SW2 to advance minutes, and SW3 to advance hours . The displays used were common cathode and turned on with transistors to avoid trying to sink too much current into the PIC16C5X. 100 W resistors were used in series with the segments to obtain the desired brightness. Different values may be required if different displays are used.

All of the same display segments are linked together (A-A-A-A, B-B-B-B, etc.) and are individually selected by turning on only the desired display.
This simple digital clock project based on the PIC16C54 microcontroller must be powered from a simple 5 volt DC power supply circuit .
This digital clock project based on the PIC16C54 microcontroller ( circuit and software ) was designed by Dan Matthews Microchip Technology Inc . Download Source Code

Comments

Popular posts from this blog

OP AMP INTEGRATOR CALCULATOR

Enter the Input Voltage,Vin: Volts Enter the Frequency, f: Hertz Enter the Input Resistance, Rin: Ohms Enter the Value of Capacitor, C: Farads Output Voltage, Vout: Volts OP AMP based Integrator Tutorial and Design

Block diagram of AM transmitter and receiver with explanation

Block diagram of AM transmitter and receiver with explanation AM Transmitter : Transmitters that transmit AM signals are known as AM transmitters. These transmitters are used in medium wave (MW) and short wave (SW) frequency bands for AM broadcast. The MW band has frequencies between 550 KHz and 1650 KHz, and the SW band has frequencies ranging from 3 MHz to 30 MHz. The two types of AM transmitters that are used based on their transmitting powers are: ·          High Level ·          Low Level High level transmitters use high level modulation, and low level transmitters use low level modulation. The choice between the two modulation schemes depends on the transmitting power of the AM transmitter. In broadcast transmitters, where the transmitting power may be of the order of kilowatts, high level modulation is employed. In low power transmitters, where only a few watts of transmitting power are required , low...

Using the TLP250 Isolated MOSFET Driver Explanation and Example Circuits

I’ve already shown how to drive an N-channel MOSFET (or even an IGBT) in both high-side and low-side configurations in a multitude of ways. I’ve also explained the principles of driving the MOSFETs in these configurations. The dedicated drivers I’ve shown so far are the TC427 and IR2110. Some people have requested me to write up on MOSFET drive using the very popular TLP250. And I’ll explain that here. The TLP250, like any driver, has an input stage, an output stage and a power supply connection. What’s special about the TLP250 is that the TLP250 is an optically isolated driver, meaning that the input and output are “optically isolated”. The isolation is optical – the input stage is an LED and the receiving output stage is light sensitive (think “photodetector”). Before delving any further, let’s look at the pin configuration and the truth table. Fig. 1 - TLP250 Pin Configuration Fig. 2 - TLP250 Truth Table Fig. 1 clearly shows the input LED side and the receiving photodetector as well...