PCB Heaven

General Category => Your projects => Topic started by: matheuslps on July 29, 2011, 04:41:37 AM

Title: How to make a clock to feed a 4017 with the bass of a music?
Post by: matheuslps on July 29, 2011, 04:41:37 AM
So, I am trying to do a simple bass detector to "convert" it to a clock that I will put into a 4017 decade counter to count (:p) the leds on every bass note.

But it is not working like I want.

Sometimes the 4017 counts more than "one note" on the bass and the leds on the outputs lights up randomily....

I build this circuit:

http://img.photobucket.com/albums/v222/ahhh/Eletronica/vout.jpg (http://img.photobucket.com/albums/v222/ahhh/Eletronica/vout.jpg)

Is it correct?

bye
Title: Re: How to make a clock to feed a 4017 with the bass of a music?
Post by: kam on July 30, 2011, 08:34:18 AM
the link dos not work   :-\
Title: Re: How to make a clock to feed a 4017 with the bass of a music?
Post by: _pike on July 30, 2011, 09:06:38 AM
i have a circuit (vu-meter)using UAA180 do you want to upload it?Why do you want to detect only the bass ???
Title: Re: How to make a clock to feed a 4017 with the bass of a music?
Post by: cheerio on July 30, 2011, 14:53:47 PM
just apply some filters so the only signal are the low frequencies, those signals now trigger your light
Title: Re: How to make a clock to feed a 4017 with the bass of a music?
Post by: matheuslps on July 30, 2011, 22:45:40 PM
The link was with some " ". Just erased that and it is working now.

Just to ilustrate, let me show you some screenshot of my simulator program:

Lets get a music of example : Black Eyed Peas - The Time [The Dirty Bit] (Main)

If you get this music, and play it from 40 seconds to 80 seconds, you will ear some mid and high notes from 40secs to 60secs and from 60 to 80 secs, there bass notes.....

So I took this music and  put into my simulator program, the Proteus from Labcenter Electronics and configured the audio input like this:

http://img.photobucket.com/albums/v222/ahhh/Eletronica/audio_in.png (http://img.photobucket.com/albums/v222/ahhh/Eletronica/audio_in.png)


I put the audio into my simple RC circuit:

http://img.photobucket.com/albums/v222/ahhh/circuit_LP.png (http://img.photobucket.com/albums/v222/ahhh/circuit_LP.png)

and got this:

http://img.photobucket.com/albums/v222/ahhh/Eletronica/out-1.jpg (http://img.photobucket.com/albums/v222/ahhh/Eletronica/out-1.jpg)

The green one is the audio in and the red one is the out after the filter.

Look and you wil se that from 40 to 60 sec most of the audio is cut beacuse I have a lower-pass filter. From 60 to 80 most of the song pass beacause there is a lot of bass on that part.

The filter works, if on my original ciruit, above, I put the out signal into a trasistor base and on the collector I put a simple LED with a current limiting resistor, the led blinks only with the bass notes.

So I thought that if I put this "pulsing" signal from the collector into a 4017 this would be a clock.... but like I said, do not work very well....

PS: Sorry my english mistakes, not my mother language.

EDIT:

I made a test with a LM358 ampop and get this:

First, this was my waveform with the RC filter:

http://img.photobucket.com/albums/v222/ahhh/Eletronica/out-1.jpg (http://img.photobucket.com/albums/v222/ahhh/Eletronica/out-1.jpg)

With the active filter I got this:

http://img.photobucket.com/albums/v222/ahhh/circuit_low_pass_active.jpg (http://img.photobucket.com/albums/v222/ahhh/circuit_low_pass_active.jpg)

Bigger:

http://img.photobucket.com/albums/v222/ahhh/circuit_low_pass_active_wave.jpg (http://img.photobucket.com/albums/v222/ahhh/circuit_low_pass_active_wave.jpg)


bye