Sunday, October 5, 2014
Circuit digital clock circuit,
This signal is decoded in CPLD and eight kinds of signals are made. This time, six kinds are used. Only the transistor which corresponds to the L level decoder output becomes ON condition. The LED which is connected with the transistor becomes a lighting-up possible condition. In the tens-hour display, only “1″ is displayed. So, I put the display of AM/PM. 74HC138 can be used for the 3-8 decoder, too. Segments of the lighting-up of each digit are controlled using 7 ports of RC6 from RC0 of PIC. The output of these ports is common to all the LEDs.
However, only the LED of the digit which was specified by RA0-2 is controlled in the lighting-up. The LED lights up when the RC port is an L level. The brightness of the LED depends on the kind of the LED. When the brightness is different extremely, the resistors which are connected with the RC ports should be separated. This time, because it is approximately the same brightness, resistors are made common. Because the maximum voltage which is applied to the pin of PIC is 5V, I make the power of the LED 5V.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment