Word Clock - Customisable And Easy To Build

Seen an interesting project that was uploaded to Electromaker? Discuss it here.
Posts: 1
Joined: Wed Aug 15, 2018 6:11 pm

Re: Word Clock - Customisable And Easy To Build

Post »

My suggestion would be adding "Alarm feature" for the clock. Once the time matches LED will started blinking with beep sound.

Posts: 12
Joined: Thu Feb 01, 2018 5:55 pm

Re: Word Clock - Customisable And Easy To Build

Post »

Yes, that's the idea of when we could light the 'minute' word to improve the clock - do you think you can write the code to allow it to do this correctly?

Posts: 12
Joined: Thu Feb 01, 2018 5:55 pm

Re: Word Clock - Customisable And Easy To Build

Post »

That's cool. We could certainly add a buzzer to a couple of the available pins on the Arduino nano. Would you enter the alarm time in the code before uploading or do you think you could programme it so that if we added a couple of buttons on the back you could set the alarm on the device itself?

Posts: 6
Joined: Tue Feb 20, 2018 5:00 pm

Re: Word Clock - Customisable And Easy To Build

Post »

Hi,

I have made an update to notify whether it's a day or night. The Color of the Word changes with respective to AM and PM

Link : https://github.com/Rahul24-06/Word-Cloc ... _Clock.ino

Posts: 2
Joined: Mon Jul 02, 2018 2:34 pm

Re: Word Clock - Customisable And Easy To Build

Post »

I noticed that on line 103 - 104 you have

//write 'it is' everytime:
ledMatrix[0][0] = 1;
ledMatrix[0][1] = 1;
ledMatrix[0][0] = 1;

It looks like you possibly duplicated 'ledMatrix[0][0] = 1;'

Posts: 6
Joined: Tue Feb 20, 2018 5:00 pm

Re: Word Clock - Customisable And Easy To Build

Post »

Hey jolley, thanks for your feedback. the code has been corrected.

Posts: 10
Joined: Wed Jan 24, 2018 3:45 pm

Re: Word Clock - Customisable And Easy To Build

Post »

I'll give it a try. It's hard to test code without the physical hardware to see if any bugs are present.

Posts: 10
Joined: Wed Jan 24, 2018 3:45 pm

Re: Word Clock - Customisable And Easy To Build

Post »

Programmable. Two potentiometers (with inbuilt on/off switches) can be used. One pot for Hours, the other Pot for Minutes. When the Pot is switched on, you can change the alarm time depending. When the Pot is switched off, it displays the current time.

A buzzer would be perfect for a simple alarm. But there is also scope for having a voice/spoken word alarm. You can use an SD card library + Playback library for PCM/WAV files to read audio clips from the SD Card. The audio signal can be sent via one of the analog pins to an external low power audio amp(E.g: LM386).

Posts: 10
Joined: Wed Jan 24, 2018 3:45 pm

Re: Word Clock - Customisable And Easy To Build

Post »

Lines 143 & 159: I think you may have added an extra ledMatrix[2][1] = 1;

143: ledMatrix[2][1] = 1; //Should this be [2][2] ?
144: Serial.print("mtwenty five ");

159: ledMatrix[2][1] = 1;
160: Serial.print("mtwenty five ");

Posts: 2
Joined: Mon Jul 02, 2018 2:34 pm

Re: Word Clock - Customisable And Easy To Build

Post »

Great! Does that count for the code improvement submission?
BTW, this project is really awesome. A friend was showing me this type of device at work a few days ago. I'll show him your tutorial tomorrow!