mirror of
https://github.com/KevinMidboe/oled_workout_tracker.git
synced 2025-10-29 01:30:29 +00:00
35 lines
1.2 KiB
Markdown
35 lines
1.2 KiB
Markdown
|
|
# Mini-OLED Workout display
|
|
A small wall-mounted display with input to set and display excersize repetitions per day.
|
|
|
|

|
|
|
|
## Setup
|
|
This project depends on the arduino library `Adafruit SSD1306` and its dependencies.
|
|
|
|
From Arduino IDE library can be added by navigating to the following menu item: Sketch -> Include Library -> Manage Libaries.
|
|
From here search for `Adafruit SSD1306`, this should prompt to also download `Adafruit GFX Library` and `Adafruit BusIO`; select All or install them manually.
|
|
|
|
# Features
|
|
|
|
## Hardware
|
|
- OLED screen: Displays the current number of repetitions.
|
|
- Rotary encoder: Count steps in both directions and has a button used to change modes.
|
|
|
|
## Software
|
|
- Timeout: Any pot input has 1 second of timeout since last value change. After timeout runs out the value locks and a value of ± 2 must be read to enable inputs and reset the cooldown.
|
|
- Menu: Interrupt button toggles menu and view mode, TODO everything else.
|
|
|
|
## Graphics
|
|
Ideas for what to display on the screen.
|
|
|
|
- Large print of count.
|
|
- This weeks avg.
|
|
- Animations on save ?
|
|
- View history
|
|
- Scroll back needs to fetch & maybe cache results.
|
|
- Loading animation.
|
|
|
|
## Wiring diagram
|
|

|