LED Hanukkah Menorah by barney_1
Featured
12 - Menorah in action.jpg
I wanted to make an LED menorah for a friend. In planning this I decided I wanted to keep the parts-count very low and use components I had on hand. I think I have achieved my goals and couldn't be happier at the outcome of this project.

Please visit my webpage for more on this and other projects:
http://jumptuck.wordpress.com

Disclaimer: I am not Jewish. I have done a bit of Internet research about the Hanukkah Menorah in order to learn the principles behind it's design, and how the candles are lit. I respect this religion and mean no offense in the case of any errors I have made regarding this tradition. Please contact me and I will be happy to make changes to this instructable.

 
Remove these adsRemove these ads by Signing Up

Step 1: The Design

menorah_schematic.png
01 - Breadboarded Menorah.jpg
In the design process I set several goals:
  • Controlled by an AVR ATtiny13
  • Interfaced with 1 push button
  • Driven by ~3v of unregulated power
  • Incorporate an auto-off function to simulate the candles burning out each night.

I chose the tiny13 because I had several on hand just collecting dust. In order to control 9 leds without a shift register (a separate part) I needed to implement a charlieplex.

A schematic is available below.

For those electrical engineers reading this, I have two points to make:
1. I did not use a pull-up resistor for the reset pin, it is left floating. This is not a critical application so if we have a random reset it's not the end of the world.
2. I did not use a decoupling capacitor because I'm using unregulated power and I don't think it's essential.

nodoubtman says: May 10, 2013. 8:25 AM
how do i program the fuse ?
thank you

marC:)
bumsugger says: Aug 29, 2009. 2:51 PM
Er,what precisely IS a Hanukkah Menorah????????
godofal says: Feb 27, 2010. 1:53 PM
hanukkah is a jewish holiday, and a menorah is is a nine branched candle stand used on that holiday.

somehow its gotten quite popular among elektronics and kits...
Alyakpink says: Sep 18, 2010. 12:08 PM
NO IT ISNT!! a menorah only has SEVEN candles, 1 4 each day of the week!!!!! a HANNUKIA is wat u use 4 hannuka w/ 8 candles and a shamash (the 9th 1)!! i HATE it wen ppl make this mistake!!!!!!!!!!!
but nice instructable btw
accamel says: Dec 12, 2010. 9:30 AM
hahaha. You're blatantly wrong. A menorah has 9 candles and they are lit in succession, adding one to the number of lit candles each night of hanukkah. There are 8 days of hanukkah; the 9th candle is the one that you light with a match and then use to light the 8 others. Hannukiah is just another name for a Menorah. Get your facts straight.
asitnik says: Feb 13, 2011. 11:20 AM
There are two menorahs; the Temple (as in Jerusalem Temple in the Temple Mount) menorah, and the Channukah menorah:
http://www.chabad.org/library/article_cdo/aid/1358679/jewish/Is-MY-Menorah-The-Same-As-THE-Menorah.htm
:-)
agis68 says: Oct 24, 2010. 11:40 PM
we got Xmas after all and nothing else....so simple...;D
godofal says: Sep 26, 2010. 8:53 AM
relax mate, i didnt say that to upset anyone
not everyone knows everything ;)
Alyakpink says: Oct 3, 2010. 12:42 PM
ok, ok, sorry.
bumsugger says: Feb 28, 2010. 12:45 AM
Oy vey already......................vot a nice little toy!
godofal says: Feb 27, 2010. 1:54 PM
i like this, im going to make one tomorow, that is if i manage to get eagle to work, and i can make a nice adjustment im planning on.
il upload pictures if everything worked out!
godofal says: Feb 27, 2010. 1:55 PM
oh, and 1 more thing, why are u using only 4 resistors for 9 leds?

