I am in the (slow) process of making myself an alarm clock. This is my first real arduino project and so far i think its going pretty good.
The idea is that the alarm plays a random sound file at a set time, so as not to get used to the sound and sleep through it.
For this i am using an Arduino Uno, Wave Shield, DS1307 RTC and a 2*16 LCD Keypad.
It all works smoothly, the display shows correct time and date, the buttons all work and the alarm functions when i use a sketch i found somewhere(attached in zip).
The Wave Shield also functions fine, when run with the daphc sketch from lady adas Wave Shield guide.
But i am at a loss on how to combine the two…
I tried to simply add the daphc sketch to the clock sketch, to see if i could find a way to call it when the alarm would go of, but ended up running out of memory before i found out if that idea could work.
Any help, tips, tricks, examples or advice would be very appreciated.
Im too far into this to turn around now.
Thanks in advance
alarm.ino (4.77 KB)
analog_buttons.ino (1.84 KB)
dateTime.ino (2.49 KB)