Skip to content

johnlpage/gamebike

Repository files navigation

Exercise Equipment game controller (Bike)

About

Requirements

  • Rasbian Bullseye (Bookworm had issues) Lite
  • Xoss Cycing speed sensot
  • Arduino Nanao 33 BLE (Steering Sensor)
  • WAHOO KICKR TRAINER (Work in Progress)

Install

 sudo apt update
 sudo apt upgrade
 sudo yum install -y git
 git clone git@github.com:johnlpage/gamebike.git

 cd gamebike
 # Runnign in Venv isn't working for me
 #sudo  apt-get install python3-venv
 #source bin/activate
 ##python3 -m venv .

sudo apt install -y python3-pip
sudo pip install  -r requirements.txt 



Software Configuration:
Enable Gadget Mode:
Edit /boot/config.txt: Add the following line to enable the DWC2 (Direct USB Controller) driver: dtoverlay=dwc2.
Edit /boot/cmdline.txt: Add the following line to load the necessary modules: modules-load=dwc2,g_hid,g_gamepad.
Reboot: Reboot the Raspberry Pi for the changes to take effect.
Install Necessary Packages:
Run the following command to install the udev package: sudo apt-get install udev.

About

2021 Rewrite of my Exercise Bike Game Controller

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors