This project aims to create a simple open-source bike computer, similar to models from Garmin or Wahoo. We are currently in the very early stages, experimenting with breadboards and writing Python code to implement the basic functionalities.
- Clone this repository.
- Set up a Python virtual environment and activate it.
- Install the required packages.
- Run the main file in the
srcdirectory. - Have fun!
| Component | Price |
|---|---|
| Raspberry Pi Zero | 12.95 CHF |
| PIM448 Motion Sensor | 14.95 CHF |
| BME280 Sensor | 13.80 CHF |
| I2C OLED Display 0.96" | 12.05 CHF |
| B3F-4130 Button | 0.55 CHF per piece |
| Breadboard | 8–10 CHF |
Total estimated cost: ~66 CHF
Make sure to install the following Python packages:
smbus2
icm20948-python
bme280
adafruit_gps
luma.oled
RPi.GPIO
csv
time
datetime
gpxpy
You can use a
requirements.txtfile to make installation easier.
Since this is a big project, i'd encourage you to clone rename it and use it for your own puproses. I guess it is enough for a solid start into the field of diy bike computers.
If you found an issue or would like to submit code improvements or other stuff to this project, please submitt the issue using the issue tab above. If you would like to submitt a PR with a fix, reference the issue you created!