Close
0%
0%

Moto_oiler

Trying to build my own chain lubrication system with blackjack&etc.

Public Chat
Similar projects worth following
DIY chain lubrication system for moto using auto parts, scrap and STM power

Making scootoiler equivalent for fun

Main features :

  • ordinary auto parts ( pumps, valves, hooses etc)
  • ordinary( and cheap!) gear oil (75w80)
  • ordinary electronic components 
  • minimal intrusions into motorcycle systems ( simple removing without any traces)

Control box features :

  • STM 8 microcontroller as a heart of control box
  • status led (green - red led )
  • switches for rain and flow modes
  • current monitoring via INA219
  • oil level monitoring with fotodiode and white led
  • MOSFET controlled by IRS4426S

  • 1 × Stm8l051f3p6 Microprocessors, Microcontrollers, DSPs / Microcontrollers (MCUs)
  • 2 × IRF3205 Discrete Semiconductors / Power Transistors and MOSFETs
  • 1 × IRS4426S Interface and IO ICs / Peripheral Drivers and Actuators
  • 2 × INA219 Power Management ICs / Power Supply Support

  • Composition of system

    zaksignu02/20/2019 at 10:09 0 comments

    The main idea of this project - to use parts, which can be bought at ordinary autoshop.

    To build up chain oiler you will need

    • pump for oil
    • shut off valve
    • brake hose ( metall one)
    • resin oil-resistant hose 
    • tank for gear oil
    Read more »

  • Status mode description

    zaksignu02/20/2019 at 07:52 0 comments

    Thereis 7 status mode: 

    • max oil level ( its normal state)
    • medium oil level( its normal state)
    • a little oil level( its normal state)
    • flow state ( it is special state)
    • no current state ( its not normal state)
    • overcurrent state ( its not normal state)
    Read more »

  • TIM2 routine

    zaksignu02/20/2019 at 06:57 0 comments

    TIM2 fires every 500ms. It has :

    • routine to define input variables (oil_level, wet_state, flow_state flags)
    • routine to define exact state of  working cycle
    • routine to define flow_mode flag
    • routine to define currents of mosfets ( project)
    Read more »

  • TIM 4 routine

    zaksignu02/19/2019 at 16:38 0 comments

    Main flashing cycle contains 5 TIM4 tick. During TIM4 ticking, orderstate variable moves from 0 to 4 and returns to 0. 

      

          orderstate

           0          1            2           3         4          
            |250мс|250мс|250мс|250мс|250мс|
           ------------------------------------------------------
            |||||||||||||||            |||||||||||||||||   

    Read more »

  • Main concept for STM

    zaksignu02/19/2019 at 12:37 0 comments

    Main concept for STM.

    There are 2 timers -  TIM 2, and TIM4. Period of TIM2 approximately 0.5ms, period of TIM4 approximately 0.25ms. TIM 2 is using for controling MOSFETS, obtaining parameters ( flow status, wet status, oil level) and status updating. TIM4  is using for indicating ( green - red led). 

    Period of led indicating is 5 TIM4. 

           0          1            2           3         4          
            |250мс|250мс|250мс|250мс|250мс|
           ------------------------------------------------------
            |||||||||||||||            |||||||||||||||||     

    Thereis 7 status mode: 

    • max oil ( its normal state)
    • medium oil ( its normal state)
    • a little oil ( its normal state)
    • flow state ( it is special state)
    • no current state ( its not normal state)
    • overcurrent state ( its not normal state)
    • start state ( first run)

    so green-red led has different flashing modes with different states. 

View all 5 project logs

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates