Professional Documents
Culture Documents
Arduino Stopwatch - All
Arduino Stopwatch - All
(/tag/typeid/) Publish (/about/create.jsp)
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 http://store.arduino.cc/product/A000066
Tags: Arduino (/howto/Arduino/)
1x LCD Keypad Shield http://www.amazon.co.uk/SODIALKeypadShield
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 http://store.arduino.cc/product/M000006
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
Stopwatch.ino (/files/orig/F2X/P69E/I9JR4NQW/F2XP69EI9JR4NQW.ino)
Modified_Stopwatch.ino (/files/orig/F4J/MWBO/I9L6KVKT/F4JMWBOI9L6KVKT.ino)
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
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 http://arduino.stackexchange.com/questions/28666/coding
forconnectservowithirsensortoardiuino
For best quality robotics products try this link: www.REES52.com
(http://www.REES52.com)
contact: 9599594524
www.rees52.com
nice
Great! here's mine: https://youtu.be/av8g8N9Z5RU?
list=PLUf1E7DXqsCvVQ56yFzpO1OO22iZPvi5
(https://youtu.be/av8g8N9Z5RU?
list=PLUf1E7DXqsCvVQ56yFzpO1OO22iZPvi5)
Arduino Stopwatch by Conor M (/member/Conor+M/)
Download h (/id/ArduinoStopwatch/) 4 Steps . Collection I Made it! Favorite Share
(https://cdn.instructables.com/F3T/Q13F/IMM971DL/F3TQ13FIMM971DL.LARGE.jpg)
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@gmail.com
works
on the line elapsed = finished start I am getting an error 'start' was not
declared in this scope.
Any ideas?
can i have the schematic diagram...
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
(https://cdn.instructables.com/FUQ/6LK2/II9929JE/FUQ6LK2II9929JE.LARGE.jpg)
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 : www.speakelectronics.com
(http://www.speakelectronics.com/) and I hope you like it.
Regards,
www.speakelectronics.com (http://www.speakelectronics.com/)
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 :)
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 banggood.com
sir , which pin of display is connected to which pin of arduino
awesome project
Thanks Great tutorial!! check out this arduino browser
Arduino Stopwatch
(https://www.youtube.com/watch?v=hDbhm5zPI)
by Conor M (/member/Conor+M/)
Very tidy Arduino project.
Thx
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()
{
lcd.begin(16, 2); // inicialize the lcd (16 chars, 2 lines)
// a little introduction :)
lcd.setCursor(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 lcd.begin()
Download h (/id/ArduinoStopwatch/) 4 Steps .
lcd.print("Arduino"); Collection I Made it! Favorite Share
lcd.setCursor(3, 1); // set the cursor to 4th character on line 2
lcd.print("StopWatch");
delay(2000); // wait 2 seconds
lcd.clear(); // clear the display
lcd.print("Press select for");
lcd.setCursor(2, 1); // set the cursor to 3rd character on line 2
lcd.print("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)
{
lcd.clear();
lcd.setCursor(2, 0); // needed
lcd.print("Elapsed Time");
start = millis(); // saves start time to calculate the elapsed time
}
else if (r == true)
{
lcd.setCursor(2, 0); // needed
lcd.print(" 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
lcd.setCursor(0, 1);
lcd.print(h, 0); // display variable 'h' the 0 after it is the number of algorithms
after a comma (ex: lcd.print(h, 2); would print 0,00
lcd.print("h "); // and the letter 'h' after it
lcd.print(m, 0);
lcd.print("m ");
lcd.print(s, 0);
lcd.print("s ");
if (h < 10)
{
lcd.print(ms, 0);
lcd.print("ms ");
}
}
}
FEATURED CHANNELS
enter email I'm in!
Mobile
Arduino Stopwatch by Conor M (/member/Conor+M/)
Download our apps!
Android » (https://play.google.com/store/apps/details?id=com.adsk.instructables)
Download h (/id/ArduinoStopwatch/) 4 Steps . Collection I Made it! Favorite Share
iOS » (https://itunes.apple.com/app/instructables/id586765571)
Windows » (http://apps.microsoft.com/windows/enus/app/7afc8194c771441a959054250d6a8300)
About Us Find Us
Who We Are (/about/) Facebook (http://www.facebook.com/instructables)
Advertise (/advertise/) Youtube (http://www.youtube.com/user/instructablestv)
Contact (/about/contact.jsp) Twitter (http://www.twitter.com/instructables)
Jobs (/community/PositionsavailableatInstructables/)
Pinterest (http://www.pinterest.com/instructables)
Help (/id/howtowriteagreatinstructable/)
Google+ (https://plus.google.com/+instructables)
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 (http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=21959721) |
Privacy Statement (http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=21292079) |
Legal Notices & Trademarks (http://usa.autodesk.com/legalnoticestrademarks/) | Mobile Site (http://www.instructables.com)
(http://usa.autodesk.com/adsk/servlet/pc/index?id=20781545&siteID=123112)
© 2016 Autodesk, Inc.