But after about 2 years I got all the things I didn't have back then and I was ready to make my first digital clock, and with all the LEDs I had left over from my 8x8x8 LED cube project I decided to make my own custom LED clock.
So join me and build your own custom LED digital clock powered by our favorite little micro-controller the Arduino.
Remove these ads by
Signing UpStep 1: What Do We Need?
1) Soldering Iron.
2) Some solder wire.
3) Small needle nose plier
4) Small cuter
5) Wire striper
I made my clock with a stand alone arduino without the original board because I wanted to make a finished project.
Now here are the parts you will need to make the clock:
1) 130 LEDs.
2) 15 2N4401 transistors.
3) 20 1K resistors.
4) about 10 resistors for the current protection(more detail in step 2). I used 150Ohms.
5) DS1307 real time clock IC.
6) one coin cell battery holder.
7) 4 Tact switches.
8) Prefboard (you would like to get along one for the display about 8inch*3inch)
9) ATMega328 with arduino bootloader.
10) A programmer for programing the chip.
11) 7805 voltage regulator.
12) 16MHz crystal.
13) two 22pF caps.
14) 28 pin IC socket for the ATMega328.
15)10 uF cap.
16)0.1 uF cap.
17) 4017 counter
18) 32.768KHz crystal










































Visit Our Store »
Go Pro Today »




Anyone having a similar problem? any suggestions on how this could be fixed? I've tried disconnecting the reset pin from the circuit, but that didn't make any difference.
am i right?
what kind of power supply to use to connect to 7805
vcc=5v
vled=3.2v
llled=0.02a
R=(5-3.2)/(0.02*3)=30ohm
i will use 43ohm resistor
Calcs look right to me, however, a 33Ohm resister would work also. I like this calculator,
http://www.hebeiltd.com.cn/?p=zz.led.resistor.calculator#parallel
In front of the "if" needs two slashes, like so, pinmode = SET.read();//If it was pressed you will exit the while loop
HOpe this helps!!
I set time of RTC as per real clock but when real clock complete one hour RTC
get let at least 4 minute.
can u solve this issue
In file included from sketch_jul30a.cpp:3:
D:\arduino-1.0.1-windows\arduino-1.0.1-windows\arduino-1.0.1\libraries\DS1307/DS1307.h:47: error: 'boolean' has not been declared
D:\arduino-1.0.1-windows\arduino-1.0.1-windows\arduino-1.0.1\libraries\DS1307/DS1307.h:48: error: 'boolean' has not been declared
D:\arduino-1.0.1-windows\arduino-1.0.1-windows\arduino-1.0.1\libraries\DS1307/DS1307.h:55: error: 'byte' does not name a type
i don't know how getrid off this problem
can u help me
can u send me pdf at mubin04sheikh@gmail.com
In file included from sketch_jul27a.cpp:1:
C:\Users\Leigh\Documents\arduino-1.0.1\libraries\DS1307/DS1307.h:47: error: 'boolean' has not been declared
C:\Users\Leigh\Documents\arduino-1.0.1\libraries\DS1307/DS1307.h:48: error: 'boolean' has not been declared
C:\Users\Leigh\Documents\arduino-1.0.1\libraries\DS1307/DS1307.h:55: error: 'byte' does not name a type
sketch_jul27a.cpp: In function 'void set_time()':
sketch_jul27a:258: error: 'If' was not declared in this scope
sketch_jul27a:258: error: 'it' was not declared in this scope
sketch_jul27a:258: error: expected `;' before 'was'
Can anyone steer me in the right direction?
Thanks,
It highlights this line,
pinmode = SET.read();If it was pressed you will exit the while loop
Thanks,
Thanks for the suggestion. I tried it, and this is what I get,
sketch_jul30a.cpp: In function 'void set_time()':
sketch_jul30a:248: error: 'If' was not declared in this scope
sketch_jul30a:248: error: expected `;' before 'it'
Any thoughts?
Thanks,
// If it was pressed you will exit the while loop
like that statement
Thanks so much!! Was becoming a bit discouraged.
Have a great day.
www.alsatel06@yahoo.fr
plz
The script you added to upload to the atmega328 does not work with Arduino 1.0.
Can you make an updated version of the code.
There's an outdated standard library in his libraries called WProgram.h and in the original program.
All you do is edit the name to Arduino.h which is the name of the new standard library, but to do this you need an editor program like microsoft's visual studio to open, edit and save the new libraries. Once you've done that it should compile with no issues in 1.0.
Thanks
zahidhasan19@gmail.com
dave_steven1102@gmail.com
thanks!
Thanks Syst3mX.
please respond soon
Thanx
ph-heema@hotmail.com
sorry but just one more thing how many days it took from you to make it ?
membrane_owner@yahoo.com