let's make Explore
(/tag/typeid/) Publish (/about/[Link])
Login (/account/login/) | Sign Up (/account/gopro)
Classes (/classes/) NEW!
Featured: share (/tag/typeid/categorycraft/channelleather/)
what you make Leather (/tag/typeid/categorycraft/channelleather/)
(/)
(/tag/typeid/categoryoutside/channelcamping/) Camping (/tag/typeid/categoryoutside/channelcamping/) (/id/intel/) Intel IoT (/id/intel/)
(/id/Fusion/) Fusion 360 (/id/Fusion/)
About This Instructable
License:
(/file/FT7F2NKI9JR4K64/)
8 32,141 views
187 favorites
This Instructable will show you how to make a stop watch out of an Arduino.
Conor M
(/member/Conor+M/)
Follow 38
(/member/Conor+M/)
Bio: If it moves and it isn't supposed to
move, Duct Tape it. If it doesn't move and
its supposed to move, WD40 it ... More »
(/member/Conor%20M/)
More by Conor M:
Step 1: What You Will Need
(/id/ArduinoWeb
Server1/)
(/id/PhosphorousPowder/)
(/file/FDOIE43I9JR4JIC/) (/id/Arduino
You Will Need Stopwatch/)
1x Arduino Uno [Link]
Tags: Arduino (/howto/Arduino/)
1x LCD Keypad Shield [Link]
Stopwatch (/howto/Stopwatch/)
BacklightArduino/dp/B00OPO2W6M/ref=sr_1_3?
ie=UTF8&qid=1431366607&sr=83&keywords=lcd+keypad+shield
1x USB A B Connector Cable [Link]
Related
Simple Arduino Stopwatch
(/id/ArduinoStopwatch1/)
by Electrify
(/member/Electrify/)
(/id/Arduino
Easy Arduino Stopwatch
Get Free 10pcs Prototype PCB (/id/SimpleArduino
Stopwatch/)
Free prototype PCB by ugur23 (/member/ugur23/)
—24 days shipping, (/id/Simple
Register now! Stopwatch with Lap Time
Counter (/id/StopwatchLap
$10 coupon TimeWithArduinoNano
andMaxi7219/)
(/id/Stopwatchby lagsilva (/member/lagsilva/)
Arduino Timer (/id/Arduino
Timer/)
Step 2: Slot The LCD Display Onto The Arduino by Bhanu Kishan
(/member/Bhanu+Kishan/)
(/id/Arduino
Lap Stopwatch with
ATmega328 Microcontroller
(/id/LapStopwatchwith
ATmega328Microcontroller/)
(/id/Lap by bgyroscope
(/file/FEM4F67I9JR4JIF/)
This step is very simple just slot the LCD display onto the Arduino.
Step 3: Connect and Install The Program
(/file/FNODMPUI9JR4JIM/)
Just connect your Arduino to The Computer and install the program.
Update Please use the Modified Stopwatch Program.
Arduino Stopwatch by Conor M (/member/Conor+M/)
Download h (/id/ArduinoStopwatch/) 4 Steps . Collection I Made it! Favorite Share
[Link] (/files/orig/F2X/P69E/I9JR4NQW/[Link])
Modified_Stopwatch.ino (/files/orig/F4J/MWBO/I9L6KVKT/[Link])
Step 4: Run Your Stopwatch
p
4
5
?
(/file/FDQ17BAI9JR4KAS/)
Now just run your stopwatch.
Arduino Stopwatch by Conor M (/member/Conor+M/)
Download h (/id/ArduinoStopwatch/) 4 Steps . Collection I Made it! Favorite Share
We have a be nice comment policy.
Please be positive and constructive. w I Made it! Add Images Post Comment
amans149 (/member/amans149) 7 days ago Reply
I want a coding I want to connect ir sensor to micro servo so that if something
pass from front of ir sensor servo rotates at a 90 degree angle and returns to its
initial position. I have a ARDUINO UNO for the purpose.... Can anybody do
coding for this..PLZ PLZ PLZ THANK YOU... HOPE U REPLY...
please reply here [Link]
forconnectservowithirsensortoardiuino
X Conor M (/member/Conor M) (author) . amans149 (/member/amans149) Reply
8
7 days ago
The code is there for you to use
X Conor M (/member/Conor M) (author) . amans149 (/member/amans149) Reply
8
7 days ago
Check out one of my other instructables, how to make an
arduino web server, it uses a servo, hope it helps
☺
SawanS2 (/member/SawanS2) 21 days ago Reply
For best quality robotics products try this link: [Link]
([Link]
contact: 9599594524
[Link]
10ﻣﺣﻣﻭﺩﻉ (/member/10)ﻣﺣﻣﻭﺩﻉ a month ago Reply
nice
X R Jordan Kreindler (/member/R Jordan Kreindler) 2 months ago Reply
8
Outstanding. I am using it and am happy to say it works without problem.
Lintang_Wisesa (/member/Lintang_Wisesa) made it! 5 months ago Reply
Great! here's mine: [Link]
list=PLUf1E7DXqsCvVQ56yFzpO1OO22iZPvi5
([Link]
list=PLUf1E7DXqsCvVQ56yFzpO1OO22iZPvi5)
Arduino Stopwatch by Conor M (/member/Conor+M/)
Download h (/id/ArduinoStopwatch/) 4 Steps . Collection I Made it! Favorite Share
([Link]
musi mumu (/member/musi mumu) 6 months ago Reply
can somebody give me a version for measuring and displaying
seconds,miliseconds and microseconds all on 3 digits each . If yes thanks in
advance and contact me at mmedocean@[Link]
vianch_tog (/member/vianch_tog) 7 months ago Reply
works
Avangura (/member/Avangura) 9 months ago Reply
on the line elapsed = finished start I am getting an error 'start' was not
declared in this scope.
Any ideas?
X Conor M (/member/Conor M) (author) . Avangura (/member/Avangura) Reply
8
7 months ago
is your software up to date?
HectorR28 (/member/HectorR28) 8 months ago Reply
can i have the schematic diagram...
X Conor M (/member/Conor M) (author) . HectorR28 (/member/HectorR28) Reply
8
7 months ago
sorry I don't have a schematic
Avangura (/member/Avangura) 9 months ago Reply
OK got it working and it is great! Can you instruct me on how I can replace the
SELECT button with an external switch for an experiment I am working on?
9 months ago Reply
Riscyg (/member/Riscyg) made it!
Very nice, works as it says. Thanks :)
Arduino Stopwatch by Conor M (/member/Conor+M/)
Download h (/id/ArduinoStopwatch/) 4 Steps . Collection I Made it! Favorite Share
([Link]
spacetoon34 (/member/spacetoon34) a year ago Reply
Brilliant
I have tried to gather all my collection of websites and youtube channels and
videos in one place. There are many things also to introduce to you in an
elegant way so I established this site : [Link]
([Link]
Regards,
[Link] ([Link]
Ofibro (/member/Ofibro) . spacetoon34 (/member/spacetoon34) Reply
9 months ago
Wish I could see it!
it says data base error and then a blank page with only
"Error establishing a database connection"
Riscyg (/member/Riscyg) 9 months ago Reply
Very simple I will give this s go this weekend, thanks :)
ankur sharma (/member/ankur sharma) 9 months ago Reply
sir , which pin of display is connected to which pin of arduino
X Conor M (/member/Conor M) (author) . ankur sharma (/member/ankur sharma)
8
9 months ago Reply
I don't know but I got the module from [Link]
ankur sharma (/member/ankur sharma) 9 months ago Reply
sir , which pin of display is connected to which pin of arduino
XanderS1 (/member/XanderS1) 11 months ago Reply
awesome project
X Conor M (/member/Conor M) (author) . amolhshah (/member/amolhshah) Reply
8
a year ago
Thanks for trying it!
prny (/member/prny) a year ago Reply
Thanks Great tutorial!! check out this arduino browser
Arduino Stopwatch
([Link]
by Conor M (/member/Conor+M/)
Download h (/id/ArduinoStopwatch/) 4 Steps . Collection I Made it! Favorite Share
| Machine (/member/Machine) a year ago Reply
Very tidy Arduino project.
X Conor M (/member/Conor M) (author) a year ago Reply
8
I have modified Elac's modified program please update your program to this
one if you are using it.
Thanks
X Conor M (/member/Conor M) (author) a year ago Reply
8
just uploaded it it is very good
Thx
X Conor M (/member/Conor M) (author) a year ago Reply
8
I will upload this to my arduino
Thx
Elac. (/member/Elac.) a year ago Reply
Very cool idea and a great starting point, thanks!!!
I did a bit of rewrite to make it more accurate and display the time as it
progresses plus other tweaks :
/*
Standalone Arduino StopWatch
By Conor M 11/05/15
Modified by Elac 12/05/15
*/
// call the necessary libraries
#include <SPI.h>
#include <LiquidCrystal.h>
// these are the pins used on the shield for this sketch
LiquidCrystal lcd(8, 13, 9, 4, 5, 6, 7);
// variables used on more than 1 function need to be declared here
unsigned long start, finished, elapsed;
boolean r = false;
// Variables for button debounce time
long lastButtonPressTime = 0; // the last time the button was pressed
long debounceDelay = 50; // the debounce time; keep this as low as possible
void setup()
{
[Link](16, 2); // inicialize the lcd (16 chars, 2 lines)
// a little introduction :)
[Link](4, 0); // set the cursor to first character on line 1 NOT needed (it
Arduino Stopwatch by Conor M (/member/Conor+M/)
sets automatically on [Link]()
Download h (/id/ArduinoStopwatch/) 4 Steps .
[Link]("Arduino"); Collection I Made it! Favorite Share
[Link](3, 1); // set the cursor to 4th character on line 2
[Link]("StopWatch");
delay(2000); // wait 2 seconds
[Link](); // clear the display
[Link]("Press select for");
[Link](2, 1); // set the cursor to 3rd character on line 2
[Link]("Start & Stop");
}
void loop()
{
CheckStartStop();
DisplayResult();
}
void CheckStartStop()
{
int x = analogRead (0); // assign 'x' to the Arduino's AnalogueInputs (Shield's
buttons)
if (x < 800 && x > 600 ) // if the button is SELECT
{
if ((millis() lastButtonPressTime) > debounceDelay)
{
if (r == false)
{
[Link]();
[Link](2, 0); // needed
[Link]("Elapsed Time");
start = millis(); // saves start time to calculate the elapsed time
}
else if (r == true)
{
[Link](2, 0); // needed
[Link](" Final Time ");
}
r = !r;
}
lastButtonPressTime = millis();
}
}
void DisplayResult()
{
if (r == true)
{
finished = millis(); // saves stop time to calculate the elapsed time
// declare variables
float h, m, s, ms;
unsigned long over;
// MATH time!!!
elapsed = finished start;
h = int(elapsed / 3600000);
over = elapsed % 3600000;
m = int(over / 60000);
over = over % 60000;
Arduino Stopwatch
s = int(over / 1000); by Conor M (/member/Conor+M/)
ms = over % 1000;
Download h (/id/ArduinoStopwatch/) 4 Steps .
// display the results Collection I Made it! Favorite Share
[Link](0, 1);
[Link](h, 0); // display variable 'h' the 0 after it is the number of algorithms
after a comma (ex: [Link](h, 2); would print 0,00
[Link]("h "); // and the letter 'h' after it
[Link](m, 0);
[Link]("m ");
[Link](s, 0);
[Link]("s ");
if (h < 10)
{
[Link](ms, 0);
[Link]("ms ");
}
}
}
X honey181 (/member/honey181) a year ago Reply
8
Quite nice and easy! :)
X Conor M (/member/Conor M) (author) . honey181 (/member/honey181) Reply
8
a year ago
Thanks
X Conor M (/member/Conor M) (author) a year ago Reply
8
Thanks
X seamster (/member/seamster) a year ago Reply
|
8 Nice, great presentation. Thank you!
FEATURED CHANNELS
Woodworking Paper Kitchen Hacks Puzzles Space Ice Cream Homesteading 3D Printing Sewing
(/tag/type (/tag/type (/tag/type (/tag/type (/tag/type (/tag/type (/tag/type (/tag/type (/tag/type
id/category id/category id/keyword id/category id/keyword id/keyword id/category id/category id/category
workshop/channelcraft/channel kitchen%20hacks/?play/channel astronomy/? ice%20cream/? home/channel technology/channel
craft/channel
woodworking/) paper/) sort=FAVORITES) puzzles/) sort=FAVORITES)sort=FAVORITES)homesteading/) 3DPrinting/) sewing/)
Newsletter
Join 2 million + to receive instant
DIY inspiration in your inbox.
enter email I'm in!
Mobile
Arduino Stopwatch by Conor M (/member/Conor+M/)
Download our apps!
Android » ([Link]
Download h (/id/ArduinoStopwatch/) 4 Steps . Collection I Made it! Favorite Share
iOS » ([Link]
Windows » ([Link]
About Us Find Us
Who We Are (/about/) Facebook ([Link]
Advertise (/advertise/) Youtube ([Link]
Contact (/about/[Link]) Twitter ([Link]
Jobs (/community/PositionsavailableatInstructables/)
Pinterest ([Link]
Help (/id/howtowriteagreatinstructable/)
Google+ ([Link]
Resources
For Teachers (/teachers/)
Artists in Residence (/air)
Gift Premium Account (/account/give?sourcea=footer)
Forums (/community/)
Answers (/tag/typequestion/?sort=RECENT)
Sitemap (/sitemap/)
Terms of Service ([Link] |
Privacy Statement ([Link] |
Legal Notices & Trademarks ([Link] | Mobile Site ([Link]
([Link]
© 2016 Autodesk, Inc.