Author Topic: CD4017 ic 16step seq troubleshooting...need help  (Read 10143 times)

0 Members and 1 Guest are viewing this topic.

Offline rhesus3000Topic starter

  • Contributor
  • Posts: 12
  • Country: gr
CD4017 ic 16step seq troubleshooting...need help
« on: April 10, 2017, 11:00:44 pm »
Hello community!!
Long story, short. I made a 16 step seq, used two 4017 ic's and a TLC555 as clock. The two 4017 counter are cascaded as datasheet prompts to. My "touch" was that i used only "7" outputs including "0" (bad idea??) for the first 8 steps and output number "8" as a trigger to "activate" the second 4017 via AND gate. The second 4017 starts from output number "1" to "8" ("0" not used)...and "9"as reset to first 4017. And of course i included a diod for each output. So far so good? The result is, that my seq produces multiple steps at the same time i guess, more like a delay. Yes...it goes as it should, each step at a time without jumping and crewing it up (couple of burned leds)...but as soon i connect it to a CV input...i can hear this "echo" thing. I cant really explain what it does, but its not normal. I uploaded a video to show you. Please help!!!

here is a video so you can understand
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: CD4017 ic 16step seq troubleshooting...need help
« Reply #1 on: April 11, 2017, 12:30:58 am »
Please attach your schematic showing the supply voltage and how the LEDs make the pulsing sounds.
Some LEDs do not light and at least one LED that lights looks dim. Is that what you want?
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 12853
Re: CD4017 ic 16step seq troubleshooting...need help
« Reply #2 on: April 11, 2017, 01:00:45 am »
One of the things to be aware of when you want to control an analog circuit from a digital output is that the logic level can vary slightly depending on what the other gates in the package are doing as they load the on-chip supply rails.   When you show us the schematic, we'll be able to advise if that might be modulating your control voltage and maybe producing the unwanted echo effect.

If you don't have a favourite schematic package yet, simply grab a sharp BB pencil, white paper and a ruler and give us a hand drawn schematic. Scanned is better than photographed, but if you haven't got a scanner, and you are careful with focus, lighting and to have the lens centered over the paper, you can get good enough results.  HB and harder pencils often don't leave a clear line when photographed, and its a PITA having to go back over inking lines, or working in ink with all the problems that brings correcting mistakes, just to get a good enough image to share.
 

Offline rhesus3000Topic starter

  • Contributor
  • Posts: 12
  • Country: gr
Re: CD4017 ic 16step seq troubleshooting...need help
« Reply #3 on: April 11, 2017, 08:00:35 am »
Please attach your schematic showing the supply voltage and how the LEDs make the pulsing sounds.
Some LEDs do not light and at least one LED that lights looks dim. Is that what you want?
No its not what i want...but i dont have a backup leds....sooi bypassed them. The supply voltage is a 9V battery.


One of the things to be aware of when you want to control an analog circuit from a digital output is that the logic level can vary slightly depending on what the other gates in the package are doing as they load the on-chip supply rails.   When you show us the schematic, we'll be able to advise if that might be modulating your control voltage and maybe producing the unwanted echo effect.

If you don't have a favourite schematic package yet, simply grab a sharp BB pencil, white paper and a ruler and give us a hand drawn schematic. Scanned is better than photographed, but if you haven't got a scanner, and you are careful with focus, lighting and to have the lens centered over the paper, you can get good enough results.  HB and harder pencils often don't leave a clear line when photographed, and its a PITA having to go back over inking lines, or working in ink with all the problems that brings correcting mistakes, just to get a good enough image to share.
The AND gate is sn74hc11n...3 input Ic...was i right connecting it? Here are some images +schem

My multmeter shows that Voltage output of steps (one by one) measured before the diod...is never 0...when step "inactive" it stays at 0.50~0.70V.
« Last Edit: April 11, 2017, 08:20:41 am by rhesus3000 »
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28328
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: CD4017 ic 16step seq troubleshooting...need help
« Reply #4 on: April 11, 2017, 08:10:49 am »
You should have some bulk capacitance on the board, at least 100uF and decoupling caps of 0.1uF across the supply pins of each IC.
« Last Edit: April 11, 2017, 08:36:06 am by tautech »
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 
The following users thanked this post: rhesus3000

