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
×1
Mfr 25fbf52 221r sml
Resistor 221 ohm
×1
Omron b3f 1000 image 75px
Tactile Button Switch (6mm) Single
×1
12002 04
Breadboard (generic)
×1
11026 02
Jumper wires (generic)
×1
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 ;)

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

Mushroom  cultivation
Easy
  • 210
  • 7

Control the parameters of temperature, humidity, lighting and check the access to the crop to automate the process.

Bluetooth Controlled Car
Easy
  • 4
  • 1

Full instructions

It's a basic 4 wheel drive car which can be controlled by android phones.

Ambient 2 click board on Arduino101
Easy
  • 6
  • 1

Protip

Short article about testing Mikroelektronika Ambient 2 click board on the Arduino 101 microcontroler

Happy birthday melody on Arduino Nano with 3-way polyphony
Easy
  • 1,288
  • 20

Full instructions

Playing polyphony Happy birthday theme on Arduino Nano with three buzzers on a single mini breadboard.

Pet Feeder
Easy
  • 98
  • 2

Protip

Pet feeder is for people who live with pet together and help them to feed when they are not at home.

ProjectsCommunitiesContestsLiveJobsBetaFree StoreBlogAdd projectSign up / Login
Respect project