alarm and sound
Hello.
I would like to do the following but since I don't have the necessary skills I ask you. If possible, I prefer to control everything with the keys.
I make a list of the functions that I would like to implement:
ALARM SECTION
- wake up in the morning with a piece of music chosen at random from a list of music files in memory (each time a different music file is chosen. I had thought of a clock radio but I think it is better this way).
- daily or weekly alarm programming (i.e. the right to choose on which days the alarm should sound).
- automatic update of summer time - winter time
- buffer battery in case of power blackout (in this case I think the alarm with buzzer is better to consume little energy and not risk resetting the buffer battery)
- alarm disabling
AUDIO SECTION
- audio player with output that goes to the external I2s DAC.
four keys for playback, but I specify that each key corresponds to a single e
SINGLE music file. so in all 4 music files, of course they are different from each other.
- each key has the infinite loop function (when the song ends it restarts automatically).
- when the alarm time comes, the previous audio playback must be deactivated to allow the alarm to be activated.
- shutdown button.
I have never programmed and in general I have no programming knowledge but I know the principles of electronics.
to get the audio section I thought of using the ADkey mode as it is adopted by some play Mp3 / wav boards that are on the market. however I don't know if it can also be done with STM board.
if this were possible, I would only have the programming for the alarm clock section.
I have already found a piece of the program, the one for daylight saving time
https://www.instructables.com/The-Arduino-and-Daylight-Saving-Time-Europe/
it's for arduino and i don't know if it's good for STM too. you will tell me this.
bye thank you
