Skip to content

slabua/PicoMotorcycleDashboard

Repository files navigation

Pico Motorcycle Dashboard / Gauge

License: GPLv3 GitHub Tag Lint Code Base

A Motorcycle Dashboard based on the Raspberry Pi Pico and LCD Displays

The current Readme is valid for the Pimoroni Pico Display Pack 2.0.

Components

  • Raspberry Pi Pico
    • Main control board
  • Pico Display Pack
    • Input:
      • Button A
      • Button B
      • Button X
      • Button Y
    • Output:
      • 240x135 px IPS display
      • RGB LED
  • Sensors
    • Built-in temperature sensor
      • (internal ADC on pin 4)
    • DS18B20 Temperature sensor
      • (currently up to 3 in parallel)
  • Work in progress
    • Connection for Battery/Fuel/Rpm readings

Wiring Diagram

Breadboard - Full diagram

Breadboard

Breadboard - Display directly mounted on the back of the Pico (not shown)

Breadboard


Usage

Screens

Home

Home

  • A: Go to next (Battery) screen
    • If pressed again within 3 seconds, cycle through all the screens
  • B: Cycle Brightness presets, frees memory
  • X: Select Multiple or Single Temperature mode
  • Y: If Multiple (*) or Single (**) Temperature mode:
    • Cycle Temperature sources (**)
    • Cycle bars style (*) (globally)
  • X+B: Cycle Colour palette
  • Y+B (hold): Show Info QR code

Battery

Battery

  • A: Go to Home screen
  • B: Cycle Brightness presets, frees memory
  • X: Continuous / Discrete battery representation
  • Y: Cycle Graphics style
  • Y+B (hold): Show Info QR code

Fuel

Fuel

  • A: Go to Home screen
  • B: Cycle Brightness presets, frees memory
  • X: -
  • Y: Cycle Bars style (globally)
  • Y+B (hold): Show Info QR code

Temperature

Temperature

  • A: Go to Home screen
  • B: Cycle Brightness presets
  • X: Cycle Temperature sources
  • Y: Clear history for the current temperature source
  • Y+B (hold): Show Info QR code

RPM

RPM

  • A: Go to Home screen
  • B: Cycle Brightness presets, frees memory
  • X: Cycle Ramp style
  • Y: Cycle Bars style (globally)
  • Y+B (hold): Show Info QR code

Stats

Stats

  • A: Go to Home screen
  • B: Cycle Brightness presets, frees memory
  • X: Update Configuration file
  • Y: Reset uptime
  • X+B: Reset Configuration file
  • Y+B (hold): Show Info QR code