Electrical – CD4017 with multiple LEDs

cd4017

i'm sorry for the previous image. This is my entire circuit .

Here I solved most of my doubts from this site.Thanks to you all and cos of that I come this far.

1 . I wanna cycle through the various color LEDs using clap .

2 . I use a switch to cycle through the effects of LED so I used another 4017 to switch the power supply through 555 and the output of the 555 is amplified using bc547. I hope so.

and this is where I got a doubt

I made the exact same connection. 8 and 13 to ground and 16 to +ve source. That's it. but LED randomly started glowing . If i apply ground to LED's ground it acts pretty normal but it automatically cycles through various pins.
and each pins contains 3 LED in series . incl rainbow LED. I'm using 9v 6f22 battery.

Best Answer

You left the leds floating. An unconnected pin can float between voltages and may be able to conduct to ground, completing the circuit. Or you connected them to ground via your skin or the table or moisture, etc. This is why you should never leave something floating, connect it to a voltage source directly or with an appropriate load resistance.