My blog has moved to it's own domain!

You should be automatically redirected in 6 seconds. If not, visit
http://mad-laboratory.com
and update your bookmarks.

LED LIGHTING FOR LAMINAR NOZZLE

0 comments

Here is the video of the mood light for the laminar nozzle water fountain. This is just a proof of concept to make sure that I can build and make it so that I can put it into the water fountain, because a water fountain is cool, but how much cooler would it be if it could GLOW!

The video doesn't do the light justice it has a lot of glare to it. It looks SOOOOO much better in person.

Enjoy the video.


EVERY COLOR OF THE RAINBOW PART II

0 comments

First off, I would like to welcome my new visitors frequent visitors! Please contact me! I'd love to talk with you about my project!

So this is part II because I needed to learn how to fade and mix the RED, GREEN, and BLUE so that I could pick the colors from the rainbow.

How I did it.

Objective:

To fade each of the Red, Blue, and Green colors individually in order to pick the colors of the rainbow.

Setup:

The setup isn't much different from the past post. I just added more to it. This schematic was given to me from Mario a friend in Switzerland! Awesome schematic! It's simple to build and it really makes sense once you study it out.

I used a PIC uC PIC16F690, and the PIC KIT2 starter kit to program the microcontroller. I also used Proton+ to program the chip. The three different signals from the uC went to three different channels, RED, GREEN, and BLUE. Each pin used PWM (Pulse Width Modulation) to control the mosfet.

**NOTE: In the picture above the schematic shows BUZ11, that was replaced with IRFD024 and the resistor R1 was replaced with a 10K ohm resistor. R2 was changed to a 1.8 ohm @ 2W resistor.



The PIC16F690 was hooked up to the mosfet via a resistor (10K). The K2 Star LED was hooked up to power from the LM317 which was hooked up in a constant current circuit constantly outputing 700mA actually something like 705mA if you want to be exact. Essentially how this circuit works is the mosfet is blocking the path of electricty to ground.



Every time the uC would output a high voltage the mosfet would allow the LED to connect to ground and LED would turn on. The voltage would vary, because of the PWM, and allow different level of intensity for each LED. Using this circuit three times over (once for each color) I was able to control the light output for each LED allowing me to mix the color to obtain a maximum of 256*256*256 colors! Well ok, maybe not that much, but it's at least more than.....5! In the picture above you can see three aluminum heatsinks. Each one of those heatsinks has the LM317 attached to it providing power for each LED. =)

Results:


As you can see the results are pretty spectacular! These are just a few of the colors. I was having difficulty with my camera and so most of the photos didn't turn out. But it gives you an idea of what it will look like when you get yours finished!

I'm uploading a video of it changing colors. Once it is done, I will come back and post it.