Instructables

Wise Clock 3 - Arduino-based geeky alarm clock

Featured
Wise Clock 3 is an open-source, highly hackable geeky clock that shows a lot more than the time. Its main function is to display user-editable quotations retrieved from an SD card (like those used in photo cameras).

In addition, Wise Clock 3 can show the time in "Pong" mode or "Pacman" mode. It can also display the date, including the day of the week and the temperature.

Another catchy function is to show a personalized message (e.g. "Happy birthday"). Wise Clock 3 can be also used as an alarm clock, as a scoreboard or as a countdown timer. To see the other features, please check out the "User manual", the last step of this instructable.


Updated Sep 5, 2011
Convert Wise Clock 3 to Night and day clock as described here.


The clock is shown in action here:



Some technical details:

- based on ATmega644P microcontroller;
- open source, published, software and hardware;
- user-programmable through a 6-pin FTDI cable (or breakout);
- uses extremely accurate (+/- 2 minutes per year), temperature-compensated, real time clock chip DS3231;
- multi-color (red, green, orange) display with 32x16 LEDs;
- compatible and programmable with the Arduino IDE.

Wise Clock 3 can be purchased as a complete kit, here .
 
Remove these adsRemove these ads by Signing Up
florinc (author) 4 months ago
Hardwired225 months ago
AWESOME!!!!!!! I like clocks that have many different features! Plus, I collect them.
smorad2 years ago
hye.. can u help me with my project. i think i have a problem about my project. currently i'm doing digital alarm clock with 5 time set. but it seem really complicated for the circuit. i need to use many decoder, latch and buffer.i'm grateful if u can help me.. i dont know how to make it simple. before this i'm using Easy68k but now i want to try using PIC. can anyone help about the schematic first.. here is some document that can make u understand what i mean.
florinc (author)  smorad2 years ago
Sorry man, I never used PIC, so I cannot help you.
I would suggest you pick an Arduino-based schematic (for an alarm clock) that is tested and works, then program it to your needs. You will get great help in the arduino.cc forum.
som4dipa2 years ago
120 $ , Yes it's a bit costly.
However what will be the extra cost to ship it to INDIA ?

