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
SparkFun Pushbutton switch 12mm
×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 123d 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

Custom parts and enclosures

The Real Box Template
template 2
template 3

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 ;)

Contact

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

LEDog Collar
Easy
  • 378
  • 8

Full instructions

The LEDog collar lights up when it gets dark, helping you locate your dog from far away.

A Tone Generator with LCD Display!
Easy
  • 137
  • 3

Full instructions

This is a tone selector with the ability to change the buzzer frequency by a potentiometer and to see the result on a 16x2 display.

Laser Stuff
Easy
  • 394
  • 3

A laser module that makes light patterns.

SECURITY SYSTEM AND ACCESs CONTROL WITH ARDUINO AND RFID
Easy
  • 600
  • 8

Full instructions

To enter passwords and to allow access to a door or to drive an electronic device, now we will use a RFID device

Handheld Infinity Kaleidoscope Group Kit
Easy
  • 2,302
  • 30

Full instructions

Use the orientation sensor in your Arduino 101 to control a cool Petri dish infinity-mirror illusion. This project is great for groups.

I Keep my Cucumber Growing Conditions Moist - Part 2
Easy
  • 92
  • 2

Full instructions

This is the next step with an Ultrasonic HC-SR04 Echo and LCD 1602.

ProjectsCommunitiesTopicsContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login
Feedback