color organ help...
- dacflyer
- Posts: 4748
- Joined: Fri Feb 08, 2002 1:01 am
- Location: USA / North Carolina / Fayetteville
- Contact:
Re: color organ help...
ok, i'll try it and get back with you on it..
Re: color organ help...
Try here.....
http://www.phanderson.com/picaxe/
http://www.phanderson.com/picaxe/
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)
“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)
- dacflyer
- Posts: 4748
- Joined: Fri Feb 08, 2002 1:01 am
- Location: USA / North Carolina / Fayetteville
- Contact:
Re: color organ help...
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..
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..
- dacflyer
- Posts: 4748
- Joined: Fri Feb 08, 2002 1:01 am
- Location: USA / North Carolina / Fayetteville
- Contact:
Re: color organ help...
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 ?
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 ?
Re: color organ help...
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 .it still does not seem to work as good as a analog type color organ
Steve G
- dacflyer
- Posts: 4748
- Joined: Fri Feb 08, 2002 1:01 am
- Location: USA / North Carolina / Fayetteville
- Contact:
Re: color organ help...
oh, ok,,:)
Re: color organ help...
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
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
- dacflyer
- Posts: 4748
- Joined: Fri Feb 08, 2002 1:01 am
- Location: USA / North Carolina / Fayetteville
- Contact:
Re: color organ help...
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
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
Re: color organ help...
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
Steve G
- dacflyer
- Posts: 4748
- Joined: Fri Feb 08, 2002 1:01 am
- Location: USA / North Carolina / Fayetteville
- Contact:
Re: color organ help...
cool...
sometimes i think analog is just better for some things..
sometimes i think analog is just better for some things..
Who is online
Users browsing this forum: No registered users and 42 guests