How to Make A Digital Clock Using Arduino and LCD
ฝัง
- เผยแพร่เมื่อ 19 พ.ย. 2020
- Sponsored by PCBGOGO: Electronic Project Engineer's Best Partner! www.pcbgogo.com
Offer low cost with high-quality PCB prototype and PCB assembly service.
$5 for 10 PCBs; PCB assembly from $30
-----------------------------------------------------------------------------------------------------------
Hi friends in this video i have made Arduino based ampere watt and ampere hour I hope you will enjoy this video Gerber files and circuit diagram is given below please like share and subscribe
Components:
1x ARDUINO NANO s.click.aliexpress.com/e/_dYi...
1x 16X2 LCD s.click.aliexpress.com/e/_dTN...
1X 2K 2RESISTOR s.click.aliexpress.com/e/_dW4...
1x PUSH BUTTON s.click.aliexpress.com/e/_dVr...
1X 3 PIN TERMINAL BLOCK s.click.aliexpress.com/e/_dTU...
1X PERF BOARD s.click.aliexpress.com/e/_dUB...
JUMPER WIRES s.click.aliexpress.com/e/_dVh...
Circuit Diagram:
drive.google.com/file/d/1uGWo...
drive.google.com/file/d/1bS10...
Gerber Files:
drive.google.com/file/d/1X2Wo...
code:
Arduino file drive.google.com/file/d/14c2e...
zip file drive.google.com/file/d/18k1t...
text file drive.google.com/file/d/1OoVi...
Useful Tools
electronic tool kit s.click.aliexpress.com/e/_dXr...
Hardware tool kit s.click.aliexpress.com/e/_dSI...
Desktop oscilloscope s.click.aliexpress.com/e/_d8d...
hand held oscilloscope s.click.aliexpress.com/e/_dXj...
cordless drill + screw driver s.click.aliexpress.com/e/_d9n...
power supply s.click.aliexpress.com/e/_dVM...
soldering station s.click.aliexpress.com/e/_dXU...
Drill press s.click.aliexpress.com/e/_d6G...
3d printer www.aliexpress.com/item/33009...
CNC machine s.click.aliexpress.com/e/_d7b...
My Channels:
KIYANI' KI LAB / @kiyanikilab
KIYANI TECH / @kiyanitech
Instagram: / kiyani676
fecebook: / kiyanis-lab-1520512291...
Previous videos:
• how to make mini cnc p...
• Let's Answer Your Ques...
• LET'S REPAIR IT | BENQ... - วิทยาศาสตร์และเทคโนโลยี
this is literally like the best video on how to make a digital clock out there
Thank you Kiyani's Lab! The firmware is correct, the clock was assembled on the Arduino Uno r3, everything works. Good luck to you!
By changing some values in the code, a 24-hour display is obtained with a delay of 1 second per 24 hours. By replacing the 2K2 resistor with a 10K trimmer potentiometer, the input voltage can be 5V.
whoaa this is so cool!!
THIS IS AVERY NICE PROJECT
Found this wonderful code here for the big display, and I implemented it with my Arduino Uno. I solved its considerable drift in time by trimming the 500 ms delay near the end of the code. Tried several values until I got to 493ms instead of 500ms. Now, the clock loses only 1 second every 24 hours, not bad for a setup without an RTC module. Of course, I have to reset it to the current time every time I turn it on.
Now, if somebody can please point me to code where this could be used with at least an alarm, or with the other features that come standard in a clock implementation such as a calendar, temperature and humidity sensor, etc. Thanks for posting this.
One more thing, after 11:59 PM the clock displays 00:00 AM. In my part of the world, it should display 12:00 AM. I am able to display the desired digits by changing two occurrences of 11 to 12, but I don't know how to code so that AM should change to PM and PM to AM after 11:59. Any suggestions on how to do that?
you will find this section in the code if(h>11){ h=0; a=!a; } change it with this if(h>12){ h=1; a=!a; }
@@KiyanisLab Thanks
@@wowo1081 can you please share code
Hey bro i do the proyect but you dont say if the 5v port and the GND need a Resistence of 2.2 k Oms
saya menunngu yang pakai RTC ,
SANGAT BAGUS saya suka
@Kiyani's Lab how can we make this with i2c module for 16×2 lcd
work perfectly !! Thanks for sharing. Please tell me What software do you use to make the schematic animated ?
Cool
super
Can we make timer relay same like this
good
Could I use a 2k resistor instead of 2.2? Would the code need to be modified in any way for this?
yes
Please solutions btao bro
Muje ek project bnana h jo colg m submit kerna h
Brother i just made the project everything but buttons are not working .one terminal of each button is grounded and other terminal with arduino pin number 8,9,10 please tell me my mistake? ihave to submit my project with in 3 days
can you tell what is that " +VE "
It's very useful project, but you can make RTC module using tm1637 display and Arduino
ok bro
Kab
I built it and it works fine, unfortunately the accuracy is very low, it takes 10 minutes back every 12 hours, how can I sync it?
Can you make a video on this using Arduino Uno?
Can u explain code briefly in your videos please
Which jumper wires we need to use male to male or male to female
for breadboard(project board) and Arduino Uno use male to male
0:48 why are all the reviews same
Make one with i2c backpack
7 segments big digits are not showing correctly. and PM showing correctly. Can please the me the solution for this
Program please?
It doesn't have rtc module .. so the time will reset everytime you disconnect the battery
yes you are right bro soon rtc model will be uploaded
Where can I get the explanation of the code
plz add rtc module
Where can I get code for the same
Bro program compile nhi ho rha h
Cannot be accurate as is. Looking at the code there are two delay(500) statements which are 500ms delays so two of them take 1 second... but the rest of the code takes time as well so the clock will lose time continuously. You either need to reduce those delay(500) to adjust or add a RTC (real time clock) to stay accurate.
can i use arduino mega? pls respond quickly, thanks
Yes, you can
It's time is not accurate. It get slower than 10 minutes with in 12 hour from the actual time. Rectify it Mr Kiyani
Can the arduino nano be changed to arduino uno? i don't know if i need to change the code or not
yes no code change needed
Can i use Arduino Uno instead of Arduino Nano?
Yes you can
How can we add rtc module in this circuit?
soon rtc one will be uploaded
@@KiyanisLab -dear sir i am a big fan or ur kiyani tech & other channel.kindly provide me ur whtsapp no.
@@KiyanisLab how can we make this with i2c module for 16×2 lcd
i see there are 3 push buttons, but you write 1x push button in your description video sir 🙏
oh brother st fu
Nice design but it's off approximately 90 seconds an hour.
Arduino: 1.8.16 (Windows 10), Board: "Arduino Nano, ATmega328P"
Sketch uses 3962 bytes (12%) of program storage space. Maximum is 30720 bytes.
Global variables use 137 bytes (6%) of dynamic memory, leaving 1911 bytes for local variables. Maximum is 2048 bytes.
avrdude: can't open config file "C:\Users\Lenovo\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf": No such file or directory
avrdude: error reading system wide configuration file "C:\Users\Lenovo\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
avrdude: error reading system wide configuration file "C:\Users\Lenovo\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
If i run this with arduino uno? there any problem, I have tried but lcd is no showing anything
no problem ou can usen any arduino lcd britness may be an issue of your circuit use 10k trimpot instead of 2.2k resistor on lcd
Can I add RTC module DS3231
yes you can bro
@@KiyanisLab sir Need any change program.
Please help which Code line change For add RTC module
Hi bro
Can you make a project by AT 09🙏
ok
Where is the program for arduino chip?
check the description bro drive.google.com/file/d/14c2ei8bOFvA3lmlbJEb9hOTo4LnijiKz/view
work with arduino uno
Can u add report on this
ok bro
Bro code is not compiling
time is not synchronised and take late
Can you please explain the code to me !!
soon bro
and alarm options br
Can't we use uno board
we can use it bro
not working
Har ghante per bajar ad
Where source code?😴😴😴😴
in the description bro
@@KiyanisLab do you got for i2c?