Loading repository data…
Loading repository data…
hishizuka / repository
An open-source bike computer with GPS and ANT+ capabilities, based on the Raspberry Pi Zero (W, WH, 2 W) or the Compute Module Zero. It also includes offline maps and navigation.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.

An open-source bike computer with GPS and ANT+ capabilities, based on the Raspberry Pi Zero (W, WH, 2 W) or the Compute Module Zero.
https://github.com/hishizuka/pizero_bikecomputer
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/hishizuka/pizero_bikecomputer/refs/heads/master/install.sh)"Pi Zero Bikecomputer is a GPS and ANT+ bike computer based on Raspberry Pi Zero (W, WH, 2 W). This is the first DIY project in the world integrating the necessary hardware and software for a modern bike computer. It measures and records position (GPS), ANT+ sensors (speed / cadence / power), and I2C sensors (pressure / temperature / accelerometer, etc.). It also displays these values, maps, and courses in real time. In addition, it writes logs to .fit format files.
In this project, Pi Zero Bikecomputer has already got the basic functions needed for a bike computer. The next target is to add new functions that existing products do not have!
You will enjoy both cycling and the maker movement with Pi Zero Bikecomputer!
Here are detailed articles in Japanese. The original Japanese titles are kept below, with English translations for reference.
Daily updates are posted on X (@pi0bikecomputer), and my riding activities are on STRAVA.

Easy to make
apt-get install, pip and git command.Customization
Easy to develop
Good balance between battery life and performance
Some functions depend on your parts.
| Specs | Support | Detail |
|---|---|---|
| Logging | Yes | See below. |
| Sensors | Yes | ANT+ sensors and I2C sensors. See below. |
| Maps and navigations | Yes | A GPS module or the Android app GadgetBridge is required. See below. |
| Displays, controls and power | Yes | Multiple displays, hardware buttons, remote controls, and battery modules are supported. See below. |
| GUI | Yes | PyQt is the primary GUI. QML, Kivy, and headless modes are also available. |
| Wifi & Bluetooth | Yes | Using built-in modules. |
| Smartphone connections | Yes | Android only. GadgetBridge integration and route sharing from Google Maps via Bluetooth. |
| Battery life(Reference) | 18h | with 3100mAh mobile battery(Garmin Charge Power Pack) and MIP Reflective color LCD. |
| Specs | Support | Detail |
|---|---|---|
| Stopwatch | Yes | Timer, Lap, Lap timer |
| Average value | Yes | [Total, Lap ave, Pre lap ave] x [HR, Speed, Cadence, Power], [3s, 30s, 60s] x [HR, Power] |
| Cumulative value | Yes | [Total, Lap, Pre lap] x [Distance, Works, Ascent, Descent] |
| Gross | Yes | Elapsed time, gross average speed(=distance/elapsed time), gained time from average speed 15km/h(for brevet) |
| Auto stop | Yes | Automatic stop at speeds below 4km/h(configurable), or in the state of the acceleration sensor when calculating the speed by GPS alone |
| Recording insterval | 1s | Smart recording is not supported. |
| Resume | Yes | Recording continues even if the power is suddenly turned off and restored. |
| Output .fit log file | Yes | The standard format used by famous services as Strava and Garmin Connect. Also .csv format output is supported. |
| Upload | Yes | Strava, Garmin and Ride with GPS. |
| Live Track | Yes | Track data is uploaded in real time to ThingsBoard.io dashboard service, so you can share your activity with friends and family. |
USB dongle is required if using ANT+ sensors.
| Specs | Support | Detail |
|---|---|---|
| ANT+ Heartrate sensor | Yes | |
| ANT+ Speed sensor | Yes | |
| ANT+ Cadence sensor | Yes | |
| ANT+ Speed&Cadence sensor | Yes | |
| ANT+ Powermeter | Yes | Calibration is not supported. |
| ANT+ Light | Yes | Bontrager Flare RT only. |
| ANT+ Control | Yes | Garmin Edge Remote only. |
| ANT+ Environment | Yes | Garmin tempe (temperature sensor) |
| BLE peripherals | Partial | Zwift Click V2 remote and Fake Trainer for Zwift are supported. |
| Barometric altimeter | Yes | I2C sensor(pressure, temperature) |
| Accelerometer | Yes | I2C sensor |
| Gyroscope | Yes | I2C sensor |
| Magnetometer | Yes | I2C sensor |
| Light sensor | Yes | I2C sensor. Use for auto backlight and lighting. |
| Specs | Support | Detail |
|---|---|---|
| GPS module | Yes | UART GPS module(via GPSd) and I2C GPS are supported. |
| Positioning from smartphones | Yes | Using the Android app GadgetBridge. |
| Map | Yes | Support raster map tile format like OSM (z/x/y.png or jpg). So, offline map is available with local caches. Also, raster .mbtile format is supported. |
| Course on the map | Yes | Local .tcx files, cloud courses from Ride with GPS, and routes shared from Google Maps on Android via Bluetooth. |
| Search route | Yes | Google Routes API (Compute Routes) |
| Course profile | Yes | |
| Detect climbs | Yes | Like Garmin ClimbPro. Only climbs on the course, not detect nearby climbs. |
| Cuesheet | Yes | Use course points included in course files(.tcx). |
| Map overlay | Yes | Heatmap (Strava / Ride with GPS), weather (rain / wind), and configurable wind / DEM data sources. |
| DEM / wind data sources | Yes | External DEM tiles and wind data sources can be selected from the menu and settings. |
| Specs | Support | Detail |
|---|---|---|
| MIP reflective color LCD | Yes | JDI 2.7 / 4.4 inch and Azumo 3.4 inch modules are supported. |
| SHARP memory display | Yes | 2.7 / 4.4 inch monochrome MIP modules are supported. |
| TFT LCD | Yes | Pirate Audio, Display HAT Mini, generic ST7789 breakout, and PiTFT are supported. |
| E-paper | Yes | Papirus and DFRobot RPi Display are supported. |
| Touchscreen | Partial | Available on supported TFT displays. |
| Hardware buttons | Yes | Button SHIM, MCP23008 / MCP23009-based IO expanders, and display-attached buttons are supported. |
| Remote control | Yes | Garmin Edge Remote (ANT+) and Zwift Click V2 (BLE) are supported. |
| Battery modules | Partial | PiJuice HAT / Zero and PiSugar3 are supported. |
Strava heatmap.

RainViewer and openportguide are available worldwide.

In Japan, 気象庁降水ナウキャスト(rain) and SCW(wind) are available.
| Specs | Detail | Note |
|---|---|---|
| Basic page(values only) | Yes | |
| Graph | Yes | Altitude and performance(HR, PWR, W prime balance) |
| Customize data pages | Yes | With layout.yaml |
| ANT+ pairing | Yes | |
| Select course | Yes | local .tcx, Ride with GPS, and Android Google Maps via Bluetooth. |
| Upload activity | Yes | Strava, Garmin and Ride with GPS. |
| Select map | Yes | base maps, overlays, and external data sources |
| Adjust parameter | Yes | wheel size, altitude, CP and W prime balance |
| Network setting | Yes | Toggle Wi-Fi / Bluetooth, BT pairing / tethering, and GadgetBridge-related options. |
| Language localization | Yes | Font and translation file of items are required. |
| No GUI option | Yes | headless mode |
