IC for the clock oscillation ( TLC555 )
This IC is used to make oscillate a 1-Hz square wave.
I make a clock 1 Hz to confirm the operation of the logic with the eyes.
The wave form of the output pulse of the oscillator rather depends on the IC to use. A normal test isn't made when the rising edge, the falling edge of the wave form have disorder.
First I used NE555. However, because the counter malfunctioned, I changed into TLC555. The function is the same but seems rather differently in the characteristic. TLC555 is CMOS-IC.
IC socket
![](picture/cpld3542.jpg)
This is the socket which mounts IC for the oscillator. You may install IC in direct on the printed board.
LED for the output confirmation
![](picture/pic6_246.jpg)
I used the LEDs of the high brightness type with 5-mm diameter.
I used 1K-ohm resistor which was inserted in series. The power supply voltage is +5 V and the voltage which is dropped by the LED is 2 V. So, the current of the LED is about 3V/1K-ohm=3mA.
DIP switch
![](picture/cpld3544.jpg)
This is a switch with the DIP(Dual In Line Package) type of 12 bits.
BCD switch
This is a small BCD switch. Common terminal (C) and the terminal of each bit are connected according to the binary-coded decimal code by turning a switch.
![](gif/cpld3544.gif)
7 segment LED
I used an anode common type. So, each segment lights up with the grounding through the resistor.
![](gif/cpld3545.gif)
Resistor
![](picture/cpld33224.jpg)
These resistors are used for the current control of the LED, the DIP switch pull up, the oscillator, and so on.
![](gif/blank_1.gif)
Countercurrent prevention diode ( 1S1588 )
![](picture/srm1_513.jpg)
As for the BCD switch, more than one terminal is sometimes connected with the common terminal by the binary-coded decimal code. I put countercurrent prevention diodes so as not for the current to do flow among those terminals. When using only one BCD switch, it is not, being needed.
![](gif/blank_1.gif)
Capacitor for the oscillator
![](picture/pic6_138.jpg)
This capacitor is used as the capacitor for the oscillator.
![](gif/blank_1.gif)
LED for the oscillation operation confirmation
![](picture/pic6_135.jpg)
This is the LED to confirm the operation of the oscillator. An high brightness LED with 3-mm diameter is used for the LED.
![](gif/blank_1.gif)
Wiring terminal
![](picture/cpld35410.jpg)
This is the terminal to connect with the CPLD programmer. I used a double type.
![](gif/blank_1.gif)
Printed board
![](picture/cpld35411.jpg)
I used an universal printed board with 24 x 30 halls.
![](gif/blank_1.gif)
Stud
![](picture/oscillod.jpg)
These studs are used as the leg of the printed board.
![](gif/blank_1.gif)
Connection cable
![](picture/cpld35413.jpg)
I made CPLD programmer connection cable with the code of the thin vinyl clothing.
The female pin has various types. I used the one of the cylinder which fits male pin.
I covered a pin with the tube which shrinks in the heat.
![](gif/blank_1.gif) |