weinzmi / daumUSB2BLE

Bridge from USB RS232 converter to Bluetooth low energy for old Daum 8008 TRS Trainers to enable Zwift and other apps control the bike in ERG / SIM mode
MIT License
8 stars 5 forks source link

ergoFACE

the original project "ergoFACE concept"

prerequisites

setup - Install on a rasperypi

npm install

it can take a while as bleno must be compiled from sources.

launch

gearbox: // this are the gear ratios used for each gear g1: 1.36 g2: 1.48 g3: 1.62 g4: 1.79 g5: 2.00 g6: 2.17 g7: 2.38 g8: 2.63 g9: 2.94 g10: 3.33 g11: 3.57 g12: 3.85 g13: 4.17 g14: 4.55


## GIOPs for shifting gears
* if you want to use 2 external buttons for shifting gears, edit the parameters in config.yml to fit yours

gpio: geargpio: 1 // start gear for initializing ratio: 1 // how many gears are shifted with one push of a button minGear: 1 // lowest gear possible maxGear: 14 // highest gear possible; has to match gearbox debounceTimeout: 10 shiftUpPin: 4 // GPIO pin for shift up shiftDownPin: 17 // GPIO pin for shift down


* go to installation directory and start node server from command line
```shell
sudo node server.js

you can install the server as a service, to just plug the raspberry to a power source and ride on

website / server

current features 0.6.4 BETA

common

tested apps

outlook / features to be developed