
This example describes a digital integrated circuits produced festival lantern controller , it can control the composition of 4-9 months lantern string lights or color patterns slogan to turn all the lights lit from various quarters , and then At the same time off, then turn all the lights out ... ... Ran the same time , to add festive atmosphere . The following lights to the control circuit 8 as an example, holiday lantern controller circuit works. Circuit works The lantern controller circuit from the power circuit, the decimal counting / pulse distributor of integrated circuits ICl, six non- gate Schmitt trigger circuit IC2, four AND gates IC lC3, 1C4 , and light control device VLCl-VLC8 garnet Hop etc. , as shown in Figure 1-136 . Power circuit from the power transformer T, rectifier bridge pile UR, filter capacitor C3, C4 , and three-terminal integrated voltage regulator IC5 so on. IC2 internal Schmitt trigger NAND gate Dl and potentiometer RP, capacitor Cl form a frequency adjustable low frequency oscillator , the output signal as ICl count clock . IC2 internal NAND Schmidt trigger D3-D6 in parallel directions as a low frequency oscillator VL with light-emitting diode drive circuit . VLCl-VLC8 used to control 8 lights (HLl-HL8) of the light off , IC3 , and 1C4 were used to control the VLCl-VLC8 conduction and cut-off ( limited space , the circuit VD2-VD7, R5-RlO, D8- Dl3, R13-R18, R2l-R26, VLC3-VLC7 and HL3-HU last draw ) . Powered on, the AC 220V voltage by T Buck , UR rectifier , C4 , after filtering and IC5 regulator , produced at both ends C3 +9 V voltage supply ICl-IC4. In the instantaneous power on the Secretary , +9 V voltage capacitor C2 by the reduction of Cr in the ICl side (15 feet , reset terminal ) generates a pulse to clear reset ICl , ICl of Yl-Y8 -side ( output ) are changed Low , YO high power output Half , by IC2 internal Schmitt trigger NAND gate goes low after RP- D2 , coupled to internal and gate IC3 (Dl-D4) , and IC4 and internal gate (D7-D14) of a lose big end , so that with the gate D7-D14 are output low , light pomegranate combined device VLCl-VLC8 are closed , no bright lights HLI-HL8 . When the ultra-low frequency oscillator oscillation work , ICI 's CP side (14 feet, the clock signal input large end ) with counting pulse signal input . At a count of pulses is increased to ICl , its high into low YO terminus of the door by the non- inverting Schmitt trigger D2 becomes high , the addition to lC3 (D7-DlO) And IC4 internal (Dll-DI4) , the input side to make the IC3 , and IC4 access control. At this point , ICl the Yl output to output high , so IC3 D7 of b inside and the door into the high input , D7 output terminus of low to high , so that the internal LED VLCl Light , thyristor , driven by the HLl lantern string consisting of text or logo light . D7 high output by the feedback resistor Rl2 to D7 of the b input to D7 to enter the locked state, to maintain the output high . When the first two counts pulses of the CP added to the end when ICl , ICl the Y2 output into a high ( ICl at this time although the Yl output goes low , but D7 has been locked , VLCl remain Conduction , HLl still bright ) , they were locked in hand D8 high output state , VLC2 internal LED lights , thyristor , driven by the string composed of HL2 lantern light ... ... text or images . When ICl the CP end of the first eight count input pulse , ICl of Y8 output will become high , inside the D14 will IC4 output high and to enter the locked state , VLC8 internal LED lights , crystal SCR gate , drive by the HL8 lantern string light composed of text or images . Thus , the composition of the text 8 lanterns have been lit slogan or logo . The CP -ended input block ICl first nine count pulse , ICl of Y9 output into a high , but the foot is not used in this circuit , so the circuit does not occur at this time any change , by the string composed of 8 Carnival All text or images will remain lit state . When ICl the CP end of the 10th count input pulse , ICl 's YO output becomes high , goes low through D2 , add RP to D7-D14 of a input to D7-D14 the same time " Reset " all of its output goes low , so VLCl-VLC8 were also closed , and the brightest lights extinguished at the same time . Thus, the circuit completed a cycle of circulation . When ICl of the CP -side once again when the input count pulse , the circuit will be the course of eight into the next cycle , so the cycle continues . Potentiometer to adjust low frequency oscillator RP oscillation frequency , the resistance to change RP , can change the speed of light lantern cycle . Components Selection Rl-R27 choose 1/4W carbon film resistor or metal film resistors . RP selected small-scale horizontal solid potentiometer . Cl-C4 are selected voltage value of 25V aluminum electrolytic capacitors . VDl-VD8 are used 1N4148 silicon switch diode . VL choose f5mm red light emitting diodes. UR chosen 2A, 5OV rectifier bridge pile . VLCl-VLC8 were selected MOC3041 optical device secret together . ICl use CD4017 type decimal counting / pulse divider circuit ; IC2 CD4584 selected six non- gate Schmitt trigger type circuit ; IC3 and 1C4 use CD4081 type IV and gate IC ; IC5 selected type three terminal integrated voltage regulator LM7809 Device . T use 5W, the second voltage l2V power transformer . HLl-HL8 optional string of lights festival finished color or multi- color instructions only bulbs in series .