how to solve motorcycle issues the nerdy way
play

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


  1. How to solve Motorcycle issues.... the nerdy way .. :) Suzuki SV650s 2000 By Michael M. Frederiksen

  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...

  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

  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)

  5. Plan ● 3 modes (for now) – Water Temp – Oil Temp – Gear indicator ● Display mode information on OLED screen

  6. Plan DS18b20 UP Down 3,3[v] 4,7k [Ω] Mode 5[v] Pin 10 Pin 2(int 0) Pin 3(int 1) Switch Arduino Pin 4 Pin A5 Pin A4 Vcc gnd scl sda OLED display

  7. Progress... YAY … what a mess!

  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

  9. Gear indicator ● Simulated by two buttons, using interrupts – Debouncing is an issue … :-/ ● Final version. 2X magnetic sensors + 1 powerfull magnet. Sensors Magnet ● Sensors should generate a current and trigger the interrupt

  10. Demo???

  11. ● Questions ?!

Recommend


More recommend