Introduction: Memory Puzzle Alarm Clock
This is an Alarm Puzzle Clock which means there is a little memory game you have to solve to stop alarm ringing!
As a summary, this clock is for who is being snazzy on mornings. It has 3 LEDs which when you press any of the buttons, the alarm will be silenced and 3 LEDs will give you a random pattern and one minute to enter it.
Supplies
- 2 Arduino Pro Mini
- Red, green and blue LEDs
- Red, green and blue buttons
- EC11 Rotary Encoder
- Speaker
- Some cables, stripboard, headers
- 3D printed parts
Tools
- Soldering Iron and solder
- Stripboard
Step 1: How Is It Works?
You need to use rotary encoder (ec11) to adjust and press it's button to settle it.
At the first start, it will wait you to adjust clock's hour and then minute.
When you adjust that, clock will start to work and you will be allowed to adjust alarm. Every time you pressed the encoder's button, you will jump the next section as alarm's hour, minute and difficulty.
Difficulty works as; 4, 7 and 9 LED blinks for you to remember and you will have one minute to enter it again.
If you can't or don't, the pattern will change and the alarm will ring again.
Step 2: Design
It is a mini game basically (and I learned in the process it's called Simon Memory Game) for this reason I want it to looks like a classic game console.
I added f3d and stl files, you can edit or print freely.
Step 3: Circuit and Code
Circuit is not complicated. I powered one Arduino Pro Mini with 9V battery and connected the other with I2C and give it power with VCC pins, used LCD with I2C module. Used 10K ohm resistors on buttons and 330 ohm with LEDs.
I shared the codes on my Github page.
Libraries
PCM (I used PCM because I didn't have any chance to buy an amplifier, you can use an amplifier for more sound. I added the original wav file if you want to use that way.)

Participated in the
Clocks Contest
9 Comments
1 year ago
Sir, if I use ESP 32 Devkit V1 what should be the changes in the programming part?
Can you help me with the code?I want to run the same functionality but using esp 32
Thank you.
1 year ago
Sir ,I liked your idea and wanted to make this type of clock. So sir can I know what ohms of resistor you have used?
And is it possible to use ESP 32 board instead of arduino board?
thank you
Reply 1 year ago
Hey there, sorry for late reply.
I used 1k for buttons and 330ohms for LED's and yes you can use ESP32, and it may be more easier because of the dual core. I used Arduino because I didn't have at ant it was lockdown times.
2 years ago
I love it!!!
Reply 2 years ago
Thanks
2 years ago
Perfect, this is a product which I was looking for years. I'd like to buy it.
Reply 2 years ago
I don't know, will it be in market but you can do it one for yourself :)
2 years ago
Great idea!
Reply 2 years ago
Thank you!