Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 2.67 KB

README.md

File metadata and controls

31 lines (22 loc) · 2.67 KB

Temple Shir Tikva Menorah Controller

Load this code on an arduino to control a sainsmart relay board which can be used to automatically turn menorah lights on and off in succession.

The controller will keep track of time and know which day of Hanukkah it is supposed to be (between 2024 and 2043).

The button can be used to set the time if it is set incorrectly.

During Hanukkah

If you are monitoring the serial output of the arduino, you will see it display what it thinks the menorah is supposed to be showing and see that it is saying the prayers before lighting the candles just in case no one else is there to say them. It is also saying the prayers using an mp3 player module so someone listening could hear it speaking the prayers.

Other nights

If the menorah is being controlled on non-hanukkah nights, it lights up all 8 candles

Setting the time

The inputTime() method can be used to set the real time clock chip's time using the serial connection. Be sure not to send double line endings by setting "No Line Ending" in the Arduino IDE.

Prayer Sound Files

The sound files should be copied to an SD card which is 32gb or less formatted in FAT16 or FAT32. They should be names with 4 digits as the lead of the file name (e.g. 0001.mp3) and placed in a folder named mp3 in the root of the sd card.

Parts List