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.

A sunrise and sunset lamp with LEDs

A sunrise and sunset lamp with LEDs
You know it, in the winter time it is hard to get up, because it is dark outside and your body just won’t wake up in the middle of the night. So you can buy an alarm-clock that wakes you up with light. These devices are not as expensive as few years ago, but most of them look really ugly.
On the other hand, most of the time it is also dark when you come home from work. So the great sunset is also gone. Wintertime seems sad, isn't it?

But not for the readers of this instructable. It explains you how to build a combined sunrise and sunset-lamp from a picaxe microcontroller, some LEDs and a few other parts.

The LEDs might cost you 5-10 Euros depending on the quality and the other parts should not make more than 20 Euros. So with less than 30 Euros you can build something really helpful and nice.
And this instructable will not only explain you how to rebuild this, but also show you how to modify it to your individual preferences.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Things we need

Things we need
«
  • 01a Picaxe 18M.png
  • 01b Minimum operating circuit.png
  • 02c D-Sub-Plug.png
  • 02e Programmable memory and speed.png
You need these things:

o       12V or 24V power-supply
o       1 Picaxe 18M (or any other microcontroller) from http://www.rev-ed.co.uk/picaxe/
o       A socket for a 3.5mm phone-jack, or any other connection from the serial-port to the microcontroller to program the picaxe
o       1 pushbutton and 1 toggle-switch, or 2 pushbuttons
o       1 IC7805 with capacitors, this converts us the 12V or 24V to the 5V we need to operate the microcontroller
o       1 IC ULN2803A, This is a Darlington Transistor Array for the direct use on TTL-Level outputs. Alternatively use 8 single Darlington-Transistors with suitable resistors but it also works with the standard BC547-transistors.
o       1 High-Power FET like the IRF520, or some other Power-Darlington-transistor like the BD649
o       A whole bunch of LEDs, different colors like red, yellow, white, warmwhite, blue and ultraviolet. Read step 4 for further informations.
o       1 10k&-potentiometer, preferable with a long knob
o       1 300&- potentiometer for testing purposes
o       Some resistors, some cables, a board to build the circuit and of course a soldering-iron
o       A measuring tool for currents would also be handy, but is not absolutely necessary
Depending on the power-source you use you might need additional connectors and a housing for the LEDs. I used an acrylic board which I fixed to the housing of the Power-supply.

In older computer-mouses with D-Sub-connectors you might find a good substitute for the phone-jack cable used to program the picaxe.

Picaxes and a lot of other useful stuff might be bought here:
http://www.rev-ed.co.uk/picaxe/

For the rest just check out your local dealer.

« Previous StepDownload PDFView All StepsNext Step »
28 comments
Feb 11, 2012. 11:02 AMneillsun says:
Wanted to make this for 2 years... not really sure why I never got around to it! Going to have a crack at it soon, though. I've ordered some LEDs, new Picaxe, etc. I have both 5v and 3v3 FDTI cables - any suggestions on which would work best to program Picaxe?

Has anyone make a PCB for this? I'm being lazy here, of course!
Nov 25, 2011. 6:40 AMfjordcarver says:
I love this concept! Cool idea, I have added it to the hamster cage (list in my head of future project ideas with no logical order), filed under awesome ideas....inspiring.
Jun 1, 2011. 12:34 PMRahul_panti says:
Hi everyone,
I need help..I wanted to know that if I wanted to use this for the entire roof of my roof (10X10sq ft) how many leds are required and where do place the various colors.
And is there a way that I could connect it to a electric watch and it could simulate it for me when ever I wanted to on the press of a button ??

