color organ help...

This is the place for any magazine-related discussions that don't fit in any of the column discussion boards below.
User avatar
dacflyer
Posts: 4748
Joined: Fri Feb 08, 2002 1:01 am
Location: USA / North Carolina / Fayetteville
Contact:

Re: color organ help...

Post by dacflyer »

ok, i'll try it and get back with you on it..
User avatar
Lenp
Posts: 1529
Joined: Thu Oct 26, 2006 8:11 pm
Location: Maryland
Contact:

Re: color organ help...

Post by Lenp »

Len

“To invent, you need a good imagination and a big pile of junk.” (T. Edison)
"I must be on the way to success since I already have the junk". (Me)
User avatar
dacflyer
Posts: 4748
Joined: Fri Feb 08, 2002 1:01 am
Location: USA / North Carolina / Fayetteville
Contact:

Re: color organ help...

Post by dacflyer »

i just got to looking,,
1st of all i do not have a signal generator, i only have a CD with various tones.
closest i have to the list is..
300Hz (250Hz)
1000Hz (1000Hz) ok
2000Hz (2500Hz)
4000Hz (4000Hz) ok
i will try what i can and get back with you..
User avatar
dacflyer
Posts: 4748
Joined: Fri Feb 08, 2002 1:01 am
Location: USA / North Carolina / Fayetteville
Contact:

Re: color organ help...

Post by dacflyer »

ok, i tried the other program, it seems to have a better response.
but it still does not seem to work as good as a analog type color organ..
this program you sent last i think it just locks on the 4 exact frequencies ?
sghioto
Posts: 326
Joined: Wed Dec 26, 2007 5:16 pm
Location: Colorado
Contact:

Re: color organ help...

Post by sghioto »

it still does not seem to work as good as a analog type color organ
Well it won't because the "pulsin" command is reading the music at random. However with the proper level of input voltage you should get decent response on all four LEDs .

Steve G
User avatar
dacflyer
Posts: 4748
Joined: Fri Feb 08, 2002 1:01 am
Location: USA / North Carolina / Fayetteville
Contact:

Re: color organ help...

Post by dacflyer »

oh, ok,,:)
sghioto
Posts: 326
Joined: Wed Dec 26, 2007 5:16 pm
Location: Colorado
Contact:

Re: color organ help...

Post by sghioto »

OK I changed the code back to include the "pulsin" command for each LED and a few other changes to expand the frequency coverage for each band. This will allow multiple LEDs to come on at the same time. I have included a preamp circuit I use that will help as well. The preamp has a gain of about 20 and is designed to clip the wave forms or convert the sine to a square wave. Run the preamp on the same supply as the Picaxe and adjust the input signal until the top and bottom are clipped. You can use just about any type of chip for the amp if you don't have a MCP602.

Steve G.

setfreq m8 ' this will set the internal clock to 8mhz for a faster response
red: pulsin 3, 1,w0
if w0 > 135 then
high 0
endif

green: pulsin 3, 1,w0
if w0 > 69 and w0 < 136 then
high 1
endif

blue: pulsin 3, 1,w0
if w0 > 34 and w0 <70 then
high 2
endif

yellow: pulsin 3, 1,w0
if w0 < 35 and w0 > 1 then
high 4
endif
pause 200
let pins = %00000000
goto red
Attachments
Color organ preamp.jpg
User avatar
dacflyer
Posts: 4748
Joined: Fri Feb 08, 2002 1:01 am
Location: USA / North Carolina / Fayetteville
Contact:

Re: color organ help...

Post by dacflyer »

well i have fiddeled and adjusted things etc.. the circuit works good now... but it still is not what i am searching for..
i think the old analog works best for me,,s0 i am going to try and see what else i can fine..
thanks for your help :)
sghioto
Posts: 326
Joined: Wed Dec 26, 2007 5:16 pm
Location: Colorado
Contact:

Re: color organ help...

Post by sghioto »

Well glad to see you got it working and your welcome. After that last post in early January I experimented with a MSGEQ7 graphic display chip controlled by a Picaxe 20M2. It has the variable brightness with the beat of the music you are looking for but not the best band selectivity. Best part though it only requires the two chips.

Steve G
User avatar
dacflyer
Posts: 4748
Joined: Fri Feb 08, 2002 1:01 am
Location: USA / North Carolina / Fayetteville
Contact:

Re: color organ help...

Post by dacflyer »

cool...
sometimes i think analog is just better for some things..
Post Reply

Who is online

Users browsing this forum: No registered users and 42 guests