Offline rhesus3000Topic starter

  • Contributor
  • Posts: 12
  • Country: gr
Re: CD4017 ic 16step seq troubleshooting...need help
« Reply #5 on: April 11, 2017, 09:04:30 am »

OOOOOWW!!! You mean i have to solder a CAP at each +v pin for all 3 IC's??? sorry for my english i dont understood "bulk caps" expresion.

could you please explain me in a better way....sorry
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 12853
Re: CD4017 ic 16step seq troubleshooting...need help
« Reply #6 on: April 11, 2017, 10:33:11 am »
74HC.... logic is only rated for 5V operation (5.5V max).  You *CANNOT* mix it with 4000 series logic running from a 9V supply.   Its only safe to directly interconnect  4000 series and 74HC.... if they are BOTH running from the same supply of under 5.5V.
 
The following users thanked this post: rhesus3000

Offline rhesus3000Topic starter

  • Contributor
  • Posts: 12
  • Country: gr
Re: CD4017 ic 16step seq troubleshooting...need help
« Reply #7 on: April 11, 2017, 10:53:05 am »
NEW INFOOO!!!!
i connected audio jack to only one step...and i get "double outout". WHAAAAAAA?? where am i wrong??

here is a video.....
« Last Edit: April 11, 2017, 01:02:21 pm by rhesus3000 »
 

Offline rhesus3000Topic starter

  • Contributor
  • Posts: 12
  • Country: gr
Re: CD4017 ic 16step seq troubleshooting...need help
« Reply #8 on: April 11, 2017, 10:54:32 am »
74HC.... logic is only rated for 5V operation (5.5V max).  You *CANNOT* mix it with 4000 series logic running from a 9V supply.   Its only safe to directly interconnect  4000 series and 74HC.... if they are BOTH running from the same supply of under 5.5V.

Thank you i will correct that
« Last Edit: April 11, 2017, 11:07:35 am by rhesus3000 »
 

Offline rhesus3000Topic starter

  • Contributor
  • Posts: 12
  • Country: gr
Re: CD4017 ic 16step seq troubleshooting...need help
« Reply #9 on: April 11, 2017, 11:04:31 am »
Ok..supply fixed...now all components are running at 4.5v! thank you for your advice! My mistake not reading datasheet.

But the problem remains...
« Last Edit: April 11, 2017, 11:14:13 am by rhesus3000 »
 

Offline w2aew

  • Super Contributor
  • ***
  • Posts: 1780
  • Country: us
  • I usTa cuDnt speL enjinere, noW I aR wuN
    • My YouTube Channel
Re: CD4017 ic 16step seq troubleshooting...need help
« Reply #10 on: April 11, 2017, 01:05:01 pm »

OOOOOWW!!! You mean i have to solder a CAP at each +v pin for all 3 IC's??? sorry for my english i dont understood "bulk caps" expresion.

could you please explain me in a better way....sorry

In a word - YES.  Power supply filtering/decoupling is VERY important.
Place at least 1 large electrolytic capacitor of approximately 100uF on your board.
Then, place 1 ceramic capacitor of approximately 0.01uF at EACH of your ICs.

Maybe this video I just made will help:
YouTube channel: https://www.youtube.com/w2aew
FAE for Tektronix
Technical Coordinator for the ARRL Northern NJ Section
 
The following users thanked this post: rhesus3000

Offline rhesus3000Topic starter

  • Contributor
  • Posts: 12
  • Country: gr
Re: CD4017 ic 16step seq troubleshooting...need help
« Reply #11 on: April 11, 2017, 03:10:37 pm »
I did everything you taught us in your video. Still...the issue remains....i messed up with 555...thinking it had to do something...but nothing changed.
« Last Edit: April 11, 2017, 03:48:53 pm by rhesus3000 »
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19491
  • Country: gb
  • 0999
