Andrew Lalis 8b076146cb | ||
---|---|---|
.vscode | ||
build-tools | ||
examples | ||
src | ||
.gitignore | ||
LICENSE | ||
README.md | ||
prepare-build-tools.d |
README.md
GymPal
A simple device for recording gym sessions, using AVR.
The GymPal is a lightweight piece of hardware with built-in storage, time-keeping, display, and controls, to allow you to record exercise metrics on-the-fly in a satisfying, tactile way.
Development
The software for this system is developed in C, using avr-libc, and the build toolchain is managed by make, using avr-gcc and avr-dude to upload firmware to the Atmega328p microcontroller.
sudo apt install gcc-avr
sudo apt install avr-libc
sudo apt install avrdude
After cloning this repository, you must first compile the build script with ./prepare-build-tools.d
. Then, you can run ./build <command>
to run various build commands. See ./build help
for more information.
Hardware
Here's a list of the hardware that this project uses, just for reference:
- Microprocessor: Atmega328p
- Real-Time-Clock: DS3231SN
- Display (subject to change): SSD1306 OLED 128x64
- Onboard storage: Adafruit SD Card Module
Helpful Links
The following links are helpful for learning how to program an AVR-based microcontroller.