| Feature Lighting - Entertainment Unit |
|
|
| Sunday, 20 December 2009 07:25 | |||||||||
|
**Warning** relatively quick Sunday afternoon project, so there's not much in depth content here. Feel free to ask questions/leave feedback below if you like!
LED Boards
I recently brought a few components from Sure Electronics which included aluminium based LED boards. They caught my eye given the cheap price, US$2.04 (at the time of writing this article) and come completely assembled ready to be connected to 12-13.8V. Here's what they look like;
They throw a soft, wide angle light pattern which suits general purpose lighting effects, and that's exactly what I ended up using them for in one of my "Sunday afternoon" projects. The first piece of furniture that could benefit with a little lighting that came to mind was the entertainment unit. It has several storage compartments which would serve great places to mount the LED's and throw some light around. You could use any LED's to do a job like this, though the above modules flood light very well and are extremely easy to secure in place. Here's what the entertainment unit looked like before and after the modification;
The result is a soft (or harsh if desired) "radio-active" type glow, though the above photos really struggle to give it the justice - especially with low ambient light. So they are mounted in the above pictures, though I couldn't settle with just that - next on the plan was dimmable light control (with a PIC of course!).
Control Box
An early revision of the light dimmer included a Logic Level N-Channel FET being driven exclusively by the 5V PIC. It worked OK, though the FET was not saturating enough for my liking (without the FET "turning on" completely, the LED's were not driving at full brightness). Sure I could have ordered a better model LL FET with a lower Vgs, or I could cater for any type of FET and include a proper driving circuit (transistor driven Vcc instead of direct Vdd). In hindsight a P-Channel Fet could have been used as the N-Channel inverts the operation. I originally compensated with software, though in the final revision I simply reversed the polarity of the potentiometer. All that said, you could use any method you like to drive the LED's, I chose the FET approach as it scales to larger projects quite well (can drive ++Amps compared to heavy duty transistors/darlington arrays). Not shown above is the external circuit to attach the LED modules. I made it separate as I didn't want a whole loom of wiring hanging out of the control box - a lead terminated with 2.5mm DC Sockets on either end connects to the two boxes and keeps things looking clean. Here's the main control box with potentiometer fitted to the top;
Mounting the LED Boards
Mounting the LED boards were pretty easy. Pilot dril holes and some short 4AG screws did the job fine. I also used phone-line cable holders to route the cables neatly around the entertainment unit. Here's a shot of an installed LED strip;
One of the earlier photo's showed the entertainment unit with the LED's turned on - its in that shot that its noticeable that all the compartments have upper over-hanging bits of timber. Hiding the light source "adds" to this feature lighting approach, and can be used in similar methods on over-hanging bars or other features around the house.
PIC Program
And of course the program itself. Briefly put, the PIC grabs the 10-bit ADC value of channel 0 (the brightness control potentiometer), and places it into the 10-bit duty cycle buffer. Simple eh. Works beautifully to ;) Device = 18f2520 With the above program there's 1024 bits of resolution for brightness control; allowing the LED's to go from completely off to hard-on. Feel free to post comments below!
Cheers,
|
|||||||||
| Last Updated ( Sunday, 21 February 2010 02:19 ) | |||||||||
Whos Online
- Jon Chandler
- andyo
Forum Activity
REALISTIC LED candle flicker - mrdeb Wednesday, 10 March 2010 05:48 - [0 replies]
the LCD demo hello world - mrdeb Wednesday, 10 March 2010 05:41 - [29 replies]
USB problem - jon chandler Tuesday, 09 March 2010 11:31 - [3 replies]
Servo Module - andyo Tuesday, 09 March 2010 03:39 - [3 replies]
pic to ps2 communication - roshan Friday, 05 March 2010 01:30 - [7 replies]
Way Off Topic: Worldwide Ignite Week - jon chandler Wednesday, 03 March 2010 20:33 - [4 replies]
PIC USB with C and Visual C++ Project - hop Tuesday, 02 March 2010 21:49 - [0 replies]
Recent Comments
- 2010-03-05 13:24:23 mrpse...
I was thinking of battery with powered routers or powered for every...
- 2010-03-05 12:17:40 andyo
50 rooms - wow. The XBee modules are very easy to use but I'm not ...
- 2010-03-05 11:46:37 mrpse...
Thanks AndyO. What I have to do is design a device to monitor temp...
- 2010-03-05 03:08:58 andyo
The circuit used for the remote sensor can be found here: [url]http...
- 2010-03-04 07:19:06 renno
plz i need help do u know from where i could download it or how cou...
- 2010-03-04 07:16:05 renno
hello everyone i'm trying to finish my final project and i want to ...
- 2010-03-04 02:49:38 Saira...
Thanks that was helpful
- 2010-03-04 02:35:35 Jon C...
There is a BlueTooth module available. If you used this, you can s...











I really like this project! Especially since it directed me to some wonderful lighting solutions at Sure Electronics. Their prices are amazingly reasonable and there are a lot of options as far as size, color, configuration.
And now that I have found that source thanks to you, I'll need a way to drive those fixtures. This project makes that happen.
Thanks again Graham for your awesome contribution!
Hop