Coder Social home page Coder Social logo

odometer's Introduction

Arduino odometer

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

Screens

"Main" screcen

  • current distance. Can be dropped by center button click
  • local distance. Can be corrected by left/right buttons

"One km" screen

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

"Diam, mm" 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

"Len, mm" 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

"Info" screen

Shows info about Engine, Oil, Gear counter.

  • left/right - for switch between of counter
  • center - for drop current counter

Equipment:

  • 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

odometer's People

Contributors

dudiq avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.