-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare folder structure for LCD and OLED
- Loading branch information
Showing
7 changed files
with
1,383 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
# Pico Motorcycle Dashboard (DRAFT) | ||
[![License: GPLv3][GPLimg]][GPLurl] | ||
[![GitHub Tag][GHTimg]][GHTurl] | ||
|
||
### A Motorcycle Dashboard based on the [Raspberry Pi Pico](https://www.raspberrypi.org/products/raspberry-pi-pico/) and the [Pimoroni Pico Display Pack](https://shop.pimoroni.com/products/pico-display-pack) | ||
|
||
## 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](https://github.com/slabua/PicoMotorcycleDashboard/assets/1002978/8415ca15-757f-420d-b604-311a1df7ca19) | ||
|
||
### Breadboard - Display directly mounted on the back of the Pico (not shown) | ||
![Breadboard](https://github.com/slabua/PicoMotorcycleDashboard/assets/1002978/5274b71b-ec71-43a6-bc7f-e2692a153fc1) | ||
|
||
--- | ||
## Usage | ||
|
||
## Screens | ||
- [Home](#home) | ||
- [Battery](#battery) | ||
- [Fuel](#fuel) | ||
- [Temperature](#temperature) | ||
- [RPM](#rpm) | ||
- [STATS](#stats) | ||
|
||
### Home | ||
![Home](https://lh3.googleusercontent.com/pw/ACtC-3fY9eTrfeXZWzNof3XDhlGW4b0iINYiCK-arYHpiaK88f8zIZf4uVtTmwLXD-MLb32lzvW6lec1UicTL3cPUCY_-cxZ3S_L31h9lXh_ZYtvAxzrkHlZ4aJ4AoH3m6Uu3duIu12AwbdDtfm1ebb0GLGcgw=s360-no) | ||
- 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](https://lh3.googleusercontent.com/pw/ACtC-3cRZARVqOj3eLK5HT7IEDH3oCYMBrJzV4IoWjkwxWfUzRoq7lWQxgcGSRjmvslOcRkJf_uW_Sdo6ap8LsXDHEeFBLG9Z9mpcQSjHWTzUqFLHen39trysQos4LUzx7lbxWpI1GizDKkDiM-RH9BDpUiKWg=s360-no) | ||
- 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](https://lh3.googleusercontent.com/pw/ACtC-3d7aUP9n-YRlb5fsQiasavigt714aPAeRD7GU68PknZSBcmQNHQT0gwDpSYR_YjRP1dSf8yflQwINJtYklD0VDCdsSYpglslzOmpUgbf4kJoRtjDThOLJEhuTSJ7TfcW4AJs2xkhtPTBlDIq1NlBzDNAg=s360-no) | ||
- 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](https://lh3.googleusercontent.com/pw/ACtC-3coIj2x-SY4z49AYYzUJ3evlu42Rx1Y3xH_y1HIIIZiQ3ibLfleVxyZkxa3Ut2fy_180udtPBvJxI8quuaL5al4tQaowoahNqSa8kXINlJnDUQf5fyY7LQvsKse6ElqJzbGJ1bWASWyciXLHtaTbubgnA=s360-no) | ||
- 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](https://lh3.googleusercontent.com/pw/ACtC-3c_I22cnapZiIY0lHnfPxvrPQy21NtyiYpFDa4_dSBl648UofLTzzr9HfIoObmCWqJxcgv_a8cuPvcN9oUpI8is89dyV_Uw855apra5aaxx1Xd9MiwaeomLO9Rl2M_8R49kOouLLNBiRTrSAAJlZLwvVg=s360-no) | ||
- 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](https://lh3.googleusercontent.com/pw/ACtC-3dVguPgP7rk9ptkmF1MP5YwwX98OmDm8XHYJYvoPkmUOCD0PzqJklYjjDLlXXmitVA3WT6abCaqWDLYhKK0s453_RgzQXyZeOpaOMzo3ucDMo3LDURMm4J5ILmOYr5Vfcd4PZfm2JuK_cuEOY3sB7S9iA=s360-no) | ||
- 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 | ||
|
||
|
||
[GPLimg]: https://img.shields.io/badge/License-GPLv3-blue.svg | ||
[GPLurl]: https://www.gnu.org/licenses/gpl-3.0 | ||
[GHTimg]: https://img.shields.io/github/tag/slabua/PicoMotorcycleDashboard.svg | ||
[GHTurl]: https://github.com/slabua/PicoMotorcycleDashboard/tags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"USE_BG_IMAGE": false, | ||
"FUEL_RESERVE": 25, | ||
"RPM_MAX": 12000, | ||
"RPM_REDLINE": 10000, | ||
"BATTERY_TH": [ | ||
11, | ||
12 | ||
], | ||
"TEMP_TH": [ | ||
19, | ||
24 | ||
], | ||
"INFO_TEXT": "Salvatore La Bua - http://twitter.com/slabua", | ||
"QR_URL": "http://twitter.com/slabua" | ||
} |
Oops, something went wrong.