Instructables
Picture of ALL-IN-ONE CLOCK
P1160166.JPG
Captura121212.PNG
For this proyect I used Picaxe microcontrollers.
This clock involves all the types of comunication between MCUs i know to use.
It includes: i2c, infrared, paralel, 1 wire serial, and 2 wire serial (data bit-clock).

Step 1: Where does the hour come from???

To begin I used the DS1307 RTC to provide the hour to all the other MCUs. It is pretty esy to use it if you know how to usw i2c communications.

Step 2: Reading the hour

A picaxe chip reads it (via i2c), transforms the data to bin and sends it via an infrared link ( I used a small acrillic bar to prove if it is posible to replace optical fiver with acrilic for short distance      transmissions. And as you can see, it is possible!!)

Step 4: MAX7219 driver

Picture of MAX7219 driver

The max7219 driver does a lot of stuff ( in my opinion) it is resumed here: it recieves the four digits and then send bit by bit to the Max7219 which finaly shows the number

Step 5: Conclusions


The amazing thing is that all this process takes less than 2 secs.

I made the digits by myself, I know that they are not the best displays but I really tried to make an effort to make them as pretty as I could

sorry for not uploading the *.bas files, that's because I have them in my programming computer (the one with the DB9 port :) )

thank you for looking at my proyect

If you found any spelling or grammar mistake, I'm sorry I'm from Mexico and I'm still learnig Eanglish
 
Remove these adsRemove these ads by Signing Up
franspaco (author) 2 years ago
EDIT: I've added an schematic of the circuit, notice that is a little bit different from the original circuit because it is a little bit better and less expensive. The main difference is the removal of a Picaxe 08m that was working as the MAX7219 driver, however it is possible to link the 20x2 that receives the IR signal to the MAX7219. Other changes include the 40x1 in the original circuit, I replaced it with a 20x2 and the 18m2 that receives the IR signal was replaced by another 20x2. Here is a bigger image: http://imageshack.us/f/9/captura1212.png/
nkwenti2 years ago
please someone help share this diagram with me so that i can use it for my project.....my emal address is (dnkwenti@gmail.com)
thanks and i hope i am welcome here.
cc672 years ago
Thanks a lot... This project will really help me because most of the clock projects are from arduino which is rare in our country.
nkwenti cc672 years ago
please someone help share this diagram with me so that i can use it for my project.....my emal address is (dnkwenti@gmail.com)
thanks and i hope i am welcome here.
nkwenti2 years ago
please someone help share this diagram with me so that i can use it for my project.....my emal address is (dnkwenti@gmail.com)
thanks and i hope i am welcome here.
nkwenti2 years ago
please someone help share this diagram with me so that i can use it for my project.....my emal address is (dnkwenti@gmail.com)
thanks and i hope i am welcome here.
nkwenti2 years ago
please someone help share this diagram with me so that i can use it for my project.....my emal address is (dnkwenti@gmail.com)
thanks and i hope i am welcome here.
nkwenti2 years ago
Please sir.....i really need the schematic diagram of this clock for a school projects, please i have tried to download the schematic but can't go well with it.
please i am begging you for the diagram, my email address is (dnkwenti@gmail.com)
thanks and i will be waiting to read from you again.
franspaco (author) 3 years ago
Thank you, I don't know the exact cost, because I used many spare parts I had in my component box, but I can give you an aprox. $70-$60 USD I used sparkfun prices to calculate it, it was more expensive for me because I use the mexican currency (pesos) (1 dollar= 12.5 pesos), so I think it will be cheaper for you.

This number varies because I'm not sure of the price of the acrilic bar (I think it's very cheap), wires and boards ( if you add the 3 boards price it may reach $80)

Add 3-4 days of work, (the led display assembly takes a lot of time) and you will have your own all-in-one clock!
Phil B3 years ago
Your English is very, very good. Do not worry about it. Your English is better than that of people whose English has been corrupted by a lot of texting on their cell phones.

This is a nice project. Do you plan to build a case for it? What would you say the approximate cost is to build it?

Thank you for a nice Instructable.