sry if its obvious (like in the code/some leds in series) i havent looked at the details alot yet...
raykholo says: Sep 12, 2009. 6:11 AM
I love the idea One suggestion i could make though, if you were willing to make a two sided board, would be to use a battery holder with pc pins and solder it onto the back of the pcb. It should be able to stand up by itself your way is also very interesting, however i would have shortened the wire and terminated the connection myself, also using hot glue instead of a rubber band. Just some advice to the aesthetics of the design
geeklord says: Jun 15, 2009. 8:20 AM
Ok, so im trying to figure out AVR programming, and these "<< or >>" keep showing up, mainly in the PORTB |= (1<< something) and PORTB &= ~(1<< something). I know that they are used to set bits without setting the other bits (right?). Can anyone explain a little further how you do this?
barney_1 (author) says: Jun 15, 2009. 10:16 AM
This is the shift operator: << it means to shift this bit a number of places left or right. The first thing you should read is the "Programming 101" tutorial on avrfreaks.net. Read it and know it; you will never have problems with bit manipulation. Here's a link:

http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=37871
geeklord says: Jun 17, 2009. 7:36 AM
k, thx
LastDevil says: Apr 12, 2009. 3:18 AM
May i just say that i have only just started on electronic and you have or anybody that knows how to create a pcb are very skilled i just can't get my head round it yet i might do in a few years ;-)
AnarchistAsian says: Nov 18, 2008. 7:21 PM
very nice! maybe some time i'll make some for jewish friends...
lrooff says: Nov 13, 2008. 6:37 PM
Excellent idea and execution. May I suggest patenting it and marketing it. While some of us insist on actual flames for the lights, there are a number of accepted authorities who permit electric lights as well.
barney_1 (author) says: Nov 13, 2008. 9:06 PM
I'd love to patent it and make a million dollars. Unfortunately this is not in the spirit of the Free and Open Source Software movement. Without FOSS I would not have been able to learn how to do these sorts of things and so I give back with this project. I hope others can learn from it, develop their own projects and share them with others.
Yerboogieman says: Nov 14, 2008. 4:45 PM
Well said.
Kiteman says: Nov 14, 2008. 10:44 AM
I don't believe it is patentable, since similar projects and kits have been available for some time.

(Example)
AnarchistAsian says: Nov 18, 2008. 7:23 PM
meh, this one is better! and if it's a different design, it can have it's own patent, right? but it doesn't matter anyways, because it's on this site now...
Kiteman says: Nov 19, 2008. 1:35 PM
I wasn't debating quality, merely pointing out that the idea (an LED menorah controlled by a microcontroller) had been done before. Certainly the design used here, and the layout of the PCB, can be copyrighted, but no new processes are involved, so it can't be patented. (I may be wrong, but that is how I see it)
lrooff says: Nov 20, 2008. 6:41 AM
I wasn't aware that anyone had produced something like this before. But, then, my personal menorah technology level has only recently moved from oil lamps to candles... In any case, mazel tov to barney_1 for an excellent project.
AnarchistAsian says: Nov 19, 2008. 6:23 PM
wait, can't you patent a single device made up of older technology?

companies do that right? taking old ideas, but making new products?
Yerboogieman says: Nov 14, 2008. 6:50 AM
This would be perfect for cell phone batteries. (i've been building stuff with a bunch of old cell phone batteries people give to me.)
barney_1 (author) says: Nov 14, 2008. 7:14 AM
The problem with that is you should have monitoring circuitry for those types of lithium batteries. If you run them down too low you will not be able to recharge them again.
JakeTobak says: Nov 13, 2008. 4:22 PM
If you could keep the lights lit constantly for the 8 days/nights, then I think that would be good I think. I'm a Jew, but my family never really practiced, so I'm not sure on what the rules are either :P I think it would be kewl to attach a magnet to the back and it would be a nice fridge magnet, would be a nice little filler gift (kinda like a dreidel).
barney_1 (author) says: Nov 13, 2008. 4:30 PM
From what I've read the important thing is that it stays lit for no less than 1/2 hour. If you wanted it to remain lit for 8 days that's not a problem, the auto-off function can be disabled in the Interrupt Service Routine. I'm not sure how long the battery would last. I believe it uses about 2.2mA when all 9 leds are illuminated. You should be able to calculate battery life from there. (if you are interested, I read about 1uA of current draw when the device is in sleep mode)
JakeTobak says: Nov 13, 2008. 4:24 PM
Sorry, didn't notice the huge battery pack, maybe you could use watch batteries, idk how long they'd last, or something to make it smaller for my idea to work.
Kiteman says: Nov 13, 2008. 12:41 PM
A very thoughtful gift. Perfect for small, fire-risk spaces like student digs or your locker at work.
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!