Coder Social home page Coder Social logo

weinzmi / ergoface Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 1.0 7.31 MB

Hardware interface for DAUM Ergobike 8008 TRS

License: Mozilla Public License 2.0

Python 100.00%
raspberry-pi-3 daum webserver gpio wifi-hotspot analog-signals pwm mobiledevice ergometer workouts hardware-interface ble rs232 zwift gatt-server gatt-service

ergoface's Introduction

ergoFACE

Hardware interface for DAUM Ergobike 8008 TRS change for ATOM

first idea 22.12.2018; Michael Weinzinger

Overview

  • A hardware + software interface ("ergoFACE") is going to be developed, which allows a mobile device (smartphone, tablet) to interact with a DAUM Ergobike 8008 TRS ("DAUM").

  • The innitial idea is to be able to replace the standard cockpit of the DAUM with this solution (ergoFACE + mobile device).

  • This can be achievend by plugging in the ergoFACE with the standard signal cable (4-wire cable) from the cockpit, or even complete disassembly of the cockpit unit and replace it permanent with a mobild device.

Aims

  • Interaction between mobile device and DAUM
    • Capture the ACTUAL values from the DAUM on a mobile device
    • Send a SET POINT value from the mobile device to the DAUM
  • Web server as gateway
  • Saving the SET POINT and ACTUAL values as a training session
  • Create SET POINT values for workouts
    • manually in an editor
    • convert recorded workouts / ACTUAL 2 SET POINT
  • Selection of workouts
    • Manual SET POINT workout
      • WATT
      • Pitch/Climb
      • Heartrate
  • Integration of additional external sensors
    • Bluetooth heart rate sensor
  • Share the training sessions with social networks

Usage

ERG Mode with RS232 using BLE GATT Server to notify speed, cadence and power

  • clone repository
  • install requirements - see requirements.txt
  • copy ergoFACE.service from lib\systemd\system to your local system
sudo chmod 644 /lib/systemd/system/ergoFACE.service
  • configure
sudo systemctl daemon-reload
 sudo systemctl enable ergoFACE.service
  • reboot
sudo reboot
  • check status of service
sudo systemctl status ergoFACE.service

more information is documented in the wiki:

https://github.com/weinzmi/ergoFACE/wiki

ergoface's People

Contributors

weinzmi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

zodimo

ergoface's Issues

manual watt modus

implement a manual watt modus.
Idea - reuse the existing watt.py and yaml

create a manual.yaml file with only one seq:

Prog:
  Seq1:
    Name: Manual watt 
    Description: Manual Watt training
    Watt: 25
    Duration: 3600

Logging of training data

log the parameters for each training session in a yaml, csv or tcx file format

  • session name
  • program name
    • timestamp
    • watt
    • RPM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.