3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Handcrafted Arduino-powered RGB Moodlamp

Handcrafted Arduino-powered RGB Moodlamp
«
  • SG1L2856.JPG
  • SG1L2857.JPG
This instructable is subdivided in 5 parts:

- Planning the construction (Step1)
- The handmade shade (Step2+3)
- The electronic circuit for driving 3W LEDs with the ATmega8 controller (Step4)
- The Code (Step5)
- How to get it stand-alone (flash the Arduino bootloader with PonyProg and burn the sketch) (Step6) coming soon

Vid: Some Impressions



http://de.youtube.com/watch?v=apZ9NpaUG84
Pic1: The Moodlamp
Pic2: A mighty 3W LED

 
Remove these adsRemove these ads by Signing Up
 

Step 1Planning the construction:

Planning the construction:
I love to do a concept on just one sheet of paper.

On the first sheet you see some early ideas. "I chose the bottom-right design.

The second page shows some details for the construction.
measurements are experimental like each time, but ok for me ;-)

My hardware thoughts were:
- Can I handle the materials?
- Will the light shine through the shade?
- What proportion should it have?
- How many knobs and pots will I need for a simple interface?

My software thoughts were:
How many different functions should the lamp have?
- Automatic RGB fading with changeable speed
- Manual color adjustment
- White with adjustable brightness

« Previous StepDownload PDFView All StepsNext Step »
28 comments
Mar 15, 2011. 5:17 PMhandyman29 says:
Hello, great instructable, I don't plan on copying your circuit completely and I have my own lamp design in mind, but I was wondering what type of power transistor did you use?
Thank you
Aug 16, 2009. 9:34 PMpoeticoddity says:
I just wanted to say thank you. I looked through at least half a dozen other RGB LED lamp instructables, and yours was the most helpful while I was designing my own lamp. Thanks!
Mar 6, 2009. 2:13 PMakatsuki666 says:
im sry this is the noobyist question ever but when it said ground on the schecmatics just attach it to the ground on arduino? and while im on here on the video you had a big silvery grid thing attached to the transistors, what the heck is that is it importiant. and one last question on the top right of the shcematis where u said the button is there is a a little wire right next to it that looks like its suppose to be attached to it. is it? tyvm
Mar 5, 2009. 4:00 PMakatsuki666 says:
oh iom so sry i didnt see and
Mar 5, 2009. 2:03 PMakatsuki666 says:
u say that theres 3 pots but below there is a symbol for 6 (im not trying to correct you on your own circet i want you to correct me) (circled in red)
Mar 5, 2009. 4:37 AMakatsuki666 says:
ok i got one more question sry ='( . why is there 6 potentiometers on the diagram and 2 in the vid.(im so sry this is my last question i got everything else together)
Mar 4, 2009. 6:24 PMakatsuki666 says:
thanks for helping me and im only 13 so no i havent rly worked with stuff like that i think i can work off all the stuff u gave me. ty agin
Mar 4, 2009. 3:11 PMakatsuki666 says:
thank you so much for putting up with my amature questions and ill try to stop burdening you and just put it together as the schematics sais(lol). just one thing is i dont know the numbering/abriviations(like:pb7) on you picture. the numbering skips from 1-6, 20-27 stuff like that. so can you edit it or something to make it look like a real arduino.if thats to much i understand and ill try to look up the abriviations.
Mar 4, 2009. 4:43 PMakatsuki666 says:
i am so sorry but i inspected your diagram and i was wondering what this symbol ment. i couldent find it in the enternet
Mar 3, 2009. 3:31 PMakatsuki666 says:
hi thank you for taking you time to explain all that. but yet i am a amature and didnt understand a word so if you could just answer my questions: is there one rgb led or 3 leds or whats going on there. (circled in red) why is there 2 extra leds (to the left and to the botton) (circled in orange) ok im amature a noob w/e so what is vcc ( black) and how and why are there so many grounds(agin im a amature) (brown) ty, i put it from most importaint to least and the things are cxircled below in the picture.
Feb 28, 2009. 6:35 PMakatsuki666 says:
im sry the picture was messed up in my computer. but it would be nnice if you still could add a instructable
Feb 28, 2009. 6:34 PMakatsuki666 says:
i dont rly get the circet. i mean to the right side you have a led just with a wire sticking out. and whatnot. so can you like make a instructable on the electronics ty
Jan 3, 2009. 11:30 PMsilverbyte says:
Very Very Nice outcome, love the power your getting out of the 3W LED's

Check mine : Arduino_RGB_LED_Lamp_4bit_LCD_Display

Not using 3W RGB LED's but still effective, great outcome. Question for you. Are your 3W RGB LED's common Cathode?

I recently bought some 3W RGB LED's but there common Anode
Dec 10, 2008. 10:17 PMgiorgiodidon says:
hi, I'm approaching to arduino, and this is a very cool project to start (also as gift for my wife!) i'd like to see the code, if you can please publish it! thank you giorgio
Nov 12, 2008. 7:26 AMrolandl says:
Forgot to add, my SMS1.tgz package requires SimpleMessageSystem from arduino.cc, but (as proof of concept) it's easy to modify for your choice of microcode. Highly commented/self-documenting.
Nov 12, 2008. 7:23 AMrolandl says:
If you use linux, get my package of shell scripts for controlling this, from http://user.cavenet.com/rolandl, named SMS1.tgz. Modular/expandable, can handle as many Diecimilas as you can plug in to your USB ports. Full IO and PWM control for LEDs or whatever, from keyboard, or GUI (via xdialog), or scripts. AD is scaled to mV and formatted for import to most spreadsheets. Easy to modify to suit your needs.
Oct 2, 2008. 4:16 AMBongmaster says:
really nice :) got the code? and a bigger pic of the curcuit ;)
Oct 1, 2008. 10:34 PMironsmiter says:
VERY cool project.
Nicely documented too.
Special "bravo" for clear and properly scaled macro photos.
Solid 4 out of 5 stars for this!

before the questions begin...
"I clinched for the bottom-right design." = "I chose the bottom-right design"
"The measurement is virtuosic like each time" = "measurements are experimental" (where DID you find that word? :-)
"I found a square meter from 1mm clear plastic sheet in a hardware store." = "I found a 3 foot x 3 foot sheet of 30 mill plastic at the store"
"The plastic can be cutted with a sharp knife." = "Use a sharp knife to cut it"
"After cutting i grinded the sheets with sand paper" = "I frosted the plastic using sandpaper"
"All the plastic should hang on a windy construction of threaded bars from brass" = "Mount the plastic shades on the threaded brass supports" (I think)
"I drilled some holes and wormed them to get the M3 threaded bars fixed" = "I drilled and tapped the holes to match the 1/8th threaded bar"
"meantime I made a little plate from alloy" = "meanwhile, I made a heatsink"
"The plates were breaknecking clamped into my lathe." = "The discs were chucked in the lathe."
"Afterwards I bate it with "mahogany-wood-stain" to get a fine color out of the pinewood." = "Afterwards, I stained it with a mahogany wood stain so the to make the pine look good"
"I decided to make a grinded circle from the shade-material, nailed on the wood, with a microRGB-LED to light it up" = I decided to make a base using the same frosted plastic as the shade, and backlight it with a RGB microLED."
"my shematic" = "my schematic."


Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
4
Followers
3
Author:nejo0017(www.nejo0017.wordpress.com)