https://github.com/mfa/rowing-count
Count rows on a rowing machine using a raspberry pi
https://github.com/mfa/rowing-count
Last synced: about 1 year ago
JSON representation
Count rows on a rowing machine using a raspberry pi
- Host: GitHub
- URL: https://github.com/mfa/rowing-count
- Owner: mfa
- Created: 2020-02-06T16:58:23.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-11-05T20:30:18.000Z (over 2 years ago)
- Last Synced: 2025-02-07T14:22:34.282Z (over 1 year ago)
- Language: Jupyter Notebook
- Homepage:
- Size: 1.73 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# count rowing of my rowing machine
## about
Use raspberry pi zero W applied to a Hanseatic Rowing Machine using cable ties.
Blogpost: https://madflex.de/posts/count-rows-on-an-old-rowing-machine/
## sensor
- currently supported: MMA7455
- https://www.nxp.com/docs/en/data-sheet/MMA7455L.pdf
## requirements
### python packages
- smbus
- click
- scipy / numpy
- gpiozero
### raspios (bookworm)
activate i2c in raspi-config
```
sudo apt install i2c-tools virtualenv
virtualenv venv
. venv/bin/activate
pip install click scipy gpiozero smbus
```
## evaluate
stopping sensor and evaluate the last csv file
add this to .bashrc:
```
alias stp="sudo systemctl stop rowcount; (cd ~; /home/pi/venv/bin/python evaluate.py)"
```
and then after the workout run ``stp`` to get the result.