Build Your Cycling Computer with RaspberryPi Zero: Pi Zero Bikecomputer

Build Your Cycling Computer with RaspberryPi Zero: Pi Zero Bikecomputer
Photo by Munbaik Cycling Clothing / Unsplash

Pi Zero Bikecomputer offers you a complete open-source guide and tools to build your own GPS cycling computer with Raspberry Pi Zero (W, WH, 2W).

The project is the brain child of Hishizuka, who is a cyclist and a developer as well from Japan.

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 integrated with necessary pieces of hardware and software packages for modern bike computer.

It measures and records position(GPS), ANT+ sensor (speed/cadence/power) and I2C sensor (pressure/temperature/accelerometer, etc.). It also displays these values, even maps and courses in real-time. In addition, it writes out log into .fit format file.

In this project, Pi Zero Bikecomputer got basic functions needed for bike computers. Next target is to add new functions which existing products do not have!

How does it work?

The following diagram demonstrate how it works.

Features

  • Affordable
  • Easy to make
  • Use modules available at famous Maker stores.
  • Assemble in Raspberry Pi ecosystems.
  • Install with basic commands such as apt-get install, pip and git command.
  • Customization Need only modules you want to use. Pi Zero Bikecomputer detects your modules.
  • Pi Zero Bikecomputer uses same libraries as for standard Linux.
  • Used packages: Python, numpy, PyQt5 and PyQtGraph
  • GPSd for GPS modules.
  • CircuitPython libraries for some I2C sensors.
  • So, you can run in cross-platform environments such as Raspberry Pi OS, some Linux, macOS, and Windows.
  • Good balance between battery life and performance

Used sensors

Specs Detail Note
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.
Bluetooth sensors No
Barometric altimeter Yes An I2c sensor(pressure, temperature) is required.
Accelerometer Yes An I2c sensor is required.
Magnetometer Yes An I2c sensor is required.
Light sensor Yes An I2c sensor is required. For auto backlight and lighting.

License

This repository is available under the GNU General Public License v3.0

Resources

Read more