hlxldb

自作一个高性能的三基色LED控制器(一)

0
阅读(6127)

 

Build a better RGB LED controller.

Build a better RGB LED controller.

This RGB LED controller kit is somewhat different to other offerings on the 'net. Whereas most others use a single button to step through short pre-programmed loops this controller is intelligent enough to understand different colour palletes and generate colours in real time using a huge 8 million bit randomiser. It lets you choose a colour pallete from sharp vivid colours to soft pastels and the speed and way it will move between them. It also has a selection of other effects thrown in just for good measure, and remembers it's current settings when the power is turned off.

The fact that this kit does the equivalent of thousands of dollars worth of architectural lighting equipment means it's widely used in theme parks, cruise ships, trucks, architectural installations, techno-art and many other applications. It's also perfect for mood lighting in your workshop, games room, garden and home.

The unit is shown here with a selection of RGB panels connected to it for demonstration purposes. Almost any common anode (common positive) array can be used with suitable resistors. In the picture you can see a strip of Dioder LED lighting from IKEA http://www.ikea.com/ , a round MR16 sized panel as featured at http://www.bigclive.com/happy.htm and a large floodlight panel as featured athttp://www.bigclive.com/flud.htm .

The finished module will run an any voltage between about 8V to 30V and is capable of switching up to about 5A (5000mA) per colour without need for heatsinks on the MOSFETs.

This kit has been around for many years and the software has been steadily refined. I do a complete kit of parts including the PCB on my website at:- 
http://www.bigclive.com/shop.htm 

This kit is also a great base module for writing your own code for any application that requires a couple of button inputs and three high current outputs.

The module uses the following colour palletes:-

Full spectrum - over 16 million colours ranging from black through all colors to white.
Bright - a large array of bright colours ranging from saturated primaries to intense pastels.
Vibrant - (my favourite) super saturated colours from deep purples to brilliant turquoises.
Primary - a small selection of hard primary colours.

Here are the programs included in the controller kit. You use the program button to step through them, and the option button to change speed/colour etc.

1. Morph and hold with vibrant colours.
2. Morph and hold with bright colours.
3. Morph and hold with full spectrum colours.
4. Red marker to show where you are in the program list.
5. Sweep continually between vibrant colours.
6. Sweep continually between bright colours.
7. Sweep continually between full spectrum colours.
8. Green marker.
9. Indie dim full spectrum.
10. Indie dim pastels.
11. Blue marker.
12. Rainbow that can be stopped and started with the option button.
13. Rainbow with variable speed.
14. Black marker

Programs below here can be "locked out" if required to avoid flashy effects in an architectural application.
To lock or unlock them, just hold both buttons in for 15 seconds until the output changes from blue to either red (locked out) or green (unlocked). You can do this as many times as you like.

15. Colour burst with vibrant colours.
16. Colour burst with bright colours.
17. Colour burst with full spectrum colours.
18. Cyan marker.
19. Color plasma lightning. (variable speed)
20. White plasma lightning. (variable speed)
21. Colour strobe with variable speed (vibrant colours).
22. Windswept flames. Each channel wavers like a flame with variable speed.
23. Subtle flames. Much softer waver effect.
24. Rainbow trail. (variable speed).
25. Jewel fountain. (variable speed).
26. X-fader. The classic two channel cross fader with variable speed.
27. Peppers Ghost with variable delay.
28. Juddermeister. Just completely psychedelic! Variable speed.
29. Hazard. For controlling two channels of LED hazard warning lights. Variable reps and styles.
30. Random static full colour. A new one is picked at random when you press the option button.
31. Random full spectrum colour. Option button selects a new random one.
32. White marker.

Morph and hold programs sweep to a random colour, then hold it for an adjustable delay selected by the option button in 3 second increments.

Sweep programs continually fade between random colours.

In indie dim modes each channel does its own thing, fading between random intensities.

Colour burst steps between random colours with variable speed.

Peppers ghost is an optical illusion where two images alternate via their reflection on a piece of glass. Look it up on the 'net. This is ideal for Halloween FX. The option button can be used to increase the hold time between fades in multiples of 3 seconds.

Rainbow trail and Jewel fountain whizz through hundreds of colours a second to leave a trail of colours on any moving object. If you get the angle right this looks amazing with fountains, since the water droplets sparkle with different colours. Also looks great on any high speed moving object. Experiment!

The hazard mode could be used to control banks of yellow LEDs for use as highway hazard lights or red and blue for police/fire applications.

 

原文地址:http://www.instructables.com/id/Build-a-better-RGB-LED-controller/