How to solve Motorcycle issues.... the nerdy way .. :) Suzuki - - PowerPoint PPT Presentation

how to solve motorcycle issues the nerdy way
SMART_READER_LITE
LIVE PREVIEW

How to solve Motorcycle issues.... the nerdy way .. :) Suzuki - - PowerPoint PPT Presentation

How to solve Motorcycle issues.... the nerdy way .. :) Suzuki SV650s 2000 By Michael M. Frederiksen The problem(s) Need more information !!! Oil temperature gauge none existent.... Water temperature only as LED warning Gear


slide-1
SLIDE 1

How to solve Motorcycle issues.... the nerdy way .. :)

Suzuki SV650s 2000 By Michael M. Frederiksen

slide-2
SLIDE 2

The problem(s)

  • Need more information !!!
  • Oil temperature gauge none existent....
  • Water temperature only as LED warning …
  • Gear changes … I cannot count … apparently

– I find my self in the wrong gear some times...

slide-3
SLIDE 3

Solution(s)

  • Lots of after market parts available at different prices and

qualities … BUT THATS NOT FUN!

  • Raspberry PI … too overpowered … yes I know
  • Arduino it is then …
  • There are other platforms yes... but I use what I have.

Image from https://www.arduino.cc/en/Main/arduinoBoardNano

slide-4
SLIDE 4

Components

  • DS18b20 one wire temperature sensor
  • 0.98” OLED display (gotta love ebay)
  • Various Buttons, wires and other minor components.
  • Oil temperature built into the oil drain plug (not in

setup)

slide-5
SLIDE 5

Plan

  • 3 modes (for now)

– Water Temp – Oil Temp – Gear indicator

  • Display mode information on OLED screen
slide-6
SLIDE 6

Plan

Arduino 5[v] DS18b20

4,7k [Ω] Pin 10

UP Down

Pin 2(int 0) Pin 3(int 1)

OLED display

Vcc gnd scl sda

3,3[v]

Pin A5 Pin A4

Mode Switch

Pin 4

slide-7
SLIDE 7

Progress... YAY … what a mess!

slide-8
SLIDE 8

Libs used in Arduino code

  • OLED display

– U8g lib - https://code.google.com/p/u8glib/ – When compiled uses about 15k bytes … YIKES

  • I think I need to try and trim this lib a little...
  • 1 Wire temp

– One wire lib -

http://playground.arduino.cc/Learning/OneWire

slide-9
SLIDE 9

Gear indicator

  • Simulated by two buttons, using interrupts

– Debouncing is an issue … :-/

  • Final version. 2X magnetic sensors + 1 powerfull magnet.
  • Sensors should generate a current and trigger the interrupt

Sensors Magnet

slide-10
SLIDE 10

Demo???

slide-11
SLIDE 11
  • Questions ?!