/Crossfit_Timer

Crossfit Timer with Arduino

Primary LanguageC++MIT LicenseMIT

CrossFit Timer overview

About this project

Hi !
This project was to build a Crossfit Timer from scratch.
I had the idea during the lockdown (COVID-19) when I was doing sport at home. A Crossfit Timer is better than a phone or a computer and a real one is pretty much expensive.
Modes I did : count up, count down, interval, the possibility to set rounds and a basic clock mode.

Table of contents

Making

Softwares :

  • Fusion 360
  • Cura

3D Printer :

Other :

Electronic

Softwares :

  • EasyEDA
  • Fritzing

PCB:

Components

  • Arduino nano
  • Real Time Clock (RTC)
  • Tactile Push Button
  • Resistors
  • Capacitors
  • Leds SK6812
  • Buzzer
  • Rechargeable Battery Lipo cells
  • Lipo Charger Module
  • 5V DC-DC Step-Up Power Module
  • Slide switch

Code

Softwares :

  • Arduino IDE

Architecture

I splited the code in four parts/files

Main code Display Set-up Timer
Button functions Leds matrix Set-up mode functions Count up/down/interval functions
Setup function Digit and Alphabet matrix 10 secondes countdown function
Main loop Timer display functions Buzzer gestion
Clock mode

Code and more details

Documentation

There is five buttons ( beginning from the right )

Button ROLE Timer is set Set-up mode Timer is running Timer is pause Clock mode
First START / PAUSE / OK Start Ok Pause Start Nothing
Second SETUP TIME Setup mode Change digits Nothing Nothing Setup mode
Third UP Up count mode Count up Nothing Nothing Nothing
Fourth DOWN Down count mode Count Down Nothing Nothing Nothing
Fifth RESET / CLOCK MODE Nothing or after 3 sec clock mode Nothing Reset Reset After 3 sec timer mode