RGB Fading Theory

View previous topic View next topic Go down

RGB Fading Theory

Post  John on Tue Oct 06, 2009 8:27 am

I'm having a hard time trying to figure out how to fade all of the color so that I can get most of the colors of the rainbow. Any ideas?

I started with a 3 sine wave that have been shifted off 120 degrees so, but I'm not sure that is getting every color. I don't ever get and intense blue, red, or green. It's always mixed with some other color.
avatar
John
Nozzle Master
Nozzle Master

Posts : 450
Join date : 2009-04-03
Age : 39
Location : Utah

View user profile http://www.mad-laboratory.com

Back to top Go down

Re: RGB Fading Theory

Post  covewi on Tue Oct 06, 2009 10:02 am


covewi
Nozzle Pro
Nozzle Pro

Posts : 248
Join date : 2009-06-07

View user profile

Back to top Go down

Re: RGB Fading Theory

Post  Magic-nozzle on Fri Oct 09, 2009 3:56 am

Hi John, i do it like this, start with blue 0 - 255 then start red from 0 -255 then fade out blue, then fade in green, fade out red, fade in blue and so ontill i have all variations and all colors. last i fade all colors in then i have a white, but much cooler than the rainbow is when you fade slow from a fioxed color to a fixed color and stay a while on each color, i hope you understand what i mean.
The best is to have severlal programs alternating by random. A problem is the eye can not see that much colors we can produce with rgb with 8bit each channel.
avatar
Magic-nozzle
Nozzle Grand Master
Nozzle Grand Master

Posts : 287
Join date : 2009-04-02
Age : 49
Location : Europe

View user profile

Back to top Go down

Re: RGB Fading Theory

Post  John on Fri Oct 09, 2009 4:24 am

Yeah, after starring at the color wheel for a while I realized that I don't really need to have more than two colors working at the same time. Those are the most intense and beautiful colors. When you start to add the third color all it does it lighten it and it's not as pretty. I posted some video on youtube last night of everything working all together. The video just fades all of the color and then cuts.

avatar
John
Nozzle Master
Nozzle Master

Posts : 450
Join date : 2009-04-03
Age : 39
Location : Utah

View user profile http://www.mad-laboratory.com

Back to top Go down

Re: RGB Fading Theory

Post  Magic-nozzle on Sat Oct 10, 2009 12:54 am

Ohh, what a nice colored stream, now it looks really good! Congratulation, the rest is peanuts *SMILE*
avatar
Magic-nozzle
Nozzle Grand Master
Nozzle Grand Master

Posts : 287
Join date : 2009-04-02
Age : 49
Location : Europe

View user profile

Back to top Go down

Re: RGB Fading Theory

Post  John on Sat Oct 10, 2009 6:54 am

Thanks. I'm still having problems with pump jitter. I am going to build a new filter and see if that is the problem. I notice a small leak on one of the joints on my filter, so I'm guessing/hoping that there in lies the problem.
avatar
John
Nozzle Master
Nozzle Master

Posts : 450
Join date : 2009-04-03
Age : 39
Location : Utah

View user profile http://www.mad-laboratory.com

Back to top Go down

Re: RGB Fading Theory

Post  covewi on Sat Oct 10, 2009 9:31 am

John nice work!

For those of us with limited electronic background here is a great board that has 50 led sequences built in - its only $17 dollars... fantastic.

http://www.pcboard.ca/kits/led_rainbow/display_sequences.html

covewi
Nozzle Pro
Nozzle Pro

Posts : 248
Join date : 2009-06-07

View user profile

Back to top Go down

Re: RGB Fading Theory

Post  liteglow on Sat Oct 10, 2009 3:53 pm

covewi wrote:John nice work!

For those of us with limited electronic background here is a great board that has 50 led sequences built in - its only $17 dollars... fantastic.

http://www.pcboard.ca/kits/led_rainbow/display_sequences.html

Awesome Very Happy
Can that be used on 3x3W Luxeon ?
avatar
liteglow
Admin

Posts : 516
Join date : 2009-04-02
Age : 35
Location : Norway

View user profile http://laminar.forumotion.com

Back to top Go down

Re: RGB Fading Theory

Post  covewi on Sat Oct 10, 2009 5:20 pm

Here's the email I received from the company today - it looks like the voltage regulator is just used to feed the rgb chip - voltage into the board is voltage out.
So the voltage and the current (ma) can be regulated by a limiting resistor.

Hello Bruce,

