This is simple project for write own odometer for enduro motorcycle with hall sensor and ssd1306 i2c display screen (128x64)
Screens are switching by long hold of center button (500ms+) or click to "menu" button
current distance
. Can be dropped bycenter
button clicklocal distance
. Can be corrected byleft/right
buttons
Define how much ticks
in one kilometer (for set correct length of wheel). Special mode for riders. Need to set zero value before start conditional kilometer
stay this screen and ride. When kilometer ends, click to center
button to define correct value and switch to next screen.
for set new value, use
center
button.left/rigth
- for correction.center long hold
- next screen
Define diameter
of wheel in millimeters.
- top number - is
new
value - bottom number - is
old
value
for set new value, use
center
button.left/rigth
- for correction.center long hold
- next screen
Define length
of wheel in millimeters.
- top number - is
new
value - bottom number - is
old
value
for set new value, use
center
button.left/rigth
- for correction.center long hold
- next screen
Shows info about Engine
, Oil
, Gear
counter.
left/right
- for switch between of countercenter
- for drop current counter
- Arduino (i'm using nano, atmega328p)
- Hall sensor (ky003)
- I2C display based on ssd1306 chip (0.91` 128x64 I2C OLED)
- Fram FM24CL16
- wires
- 4 buttons
- 4 resistor (2.2kOm)
- and any type of power for arduino only
MIT idudiq 2018