Things used in this project

Hardware components:
A000066 iso both
Arduino UNO & Genuino UNO
×1
181 02
Adafruit Standard LCD - 16x2 White on Blue
×1
09939 01
Rotary potentiometer (generic)
10 K rotary potentiometer
×1
Mfr 25frf52 10k sml
Resistor 10k ohm
×2
Mfr 25fbf52 221r sml
Resistor 221 ohm
×1
Omron b3f 1000 image 75px
Tactile Button Switch (6mm) Single
×2
12002 04
Breadboard (generic)
×1
11026 02
Jumper wires (generic)
×30
Meanwell%2012v%20psu 3quarter
OpenBuilds 12V/29A Power Supply
optional
×1
12702 01
SparkFun Solder-able Breadboard - Mini
optional
×1
Software apps and online services:
Autodesk Circuits
Used to draw the circuit
Ide web
Arduino IDE
To upload code to Arduino
Hand tools and fabrication machines:
09507 01
Soldering iron (generic)
In case you are using the perf board

Schematics

Digital Arduino Clock Circuit Diagram
Just follow the circuit and build it.
Screenshot (145) wxzytl8mmh

Code

Digital Arduino Clock CodeC/C++
Copy, Paste the code to Arduino IDE -> Upload to the board -> Try out and then modify the code\

[Copy,Paste,Upload,Modify]
/*
Digital Winding Clock - Arduino Clock for beginners  
No RTC,
Just set it to exact time using the push buttons each time you switch on the clock

Made by Techno (sǝɹoɟ ǝǝןuuɐ)

Feel free to modify
*/

#include <LiquidCrystal.h>

LiquidCrystal
lcd(12,11,5,4,3,2);

int h=12;
int m;
int s;
int flag;
int TIME;

const int hs=8;
const int ms=9;

int state1;
int state2;

void setup()
{
  lcd.begin(16,2);
}
void loop()
{

 lcd.setCursor(0,0);
 s=s+1;
 lcd.print("TIME:");
 lcd.print(h);
 lcd.print(":");
 lcd.print(m);
 lcd.print(":");
 lcd.print(s);

 if(flag<12)lcd.print("AM");
 if(flag==12)lcd.print("PM");
 if(flag>12)lcd.print("PM");
 if(flag==24)flag=0;

 delay(1000);
 lcd.clear();
 if(s==60){
  s=0;
  m=m+1;
 }
 if(m==60)
 {
  m=0;
  h=h+1;
  flag=flag+1;
 }
 if(h==13)
 {
  h=1;
 }
 lcd.setCursor(0,1);

 lcd.print("HAVE A NICE DAY");

 //-------Time
// setting-------//
 state1=digitalRead(hs);

 if(state1==1)
{
  h=h+1;
  flag=flag+1;
  if(flag<12)lcd.print("AM");
  if(flag==12)lcd.print("PM");
  if(flag>12)lcd.print("PM");
  if(flag==24)flag=0;
  if(h==13)h=1;
}
state2=digitalRead(ms);
if(state2==1){
  s=0;
  m=m+1;

}
}
 
 

Credits

Coyysjfnjvasxmc9womc
Techno

JUST A SIMPLE MAKER ;)

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

Intro to Soldering and Desoldering
Easy
  • 759
  • 13

Protip

Connect this to that – and disconnect them again – with breadboards and soldering.

Arduino/Genuino 101 BLE Thermometer With TMP102 and Blynk
Easy
  • 357
  • 7

Full instructions

Here is how to make an Arduino/Genuino 101 Bluetooth Low Energy thermometer with TMP102 and Blynk.

Piezo Tunes
Easy
  • 8
  • 1

Full instructions

In this project, you're going to learn how you can play your own melody with a Piezo speaker, using code generated by Circuito.io

Simple Arduino-based thermometer
Easy
  • 6
  • 1

Full instructions

Cool thermometer using sugru and circuito.io

Modified Automatic Night Light
Easy
  • 197
  • 4

Full instructions

Version 2 of my previous automatic night light for beginners project.

Automatic Night Lamp with LDR
Easy
  • 150
  • 4

Protip

A simple circuit for beginners in electronics (if you're a pro skip this project).

ProjectsCommunitiesContestsLiveFree StoreBlogAdd projectSign up / Login
Respect project