Automated Menorah
JonnyMac
Posts: 9,104
An EFX-TEK customer asked for code to run a fully-automated Menorah. Attached is the first crack for those who might be interested.
Note that the code is written for the EFX-TEK HC-8+ but will run on any Propeller board that has eight contiguous outputs for "wicks" and two pins for the I2C RTC (DS3231)
Note that the code is written for the EFX-TEK HC-8+ but will run on any Propeller board that has eight contiguous outputs for "wicks" and two pins for the I2C RTC (DS3231)
Comments
That is how the commercial LED tea lights work.
https://en.wikipedia.org/wiki/Menorah_(Hanukkah)
I've always wondered why "the menorah" had two names: menorah and hanukiah. Apparently The Menorah is the 7-candle holder used only in the temple (Talmudic law says though shalt not use outside the temple). Then the hanukiah is the special 9-candle holder used during Hannukah to celebrate the special event.
Source
Just put up a tree and stick some lights on it.
The code I shared was at the request of a customer; it was not intended to cause offense or controversy.
Now that statement has me confused, as to why anyone would be even slightly offended or find a cause for controversy.
I always like your posts Jon as they are exemplify the practical side of the Propeller chip and how easy and quick it is to implement a prototype at a moments notice or even to "fix" other poorly designed products. When you team up experience, good practical sense, some get-stuck-into-it'ness, and a Propeller chip, then wonderful things happen, and happen sooner than later.
It certainly isn't about religious beliefs, seven, eight or nine. That is for the ultimate user to decide. Isn't it about the flicker of a candle? Let the ultimate user have some work to do.
Jeff
Actually, the original request was how to automate with an RTC. That person suggested he was going to purchase the DS3231 so I picked up a couple inexpensive boards from Amazon and knocked out the program.
Thanks for sharing.
On the plus side, I learned something new of these ancient traditions along the way.
-- http://obex.parallax.com/object/857
I used this module in my test:
-- https://www.amazon.com/gp/product/B014IYBGG0
This include an AT24C32 EE on the board, too. Its address is preset to %111, so it doesn't conflict with the Propeller EEPROM if this board is connected to the Propeller EE buss.
See this post above.