background image

Flip-Flop). The Q-bar (pin 12) of U3B is connected to the Data input (pin 9) forming a 

toggle flip-flop. When counter U4 completes one cycle of counting, a positive edge at 

Cout (U4 pin 12) causes U3B outputs (pin 12 and 13) to toggle, switching the two LED 

banks alternatively. 

 

The outputs of counters U4 and U5 are delivered to U6, U7, and U8 (ULN2003 

Darlington Array) to drive the 20 LEDs. The positioning of the LEDs is important. LED9 

of U4 Q9 should be next to LED10 of U5 Q0 so that the light spot will run in sequence. 

Each bank of LED takes one half of the ring driven by Q0 through Q9 of the counters. In 

this configuration, you will notice that (for example) LED11 corresponding to U4 Q1 will 

be directly opposite to LED1 of U5 Q1. 

 

Even though the two counters are running in parallel, they may not count in sync as the 

initial count during power up is uncontrollable. This is solved by sending the Cout pulse 

of U5 at pin 12, through C6 and R16 (to shorten the pulse width) to reset U4 pin 15 so 

that they will count in sync after the first reset pulse has arrived. 

 

U3A is configured as a one-shot circuit. When SW1 is pressed, the Q output of U3A 

flips to the high state. Through the delay action of R2 and C3, the flip-flop is cleared by 

pin 4 after about 2 seconds. The one-shot pulse triggered by SW1 is delivered to U2A 

pin 4 to stop the clock oscillator and the counting action of U4 and U5. The pulse also 

lights up LED20 through U6 pin 7. Counting resumes when the pulse ends. 

 

U2B is another 555 equivalent oscillator driving a piezo buzzer. Q3 acts as a logic 

decision gate. To trigger a winning buzz, three criteria need to be established through 

R8, R9 and R11. R8 signals that the one-shot circuit is triggered (SW1 pressed), R9 

signals that the winning bank of LED is activated and R11 signals that the winning LED 

is lit. Any other state will turn on Q3 and send a low signal to U3B pin 10 to suppress 

the buzzer. The buzzer sound pitch is adjustable by trimmer resistor VR2. 

 

The power is supplied by a wall power adapter that can provide 8 - 12V DC or AC. 

Diode D1 protects the system against wrong power polarity and also serves as a 

rectifier for AC power input. DC battery power of the same rating is also acceptable. The 

LM78L05 voltage regulator pr5V power supply to drive the electronics and 

LEDs. The current consumption is very low with each LED consuming ~5mA and 

~10mA for the buzzer. The total current consumption should not exceed 30mA at any 

given time.  

 

 

 

 

 

 

 

Summary of Contents for 2161431

Page 1: ...gered The rotating speed is adjustable by a speed dial See a video demonstration here http www youtube com watch v 3dcK2xYX3t4 You can learn basic building blocks of electronics circuit such as flip f...

Page 2: ...in the astable mode The frequency is adjusted by VR1 The output clock signal at U3 pin 5 is fed to pin 14 of U4 and U5 to run the CD4017 Decade Counters Each counter s output bus Q0 through Q9 drives...

Page 3: ...of U3A flips to the high state Through the delay action of R2 and C3 the flip flop is cleared by pin 4 after about 2 seconds The one shot pulse triggered by SW1 is delivered to U2A pin 4 to stop the c...

Page 4: ...all power adapter DC or AC 8 12V 100mA ex Jameco part number 2100152 Adhesive and fastener to secure components and circuit board Soldering equipment Digital Multimeter Drill and hardware for enclosur...

Page 5: ...ransistor Darlington NPN 50V 0 5A 16 Pin PDIP 3 34278 ULN2003A 14 U2 U3 SOCKET IC 14PIN 2 37197 15 U4 U8 SOCKET IC 16PIN 5 37402 16 Q1 Q2 TRANSISTOR 2N3906 PNP GP 2 38375 2N3906 17 Q3 TRANSISTOR 2N390...

Page 6: ...Component pin identification Component Pin Identification Schematic representation U1 78L05 Voltage Regulator D1 1N4004 Diode U2 LM556 IC Dual Timer U3 CD4013 IC Dual D Type Flip Flip...

Page 7: ...U4 U5 IC CD4017 Decade Counter U6 U7 U8 IC ULN2003 Darlington Array Q1 Q2 2N3906 PNP Transistor Q3 2N3904 NPN Transistor...

Page 8: ...LED0 LED19 Green LED LED20 Red LED C1 C2 C3 C9 Electrolytic Capacitor C4 C8 Capacitor...

