Use an Arduino Uno and LED shield to track run counts and times
The LCD displays 4 numbers:
- Number of runs completed (top left)
- Current run time (top right)
- Average run time (bottom left)
- Total time of all runs (bottom right)
You need 3 parts (~$30 USD):
- An Arduino Uno Rev3 (example on Amazon)
- A 1602 LCD Keypad Shield (example on Amazon)
- A cord to power the arduino (a USB 2.0 printer cord works fine)
Here are the steps to get it working:
- Place the shield on top of the Arduino Uno and push the pins in place
- Plug the Arduino into your computer using the USB 2.0 cable
- Install the Arduino IDE
- Add the LiquidCrystal library via the IDE (Sketch -> Include LIbrary -> Manage Libaries)
- Grab the code I provided in this repo and edit the line shown below to match your LED pin-outs for your board (more info here)
LiquidCrystal lcd(8, 9, 4, 5, 6, 7); - If the LCD screen doesn't display any text, adjust the potentiometer as shown in this video (use a screwdriver and turn the potentiometer screw about 10 times clockwise)
- Press
RSTwhen you start your first run (it should display Run#1 and both Current and Total clocks will start counting up) - Press
SELECTorLEFTwhen you complete each run - Press
DOWNorUPto pause or unpause the device - The
RIGHTbutton does not do anything