Somnath
Email: somnathkolkata@hotmail.com
Love this!
rbyrer2 years ago
I just finished putting the clock 3 together. It won't read the sd card. I know you said it should be formatted fat 16. The only format I have to use is fat 32, which I used. First of all, is this a problem, If so how do I get fat 16 formatting.
rbyrer rbyrer2 years ago
OK, I was using a 4GB SD card. I bought a 2GB SD card- formatted it FAT, not FAT32, put the files on it,( http://wiseclock2.googlecode.com/files/WiseClock3_June2011.rar) A total of 40 files and 3 folders- about 507KB. This made no difference. I included this information in case I am doing something wrong and just keep doing the same wrong thing over and over. Help please!
florinc (author)  rbyrer2 years ago
40 files and 3 folders???
You only need to copy 3 files at the root. These 3 files (message.txt, quotes.txt, time.txt) are found in the folder "copyToSDcard" in the zip file you mentioned.
Please re-format the SD card before you copy the 3 files.

rbyrer florinc2 years ago
Yes the other parts of the clock work fine, the clock, pacman etc. I couldn't access the software file you spoke of. My chip has a piece of tape with a 3 written on if that tells you anything
florinc (author)  rbyrer2 years ago
OK, this means that you have the June2011 software release, the one you were looking at.
If it is not an SD related issue (can you read the SD cards on a PC?), I would try to make sure, with a multimeter, that all lines from processor to the SD card are intact.
(Schematic is here: http://timewitharduino.blogspot.com/2011/01/introducing-wise-clock-3.html)
Also, does the voltage regulator output 3V3?
Another very important question: did you place the 4k7 resistors in the right places (R5, R6, R7, as shown in the photos in this instructible)? Take out the processor from the socket and measure their values, making sure they are 4K7.
As I said before, you can email me directly ( s o m e o n e at c i f o dot c o m)
rbyrer florinc2 years ago
I check the resistors and the 3volts to the SD card and they are correct, at least I think they are correct. The pins on the SD card appear to be offset by one unless the first pin on the SD card is called zero. The second pin on the SD goes to a 4.7k to pin 5 on the Atmega , the third pin goes to a 4.7k to pin 6 on the Atmega, the fourth pin goes to gnd, the fifth pin goes to vcc, etc. If the SD card holder was put on wrong that could be the problem. Let me know your thoughts. I tried emailing you at the someone@cifo.com and it didn't work.
florinc (author)  rbyrer2 years ago
The pins on the SD socket are indeed shifted by one, as it should.
So you are saying electrically everything looks good, according to the schematic. Did you check the actual value of the supposed 4K7 resistors (measure their resistance in circuit, should be good enough)?
The email address should work, it's the right one. Also try replacing someone with florin.
Could be a finicky SD card.
rbyrer florinc2 years ago
I did as you ask. Only the 3 folders in "copyToSDcard" . I reformatted the SD card,(FAT), actually 2 different 2GB SD's, just to make sure it wasn't a problem with the SD card. Same results. Will not acknowledge the SD card.
florinc (author)  rbyrer2 years ago
That sucks, no doubt.
Does the clock work in the other modes (pacman, pong)?
Please email me directly (addr in the top right corner of the page timewitharduino.blogspot.com).
florinc (author)  florinc2 years ago
Are you able to upload a compiled sketch to the ATmega644P (as described here http://timewitharduino.blogspot.com/2011/02/uploading-sketches-to-wise-clock-3.html)?

You may have the Dec2011 software release, which requires a different set of files on the SD card (please read this post: http://timewitharduino.blogspot.com/2011/12/wise-clock-3-dec-2011-software-release.html)
florinc (author)  rbyrer2 years ago
yes, FAT32 is the problem, definitely.
To format the SD card with FAT16, you can follow this tutorial:
http://www.ladyada.net/make/waveshield/formatcard.htm
Your SD card should be 2GB or smaller to be formatted FAT16.
I hope this helps.
FlorinC
rbyrer florinc2 years ago
OK, I was using a 4GB SD card. I bought a 2GB SD card- formatted it FAT, not FAT32, put the files on it,( http://wiseclock2.googlecode.com/files/WiseClock3_June2011.rar) A total of 40 files and 3 folders- about 507KB. This made no difference. I included this information in case I am doing something wrong and just keep doing the same wrong thing over and over. Help please!
tromop2 years ago
I can only say: These kits are great. I've made 4 pieces until now (ordered the 3216 board seperatly from Sure) and the're working great.
vinizzo2 years ago
Hi, what about shipping cost to Italy?
Many thanks and best regards
Vincent
florinc (author)  vinizzo2 years ago
Regular shipping to Europe is $20.
Thank you for your interest.
FlorinC
I am a total newbie so please bear with me if I m wrong

some queries :

1. Is ATmega644P controller with Arduino bootloader always already pre- programmed ?


Please can you Help me out with Design and Programming work. [any LINK]

Please !

Email : akshayjadhav@live.com ----If required
florinc (author)  akshayjadhav2 years ago
ATmega644 comes "empty" from the manufacturer. I "burn" the bootloader (used to upload sketches using a serial port, without a specialized ICSP programmer), then I upload the Wise Clock 3 sketch.
Can you please Guide me with that process ,
if you have any sample tutorial or by giving me a LINK to appropriate tutorial on the web.


Would be a Great Help :)

Thank You !
-
akshayjadhav
That looks beautiful.

I see that you are interested in selling kits. I'm sorry but $120 is a very steep price. Have you thought about optimizing the cost a bit?

Ethernet would be a great addition to this project, for automatic time sync, and for weather and stuff like that. Perhaps power it using POE as well
florinc (author)  frank260801152 years ago
Thanks Frank.
Not really interested in selling the kits, honestly. I am just trying to spread the joy.
$120 is actually well below the "industry standards" for pricing. Try to buy the parts individually and I am sure you will pay more. Try ordering the laser-cut plates yourself. And I did not mention the design and programming work I put in.
How/where do you see the cost optimization (genuine question)? Maybe mass-manufactured in China?
Adding Ethernet would make the kit even more expensive. Also, it would tether it to a computer network. And then it would become an expensive internet device with a LED screen.
laser cutting is expensive, have you looked into water jet cutting? Or perhaps simply cutting it by scoring the sheet then snapping it? You won't get the nice rounded corners but people won't notice. Drilling the holes should be easy if you make a jig for a drill press

You can offer the same kit with SMD resistors, 0805 is ridiculously easy to solder, most people just don't realize it. See http://www.youtube.com/watch?v=4xcEG_c0uaM

You should make your own LED matrix module instead of depending on Sure Electronics. It will seem like a heavy investment to make a large batch, but I really think it'll pay off.

Also, you do not need R1, R9, R10, R11, R12, R13, use the ATmega's internal pull-up resistors instead

If you run the ATmega at 8 MHz instead of 16, you can eliminate the resonator from your design (use the internal RC oscillator). Plus you can use 3.3V instead of 5V, meaning you can get rid of R2, R3, R4 R5, R6, R7, which form your voltage dividers to the SD card. I highly doubt anybody is going to actually notice any difference in run-time performance

Also use the ATmega644 instead of the ATmega644P if the P version is more expensive. This might save you a few more pennies.

Perhaps look into capacitive touch technology in order to eliminate all the buttons from the design. Try using QTouch with your design.

The cheapest flash memory chip I found on digikey is about $0.67, while the cheapest card holder was $1.15 , so you can consider changing the type of memory you are using. If you are worried that loading text will be too hard for the user without a card slot, then add V-USB to your design and have them do it directly over USB.

The ethernet idea is not economical, but it'll make it cool, I don't recommend it for the kit though

Once you've optimized your bill-of-materials, try asking Seeed Studio for a quote for turning it into a kit, you'll be surprised with how much cheaper the list can get

Sorry about the rant, I might seem overly critical. I honestly think your clock will sell like water if you priced it under $50 somehow.
bertus52x112 years ago
I will definitely put this one on my "to do" list! Thanks!