Page 9: ...R1 R15 Resistor 0 25W SW1 Push Button Switch Power Jack center positive VR1 POTENTIOMETER VR2 Trimmer Resistor PIEZO BUZZER...

Page 10: ...lerance Name Value Resistor color code R1 R12 R14 R15 47K Yellow Purple Orange Gold R2 2M Red Black Green Gold R3 R4 R13 R16 10K Brown Black Orange Gold R5 R6 R7 680 Blue Grey Brown Gold R8 R9 R10 R11...

Page 11: ...power jack and the buzzer Drill holes and attach components The winning location shown on the circuit schematic is LED13 connected to U6 pin 7 With the LED ring installed solder the anode longer leads...

Page 12: ...n the center row with pin 1 facing U6 U7 U8 ULN2003 U2 LM556 and U3 CD4013 are placed at the bottom row with transistors resistor and capacitors near them Run wires from the circuit board to the power...

Page 13: ...It is recommended to start with the top side signal wiring then bottom side signals followed by top side power ground and bottom side power ground wires Pin 9 of U6 U7 and U8 are unconnected Pay atte...

Page 14: ...Use the wiring plan as the reference Do not use the prototype photos The kit might contain slightly different components...

Page 15: ...al and external wiring of the circuit The wiring diagram is shown below It is a good practice to label the external wires because you may need to unconnected and re connect some wires to locate proble...

Page 16: ......

Page 17: ...s project Wiring errors may cause the circuit behave in unexpected ways Severe errors like shorting an IC pin to power or ground may cause permanent damage to the component The Circuit Testing procedu...

Page 18: ...Tests 1A 1B and 1C is to make sure that the soldering work of the power supply network is good This is done without installing any ICs on the sockets Do not insert U2 through U8 Do not apply any power...

Page 19: ...ntinuity This is the same as Test 1A but repeated for the 5V network The following test points should be connected Test 1B Test points for 5V network continuity test No power should be applied U1 VO p...

Page 20: ...this test we want to make sure that power is properly reaching all IC sockets and there is no short circuit of the power supply network Do not start this test if Tests 1A 1B or 1C have not passed Disc...

Page 21: ...uring power supply of IC sockets in Test 1D Test 2A Buzzer oscillator With Tests 1A 1B 1C and 1D you have verified that the proper power supply has been delivered to the IC sockets and there are no se...

Page 22: ...Adjust VR2 to change the buzz tone and sound volume to the desired level A piezo buzzer has resonance frequency ranges depending on its physical construction You will notice that certain frequencies n...

Page 23: ...check the bypass lead on U3 socket Check pin 14 of U5 socket You should get identical signal since the two pins are connected together Figure 4 Oscilloscope waveform of counter clock in Test 2B Test...

Page 24: ...test we want to verify the operations of the CD4017 counters U4 and U5 Disconnect power supply and insert U4 and U5 Do not install U3 U6 U7 and U8 Install a bypass lead between pin 2 and pin 14 of U3...

Page 25: ...6 and R16 generate a positive pulse of about 1us to reset U4 to zero count so that U4 and U5 will synchronize their counting The pulse occurs once every ten clock cycles The waveform is shown in Figur...

Page 26: ...ly power and measure the voltage at pin 1 of U4 Since the positive pulse only appears once every ten clock cycle the DMM will read near zero voltage when there is no pulse and near 5V when there is a...

Page 27: ...eat the same test for the corresponding signal pins of U5 The sync pulse at U4 pin 15 is too short and cannot be checked with a DMM The DC voltage level is near zero when measured with a DMM Test 4 Co...

Page 28: ...ly one rotating light spot on LED0 LED19 even though the two counters are working simultaneously If you still see two light spots check Q1 Q2 R3 and R4 If you press SW1 the light spot should stop for...

Page 29: ...If you concluded this test you have completed the electronic construction of the project Figure 8 All wiring completed and ICs installed...

Page 30: ...ts should be connected and have near zero resistance Test 1C IC output pins shorted to power or ground No power supply Fig 1 U2 pins 5 9 U3 pins 1 2 12 13 U4 U5 pins 1 2 3 4 5 6 7 9 10 11 12 U6 U7 U8...

Page 31: ...ounts at Carry Out pin 12 of U4 and U5 Logic low for the remaining counts 1us pulse at U4 Reset pin 15 Test 3 without oscilloscope Fig 5 U4 pins 1 2 3 4 5 6 7 9 10 11 12 U5 pins 1 2 3 4 5 6 7 9 10 11...

Reviews: