Starry Ceiling for Kids Bedroom

 by gweeds
Featured
mounted.jpg
When my little girl was born I wanted to make her a special night light for in her room. I made her a ceiling light with twinkling stars. It is made up of a piece of custom wood with 100 LEDs mounted in it. An AVR AT90S8538 micro controller runs a bascom program that produces a random pattern on these 100 LEDs. The LEDs are connected in a 8x13 matrix and the processor scans this matrix so that only 1 light is on at a time. Persistance of vision makes it look like there are many stars on at any one time.
 
Remove these adsRemove these ads by Signing Up

Step 1: Make the Board

back.JPG
The LEDs are all mounted in a customwood board. I drilled 5 mm holes randomly over this board and pushed the LEDs through from the back. I then screwed some old round curtain rail tubes to the board to stop it from sagging when it is hanging from the ceiling.

The LEDs were wired up with the wire taken from lenghts of CAT5 network cable which was simply wire wound onto the LED legs and later soldered for a good connection. The hole in the middle is so that the room light mains cabling can come through. It is secured to the ceiling by a couple of screws around the origonal room light so that when removed there are no holes in the ceiling.
domdomgin says: Dec 30, 2011. 12:47 AM
what are the fuse settings..
gweeds (author) in reply to domdomginDec 30, 2011. 2:46 AM
Oh, good question. About the only settings I ever change on my AVR's are "Disable JTAG" and I set them to Internal Oscillator 8MHz
domdomgin in reply to gweedsDec 31, 2011. 12:43 AM
can u give me the exact fuse bit setting low and high as i am using atmega8535.
Wash0ut says: Oct 14, 2011. 10:00 AM
Really love this idea. I would like to try it but I've never programmed a controller or anything else for that matter. I fancy myself clever enough to figure it out. The realm of electronics is not necessarily foreign to me. If someone can at least point me in the right direction as to what I need to research or what equipment I might need to purchase. It seems like the heavy lifting has already been done with the two files above. Where to go from here would be much appreciated. Thanks in advance!
gweeds (author) in reply to Wash0utOct 15, 2011. 5:26 AM
If you have a look at http://www.mcselec.com under the AVR section you'll find some good info. you will need to download bascom to program the microcontroller and you'll also need to make a programmer. Do a google for STK-200 programmer. This is a parallel port driven programmer that is easily and cheaply made. In fact the simplest version only uses a couple of resistors.
Wash0ut in reply to gweedsOct 15, 2011. 10:48 AM
That should be enough to get the ball rolling. Time for me to do some homework. Thanks Again!
krajan1 says: Aug 31, 2011. 11:12 AM
its the video which u shared it a fast forward verison or its normal...i think its very fast....
gweeds (author) in reply to krajan1Oct 15, 2011. 5:26 AM
The video is normal speed
domdomgin says: Oct 13, 2011. 10:20 AM
can i use atmega8535
gweeds (author) in reply to domdomginOct 15, 2011. 5:22 AM
Yeah, I am pretty sure you can, they are pin for pin compatible. If not, it should be pretty straight forward to reconfigure the wiring to right ports.
wilgubeast says: Jun 6, 2011. 12:26 PM
What a lucky child.
ytashi in reply to wilgubeastJun 8, 2011. 1:55 AM
i second that. lucky fella!
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!