Re: CD4017 ic 16step seq troubleshooting...need help
« Reply #12 on: April 11, 2017, 03:50:42 pm »
74HC.... logic is only rated for 5V operation (5.5V max).  You *CANNOT* mix it with 4000 series logic running from a 9V supply.   Its only safe to directly interconnect  4000 series and 74HC.... if they are BOTH running from the same supply of under 5.5V.
To be picky the 74HC series will work from 2V to 6V. I think you're thinking of the 74HCT series is 4.5V to 5.5V. Either way, you're right that the 74HC11 and CD4017 both need to be running on the same power supply between 3V and 6V.

You should use a 5V regulator. A low drop-out regulator will give plenty of battery life from a 9V battery. You could try the LM78L05 but the output voltage will fall below 5V when there's still plenty of energy left in the battery. This may not be a problem, as the circuit will still work below 5V.

See the following data sheets:

LT1123
http://cds.linear.com/docs/en/datasheet/1123fb.pdf
MCP1702
http://ww1.microchip.com/downloads/en/DeviceDoc/22008E.pdf
LP2951
http://www.ti.com/lit/ds/symlink/lp2951.pdf
LM2931
https://www.onsemi.com/pub/Collateral/LM2931-D.PDF
 
The following users thanked this post: rhesus3000

Offline dentaku

  • Frequent Contributor
  • **
  • Posts: 881
  • Country: ca
Re: CD4017 ic 16step seq troubleshooting...need help
« Reply #13 on: April 11, 2017, 11:13:42 pm »
I see that's just a Baby 10 sequencer with an added AND gate so you can use 16 steps instead of 10 or less like the original Baby 10 uses. I breadboarded one a while ago with only 8 steps so it's much easier.
http://hackaday.com/2016/01/14/oh-baby-baby10-build-a-classic-analog-music-sequencer/
I would also suggest making sure you're using all 4000 series chips instead of mixing 7400 and 4000. This way you can use 9V or even 12V like most synth circuits use anyway.

I don't know why you're getting two pulses but so far every thing I've been able to find about extending 4017 sequencers to more than 10 steps results in a gap between step 8 and 9 and even sometimes step one being half as long as the others.

I simulated these three and they're all not perfect.
This doesn't give a good sequence without a gap in the middle. http://electro-music.com/forum/phpbb-files/16_step_4017_247.png
These two have the same problem
http://electro-music.com/forum/phpbb-files/16_steps_109.jpg
http://electro-music.com/forum/phpbb-files/16_steps_354.jpg

I just happen to have a 4514B (MC14514B) - CMOS 4-Bit Latch-4-to-16 Line Decoder which would work well as a 16 step sequencer. I could use a 4029 BCD-decade up/ down counter with it to make a sequencer with forward and reverse.
« Last Edit: April 11, 2017, 11:56:54 pm by dentaku »
 
The following users thanked this post: rhesus3000

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: CD4017 ic 16step seq troubleshooting...need help
« Reply #14 on: April 12, 2017, 12:55:26 am »
I asked you to attach a schematic but instead you show your wiring diagram which is completely different so we cannot compare it to the schematic in the datasheet of the CD4017.
You have two gates in the high speed Cmos SN74HC11 floating which is bad, their inputs must be all at the supply voltage or all inputs must be at ground.

The double sound output is probably one pop when an output goes high then a second pop when it goes low.
 
The following users thanked this post: rhesus3000

Offline rhesus3000Topic starter

  • Contributor
  • Posts: 12
  • Country: gr
Re: CD4017 ic 16step seq troubleshooting...need help
« Reply #15 on: April 12, 2017, 06:56:18 am »
I asked you to attach a schematic but instead you show your wiring diagram which is completely different so we cannot compare it to the schematic in the datasheet of the CD4017.
You have two gates in the high speed Cmos SN74HC11 floating which is bad, their inputs must be all at the supply voltage or all inputs must be at ground.