The LED Rainbow output voltage/current is based on the supply applied to the board.; The output is simply the input voltage switched by the components on the board. If you apply 14v on the input, you will get 14v at the output. There is no current limiting on the board - you must do this at the output (you would need to limit the current going to your high-power LEDs).

So. Yes it can be done, but you will need an intermediate circuit between the LED Rainbow and your LEDs.

John

covewi
Nozzle Pro
Nozzle Pro

Posts : 248
Join date : 2009-06-07

View user profile

Back to top Go down

Re: RGB Fading Theory

Post  Magic-nozzle on Sun Oct 11, 2009 12:30 am

I would not recommend using a resistors doing that, use a small constant power supply on eaqch led, if you don't can build it, buy 3 for 10 USD each. Your led living time is much much more longer, specially i f you do some PWM, and all the faders work with this. PWM is pulsing the led at a verry high fequency, each time you switch on you got a high puls on the current, a resistor cant chatch this full, a little current supply can. I am niot a electronic specialist, but i read about this. good luck
avatar
Magic-nozzle
Nozzle Grand Master
Nozzle Grand Master

Posts : 287
Join date : 2009-04-02
Age : 49
Location : Europe

View user profile

Back to top Go down

Re: RGB Fading Theory

Post  covewi on Sun Oct 11, 2009 9:48 am

What I understand from the company is that - voltage in is voltage out - and the built in voltage regulator is JUST for the chip.
So we could go with that and supply the voltage/current for the LED's after the whole circuit board. Is that what you are talking about doing?
Thanks

covewi
Nozzle Pro
Nozzle Pro

Posts : 248
Join date : 2009-06-07

View user profile

Back to top Go down

Re: RGB Fading Theory

Post  Magic-nozzle on Mon Oct 12, 2009 9:28 am

Yes, this is normal, the power you need is arround 2 V more than the controller needs, so i think of 7 - 8 Volt is enough.
On each led, after the output of the controller you will need a constant current cirquit, you can use a resistor, but i do not recommend that. No everithing clear?
avatar
Magic-nozzle
Nozzle Grand Master
Nozzle Grand Master

Posts : 287
Join date : 2009-04-02
Age : 49
Location : Europe

View user profile

Back to top Go down

Re: RGB Fading Theory

Post  covewi on Mon Oct 12, 2009 3:37 pm

I would just make a little LM317 voltage regulator circuit with a resistor to contorl the current to each LED.

covewi
Nozzle Pro
Nozzle Pro

Posts : 248
Join date : 2009-06-07

View user profile

Back to top Go down

Re: RGB Fading Theory

Post  Magic-nozzle on Tue Oct 13, 2009 12:12 am

yes thats all you need, tak care of the Watts on the restor.
Good luck.
avatar
Magic-nozzle
Nozzle Grand Master
Nozzle Grand Master

Posts : 287
Join date : 2009-04-02
Age : 49
Location : Europe

View user profile

Back to top Go down

Re: RGB Fading Theory

Post  covewi on Sat Nov 21, 2009 9:49 pm

I have been spending a lot of time on the xmas lighting forums and have learned a great deal about light control.
Purchased a DMX control box and a DMX DC SSR ( solid state relay) board and will be building these boards soon.
The control of any DC current light (led / relay's) will be controlled using Vixen - http://www.vixenlights.com - software.
The leds will be fully dimmable and will be able to produce 256 different colors - although it will never be needed.
A AC current control board can be added to the DMX setup which could be used to control the current to a pump to vary its output and the height and
distance of the stream.

The beauty of this setup is that the software can contol each led (rgb) individually and control cutters while synchronizing it to music.



covewi
Nozzle Pro
Nozzle Pro

Posts : 248
Join date : 2009-06-07

View user profile

Back to top Go down

Re: RGB Fading Theory

Post  liteglow on Sun Nov 22, 2009 9:00 am

You say that the control board can adjust the pump?

I dont think it`s possible to adjust the pump that I use.
Well, not by adjusting the power...
I did try a dimmer on the pump, and it does not work.

But there for sure is other pumps that have electronic controllers, but they cost allot more!
avatar
liteglow
Admin

Posts : 516
Join date : 2009-04-02
Age : 35
Location : Norway

View user profile http://laminar.forumotion.com

Back to top Go down

Re: RGB Fading Theory

Post  covewi on Sun Nov 22, 2009 10:13 am

I believe that the Nautilus line of water pumps are "asynchronous". You can adjust the pump motor through AC control.

covewi
Nozzle Pro
Nozzle Pro

Posts : 248
Join date : 2009-06-07

View user profile

Back to top Go down

Re: RGB Fading Theory

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum