An open API service indexing awesome lists of open source software.

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

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.