Thanks
Rahul
Jan 25, 2011. 5:15 AMABaruwal says:
Im making a wake up light for my final engineering project and and unable to find useful information :(
Can anyone help me with the circuit for the wake up light, please.
May 26, 2010. 3:01 AMfloodll says:
Wow, step two went by pretty fast. 
May 8, 2010. 5:14 AMNikonDork says:
 I love this idea. I have made a sunrise simulator hooked up to two UV lamps for my three exotic birds. You'd be surprized how much happier they are to welcome the day when its being properly simulated.

Your project here is perfect for people as it naturally adusts your vision to match whats going on outside. if you could integrate a stronger UV source, it would help your body adjust even better. This idea is great for both people and animals that are sensitive to sunrise/sunset.

Im going to try this as soon as i can collect parts. I also think it would look excellent if it were modfied to point the leds upward and enclose in a simple, thin, 3d rectangular frame with panels made of a heavy rice paper, or a thin opaque white plastic.

Awesome stuff.
Feb 26, 2010. 10:03 AMmiguelastico says:
I have some problems finding the components in the U.S. , can anybody help me?
Dec 30, 2009. 9:23 PMaborior says:
 I was wondering if this was projected on white cloth how the other side would fare. if you could find out and let me know it would be a big help. i have a dream of putting a large landscape painting in front of this as one of my walls. Thank you for inspiring this.
Dec 20, 2009. 12:15 PMkoraygumbur says:
sorry for being such a newb, but which reader do I need for the sch file?
Nov 2, 2009. 3:09 PMYerboogieman says:
That daylight savings is a bunch of crap, now it will be darker earlier.
Dec 17, 2009. 6:25 AMHycro says:
Daylight savings becomes more of a pain when you're working from first light until dark, and have to travel over an hour each way, to and from work, makes for a restless week for the first week after the Fall time change...
Dec 17, 2009. 3:01 PMYerboogieman says:
Yeah, either way it's gonna be dark in the morning.
Dec 17, 2009. 1:19 PMjeff-o says:
No kidding.  I only see sunlight on the weekends these days!
Dec 17, 2009. 3:03 PMYerboogieman says:
I can't stand the dark and rain.
Dec 16, 2009. 10:44 AMbuteomont says:
You would be a happier person if you concentrated on changing what you can change and just get over what you can't change.  (Like get up and go to work an hour earlier so you can get off an hour earlier.)

Unless, that is, you enjoy being a sourpuss.  If that's the case, then carry on. 
Dec 16, 2009. 8:57 PMYerboogieman says:
(removed by author or community request)
Dec 16, 2009. 9:04 PMYerboogieman says:
Which, I'm not sure is a good thing. I guess what I mean't was I will win in a verbal and physical fight.
Dec 17, 2009. 7:18 AMpoeticoddity says:
I was wondering if there was any particular reason you chose to use a lot of little LEDs instead of one or two large RGB LEDs.
Dec 17, 2009. 11:05 AMshushujooon says:
This is awesome! It's PERFECT for the interior cabins of cruise ships! 
Dec 17, 2009. 6:23 AMHycro says:
Looks neat, though what I do to get up when I don't really want to is using an old-style mechanical alarm clock, and place it on the other side of the room, as soon as it goes off, I'm out of bed and across the room (well, around 5' or so from my bed, in a direction that I have to get out of the bed to shut it off) and fumbling with it in the dark to turn it off. Though if I'm already awake when it goes off, I nearly jump out of my skin, since the time it goes off is slightly earlier every time from the hour hand passing the trigger, and as the clock winds down and needs to be rewound, it runs a little faster. Though I do like the idea of the LED sunrise/sunset lamp, keep up the cool ideas and creations!
Dec 17, 2009. 5:33 AMwncranger says:
Fantastic instructable! You put a lot of thought into this and I appreciate you sharing it with us. What a terrific idea! I'm going to build this straight away.
Dec 16, 2009. 8:54 AMenentrup says:
 what a gorgeous design. Fine, fine work!
Nov 3, 2009. 9:12 AMiceburnenator says:
Great idea!!!
Nov 2, 2009. 11:38 AMcanida says:
Nice!

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!
49
Followers
22
Author:andyk75
I like to explorer new things and try out stuff. At the moment I'm in to electronics and LEDs (mainly).