The double sound output is probably one pop when an output goes high then a second pop when it goes low.

That make sense i think! Sry about schem i dont have the software...did what i could.
I see that's just a Baby 10 sequencer with an added AND gate so you can use 16 steps instead of 10 or less like the original Baby 10 uses. I breadboarded one a while ago with only 8 steps so it's much easier.
http://hackaday.com/2016/01/14/oh-baby-baby10-build-a-classic-analog-music-sequencer/
I would also suggest making sure you're using all 4000 series chips instead of mixing 7400 and 4000. This way you can use 9V or even 12V like most synth circuits use anyway.

I don't know why you're getting two pulses but so far every thing I've been able to find about extending 4017 sequencers to more than 10 steps results in a gap between step 8 and 9 and even sometimes step one being half as long as the others.

I simulated these three and they're all not perfect.
This doesn't give a good sequence without a gap in the middle. http://electro-music.com/forum/phpbb-files/16_step_4017_247.png
These two have the same problem
http://electro-music.com/forum/phpbb-files/16_steps_109.jpg
http://electro-music.com/forum/phpbb-files/16_steps_354.jpg

I just happen to have a 4514B (MC14514B) - CMOS 4-Bit Latch-4-to-16 Line Decoder which would work well as a 16 step sequencer. I could use a 4029 BCD-decade up/ down counter with it to make a sequencer with forward and reverse.

Good info..i will use that in next seq. Thank you.
 

Offline Damianos

  • Frequent Contributor
  • **
  • Posts: 268
  • Country: gr
Re: CD4017 ic 16step seq troubleshooting...need help
« Reply #16 on: April 12, 2017, 09:05:42 pm »
Something more to the previous comments:
- What is the role of the two diodes in series with the power lines? Especially the one in the ground line. This maybe the reason of the "non zero" voltage that you measured (depending of where you connected the voltmeter). This also can "modulate" the signal across the entire circuit (where is connected the reference / "0 Volt" of the driving circuit?).
-  There is not a minimum resistance in series with the LEDs, it is just a potentiometer. It is possible that when activated an output, that is driving directly a LED, to produce "peculiar things" in the rest of the circuit.

More when will be "published" a schematic with accurate information of what and how it is connected.

Regards D.
 
The following users thanked this post: rhesus3000

Offline rhesus3000Topic starter

  • Contributor
  • Posts: 12
  • Country: gr
Re: CD4017 ic 16step seq troubleshooting...need help
« Reply #17 on: April 12, 2017, 09:54:33 pm »
Something more to the previous comments:
- What is the role of the two diodes in series with the power lines? Especially the one in the ground line. This maybe the reason of the "non zero" voltage that you measured (depending of where you connected the voltmeter). This also can "modulate" the signal across the entire circuit (where is connected the reference / "0 Volt" of the driving circuit?).
-  There is not a minimum resistance in series with the LEDs, it is just a potentiometer. It is possible that when activated an output, that is driving directly a LED, to produce "peculiar things" in the rest of the circuit.

More when will be "published" a schematic with accurate information of what and how it is connected.

Regards D.
The diods are there in order to block the 555 from other components supply and ground. I thought it would be usefull.
The measurments i made are "after" the diod. If i measure "before" the diod i can hear the square wave produced by 555.
I will test what you said about the leds...maybe i desolder them to see what happens to the circuit.
I will try to make a schem.
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: CD4017 ic 16step seq troubleshooting...need help
« Reply #18 on: April 12, 2017, 10:37:34 pm »
I use Microsoft Paint program to copy and paste a schematic from a datasheet or somewhere then change it to what my circuit is like. It is simple and quick.
 

Offline rhesus3000Topic starter

  • Contributor
  • Posts: 12
  • Country: gr
Re: CD4017 ic 16step seq troubleshooting...need help
« Reply #19 on: April 13, 2017, 07:38:45 am »
I finally got some time to create a schem....i hope i didnt miss anything...or made mistakes
« Last Edit: April 13, 2017, 08:27:26 am by rhesus3000 »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf