I have put together another chiming clock, this time using the more accurate DS3231 RTC which also records temperature. The processor i used here is the 3v Arduino Pro Mini because they have a low power consumption and other than polling the RTC for the time and asking the DFPlayer to play on the hour, there's not much going on.
The Arduino Pro Mini only has the one physical serial port and doesn't seem to work with the softwareserial library so it is important to disconnect the DFPlayer serial leads during flashing.
You'll need to use an FTDI to program the Pro Mini as it does not have onboard usb connection. I found it easy to program the Pro Mini just by poking the FTDI in the holes.. no special connectors required.
I have the time information as well as the temperature displayed obtained from the DS3231 RTC which is connected to the I2C pins on the top of the Pro Mini also using these pins is the oled screen.
I have used a 5v power supply which is connected to the DFPlayer as i think at full volume the 3v supply from the Pro Mini would be insufficient.
The DFPlayer Mini files are contained on the included zip file. Format a Micro SD Card with Fat32 and put the extracted files on it first one first last one last.
It contains the Big Ben chimes and nightly cuckoo sound files.
The DS3231 library i have used can be found here DS3231 - Rinky-Dink Electronics (rinkydinkelectronics.com)
Comments
Please log in or sign up to comment.